|
| 1 | +<?php |
| 2 | +$title = ""; |
| 3 | +ob_start(); |
| 4 | +?> |
| 5 | + <div id="container" class="home"> |
| 6 | + <div class="header"> |
| 7 | + <div id="social"> |
| 8 | + <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.phpcon.org%2F&layout=button_count&show_faces=false&width=80&action=like&colorscheme=light&height=21" style="border:none; overflow:hidden; width:80px; height:21px;" id="fbLike"></iframe> |
| 9 | + <p class="twitter">Follow Us: <a href="http://twitter.com/phpcomcon">PHPCOMCON</a></p> |
| 10 | + </div> |
| 11 | + <h1>PHP Community |
| 12 | + <span>Conference</span></h1> |
| 13 | + <h2>April 21 <span>&</span> 22</h2> |
| 14 | + <h3>Nashville,<span> </span>TN</h3> |
| 15 | + <div id="nav"> |
| 16 | + <ul> |
| 17 | + <li>Home</li> |
| 18 | + <li><a href="2011/schedule">Schedule</a></li> |
| 19 | + <li><a href="2011/location">Location</a></li> |
| 20 | + <li><a href="2011/about">About</a></li> |
| 21 | + </ul> |
| 22 | + </div> |
| 23 | + </div> |
| 24 | + <div class="aside"> |
| 25 | + <p>A conference for people who care about PHP and what they make with it.</p> |
| 26 | + </div> |
| 27 | + <div class="section" id="main"> |
| 28 | + <h4>The PHP Community Conference is Sold Out!</h4> |
| 29 | + <p>Thanks to our phenomenal sponsors, speakers, and attendees, |
| 30 | + and everyone else that has had kind things to say about our |
| 31 | + efforts, we have sold out the first PHP Community |
| 32 | + Conference!</p> |
| 33 | + </div> |
| 34 | + |
| 35 | + <div class="sectionWide"> |
| 36 | + <h1>The Conference</h1> |
| 37 | + <p>Inspired by conferences like Webstock and Brooklyn Beta, we want to make a friendly conference for us. Together with our friends and peers, we aim to inspire you to make great things with PHP.</p> |
| 38 | + |
| 39 | + <p>The PHP Community Conference is a two-day event. We kick |
| 40 | + things off with a tutorial day that will introduce you to tools |
| 41 | + and ideas that you can use in your code right away. The second |
| 42 | + day will consist of presentations that will inspire you to |
| 43 | + create something new with PHP. With the help of our sponsors, we |
| 44 | + are able to offer admission to the entire event for $300. We'll |
| 45 | + provide lunch and snacks on both days. On Friday night, we'll |
| 46 | + finish off the conference with a party featuring pecha kucha |
| 47 | + talks by our awesome attendees. The best pecha kucha talks |
| 48 | + will have a chance at winning one of two iPad 2s sponsored by |
| 49 | + CakeDC!</p> |
| 50 | + </div> |
| 51 | + |
| 52 | + <div id="sponsors" class="sectionWide"> |
| 53 | + <h1>Our Sponsors</h1> |
| 54 | + <h2>Platinum Sponsors</h2> |
| 55 | + <div> |
| 56 | + <a href="http://cakedc.com"><img src="images/sponsor-cakedcplat2.png" alt="CakeDC"/></a> |
| 57 | + </div> |
| 58 | + <h2>Gold Sponsors</h2> |
| 59 | + <div> |
| 60 | + <a href="http://www.facebook.com/opensource/"><img src="images/sponsor-facebook.png" alt="Facebook"/></a> |
| 61 | + <a href="http://microsoft.com/web/webmatrix/"><img src="images/sponsor-webmatrix.png" alt="Microsoft Web Matrix"/></a> |
| 62 | + <a href="http://www.redventures.com/"><img src="images/sponsor-redventures.jpg" alt="Red Ventures"/></a> |
| 63 | + <a href="http://tropo.com/"><img src="images/sponsor-tropo.jpg" alt="Tropo"/></a> |
| 64 | + <a href="http://iostudio.com/"><img |
| 65 | + src="images/sponsor-iostudio.jpg" alt="ioStudio"/></a> |
| 66 | + </div> |
| 67 | + <h2>Silver Sponsors</h2> |
| 68 | + <div> |
| 69 | + <a href="http://servergrove.com/"><img src="images/servergrove.png" alt="ServerGrove"/></a> |
| 70 | + <a href="http://vaco.com/"><img src="images/vaco.png" alt="Vaco"/></a> |
| 71 | + <a href="http://moontoast.com/"><img |
| 72 | + src="images/sponsor-moontoast.jpg"/></a> |
| 73 | + </div> |
| 74 | + <h2>Community Sponsors</h2> |
| 75 | + <div> |
| 76 | +<?php |
| 77 | + // require the Twitter access class |
| 78 | + require_once('lib/Twitter.php'); |
| 79 | + |
| 80 | + // array of community_sponsors member Twitter handles |
| 81 | + $community_sponsors = array('croscon', 'cakephp', 'wonderproxy', |
| 82 | + 'lisamusing','thezippykid', |
| 83 | + 'companyfiftytwo','binarypress','zend','urvew','emmaemail'); |
| 84 | + |
| 85 | + // array of Twitter data for each community_sponsors member |
| 86 | + $data['community_sponsors'] = array(); |
| 87 | + foreach ($community_sponsors as $username) { |
| 88 | + $data['community_sponsors'][] = Twitter::profile($username); |
| 89 | + } |
| 90 | + |
| 91 | + foreach ($data['community_sponsors'] as $key => $person) { |
| 92 | + // create temp array of first names for sorting with later |
| 93 | + $cnames[$key] = strtolower($person['name']); |
| 94 | + $data['community_sponsors'][$key]['description'] = htmlentities($person['description'], ENT_QUOTES, 'UTF-8'); |
| 95 | + } |
| 96 | + |
| 97 | + // Sort people by first name using temporary arrays of first names. |
| 98 | + array_multisort($cnames, $data['community_sponsors']); |
| 99 | + foreach ($data['community_sponsors'] as $person) { |
| 100 | + ?> |
| 101 | + <div class="communitySponsor"> |
| 102 | + <a href="<?php echo $person['url'];?>"> |
| 103 | + <img src="<?php echo $person['profile_image_url'];?>"> |
| 104 | + <?php echo $person['name'];?> |
| 105 | + </a> |
| 106 | + </div> |
| 107 | + <?php |
| 108 | + } |
| 109 | +?> |
| 110 | + </div> |
| 111 | + <h2>Media Sponsors</h2> |
| 112 | + <div> |
| 113 | + <a href="http://phpdeveloper.org"><img src="http://phpdeveloper.org/Test/public/img/ads/phpdeveloper-media.jpg" width="150" style="border: 0;" /></a> |
| 114 | + </div> |
| 115 | + </div> |
| 116 | + </div> |
| 117 | +<?php |
| 118 | +$body = ob_get_clean(); |
0 commit comments