<?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>indexu.com &#187; Troubleshooting</title>
	<atom:link href="http://www.indexu.com/category/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.indexu.com</link>
	<description>developer blog</description>
	<lastBuildDate>Wed, 30 Jun 2010 05:06:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SMTP mail doesn&#8217;t work</title>
		<link>http://www.indexu.com/smtp-mail-doesnt-work/</link>
		<comments>http://www.indexu.com/smtp-mail-doesnt-work/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 05:06:39 +0000</pubDate>
		<dc:creator>dody</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[fsockopen]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[phpmailer]]></category>

		<guid isPermaLink="false">http://www.indexu.com/?p=55</guid>
		<description><![CDATA[Indexu use phpmailer class to send email. By default it use mail() function. Inside admin panel, there is an option to switch to use SMTP instead if mail(). Phpmailer use socket connection to connect to SMTP mail server. So before you use it, make sure your webhost allow fsockopen() function. It this function is disabled, [...]]]></description>
			<content:encoded><![CDATA[<p>Indexu use phpmailer class to send email. By default it use mail() function. Inside admin panel, there is an option to switch to use SMTP instead if mail().</p>
<p>Phpmailer use socket connection to connect to SMTP mail server. So before you use it, make sure your webhost allow <code>fsockopen()</code> function. It this function is disabled, then email won&#8217;t be sent.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.indexu.com/smtp-mail-doesnt-work/&amp;n=SMTP+mail+doesn%27t+work&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.indexu.com/smtp-mail-doesnt-work/&amp;title=SMTP+mail+doesn%27t+work" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.indexu.com/smtp-mail-doesnt-work/&amp;t=SMTP+mail+doesn%27t+work" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.indexu.com/smtp-mail-doesnt-work/&amp;title=SMTP+mail+doesn%27t+work" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-squidoo">
			<a href="http://www.squidoo.com/lensmaster/bookmark?http://www.indexu.com/smtp-mail-doesnt-work/" rel="nofollow" class="external" title="Add to a lense on Squidoo">Add to a lense on Squidoo</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=SMTP+mail+doesn%27t+work+-+http://b2l.me/7p6wf&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.indexu.com/smtp-mail-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Language code, add .utf8 if it doesn&#8217;t work</title>
		<link>http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/</link>
		<comments>http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 09:26:04 +0000</pubDate>
		<dc:creator>dody</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[gettext]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[mo]]></category>
		<category><![CDATA[po]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://www.indexu.com/?p=49</guid>
		<description><![CDATA[Usually language code is constructed like es_ES or fr_FR. However in some servers, usually on linux box, the server locale code need explicitly add .utf8. So if you have problem with strange characters where utf8 doesn&#8217;t work. Do the following steps: 1) rename the language folder, add .utf8. /lang/es_ES.utf8 /lang/fr_FR.utf8 2) language switching also need [...]]]></description>
			<content:encoded><![CDATA[<p>Usually language code is constructed like <code>es_ES</code> <code>or fr_FR</code>. However in some servers, usually on linux box, the server <code>locale</code> code need explicitly add <code>.utf8</code>. So if you have problem with strange characters where utf8 doesn&#8217;t work. Do the following steps:</p>
<p>1) rename the language folder, add <code>.utf8</code>.</p>
<pre>
/lang/es_ES.utf8
/lang/fr_FR.utf8
</pre>
<p>2) language switching also need to be modified to:</p>
<pre>

http://www.nicecoder.com/testrial/upload/set_language.php?lang_id=es_ES.utf8&#038;back=/testrial/upload/
</pre>
<p>Notice that it is now become <code>lang_id=es_ES.utf8</code>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/&amp;n=Language+code%2C+add+.utf8+if+it+doesn%27t+work&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/&amp;title=Language+code%2C+add+.utf8+if+it+doesn%27t+work" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/&amp;t=Language+code%2C+add+.utf8+if+it+doesn%27t+work" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/&amp;title=Language+code%2C+add+.utf8+if+it+doesn%27t+work" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-squidoo">
			<a href="http://www.squidoo.com/lensmaster/bookmark?http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/" rel="nofollow" class="external" title="Add to a lense on Squidoo">Add to a lense on Squidoo</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Language+code%2C+add+.utf8+if+it+doesn%27t+work+-+http://b2l.me/4mmG7&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.indexu.com/language-code-add-utf8-if-it-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert md5 password</title>
		<link>http://www.indexu.com/convert-md5-password/</link>
		<comments>http://www.indexu.com/convert-md5-password/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 23:33:35 +0000</pubDate>
		<dc:creator>dody</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[md5 password]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.indexu.com/?p=22</guid>
		<description><![CDATA[In indexu 5.x the password is stored in plain text. If you upgrade from indexu 5.x to indexu deluxe, the installer will convert it automatically to md5. If you experience user can not login after upgrade, then it could be that the conversion process fail. If you have this problem, here is a solution. Create [...]]]></description>
			<content:encoded><![CDATA[<p>In indexu 5.x the password is stored in plain text.<br />
If you upgrade from indexu 5.x to indexu deluxe, the installer will convert it automatically to md5.</p>
<p>If you experience user can not login after upgrade, then it could be that the conversion process fail.<br />
If you have this problem, here is a solution.</p>
<p>Create a file called <code>convertmd5.php</code></p>

<div class="wp_codebox"><table><tr id="p222"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code" id="p22code2"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">include</span> <span style="color: #0000ff;">&quot;application.php&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$_REQUEST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'c'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  ConvertMD5password<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;&lt;p&gt;Do you want to convert user password to MD5? &lt;br&gt;
         Make sure that the password is not in MD5&lt;/p&gt;
         &lt;p&gt;&lt;a href='convertmd5.php?c=yes'&gt;Convert now&lt;/a&gt;&lt;/p&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> ConvertMD5password<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$dbConn</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$dbConn</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Execute</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;select * from `idx_users` where length(password) &lt;30&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">EOF</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$dbConn</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Execute</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;UPDATE `idx_users` SET `password` = '&quot;</span><span style="color: #339933;">.</span><a href="http://www.php.net/md5"><span style="color: #990000;">md5</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Fields</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;password&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' WHERE `username` = '&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Fields</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;username&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">MoveNext</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Upload this file to indexu root folder, then run with browser.<br />
After it is done, you need to delete this file for security.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.indexu.com/convert-md5-password/&amp;n=Convert+md5+password&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.indexu.com/convert-md5-password/&amp;title=Convert+md5+password" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.indexu.com/convert-md5-password/&amp;t=Convert+md5+password" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.indexu.com/convert-md5-password/&amp;title=Convert+md5+password" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-squidoo">
			<a href="http://www.squidoo.com/lensmaster/bookmark?http://www.indexu.com/convert-md5-password/" rel="nofollow" class="external" title="Add to a lense on Squidoo">Add to a lense on Squidoo</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Convert+md5+password+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.indexu.com/convert-md5-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failed to load trackclick.js.php</title>
		<link>http://www.indexu.com/failed-to-load-trackclick-js-php/</link>
		<comments>http://www.indexu.com/failed-to-load-trackclick-js-php/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 17:56:31 +0000</pubDate>
		<dc:creator>dody</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.indexu.com/?p=3</guid>
		<description><![CDATA[Today a user report that the outgoing hits doesn&#8217;t work on portal_dir template. A quick check: 1) footer.html 11 &#60;script language=&#34;javascript&#34; type=&#34;text/javascript&#34; src=&#34;&#60;%$tpl_base%&#62;/trackclick.js.php&#34;&#62;&#60;/script&#62; 2) check whenever trackclick.js.php file exist in template folder. 3) check the link that count has proper &#8220;name&#8221; attribute If everything look good, then it should work well. However in this user [...]]]></description>
			<content:encoded><![CDATA[<p>Today a user report that the outgoing hits doesn&#8217;t work on <code>portal_dir</code> template.</p>
<p>A quick check:<br />
1) <code>footer.html</code></p>

<div class="wp_codebox"><table><tr id="p36"><td class="line_numbers"><pre>11
</pre></td><td class="code" id="p3code6"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;%$tpl_base%&gt;</span></span>/trackclick.js.php&quot;&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></pre></td></tr></table></div>

<p>2) check whenever <code>trackclick.js.php</code> file exist in template folder.<br />
3) check the link that count has proper &#8220;<code>name</code>&#8221; attribute</p>
<p>If everything look good, then it should work well.</p>
<p>However in this user case it doesn&#8217;t work well. Somehow trackclick.js.php never been loaded. When I rename to .js file, it work well. When I try to load from other template folder (komet or kosmos), then it work well. So it should be the file access permission, the <code>.htaccess</code> file. For me, <code>.htaccess</code> file seems good too. So I decide to do a quick fix for this installation.</p>
<p>1) edit <code>footer.html</code> to load <code>trackclick.js</code> (instead of .php file)</p>

<div class="wp_codebox"><table><tr id="p37"><td class="line_numbers"><pre>11
</pre></td><td class="code" id="p3code7"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;%$tpl_base%&gt;</span></span>/trackclick.js.php&quot;&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></pre></td></tr></table></div>

<p>2) rename <code>trackclick.js.php</code> to <code>trackclick.js</code><br />
3) edit <code>trackclick.js</code></p>

<div class="wp_codebox"><table><tr id="p38"><td class="line_numbers"><pre>11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
</pre></td><td class="code" id="p3code8"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> base <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;http://www.domainname.com&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> indexulinks <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;a&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span>i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> indexulinks.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>indexulinks<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">!=</span> <span style="color: #3366CC;">''</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span>indexulinks<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;link&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span> <span style="color: #339933;">||</span> indexulinks<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;cat&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		indexulinks<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">onclick</span> <span style="color: #339933;">=</span> indexu_click<span style="color: #339933;">;</span>
    indexulinks<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">oncontextmenu</span> <span style="color: #339933;">=</span> indexu_click<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> indexu_click<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">images</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    img <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    img.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> base<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;/trackclick.php?id=&quot;</span> <span style="color: #339933;">+</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #000066;">name</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #003366; font-weight: bold;">var</span> date <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">do</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #003366; font-weight: bold;">var</span> curDate <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
      curDate <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000066; font-weight: bold;">while</span><span style="color: #009900;">&#40;</span>curDate<span style="color: #339933;">-</span>date <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">300</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    date <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
    curDate <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>



<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.indexu.com/failed-to-load-trackclick-js-php/&amp;n=Failed+to+load+trackclick.js.php&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.indexu.com/failed-to-load-trackclick-js-php/&amp;title=Failed+to+load+trackclick.js.php" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.indexu.com/failed-to-load-trackclick-js-php/&amp;t=Failed+to+load+trackclick.js.php" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.indexu.com/failed-to-load-trackclick-js-php/&amp;title=Failed+to+load+trackclick.js.php" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-squidoo">
			<a href="http://www.squidoo.com/lensmaster/bookmark?http://www.indexu.com/failed-to-load-trackclick-js-php/" rel="nofollow" class="external" title="Add to a lense on Squidoo">Add to a lense on Squidoo</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Failed+to+load+trackclick.js.php+-+http://b2l.me/ynwpk&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.indexu.com/failed-to-load-trackclick-js-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

