<?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>Keithics Blog and Thoughts</title>
	<atom:link href="http://keithics.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://keithics.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 28 Jul 2010 17:10:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Starcraft 2 : Wings of Liberty &#8211; Fireworks / PSD Template</title>
		<link>http://keithics.com/blog/adobe-fireworks/starcraft-2-wings-of-liberty-fireworks-psd-template</link>
		<comments>http://keithics.com/blog/adobe-fireworks/starcraft-2-wings-of-liberty-fireworks-psd-template#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:00:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Fireworks]]></category>
		<category><![CDATA[Premium Templates]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=343</guid>
		<description><![CDATA[Starcraft 2 : Wings of Liberty Fireworks Template for only 25.00 USD
- This template is based on Starcraft 2 Fan Site Kit.
- Made using Adobe Fireworks CS4+.
- High Quality and best for your Starcraft fan page.
- Can be saved as PSD.
- Payment via Paypal (webmaster@keithics.com)
- HTML is optional, just add 25USD for 1 homepage and [...]]]></description>
			<content:encoded><![CDATA[<h2>Starcraft 2 : Wings of Liberty Fireworks Template for only 25.00 USD</h2>
<p>- This template is based on <a href="http://us.starcraft2.com/downloads.xml#fansitekit" target="_blank">Starcraft 2 Fan Site Kit</a>.<br />
- Made using Adobe Fireworks CS4+.<br />
- High Quality and best for your Starcraft fan page.<br />
- Can be saved as PSD.<br />
- Payment via Paypal (<a href="mailto:webmaster@keithics.com">webmaster@keithics.com</a>)<br />
- HTML is optional, just add 25USD for 1 homepage and 1 template.</p>
<p><strong>Preview Below: Homepage at 90% from original (click to view)<br />
</strong></p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/07/homepage.jpg"><img class="alignnone size-full wp-image-348" title="homepage" src="http://keithics.com/blog/wp-content/uploads/2010/07/homepage.jpg" alt="" width="872" height="891" /></a></p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/07/downloads.jpg"><img class="alignnone size-full wp-image-344" title="downloads" src="http://keithics.com/blog/wp-content/uploads/2010/07/downloads.jpg" alt="" width="1120" height="720" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/adobe-fireworks/starcraft-2-wings-of-liberty-fireworks-psd-template/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN in Shared Hosting with Hostgator</title>
		<link>http://keithics.com/blog/personal-thoughts/svn-in-shared-hosting-with-hostgator</link>
		<comments>http://keithics.com/blog/personal-thoughts/svn-in-shared-hosting-with-hostgator#comments</comments>
		<pubDate>Sun, 11 Jul 2010 06:36:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal Thoughts]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=336</guid>
		<description><![CDATA[I love Hostgator, they never let me down ever since. There might some minor incidents but their support fixed it quickly.
My Hard drive just crashed this week and now I want to have a repository for my code just in case it happens again.
To make Hostgator+SVN to work , you need:
1. SSH access.. SSH is [...]]]></description>
			<content:encoded><![CDATA[<p>I love Hostgator, they never let me down ever since. There might some minor incidents but their support fixed it quickly.</p>
<p>My Hard drive just crashed this week and now I want to have a repository for my code just in case it happens again.</p>
<p>To make Hostgator+SVN to work , you need:</p>
<p>1. SSH access.. SSH is free if you have the business plan (shared)</p>
<p>2. <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">Putty (Windows)</a></p>
<p>3. <a href="http://tortoisesvn.tigris.org/" target="_blank">TortoiseSVN (SVN Client)</a></p>
<p>Step1:</p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/07/1.jpg"><img class="alignnone size-full wp-image-337" title="1" src="http://keithics.com/blog/wp-content/uploads/2010/07/1.jpg" alt="" width="459" height="435" /></a></p>
<p>Instructions:<br />
Type your <strong>domain name</strong> and the port as <strong>2222</strong>, in the Saved Sessions textbox type: <strong>keithics</strong> or any name, then click <strong>Save</strong>. You can see the<strong> Name on the text area on the left</strong>.<br />
<strong>Then click Open.<br />
</strong></p>
<p>Step2:</p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/07/2.jpg"><img class="alignnone size-full wp-image-338" title="2" src="http://keithics.com/blog/wp-content/uploads/2010/07/2.jpg" alt="" width="663" height="225" /></a></p>
<p>When Putty loads, it will ask for your <strong>Username and Password</strong>. Please note that when you type your password, you can&#8217;t see anything in Putty&#8217;s commandline.<br />
Just type your password and press <strong>Enter</strong>.</p>
<p>Then Create a repository.. <img src="file:///C:/Users/keith/AppData/Local/Temp/moz-screenshot.png" alt="" /><code><br />
</code></p>
<pre><code>svnadmin create myrepo</code></pre>
<p>step3:</p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/07/3.jpg"><img class="alignnone size-full wp-image-339" title="3" src="http://keithics.com/blog/wp-content/uploads/2010/07/3.jpg" alt="" width="540" height="225" /></a></p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/07/4.jpg"><img class="alignnone size-full wp-image-340" title="4" src="http://keithics.com/blog/wp-content/uploads/2010/07/4.jpg" alt="" width="705" height="460" /></a></p>
<p>Install TortoiseSVN and <strong>Click Settings</strong>. In the Network Tab, browser for the <strong>Putty.exe path</strong>.</p>
<p>Step4:</p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/07/5.jpg"><img class="alignnone size-full wp-image-341" title="5" src="http://keithics.com/blog/wp-content/uploads/2010/07/5.jpg" alt="" width="539" height="421" /></a></p>
<p>Create a repository by right clicking an empty folder then choose <strong>TortoiseSVN-&gt;Create Repository Here</strong>.<br />
Add a text file to that folder then right click the folder then choose <strong>SVN Checkout</strong>.<br />
IN the URL of the repository type:<br />
svn+ssh://<strong>keithics</strong>@<strong>keithics</strong>/home/<strong>keithics</strong>/myrepo/<br />
Replace the bold text with your own.<br />
svn+ssh://<strong>&lt;HOSTGATOR NAME&gt;</strong>@<strong>&lt;PUTTY SESSION NAME&gt;</strong>/home/<strong>&lt;HOSTGATORNAME&gt;</strong>/<strong>&lt;REPO FOLDER&gt;</strong>/</p>
<p>Good Luck and if you have any problems, just put it on the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/personal-thoughts/svn-in-shared-hosting-with-hostgator/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache/PHP HTTP Authentication</title>
		<link>http://keithics.com/blog/php-programming/apachephp-http-authentication</link>
		<comments>http://keithics.com/blog/php-programming/apachephp-http-authentication#comments</comments>
		<pubDate>Tue, 18 May 2010 10:41:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=328</guid>
		<description><![CDATA[Aside from having a complex login page where you can prevent access to users without privileges ,  PHP offers a simple way to do it.
But you must have an Apache Server (most of the servers are Apache).
Here is the code:



if &#40;$_SERVER&#91;&#8216;PHP_AUTH_USER&#8217;&#93; != &#8216;admin&#8217; and $_SERVER&#91;&#8216;PHP_AUTH_PW&#8217;&#93; != &#8216;admin&#8217;&#41; &#123;


&#160;header&#40;&#8216;WWW-Authenticate: Basic realm=&#34;TCG Admin Panel&#34;&#8217;&#41;;


&#160;header&#40;&#8216;HTTP/1.0 401 Unauthorized&#8217;&#41;;


&#160;echo &#8216;You [...]]]></description>
			<content:encoded><![CDATA[<p>Aside from having a complex login page where you can prevent access to users without privileges ,  PHP offers a simple way to do it.</p>
<p>But you must have an Apache Server (most of the servers are Apache).</p>
<p>Here is the code:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$_SERVER</span><span class="br0">&#91;</span><span class="st0">&#8216;PHP_AUTH_USER&#8217;</span><span class="br0">&#93;</span> != <span class="st0">&#8216;admin&#8217;</span> and <span class="re0">$_SERVER</span><span class="br0">&#91;</span><span class="st0">&#8216;PHP_AUTH_PW&#8217;</span><span class="br0">&#93;</span> != <span class="st0">&#8216;admin&#8217;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span><span class="st0">&#8216;WWW-Authenticate: Basic realm=&quot;TCG Admin Panel&quot;&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;<a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span><span class="st0">&#8216;HTTP/1.0 401 Unauthorized&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;<a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8216;You need to login&#8217;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp;<a href="http://www.php.net/exit"><span class="kw3">exit</span></a>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&quot;OK!&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>Learn more about it <a href="http://php.net/manual/en/features.http-auth.php" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/php-programming/apachephp-http-authentication/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Fireworks CS5 first look</title>
		<link>http://keithics.com/blog/adobe-fireworks/adobe-fireworks-cs5-first-look</link>
		<comments>http://keithics.com/blog/adobe-fireworks/adobe-fireworks-cs5-first-look#comments</comments>
		<pubDate>Fri, 07 May 2010 18:55:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Fireworks]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=300</guid>
		<description><![CDATA[Just downloaded the trial for Adobe Fireworks CS5. One noticeable change is the splash image.

You may need to login to use other Adobe Services.

And Oh, they have templates for Web, Mobile , Wireframes etc.. cool!

As for the Text .. sorry guys.. still no System Anti Alias. Don&#8217;t wait for Adobe to bring it back. Just [...]]]></description>
			<content:encoded><![CDATA[<p>Just downloaded the trial for Adobe Fireworks CS5. One noticeable change is the splash image.</p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-11.jpg"><img class="alignnone size-full wp-image-317" title="fireworkscs5-1" src="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-11.jpg" alt="" width="698" height="406" /></a></p>
<p>You may need to login to use other Adobe Services.</p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-1.jpg"></a><a href="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-2.jpg"><img class="alignnone size-full wp-image-302" title="fireworkscs5-2" src="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-2.jpg" alt="" width="698" height="406" /></a></p>
<p>And Oh, they have templates for Web, Mobile , Wireframes etc.. cool!</p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-templates.jpg"><img class="alignnone size-full wp-image-314" title="fireworkscs5-templates" src="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-templates.jpg" alt="" width="698" height="406" /></a></p>
<p>As for the Text .. sorry guys.. still no System Anti Alias. Don&#8217;t wait for Adobe to bring it back. Just won&#8217;t happened.</p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-text-anti-alias.jpg"><img class="alignnone size-full wp-image-316" title="fireworkscs5-text-anti-alias" src="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-text-anti-alias.jpg" alt="" width="289" height="129" /></a></p>
<p>Better border, finally!</p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-better-border.jpg"><img class="alignnone size-full wp-image-312" title="fireworkscs5-better-border" src="http://keithics.com/blog/wp-content/uploads/2010/05/fireworkscs5-better-border.jpg" alt="" width="698" height="406" /></a></p>
<p>As for performance , faster but not fast enough compared to CS3.</p>
<p>&#8211; there&#8217;s not much improvement of Fireworks since Adobe took over. They put up a lot of useless stuff like Flex Skinning , Adobe Air mouse events.. Just how many people uses those features?They are obviously trying to sell other products rather than listening to their customers.</p>
<p>I will be getting emails from Adobe (again) for this one. How about you guys what do you think?</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"><img src="file:///C:/Users/keithics/AppData/Local/Temp/moz-screenshot.png" alt="" /></div>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/adobe-fireworks/adobe-fireworks-cs5-first-look/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Error: 1093 mysql you can&#8217;t specify target table</title>
		<link>http://keithics.com/blog/personal-thoughts/fixing-error-1093-mysql-you-cant-specify-target-table</link>
		<comments>http://keithics.com/blog/personal-thoughts/fixing-error-1093-mysql-you-cant-specify-target-table#comments</comments>
		<pubDate>Fri, 07 May 2010 17:50:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal Thoughts]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=297</guid>
		<description><![CDATA[I ran into this problem lately and I hope this can help you out..
Problem
INSERT INTO tbl_lang (enname,code,charset,inorder) VALUES  (&#8216;asd&#8217;,'asd&#8217;,'asd&#8217;,(SELECT MAX(inorder)+1 from tbl_lang))
Fix:
INSERT  INTO tbl_lang (enname,code,charset,inorder) VALUES  (&#8216;asd&#8217;,'asd&#8217;,'asd&#8217;,(SELECT MAX(inorder)+1 from tbl_lang as l))
]]></description>
			<content:encoded><![CDATA[<p>I ran into this problem lately and I hope this can help you out..</p>
<p>Problem<br />
INSERT INTO tbl_lang (enname,code,charset,inorder) VALUES  (&#8216;asd&#8217;,'asd&#8217;,'asd&#8217;,(SELECT MAX(inorder)+1 from tbl_lang))</p>
<p>Fix:<br />
INSERT  INTO tbl_lang (enname,code,charset,inorder) VALUES  (&#8216;asd&#8217;,'asd&#8217;,'asd&#8217;,(SELECT MAX(inorder)+1 from tbl_lang <span style="color: #ff0000;"><strong>as l</strong></span>))</p>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/personal-thoughts/fixing-error-1093-mysql-you-cant-specify-target-table/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DOMPDF Tips &#8211; HTML to PDF using PHP5</title>
		<link>http://keithics.com/blog/personal-thoughts/freelance/dompdf-html-to-pdf-using-php5</link>
		<comments>http://keithics.com/blog/personal-thoughts/freelance/dompdf-html-to-pdf-using-php5#comments</comments>
		<pubDate>Sun, 25 Apr 2010 15:54:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freelancing]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=282</guid>
		<description><![CDATA[ 1. Always ask to save the file , don&#8217;t load  the PDF directly. I have printing problems when printing it directly without saving.
2. Add memory limit to php.ini
ini_set("memory_limit","128M");
3. Debug the output html first before converting to pdf.
4. Load  images on the same server and with relative paths. You can&#8217;t load images using [...]]]></description>
			<content:encoded><![CDATA[<p><strong> </strong>1. Always ask to save the file , don&#8217;t load  the PDF directly. I have printing problems when printing it directly without saving.</p>
<p>2. Add memory limit to php.ini</p>
<pre>ini_set("memory_limit","128M");</pre>
<p>3. Debug the output html first before converting to pdf.</p>
<p>4. Load  images on the same server and with relative paths. You can&#8217;t load images using &#8220;http://domain.com&#8221;.</p>
<p>5. Use wordwrap with caution.</p>
<p>6. Always add width to your table and  first row cells</p>
<p>7. Make sure images are in correct format with correct extension. A BMP file with .jpg extension will trigger an error.</p>
<p>8. Avoid special characters if possible.</p>
<p>If you some trouble with DOMPDF, just comment and  maybe I can help you out.</p>
<p><strong> </strong></p>
<p><strong>All are based on experience!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/personal-thoughts/freelance/dompdf-html-to-pdf-using-php5/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dreamweaver Tips &#8211; Document Defaults</title>
		<link>http://keithics.com/blog/personal-thoughts/dreamweaver-tips-document-defaults</link>
		<comments>http://keithics.com/blog/personal-thoughts/dreamweaver-tips-document-defaults#comments</comments>
		<pubDate>Mon, 28 Dec 2009 13:06:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal Thoughts]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=264</guid>
		<description><![CDATA[Have been writing HTML and want to add a link to your CSS automatically?
For XP , just edit:
C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\DocumentTypes\NewDocuments\Default.html
for my case I have this default below, this applies to all other documents like CSS, PHP, JS etc..



&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62;



&#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62;



&#60;head&#62;



&#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62;



&#60;title&#62;Untitled Document&#60;/title&#62;



&#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;css/defaults.css&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Have been writing HTML and want to add a link to your CSS automatically?</p>
<p>For XP , just edit:<br />
C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\DocumentTypes\NewDocuments\Default.html</p>
<p>for my case I have this default below, this applies to all other documents like CSS, PHP, JS etc..</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
</div>
</li>
<li class="li1">
<div class="de1">&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
</div>
</li>
<li class="li1">
<div class="de1">&lt;head&gt;
</div>
</li>
<li class="li1">
<div class="de1">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
</div>
</li>
<li class="li2">
<div class="de2">&lt;title&gt;Untitled Document&lt;/title&gt;
</div>
</li>
<li class="li1">
<div class="de1">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/defaults.css&quot; /&gt;
</div>
</li>
<li class="li1">
<div class="de1">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/styles.css&quot; /&gt;
</div>
</li>
<li class="li1">
<div class="de1">&lt;!&#8211;[if IE 6]&gt;
</div>
</li>
<li class="li1">
<div class="de1">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/ie.css&quot; /&gt;
</div>
</li>
<li class="li2">
<div class="de2">&lt;![endif]&#8211;&gt;
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&lt;/head&gt;
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&lt;body&gt;
</div>
</li>
<li class="li2">
<div class="de2">&lt;/body&gt;
</div>
</li>
<li class="li1">
<div class="de1">&lt;/html&gt;</div>
</li>
</ol>
</div>
<p><span id="more-264"></span><!--more--></p>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/personal-thoughts/dreamweaver-tips-document-defaults/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AjaxCrop &#8211; Jquery and PHP Crop tool</title>
		<link>http://keithics.com/blog/jquery/ajaxcrop-jquery-and-php-crop-tool</link>
		<comments>http://keithics.com/blog/jquery/ajaxcrop-jquery-and-php-crop-tool#comments</comments>
		<pubDate>Sat, 26 Dec 2009 09:46:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=242</guid>
		<description><![CDATA[AjaxCrop - inspired by PHP &#038; JQueryPhoto Upload and Crop .I decided to make my own version and based on imgAreaSelect ,Jquery and Asido.
I hope you like it and please feel free to add a comment.]]></description>
			<content:encoded><![CDATA[<div id="about">
<p>AjaxCrop &#8211; inspired by <a href="http://www.webmotionuk.co.uk/jquery/image_upload_crop.php">PHP &amp;  JQueryPhoto Upload and Crop</a> .I decided to make my own version and based on <a href="http://odyniec.net/projects/imgareaselect/">imgAreaSelect</a> ,<a href="http://jquery.com/">Jquery</a> and <a href="http://sourceforge.net/projects/asido/files/">Asido</a>.<br />
I hope you like it and please feel free to add a comment.</p>
<p><a href="http://projects.keithics.com/ajaxcrop/demo.php">view demo</a> | <a href="https://sourceforge.net/projects/ajaxcrop/files/">download files</a></p>
<div id="about_details">
<p><b>EDIT: I have updated the link of asido to http://sourceforge.net/projects/asido/files/ &#8211; thanks to Johan.</b></p>
<h3>What you Need:</h3>
<ol>
<li><a href="http://php.net/">PHP 5</a></li>
<li><a href="http://php.net/">GD Library</a></li>
<li><a href="http://jquery.com/">Jquery</a></li>
<li><a href="http://odyniec.net/projects/imgareaselect/">ImgAreaSelect</a></li>
<li><a href="http://sourceforge.net/projects/asido/files/">Asido</a></li>
</ol>
<h3>How it works:</h3>
<ol>
<li>After uploading the local image, it will be processed and converted to jpg regardless of image type.</li>
<li> It accepts Jpg,Gif and Png and then add a white background if the image will not fit on the exact dimension.  You can change the background color by editing the php file. Please visit Asido for more details:  <a href="http://sourceforge.net/projects/asido/files/">http://sourceforge.net/projects/asido/files/</a></li>
<li>The file upload is done via iframe to prevent page refresh thus mimicking Ajax (there is no way to do Ajax on file inputs) .</li>
<li>Jquery will get the file content of the iframe and then load it to the main page. You will see the big image , cropped and converted to jpg or an error if the file upload is unsuccessful.</li>
<li>Click create thumbnail to create a thumbnail, in the demo you can see the image source of the thumbnail so that you can use it in your application.</li>
<li>Have FUn!</li>
</ol>
</div>
<h3>Screenshot</h3>
<p><img src="http://projects.keithics.com/ajaxcrop/images/ss.jpg" alt="Screenshot" /></p>
</div>
<p><!-- about --></p>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/jquery/ajaxcrop-jquery-and-php-crop-tool/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Wordpress Tidbits : Getting the Authors</title>
		<link>http://keithics.com/blog/wordpress/wordpress-tidbits-getting-the-authors</link>
		<comments>http://keithics.com/blog/wordpress/wordpress-tidbits-getting-the-authors#comments</comments>
		<pubDate>Tue, 22 Dec 2009 01:07:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=178</guid>
		<description><![CDATA[As we all know that there is no such function like get_authors() , unlike categories there is get_categories , links have get_bookmarks().]]></description>
			<content:encoded><![CDATA[<p>As we all know that there is no such function like get_authors() , unlike categories there is get_categories , links have get_bookmarks().</p>
<p>Below is a custom function I made, I just modified <a href="http://www.mattvarone.com/wordpress/list-users/" target="_blank">Matt&#8217;s Function</a>.</p>
<p>Anyway, here it is..</p>
<p>&lt;ul&gt;<br />
&lt;?php<br />
$szSort = &#8220;user_id&#8221;;<br />
$aUsersID = $wpdb-&gt;get_col( $wpdb-&gt;prepare(&#8220;SELECT $wpdb-&gt;usermeta.user_id  FROM $wpdb-&gt;usermeta where meta_key=&#8217;wp_user_level&#8217; and  metavalue=&#8217;2&#8242; ORDER BY %s ASC&#8221; , $szSort ));<br />
foreach ( $aUsersID as $iUserID ) :<br />
$user = get_userdata( $iUserID );<br />
echo &#8216;&lt;li&gt;&#8217;;<br />
echo &#8216;&lt;a href=&#8221;index.php?author=&#8217; .$user-&gt;ID.&#8217;&#8221;&gt;&#8217;;<br />
echo ucwords( strtolower( $user-&gt;first_name . &#8216; &#8216; . $user-&gt;last_name ) );<br />
echo &#8216;&lt;/a&gt;&#8217;;<br />
echo &#8216;&lt;/li&gt;&#8217;;<br />
endforeach;<br />
?&gt;<br />
&lt;/ul&gt;</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">As we all know that there is no such function like get_authors() , unlike categories there is get_categories , links have get_bookmarks().</div>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/wordpress/wordpress-tidbits-getting-the-authors/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox using Fireworks &#8211; free PNG file</title>
		<link>http://keithics.com/blog/adobe-fireworks/firefox-using-fireworks-free-png-file</link>
		<comments>http://keithics.com/blog/adobe-fireworks/firefox-using-fireworks-free-png-file#comments</comments>
		<pubDate>Thu, 02 Apr 2009 17:24:52 +0000</pubDate>
		<dc:creator>keithics</dc:creator>
				<category><![CDATA[Adobe Fireworks]]></category>
		<category><![CDATA[Adobe Fireworks PNG file]]></category>
		<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[free png]]></category>

		<guid isPermaLink="false">http://keithics.com/blog/?p=232</guid>
		<description><![CDATA[here it is.. a quick drawing using Fireworks. Took me a couple of hours.. the curves are killing me!]]></description>
			<content:encoded><![CDATA[<p>here it is.. a quick drawing using Fireworks. Took me a couple of hours.. the curves are killing me!</p>
<p>Download the <a href="http://keithics.com/blog/wp-content/uploads/2009/04/firefox.png">PNG file Here</a></p>
<p><a href="http://keithics.com/blog/wp-content/uploads/2009/04/firefox.png"><img class="alignnone size-medium wp-image-233" title="firefox" src="http://keithics.com/blog/wp-content/uploads/2009/04/firefox-450x450.jpg" alt="firefox" width="450" height="450" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://keithics.com/blog/adobe-fireworks/firefox-using-fireworks-free-png-file/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
