<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>AwesomeTopic</title>
	<atom:link href="http://www.awesometopic.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.awesometopic.com</link>
	<description>is designed to display CSS, XHTML, and JavaScript work and offers ideas on how to solve similar challenges.</description>
	<pubDate>Fri, 01 Jan 2010 01:33:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>This was 2009</title>
		<link>http://www.awesometopic.com/this-was-2009/</link>
		<comments>http://www.awesometopic.com/this-was-2009/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 04:26:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/?p=127</guid>
		<description><![CDATA[&#8220;If you&#8217;re open to the potential for every day to be one of the
best days of your life, today just might be.&#8221;
&#8220;Your life is like a regular expression; it doesn&#8217;t matter how crazy it looks to other people, as long as you find what you&#8217;re searching for.&#8221;
]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;If you&#8217;re open to the potential for every day to be one of the<br />
best days of your life, today just might be.&#8221;</p></blockquote>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3227932584/"><img alt="" src="http://farm4.static.flickr.com/3130/3227932584_c20a8ca323.jpg" title="I am the author of my past and my future." class="alignnone" width="500" height="375" /></a><p class="wp-caption-text">Roscoe Village, Chicago -January 14, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3212451429/"><img alt="January 20, 2009" src="http://farm4.static.flickr.com/3437/3212451429_035af9ba35.jpg" title="Inauguration " width="500" height="375" /></a><p class="wp-caption-text">West Loop, Chicago - January 20, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3247564905/"><img alt="" src="http://farm4.static.flickr.com/3369/3247564905_83ebb085fb.jpg" title="Obama Street art" class="alignnone" width="500" height="375" /></a><p class="wp-caption-text">Lincoln Park, Chicago - January 20, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 240px"><a href="http://www.flickr.com/photos/interpunct/3227226483/"><img alt="January 25, 2009" src="http://farm4.static.flickr.com/3359/3227226483_66da853032.jpg" title="Steven + Orrin + Jen" height="500" /></a><p class="wp-caption-text">The Long Room, Chicago - January 25, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3336437818/"><img alt="When it rains, it pours. (March 7, 2009)" src="http://farm4.static.flickr.com/3655/3336437818_e6ee596a4c.jpg" title="When it rains..." width="500" height="374" /></a><p class="wp-caption-text">Roscoe Village, Chicago - March 7, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3373676370/"><img alt="March 21, 2009" src="http://farm4.static.flickr.com/3613/3373676370_de138d105e.jpg" title="ORLY Buddy" width="500" /></a><p class="wp-caption-text">St Charles, IL - March 21, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3393898144/"><img alt="" src="http://farm4.static.flickr.com/3662/3393898144_408654c67f.jpg" title="Waiting in the rain" class="alignnone" width="500" height="375" /></a><p class="wp-caption-text">Uptown, Chicago - March 28, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 387px"><img alt="Washington DC - April 3, 2009" src="http://photos-f.ak.fbcdn.net/photos-ak-snc1/v2736/201/69/48601893/n48601893_33552126_168720.jpg" title="25th Birthday" width="375" /><p class="wp-caption-text">Washington DC - April 3, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3413011764/"><img alt="Washington DC - April 4, 2009" src="http://farm4.static.flickr.com/3644/3413011764_71864a397c.jpg" title="Along the Tidal Basin" width="500"  /></a><p class="wp-caption-text">Washington DC - April 4, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3415353085/in/set-72157616397553530/"><img alt="" src="http://farm4.static.flickr.com/3592/3415353085_d066edbf0c.jpg" title="Cherry Blossoms in DC" class="alignnone" width="500" height="328" /></a><p class="wp-caption-text">Washington DC - April 5, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3448075984/"><img alt="" src="http://farm4.static.flickr.com/3367/3448075984_0f6cf5f532.jpg" title="April 16, 2009" class="alignnone" width="500" height="375" /></a><p class="wp-caption-text">St Charles, IL - April 16, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3489007987"><img alt="" src="http://farm4.static.flickr.com/3402/3489007987_005bdae2d1.jpg" title="Sissons Flowers" class="alignnone" width="500" height="334" /></a><p class="wp-caption-text">Avon Lake, OH - April 27, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3483452382/"><img alt="Avon Lake, OH" src="http://farm4.static.flickr.com/3354/3483452382_92e5f5fe3c.jpg" title="Avon Lake, OH - April 27, 2009" width="500" height="375" /></a><p class="wp-caption-text">Avon Lake, OH - April 27, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3501670364/"><img alt="May 2, 2009" src="http://farm4.static.flickr.com/3373/3501670364_64af5f020b.jpg" title="Walker Hamilton" width="500"  /></a><p class="wp-caption-text">St Louis, MO - May 2, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3502380224/"><img alt="May 3, 2009" src="http://farm5.static.flickr.com/4016/4221554142_bcf2099f64.jpg" title="Starved Rock" width="500" /></a><p class="wp-caption-text">Starved Rock State Park, IL - May 3, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3583456550/"><img alt="May 31, 2009" src="http://farm4.static.flickr.com/3343/3583456550_7faa3bac20.jpg" title="Meb at Sandys house" width="500" height="375" /></a><p class="wp-caption-text">Western Springs, IL - May 31, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3595194193/"><img alt="June 4, 2009" src="http://farm4.static.flickr.com/3399/3595194193_13b9d482a5.jpg" title="On a plane" width="500" /></a><p class="wp-caption-text">ORD - June 4, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3595740213"><img alt="June 4, 2009" src="http://farm3.static.flickr.com/2451/3595740213_c50daf289a.jpg" title="In Florida with Dad" width="375" /></a><p class="wp-caption-text">West Palm Beach, FL - June 4, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3618266222/"><img alt="June 11, 2009" src="http://farm3.static.flickr.com/2424/3618266222_15c70ff8f1.jpg" title="Lily" width="375" /></a><p class="wp-caption-text">St Charles, IL - June 11, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3641563491/"><img alt="June 19, 2009 " src="http://farm4.static.flickr.com/3641/3641563491_41751a912d.jpg" title="Motorcycle burn" width="375" height="500" /></a><p class="wp-caption-text">Uptown, Chicago - June 19, 2009 </p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3665705710/"><img alt="June 27, 2009" src="http://farm3.static.flickr.com/2550/3665705710_d4b2709236.jpg" title="Gordon Bellaver" width="375" height="500" /></a><p class="wp-caption-text">Uptown, Chicago - June 27, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3666089701/"><img alt="June 27, 2009" src="http://farm4.static.flickr.com/3649/3666089701_fa383cc8d0.jpg" title="Post Office Box" width="375" height="500" /></a><p class="wp-caption-text">Chicago Loop - June 27, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3626595585/"><img alt="June 14, 2009" src="http://farm4.static.flickr.com/3587/3626595585_4f0deb96e5.jpg" title="Good dog, Meb" width="375" height="500" /></a><p class="wp-caption-text">Wheaton, IL - June 14, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3614235719/"><img alt="June 10, 2009 " src="http://farm4.static.flickr.com/3555/3614235719_b958042d25.jpg" title="Ralph, Elke, Dieter, Schley" width="500" height="333" /></a><p class="wp-caption-text">St Charles, IL - June 10, 2009 </p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3681051996/"><img alt="July 1, 2009" src="http://farm3.static.flickr.com/2527/3681051996_895897a431.jpg" title="Sounds of Chicagos Lakefront: A Celebration of the Grant Park Music Festival" width="500" height="375" /></a><p class="wp-caption-text">Millennium Park, Chicago - July 1, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/4216599614/in/photostream/"><img alt="July 2, 2009" src="http://farm5.static.flickr.com/4044/4216599614_8d9697f7e0.jpg" title="Josh" width="500" /></a><p class="wp-caption-text">Navy Pier, Chicago - July 2, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3710973611/"><img alt="July 11, 2009" src="http://farm3.static.flickr.com/2579/3710973611_06388fa6c2.jpg" title="I love this town" width="500" height="375" /></a><p class="wp-caption-text">Museum Campus, Chicago - July 11, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3732153285/"><img alt="July 17, 2009" src="http://farm3.static.flickr.com/2633/3732153285_0c4848ba58.jpg" title="Why I love my dad" width="375" height="500" /></a><p class="wp-caption-text">Wheaton, IL - July 17, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><img alt="July 20, 2009" src="http://farm5.static.flickr.com/4005/4216600026_61625227f7.jpg" title="Someoddpilot" width="500" /><p class="wp-caption-text">Roscoe Village, Chicago - July 20, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><img alt="Detroit Lakes, MN - July 23, 2009" src="http://farm5.static.flickr.com/4013/4221553496_efae68f43d.jpg" title="10,000 Lakes Festival" width="500" /><p class="wp-caption-text">Detroit Lakes, MN - July 23, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3767748596/"><img alt="July 28, 2009" src="http://farm3.static.flickr.com/2634/3767748596_1249b0d7db.jpg" title="Metra, The way to really fly" width="500" height="375" /></a><p class="wp-caption-text">Wheaton, IL - July 28, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3777255431/in/photostream/"><img alt="August 1, 2009" src="http://farm3.static.flickr.com/2462/3777255431_66803d68f5.jpg" title="See you in New York" width="500" height="375" /></a><p class="wp-caption-text">ORD - August 1, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3782113829/"><img alt="August 2, 2009" src="http://farm3.static.flickr.com/2641/3782113829_5e4087a4a7.jpg" title="Hello Gotham" width="500" height="375" /></a><p class="wp-caption-text">Williamsburg, New York - August 2, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3790598428/"><img alt="August 4, 2009" src="http://farm4.static.flickr.com/3535/3790598428_5314154e45.jpg" title="Top of the Rock, NY" width="500" height="375" /></a><p class="wp-caption-text">Theatre District, New York - August 4, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3808564348/"><img alt="August 10, 2009" src="http://farm3.static.flickr.com/2645/3808564348_9a129f8cd8.jpg" title="My cousins wedding" width="500" /></a><p class="wp-caption-text">Bolton, CT - August 10, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3808591296/"><img alt="August 10, 2009" src="http://farm4.static.flickr.com/3458/3808591296_e2a7b110f4.jpg" title="Mike and Mom" width="500" /></a><p class="wp-caption-text">Bolton, CT - August 10, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3808595666/"><img alt="August 10, 2009 " src="http://farm3.static.flickr.com/2433/3808595666_7528fbe6d8.jpg" title="Papa" width="500" /></a><p class="wp-caption-text">Bolton, CT - August 10, 2009 </p></div>
<div class="wp-caption aligncenter" style="width: 160px"><a href="http://www.flickr.com/photos/interpunct/3837433821/"><img alt="August 19, 2009 " src="http://farm3.static.flickr.com/2422/3837433821_9f491c898f.jpg" title="Jen + Tom + Chad " height="500" /></a><p class="wp-caption-text">The Long Room, Chicago - August 19, 2009 </p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3860441926/"><img alt="August 26, 2009" src="http://farm4.static.flickr.com/3581/3860441926_f71a33538d.jpg" title="public transportation adventures" width="375" /></a><p class="wp-caption-text">Chicago - August 26, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/3890410829/"><img alt="September 5, 2009" src="http://farm3.static.flickr.com/2573/3890410829_074a0f2369.jpg" title="Shit Fountain" width="500" /></a><p class="wp-caption-text">Wicker Park, Chicago - September 5, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3894385306/"><img alt="September 6, 2009" src="http://farm3.static.flickr.com/2611/3894385306_42cb399509.jpg" title="Elaine Chernov" width="375" /></a><p class="wp-caption-text">Ukrainian Village, Chicago - September 6, 2009</p></div>
<div class="wp-caption alignnone" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/3969444975/"><img alt="Wheaton, IL - September 30, 2009" src="http://farm4.static.flickr.com/3459/3969444975_1eacb87ba4.jpg" title="I should have played more Tetris" width="375" height="500" /></a><p class="wp-caption-text">Wheaton, IL - September 30, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/4018108847/"><img alt="October 2, 2009" src="http://farm3.static.flickr.com/2600/4018108847_42a35a57f0.jpg" title="West Town Living Room" width="500" /></a><p class="wp-caption-text">West Town, Chicago - October 2, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 385px"><a href="http://www.flickr.com/photos/interpunct/4018110841/"><img alt="October 2, 2009" src="http://farm3.static.flickr.com/2774/4018110841_e06e631aab.jpg" title="West Town Bedroom" width="375" /></a><p class="wp-caption-text">West Town, Chicago - October 2, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/4117024591/"><img alt="October 6, 2009" src="http://farm3.static.flickr.com/2679/4117024591_bbabbfa7ab.jpg" title="Mathew Moreno" width="500" /></a><p class="wp-caption-text">MDW - October 6, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/4019933612/"><img alt="October 17, 2009" src="http://farm4.static.flickr.com/3525/4019933612_e5853db03d.jpg" title="Road trip" width="500" /></a><p class="wp-caption-text">on the way to Milwaukee, WI - October 17, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/4082898709/"><img alt="November 7, 2009" src="http://farm3.static.flickr.com/2770/4082898709_ab706fa604.jpg" title="Schwinn" width="500" /></a><p class="wp-caption-text">West Town, Chicago - November 7, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/4119576513/"><img alt="November 20, 2009" src="http://farm3.static.flickr.com/2570/4119576513_e01650fb68.jpg" title="Someoddpilot" width="500" /></a><p class="wp-caption-text">Roscoe Village, Chicago - November 20, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 130px"><a href="http://www.flickr.com/photos/interpunct/4129514263/"><img alt="November 23, 2009" src="http://farm3.static.flickr.com/2605/4129514263_a7f91931ff.jpg" title="Jen + Josh" height="500" /></a><p class="wp-caption-text">Wrigleyville, Chicago - November 23, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/4134638241/in/set-72157616602206773/"><img alt="November 25, 2009" src="http://farm3.static.flickr.com/2645/4134638241_334125841d.jpg" title="Daniel Knox" width="500" /></a><p class="wp-caption-text">Lakeview, Chicago - November 25, 2009</p></div>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/interpunct/4186211437/"><img alt="December 14, 2009" src="http://farm3.static.flickr.com/2562/4186211437_abb1c28a9d.jpg" title="Chicago" width="500" /></a><p class="wp-caption-text">Chicago - December 14, 2009</p></div>
<blockquote><p>&#8220;Your life is like a regular expression; it doesn&#8217;t matter how crazy it looks to other people, as long as you find what you&#8217;re searching for.&#8221;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/this-was-2009/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sierra Club Green Home</title>
		<link>http://www.awesometopic.com/coming-soon-sierra-club-green-home/</link>
		<comments>http://www.awesometopic.com/coming-soon-sierra-club-green-home/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 03:16:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Work]]></category>

		<category><![CDATA[Carousel.js]]></category>

		<category><![CDATA[OpenX]]></category>

		<category><![CDATA[Organizer Plugin]]></category>

		<category><![CDATA[Search Reloaded Plugin]]></category>

		<category><![CDATA[ShareThis Plugin]]></category>

		<category><![CDATA[Similar Posts Plugin]]></category>

		<category><![CDATA[StatPress Plugin]]></category>

		<category><![CDATA[SuperSleight PNG fix]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WP-Polls Plugin]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/blog/?p=47</guid>
		<description><![CDATA[This site includes zones to manage content, track advertising campaigns, and handle member logins.
The content management is built with WordPress and utilizes several plugins to maximize functionality for the site&#8217;s users and for those maintaining the content. The administrator can add polls, view site statistics, write articles, and direct users to related information. The WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>This site includes zones to manage content, track advertising campaigns, and handle member logins.<span id="more-47"></span></p>
<p>The content management is built with WordPress and utilizes several plugins to maximize functionality for the site&#8217;s users and for those maintaining the content. The administrator can add polls, view site statistics, write articles, and direct users to related information. The WordPress Cross Linker plugin was modified to display a tool tip with a word&#8217;s definition to help keep readers informed.</p>
<p>The ads are served through <a title="OpenX" href="http://www.openx.org/">OpenX</a> and run on JavaScript invocation codes that are included in the sidebar. The administrator can start ad campaigns, upload images, and place ads in very targeted locations on the site.</p>
<p>Registration is handled separately, and managed through a customized admin panel. Once a user logs in, they can search for providers of green products and services in their area, view vendor profiles, post on the bulletin board, and participate in quizzes to test the health of their home and their Carbon Dioxide emissions.</p>
<p>One of the biggest challenges was handling the drop down menus, which open on click and close when users click outside of the menu. Additionally, the largest drop down contains three floated lists that hold subcategories of the &#8220;Educate&#8221; category and their respective articles. Creating this list required a custom query to the WordPress database. The PHP for this query and the JavaScript for the button events is below.</p>
<h5>PHP</h5>
<pre>//connect to WP DB
$om_con = mysql_connect(DB_HOST, DB_USER,DB_PASSWORD);
$om_db = mysql_select_db(DB_NAME,$om_con); 

// FOR every <strong>term_id</strong> in <strong>wp_term_taxonomy</strong> WHERE parent = 10
  		// compare <strong>term_id</strong> in <strong>wp_term_taxonomy</strong> to <strong>term_id</strong> in <strong>wp_terms</strong>
		// FOR every alignment:
			// build up an array of subcategories with <strong>name</strong> in <strong>wp_terms</strong>
			// compare <strong>term_id</strong> in <strong>wp_terms</strong> to <strong>term_taxonomy_id</strong> in <strong>wp_terms_relationships</strong> 

					// compare <strong>term_id</strong> in <strong>wp_terms</strong> to <strong>term_taxonomy_id</strong> in <strong>wp_terms_relationships</strong>
					// FOR every alignment:
$sql = " SELECT  wp.ID, wt.name, wp.post_title, wp.guid FROM wp_term_taxonomy AS wtt
		LEFT JOIN wp_terms AS wt ON (wtt.term_id = wt.term_id)
		LEFT JOIN wp_term_relationships AS wtr ON (wt.term_id = wtr.term_taxonomy_id)
		LEFT JOIN wp_posts AS wp ON (wtr.object_id = wp.ID)
		WHERE wtt.parent = '10'
		ORDER BY wt.name ASC, wp.post_date ASC ";  //ORDER BY category alphabetically, subcategory alphabetically, and post date

//hold the result
$res = mysql_query($sql, $om_con) or die( mysql_error() );

//count the number of rows in the result
//(so we can split it up into 3)
$numRows = mysql_num_rows($res);

//instantiate variables for the loop
$sub_cat_name = '';
$rowcount = 0;
$doonce = true;
$thirdsCounte = 1;
$dosecondpass = true;

//while we still have rows in the result
while( $row = mysql_fetch_assoc($res) ) {
	//increase the row counter
	$rowcount++;

	//each row represents a subcategory of the bigger wp category "Educate"
	//if it is the next subcat...
	if ($sub_cat_name != $row['name']) {
		//put the name of the subcategory in the variable
		$sub_cat_name = $row['name'];

		//if the row number you are on is still less than the total number of rows divided by 3
		//AND if we have not already done this once...
		if( ( ($numRows/3) &lt; $rowcount ) &amp;&amp; $doonce ) {
			//reset the variable so we do not repeat this
			$doonce = false;

			//build a variable that will end the left list and start the center list
			$msg .= "\t\t&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class=\"clearfix third_width_list\"&gt;
	&lt;li&gt;". $sub_cat_name."
		&lt;ul &gt;\n";

		}//end else if you're in the first column

		else if( (( 2*($numRows/3)) &lt; $rowcount) &amp;&amp; $dosecondpass ) {
			//reset the variable so we do not repeat this
			$dosecondpass = false;

			//build a variable that will end the center list and start the right side list
			$msg .= "\t\t&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class=\"clearfix third_width_list\"&gt;
	&lt;li&gt;". $sub_cat_name."
		&lt;ul &gt;\n";

		}//end else if you're in the second column

		else {
			//else, if you are starting a new subcategory, end the preceding subcategory and start the next
			$msg .= "&lt;/ul&gt;
	&lt;/li&gt;

	&lt;li&gt;". $sub_cat_name."
		&lt;ul&gt;\n";

		}//end else if you're in the third column 

	}//end if it IS a new subcat

	//else, if it is NOT a new subcategory, then it must be the articles within the subcats
	//add to the output variable to print the link to each article
	$stringWithoutAmps = str_replace("&amp;", "&amp;", $row['post_title']);

	$msg .= "\t\t\t&lt;li&gt;&lt;a href='".get_permalink($row['ID'])."' title='".$stringWithoutAmps ."' &gt;".$stringWithoutAmps."&lt;/a&gt;&lt;/li&gt;\n";

	}//end else if it is NOT a new subcat

//the very first subcategory will not need to have this stuff, since there was nothing above it
$msg = ltrim($msg, "\t&lt;/li&gt;
&lt;/ul&gt;");

//echo the stuff that starts the ball rolling
echo "&lt;ul class=\"clearfix third_width_list\"&gt;
	&lt;li&gt;";
//print out the message
echo $msg;
//print out important closing tags
echo "&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;";</pre>
<h5>JavaScript</h5>
<pre>//using the Mootools domready event
window.addEvent('domready', function() {

    //GLOBAL CLICK EVENT
    document.addEvent('click', function(e){

		//any time you click the page, the educate drop down will close
        document.getElementById('triple').style.visibility='hidden';

    });
    //capture events
    if (document.captureEvents) document.captureEvents(Event.CLICK);

    //BUTTON CLICK EVENT
    $('nav_educate').addEvent('click', function(e){
        //prevent bubbling up to the global click event
        if (!e) var e = window.event;
        e.cancelBubble = true;
        if (e.stopPropagation) e.stopPropagation();

        //show the educate dropdown menu
        document.getElementById('triple').style.visibility='visible';

    });

});</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/coming-soon-sierra-club-green-home/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GiveForward.org</title>
		<link>http://www.awesometopic.com/giveforwardorg/</link>
		<comments>http://www.awesometopic.com/giveforwardorg/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 03:41:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Work]]></category>

		<category><![CDATA[Accorion]]></category>

		<category><![CDATA[AJAX Contact Forms]]></category>

		<category><![CDATA[designer: Steven Walker]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[ShareThis Plugin]]></category>

		<category><![CDATA[Slide Effect]]></category>

		<category><![CDATA[Slimbox]]></category>

		<category><![CDATA[SuperSleight PNG fix]]></category>

		<category><![CDATA[Toggling Tabs]]></category>

		<category><![CDATA[Tooltips]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/blog/?p=64</guid>
		<description><![CDATA[GiveForward is a philanthropic social networking site that allows users to set up fundraisers, customize their profile page and collect money from other users as well as non-users.
]]></description>
			<content:encoded><![CDATA[<p>GiveForward is a philanthropic social networking site that allows users to set up fundraisers, customize their profile page and collect money from other users as well as non-users.<span id="more-64"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/giveforwardorg/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dr. Aoife Lyons</title>
		<link>http://www.awesometopic.com/dr-aoife-lyons/</link>
		<comments>http://www.awesometopic.com/dr-aoife-lyons/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 18:32:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Work]]></category>

		<category><![CDATA[Accordion]]></category>

		<category><![CDATA[AJAX Contact Forms]]></category>

		<category><![CDATA[designer: Alex Sigoff]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[Slide Effect]]></category>

		<category><![CDATA[SuperSleight PNG fix]]></category>

		<category><![CDATA[Toggling Tabs]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/blog/?p=57</guid>
		<description><![CDATA[Dr. Aoife Lyons&#8217;s site is informative and straightforward with a playful and complex design. This site utilizes several transparent PNG images to create a layered appearance. From the sticky note on the home page as well as the &#8220;Professional Activities&#8221; tab on the Bio page, users access additional information in a &#8220;drawer&#8221;. The opening of [...]]]></description>
			<content:encoded><![CDATA[<p>Dr. Aoife Lyons&#8217;s site is informative and straightforward with a playful and complex design.<span id="more-57"></span> This site utilizes several transparent PNG images to create a layered appearance. From the sticky note on the home page as well as the &#8220;Professional Activities&#8221; tab on the Bio page, users access additional information in a &#8220;drawer&#8221;. The opening of this drawer is simulated with the Mootools Slide animation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/dr-aoife-lyons/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Jennifer&#8217;s mixtape&#8217;s a masterpiece.</title>
		<link>http://www.awesometopic.com/jennifers-mixtapes-a-masterpiece/</link>
		<comments>http://www.awesometopic.com/jennifers-mixtapes-a-masterpiece/#comments</comments>
		<pubDate>Tue, 20 May 2008 04:22:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Ben Folds]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/blog/?p=13</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/jennifers-mixtapes-a-masterpiece/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Jennifer is covered in rain.</title>
		<link>http://www.awesometopic.com/jennifer-is-covered-in-rain/</link>
		<comments>http://www.awesometopic.com/jennifer-is-covered-in-rain/#comments</comments>
		<pubDate>Wed, 07 May 2008 15:08:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[John Mayer]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/blog/?p=12</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/jennifer-is-covered-in-rain/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Jennifer is so tired of you america.</title>
		<link>http://www.awesometopic.com/jennifer-is-so-tired-of-you-america/</link>
		<comments>http://www.awesometopic.com/jennifer-is-so-tired-of-you-america/#comments</comments>
		<pubDate>Thu, 01 May 2008 23:24:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rufus Wainwright]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/blog/?p=11</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/jennifer-is-so-tired-of-you-america/feed/</wfw:commentRss>
		</item>
		<item>
		<title>NewNet Communication Technologies</title>
		<link>http://www.awesometopic.com/implementing-wordpress-as-a-complete-content-management-system/</link>
		<comments>http://www.awesometopic.com/implementing-wordpress-as-a-complete-content-management-system/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 02:52:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Work]]></category>

		<category><![CDATA[designer: Steven Walker]]></category>

		<category><![CDATA[Search Everything Plugin]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/blog/?p=41</guid>
		<description><![CDATA[This customer wanted the ability to search the entire website&#8217;s content. Rather than having programmers build an elaborate, custom, content management system for this project, we decided to save time and resources by building the site on a WordPress back-end.
]]></description>
			<content:encoded><![CDATA[<p>This customer wanted the ability to search the entire website&#8217;s content.<span id="more-41"></span> Rather than having programmers build an elaborate, custom, content management system for this project, we decided to save time and resources by building the site on a WordPress back-end.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/implementing-wordpress-as-a-complete-content-management-system/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Jennifer is trying to break your heart.</title>
		<link>http://www.awesometopic.com/jennifer-is-trying-to-break-your-heart/</link>
		<comments>http://www.awesometopic.com/jennifer-is-trying-to-break-your-heart/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 00:23:11 +0000</pubDate>
		<dc:creator>jennifer</dc:creator>
		
		<category><![CDATA[Wilco]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/blog/?p=9</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/jennifer-is-trying-to-break-your-heart/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Jennifer is made of atoms, you&#8217;re made of atoms, and we&#8217;re all in this together.</title>
		<link>http://www.awesometopic.com/jennifer-is-made-of-atoms-youre-made-of-atoms-and-were-all-in-this-together/</link>
		<comments>http://www.awesometopic.com/jennifer-is-made-of-atoms-youre-made-of-atoms-and-were-all-in-this-together/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 01:00:39 +0000</pubDate>
		<dc:creator>jennifer</dc:creator>
		
		<category><![CDATA[Ben Lee]]></category>

		<category><![CDATA[happiness]]></category>

		<category><![CDATA[inner peace]]></category>

		<category><![CDATA[smile]]></category>

		<guid isPermaLink="false">http://www.awesometopic.com/blog/?p=8</guid>
		<description><![CDATA[Do you ever have those moments when, despite all the things that are wrong in the world, things feel right and you catch yourself smiling?  I had a moment like that whilst walking home from the train today and listening to this song.  I realized that I hadn&#8217;t smiled like that in a long time, [...]]]></description>
			<content:encoded><![CDATA[<p>Do you ever have those moments when, despite all the things that are wrong in the world, things feel right and you catch yourself smiling?  I had a moment like that whilst walking home from the train today and listening to this song.  I realized that I hadn&#8217;t smiled like that in a long time, and so I felt both an inner peace and an inner sadness.   It&#8217;s so easy to get bogged down by work stresses or relationship dramas or life&#8217;s bigger issues, that it&#8217;s nice to &#8220;stop and smell the roses&#8221; (or stop and hear the music, as I&#8217;d say).<span style="font-size: 16px; line-height: 20px" class="Apple-style-span"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.awesometopic.com/jennifer-is-made-of-atoms-youre-made-of-atoms-and-were-all-in-this-together/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
