<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Iftekhar&#039;s Blog</title>
	<atom:link href="http://www.iftekhar.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iftekhar.me</link>
	<description>dipu&#039;s thoughts</description>
	<lastBuildDate>Wed, 25 Aug 2010 04:56:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Panaroma with Nikon’s Basic Compat – Coolpix L 21</title>
		<link>http://www.iftekhar.me/panaroma-with-nikons-basic-compat-coolpix-l-21/</link>
		<comments>http://www.iftekhar.me/panaroma-with-nikons-basic-compat-coolpix-l-21/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 03:41:31 +0000</pubDate>
		<dc:creator>dipu</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.iftekhar.me/?p=83</guid>
		<description><![CDATA[Singapore Youth Olympic &#8211; Girls&#8217; Football  Turkey Vs Iran This Basic compact from Nikon takes ok Shots in low light. The easy auto mode makes it easy and handy to automatically switch between modes. Operating on 2 AA sized battery, this 8MP camera takes real nice panaromic shots. Only drawback will be the pictures are [...]]]></description>
			<content:encoded><![CDATA[<h3>Singapore Youth Olympic &#8211; Girls&#8217; Football  Turkey Vs Iran</h3>
<p>This Basic compact from Nikon takes ok Shots in low light. The easy auto mode makes it easy and handy to automatically switch between modes. Operating on 2 AA sized battery, this 8MP camera takes real nice panaromic shots. Only drawback will be the pictures are sometime over exposed to light while shooting under bright sunlight.</p>
<p><a href="http://www.iftekhar.me/wp-content/uploads/2010/08/g.jpg"><img class="alignnone size-full wp-image-84" title="Singapore Youth Olympic - Turky Vs Iran" src="http://www.iftekhar.me/wp-content/uploads/2010/08/g.jpg" alt="" width="576" height="166" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iftekhar.me/panaroma-with-nikons-basic-compat-coolpix-l-21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Last Airbender 3D &#8211; a disappointment</title>
		<link>http://www.iftekhar.me/the-last-airbender-3d-in-singapore/</link>
		<comments>http://www.iftekhar.me/the-last-airbender-3d-in-singapore/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 05:27:40 +0000</pubDate>
		<dc:creator>dipu</dc:creator>
				<category><![CDATA[Movies]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.iftekhar.me/?p=72</guid>
		<description><![CDATA[The Last Airbender Released in Singapore on 5th August 2010, The Last Airbender was a disappointment from M. Night Shyamalan. The weak plot doesn&#8217;t match the great storyteller at any way.  While I am so much used to and am looking forward to his unique way of telling a story and building a suspense; this [...]]]></description>
			<content:encoded><![CDATA[<h2><a href="http://www.iftekhar.me/wp-content/uploads/2010/08/air.jpg"><img class="size-large wp-image-75 alignleft" title="The Last Airbender " src="http://www.iftekhar.me/wp-content/uploads/2010/08/air-650x1024.jpg" alt="The Last Airbender poster" width="234" height="368" /></a>The Last Airbender</h2>
<p>Released in Singapore on 5th August 2010, The Last Airbender was a disappointment from <a onclick="(new Image()).src='/rg/directorlist/position-1/images/b.gif?link=name/nm0796117/';" href="http://www.imdb.com/name/nm0796117/">M. Night Shyamalan</a>. The weak plot doesn&#8217;t match the great storyteller at any way.  While I am so much used to and am looking forward to his unique way of telling a story and building a suspense; this one was a total disappointment.</p>
<p><a href="http://www.imdb.com/name/nm3226241/">The junior actor </a>tried hard but there was flwas in the acting which could easily be overcome by a good directing and editing.</p>
<h2>3D?</h2>
<p>This is definiatlet not made in 3D. I think this movie is one of the false claiming movie for 3D. The only 3D part in the theater &#8211; Cathay Cineplex Dhoby Ghaut, Singapore was the Chinese subtitle! Only the subtitle looked a little lifted from the movie screen. I just took my 3D glasses off and watched the whole movie without any haziness- except the Chinese subtitles which is good!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iftekhar.me/the-last-airbender-3d-in-singapore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Singapore</title>
		<link>http://www.iftekhar.me/singapore/</link>
		<comments>http://www.iftekhar.me/singapore/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 02:24:30 +0000</pubDate>
		<dc:creator>dipu</dc:creator>
				<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://www.iftekhar.me/?p=52</guid>
		<description><![CDATA[Photos of Singapore taken by me and my friend Tareq Ghani from different place of Singapore including Clarke Quay, Singapore Zoo, Bird Park, Sentosa etc.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iftekhar.me/wp-content/uploads/2010/06/main.jpg"><img class="alignnone size-full wp-image-55" title="main" src="http://www.iftekhar.me/wp-content/uploads/2010/06/main.jpg" alt="" width="611" height="131" /></a></p>
<p>Photos of Singapore taken by me and my friend Tareq Ghani from different place of Singapore including Clarke Quay, Singapore Zoo, Bird Park, Sentosa etc.</p>

<div class="ngg-galleryoverview" id="ngg-gallery-2-52">


	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.iftekhar.me/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=2&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-83" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0792.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0792" alt="DSC_0792" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0792.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-82" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0780.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0780" alt="DSC_0780" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0780.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-81" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0696.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0696" alt="DSC_0696" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0696.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-80" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0680.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0680" alt="DSC_0680" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0680.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-79" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0675.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0675" alt="DSC_0675" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0675.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-78" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0514.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0514" alt="DSC_0514" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0514.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-77" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0463.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0463" alt="DSC_0463" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0463.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-76" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0427.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0427" alt="DSC_0427" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0427.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-75" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0406.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0406" alt="DSC_0406" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0406.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-74" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0387.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0387" alt="DSC_0387" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0387.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-73" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0384.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0384" alt="DSC_0384" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0384.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-72" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0375.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0375" alt="DSC_0375" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0375.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-71" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0367.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0367" alt="DSC_0367" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0367.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-70" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0360.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0360" alt="DSC_0360" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0360.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-69" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0358.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0358" alt="DSC_0358" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0358.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-68" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0320.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0320" alt="DSC_0320" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0320.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-67" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0311.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0311" alt="DSC_0311" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0311.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-66" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0306.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0306" alt="DSC_0306" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0306.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-65" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0293.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0293" alt="DSC_0293" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0293.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-64" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.iftekhar.me/wp-content/gallery/singapore/DSC_0288.JPG" title=" " class="shutterset_set_2" >
								<img title="DSC_0288" alt="DSC_0288" src="http://www.iftekhar.me/wp-content/gallery/singapore/thumbs/thumbs_DSC_0288.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-navigation'><span>1</span><a class="page-numbers" href="http://www.iftekhar.me/singapore/?nggpage=2">2</a><a class="page-numbers" href="http://www.iftekhar.me/singapore/?nggpage=3">3</a><a class="next" id="ngg-next-2" href="http://www.iftekhar.me/singapore/?nggpage=2">&#9658;</a></div> 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.iftekhar.me/singapore/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Russian Rhapsody in Esplanade Singapore</title>
		<link>http://www.iftekhar.me/russian-rhapsody-in-esplanade-singapore/</link>
		<comments>http://www.iftekhar.me/russian-rhapsody-in-esplanade-singapore/#comments</comments>
		<pubDate>Wed, 19 May 2010 05:43:31 +0000</pubDate>
		<dc:creator>dipu</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.iftekhar.me/?p=36</guid>
		<description><![CDATA[A lovely concert by the two amazing performers. They performed 3 main pieces of Symphony in the nice evening of 8th May 2010, in Singapore Symphony Orchestra. I had the chance to experience the magical moments of that evening. The Performers Arvo Volmer This Estonian-born conductor performed the first music- Sinfonia da Requien from Benjamin [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iftekhar.me/wp-content/uploads/2010/05/03.jpg"><img class="alignnone size-full wp-image-42" title="Russian Rhapsody Esplanade Singapore" src="http://www.iftekhar.me/wp-content/uploads/2010/05/03.jpg" alt="" width="549" height="296" /></a></p>
<p>A lovely concert by the two amazing performers. They performed 3 main pieces of Symphony in the nice evening of 8th May 2010, in Singapore Symphony Orchestra. I had the chance to experience the magical moments of that evening.</p>
<h2>The Performers</h2>
<h3>Arvo Volmer</h3>
<p><a href="http://www.iftekhar.me/wp-content/uploads/2010/05/01.jpg"><img class="alignleft size-full wp-image-40" title="Arvo Volmer" src="http://www.iftekhar.me/wp-content/uploads/2010/05/01.jpg" alt="" width="200" height="200" /></a>This Estonian-born conductor performed the first music- <em>Sinfonia da Requien</em> from <strong>Benjamin Britten</strong>. It was a very wonderful piece with dramatic changes in rhythm. No wonder why this Symphony represents the time of Second World War.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iftekhar.me/russian-rhapsody-in-esplanade-singapore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Theme Selector for your wodrepress theme</title>
		<link>http://www.iftekhar.me/theme-selector-for-your-wodrepress-theme/</link>
		<comments>http://www.iftekhar.me/theme-selector-for-your-wodrepress-theme/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 01:50:29 +0000</pubDate>
		<dc:creator>dipu</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.iftekhar.me/?p=14</guid>
		<description><![CDATA[It is a great flexibility for a designer to be able to incorporate different stylesheets for a single theme to give that theme a different look and feel. Here I am going to discuss how one can do that in few easy steps- First of all you need to have the following files handy- functions.php, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-32" title="theme2" src="http://www.iftekhar.me/wp-content/uploads/2009/09/theme2.jpg" alt="theme2" width="280" height="221" />It is a great flexibility for a designer to be able to incorporate different stylesheets for a single theme to give that theme a different look and feel. Here I am going to discuss how one can do that in few easy steps-</p>
<p>First of all you need to have the following files handy- functions.php, header.php and style.css. They are located in \wp-content\themes\yourTheme\ folder.You also need to create different style sheets that you want to switch to in the theme option of your wordpress theme. For this demo, we will create a blue and black color scheme for our theme. So we have a styleBlue.css and styleBlack.css ready. We also have a styleDefault.css there in the theme directory. We have move all the code from the style.css in the default.css.<br />
Now lets open the functions.php. At the very end of this file add the following code-</p>
<pre class="brush: php;">
&lt;?php
$themename = &quot;Iftekhar Theme&quot;;
$shortname = &quot;itheme&quot;;
$options = array (

    array(    &quot;name&quot; =&gt; &quot;Layout Settings&quot;,
            &quot;type&quot; =&gt; &quot;titles&quot;,),

array(    &quot;name&quot; =&gt; &quot;Blog Color Scheme&quot;,
            &quot;id&quot; =&gt; $shortname.&quot;_color&quot;,
            &quot;type&quot; =&gt; &quot;select&quot;,
            &quot;std&quot; =&gt; &quot;Default&quot;,
            &quot;options&quot; =&gt; array(&quot;Default&quot;, &quot;Blue&quot;, &quot;Black&quot;)),

);

function mytheme_add_admin() {

    global $themename, $shortname, $options;

    if ( $_GET['page'] == basename(__FILE__) ) {

        if ( 'save' == $_REQUEST['action'] ) {

                foreach ($options as $value) {
                    update_option( $value['id'], $_REQUEST[ $value['id'] ] ); }

                foreach ($options as $value) {
                    if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ]  ); } else { delete_option( $value['id'] ); } }

                header(&quot;Location: themes.php?page=functions.php&amp;saved=true&quot;);
                die;

        } else if( 'reset' == $_REQUEST['action'] ) {

            foreach ($options as $value) {
                delete_option( $value['id'] ); }

            header(&quot;Location: themes.php?page=functions.php&amp;reset=true&quot;);
            die;

        }
    }

    add_theme_page($themename.&quot; Options&quot;, &quot;Current Theme Options&quot;, 'edit_themes', basename(__FILE__), 'mytheme_admin');

}

function mytheme_admin() {

    global $themename, $shortname, $options;

    if ( $_REQUEST['saved'] ) echo '&lt;div id=&quot;message&quot; class=&quot;updated fade&quot;&gt;&lt;p&gt;&lt;strong&gt;'.$themename.' settings saved.&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;';
    if ( $_REQUEST['reset'] ) echo '&lt;div id=&quot;message&quot; class=&quot;updated fade&quot;&gt;&lt;p&gt;&lt;strong&gt;'.$themename.' settings reset.&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;';

?&gt;

&lt;div class=&quot;wrap&quot;&gt;
&lt;h2&gt;&lt;?php echo $themename; ?&gt; settings&lt;/h2&gt;
&lt;form method=&quot;post&quot;&gt;
    &lt;?php foreach ($options as $value) {

if ($value['type'] == &quot;text&quot;) { ?&gt;
    &lt;div style=&quot;float: left; width: 880px; background-color:#EEEEEE; border-left: 1px solid #464646; border-right: 1px solid #464646;  border-bottom: 1px solid #464646; padding: 10px;&quot;&gt;
        &lt;div style=&quot;width: 200px; float: left;&quot;&gt;&lt;?php echo $value['name']; ?&gt;&lt;/div&gt;
        &lt;div style=&quot;width: 680px; float: left;&quot;&gt;
            &lt;input name=&quot;&lt;?php echo $value['id']; ?&gt;&quot; id=&quot;&lt;?php echo $value['id']; ?&gt;&quot; style=&quot;width: 400px;&quot; type=&quot;&lt;?php echo $value['type']; ?&gt;&quot; value=&quot;&lt;?php if ( get_settings( $value['id'] ) != &quot;&quot;) { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?&gt;&quot; /&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;?php } elseif ($value['type'] == &quot;text2&quot;) { ?&gt;
    &lt;div style=&quot;float: left; width: 880px; background-color:#EEEEEE; border-left: 1px solid #464646; border-right: 1px solid #464646;  border-bottom: 1px solid #464646; padding: 10px;&quot;&gt;
        &lt;div style=&quot;width: 200px; float: left;&quot;&gt;&lt;?php echo $value['name']; ?&gt;&lt;/div&gt;
        &lt;div style=&quot;width: 680px; float: left;&quot;&gt;
            &lt;textarea name=&quot;&lt;?php echo $value['id']; ?&gt;&quot; id=&quot;&lt;?php echo $value['id']; ?&gt;&quot; style=&quot;width: 400px; height: 200px;&quot; type=&quot;&lt;?php echo $value['type']; ?&gt;&quot;&gt;&lt;?php if ( get_settings( $value['id'] ) != &quot;&quot;) { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?&gt;
&lt;/textarea&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;?php } elseif ($value['type'] == &quot;select&quot;) { ?&gt;
    &lt;div style=&quot;float: left; width: 880px; background-color:#EEEEEE; border-left: 1px solid #464646; border-right: 1px solid #464646;  border-bottom: 1px solid #464646; padding: 10px;&quot;&gt;
        &lt;div style=&quot;width: 200px; float: left;&quot;&gt;&lt;?php echo $value['name']; ?&gt;&lt;/div&gt;
        &lt;div style=&quot;width: 680px; float: left;&quot;&gt;
            &lt;select name=&quot;&lt;?php echo $value['id']; ?&gt;&quot; id=&quot;&lt;?php echo $value['id']; ?&gt;&quot; style=&quot;width: 400px;&quot;&gt;
                &lt;?php foreach ($value['options'] as $option) { ?&gt;
                &lt;option&lt;?php if ( get_settings( $value['id'] ) == $option) { echo ' selected=&quot;selected&quot;'; } elseif ($option == $value['std']) { echo ' selected=&quot;selected&quot;'; } ?&gt;&gt;&lt;?php echo $option; ?&gt;&lt;/option&gt;
                &lt;?php } ?&gt;
            &lt;/select&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;?php } elseif ($value['type'] == &quot;titles&quot;) { ?&gt;
    &lt;div style=&quot;float: left; width: 870px; padding: 15px; background-color:#464646; border: 1px solid #464646; color: #FFF; font-size: 16px; font-weight: bold; margin-top: 25px;&quot;&gt; &lt;?php echo $value['name']; ?&gt; &lt;/div&gt;
    &lt;?php
}
}
?&gt;
    &lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;
    &lt;p class=&quot;submit&quot;&gt;
        &lt;input name=&quot;save&quot; type=&quot;submit&quot; value=&quot;Save changes&quot; /&gt;
        &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;save&quot; /&gt;
    &lt;/p&gt;
&lt;/form&gt;
&lt;form method=&quot;post&quot;&gt;
    &lt;p class=&quot;submit&quot;&gt;
        &lt;input name=&quot;reset&quot; type=&quot;submit&quot; value=&quot;Reset&quot; /&gt;
        &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;reset&quot; /&gt;
    &lt;/p&gt;
&lt;/form&gt;
&lt;?php
}

function mytheme_wp_head() { ?&gt;
&lt;?php }

add_action('wp_head', 'mytheme_wp_head');
add_action('admin_menu', 'mytheme_add_admin'); ?&gt;
</pre>
<p><br style="line-height: 16px;" /><br />
Here we define the options that will be displayed in the theme option page. Right now we are adding only css dropdown changer so I am going to skip discussing lot of the other option that can be added.</p>
<p>Lets discuss the code a little- at first there is themename and shortname which can be anything you wish. But if you chnage the shortname make sure you chage the shaortname in the header.php code as well. In the third line we are beginning an array which stores all the other arrays that we will be using. In this case, the css selector.</p>
<p>in the array, we use the following:<br />
name – This is the title which will be displayed for this option.<br />
id – This is very important. We will be using these to retrieve the option. $shortname gets replaced with whatever you set the shortname to (in our case wpc).<br />
std – This is the ‘default’ setting for the option. For example on checkboxes we can use true or false to determine whether the box is pre-ticked or not.<br />
type – This defines what type of option it is. For example, text, textarea, checkbox etc.</p>
<p>Next we define a loop and several other fucitions to display our theme option and save the changes we made. After completing this step, you should see a theme option page like this-</p>
<p><img class="alignnone size-full wp-image-28" title="theme1" src="http://www.iftekhar.me/wp-content/uploads/2009/09/theme1.jpg" alt="theme1" width="700" height="280" /></p>
<p><br style="line-height: 16px; clear: both;" /></p>
<p style="lclear: both;">
<p>Now open up header.php and find out the line that link your css file. Its usually like this-</p>
<pre class="brush: php;">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo('stylesheet_url'); ?&gt;&quot; /&gt;</pre>
<p>Replace the above line with the following-</p>
<pre class="brush: php;">&lt;?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
      ?&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/style&lt;?php echo $iTheme_color; ?&gt;.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;</pre>
<p>You are done! Now you should be able to see the changes you make from the theme option page in your site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iftekhar.me/theme-selector-for-your-wodrepress-theme/feed/</wfw:commentRss>
		<slash:comments>225</slash:comments>
		</item>
		<item>
		<title>About iftekhar.me</title>
		<link>http://www.iftekhar.me/about-iftekhar-me/</link>
		<comments>http://www.iftekhar.me/about-iftekhar-me/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 09:15:52 +0000</pubDate>
		<dc:creator>dipu</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://www.iftekhar.me/?p=9</guid>
		<description><![CDATA[Hello, I am Iftekharul Islam Dipu- a webdesigner from Dhaka Bangaldesh. Starting this new and first blog of mine where I think I will talk about myself, technology, traveling, products review, design trends and ideas, tips and tricks and lot more. Comments are open; you are welcome to express your opinion and ask questions. I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-34" title="theme3" src="http://www.iftekhar.me/wp-content/uploads/2009/08/theme3.jpg" alt="theme3" width="500" height="284" />Hello, I am Iftekharul Islam Dipu- a webdesigner from Dhaka Bangaldesh. Starting this new and first blog of mine where I think I will talk about myself, technology, traveling, products review, design trends and ideas, tips and tricks and lot more. Comments are open; you are welcome to express your opinion and ask questions.</p>
<p>I wanted to thank my good friend Henrik and Niall for helping me getting the domain and giving me inspiration.</p>
<p>﻿</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iftekhar.me/about-iftekhar-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
