<?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>Raymond Angana&#039;s portfolio and blog</title>
	<atom:link href="http://www.raymondangana.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raymondangana.com</link>
	<description>Freelance Filipino Web Developer, Software Engineer, IT Consultant, Tech-Support staff of Webscribble Solutions Inc, an Article-writer from Philippines. Portfolio site and an archives of useful and not so useful stuffs</description>
	<lastBuildDate>Fri, 05 Mar 2010 22:53:49 +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>Webnetwork: Profile complete setting bug fix</title>
		<link>http://www.raymondangana.com/webnetwork/webnetwork-profile-complete-setting-bug-fix-03-05-2010/</link>
		<comments>http://www.raymondangana.com/webnetwork/webnetwork-profile-complete-setting-bug-fix-03-05-2010/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 22:53:49 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[webnetwork]]></category>
		<category><![CDATA[profile]]></category>
		<category><![CDATA[profile complete]]></category>
		<category><![CDATA[register]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=560</guid>
		<description><![CDATA[Webnetwork used to have a bug on it&#8217;s profile-completion feature.
Bug: Even if you set that profile must be completed after registration on admin, user can still navigate to Webnetwork&#8217;s inner pages even if profile is incomplete.
Solution: This error should be resolved in the next version of Webnetwork, however, if you want to get ahead and [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.raymondangana.com/wp-content/uploads/2010/03/logo.gif" rel="lightbox[560]"><img class="alignleft size-full wp-image-550" title="logo" src="http://www.raymondangana.com/wp-content/uploads/2010/03/logo.gif" alt="" width="139" height="24" /></a>Webnetwork</strong> used to have a bug on it&#8217;s <strong><em>profile-completion</em><span style="font-weight: normal;"> feature.</span></strong></p>
<p><strong>Bug</strong>: Even if you set that profile must be completed after registration on admin, user can still navigate to Webnetwork&#8217;s inner pages even if profile is incomplete.</p>
<p><strong>Solution: </strong>This error should be resolved in the next version of Webnetwork, however, if you want to get ahead and grab a fix of this issue, please follow the steps below:</p>
<ol>
<li>Connect to your server-files via FTP.</li>
<li>Modify <strong>/engine/pages/registration_complete.php</strong> file and find this line:

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$force_profile</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;on&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_page_name <span style="color: #339933;">=</span> <span style="color: #0000ff;">'create_profile'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">load_page</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'create_profile'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>&#8230;replace it with:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$force_profile</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;on&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;location:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$application</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">config</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'root_host'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;index.php?page=create_profile&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">die</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

</li>
</ol>
<p>Hope that helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/webnetwork/webnetwork-profile-complete-setting-bug-fix-03-05-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Showing search-forms on resume_search and advance_resume_search result page</title>
		<link>http://www.raymondangana.com/webjobs/showing-search-forms-on-resume_search-and-advance_resume_search-result-page-03-05-2010/</link>
		<comments>http://www.raymondangana.com/webjobs/showing-search-forms-on-resume_search-and-advance_resume_search-result-page-03-05-2010/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 22:31:03 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[webjobs]]></category>
		<category><![CDATA[advance resume]]></category>
		<category><![CDATA[results]]></category>
		<category><![CDATA[resume]]></category>
		<category><![CDATA[search forms]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=553</guid>
		<description><![CDATA[ By default, resume_search and advance_resume_search pages search-results on Webjobs doesn&#8217;t show the search-forms.
If you wanted to alter this behavior, and show the search forms form both resume_search and advance_resume_search respectively, please follow the steps below:

Connect to your server-files via FTP.
For resume_search page results, open /engine/pages/resume_search.php and navigate to action_resume_search() function. At the bottom of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.raymondangana.com/wp-content/uploads/2010/02/logo.png" rel="lightbox[553]"><img class="alignleft size-full wp-image-393" title="logo" src="http://www.raymondangana.com/wp-content/uploads/2010/02/logo.png" alt="" width="143" height="38" /></a> By default, <strong>resume_search</strong> and <strong>advance_resume_search</strong> pages search-results on Webjobs doesn&#8217;t show the search-forms.</p>
<p>If you wanted to alter this behavior, and show the search forms form both <strong>resume_search</strong> and <strong>advance_resume_search</strong> respectively, please follow the steps below:</p>
<ol>
<li>Connect to your server-files via FTP.</li>
<li>For <strong>resume_search</strong> page results, open <strong>/engine/pages/resume_search.php</strong> and navigate to <strong>action_resume_search()</strong> function. At the bottom of this function, you&#8217;ll find this code: 

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">_page<span style="color: #339933;">::</span><span style="color: #004000;">default_action</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>&#8230;you&#8217;ll have to change it to:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">_form_page<span style="color: #339933;">::</span><span style="color: #004000;">default_action</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
<li>For <strong>advance_resume_search</strong> page results, open <strong>/engine/pages/advance_resume_search.php</strong> and navigate to <strong>action_advance_resume_search()</strong> function. At the bottom of this function, you&#8217;ll find this code: 

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">_page<span style="color: #339933;">::</span><span style="color: #004000;">default_action</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>&#8230;you&#8217;ll have to change it to:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">_form_page<span style="color: #339933;">::</span><span style="color: #004000;">default_action</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
</ol>
<p>Hope that helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/webjobs/showing-search-forms-on-resume_search-and-advance_resume_search-result-page-03-05-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webnetwork: Clean-blue theme multi-language translation fix on profile-home and view_profle page</title>
		<link>http://www.raymondangana.com/webnetwork/webnetwork-clean-blue-theme-multi-language-translation-fix-on-profile-home-and-view_profle-page-03-04-2010/</link>
		<comments>http://www.raymondangana.com/webnetwork/webnetwork-clean-blue-theme-multi-language-translation-fix-on-profile-home-and-view_profle-page-03-04-2010/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 00:03:11 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[webnetwork]]></category>
		<category><![CDATA[activity]]></category>
		<category><![CDATA[invite]]></category>
		<category><![CDATA[multilanguage]]></category>
		<category><![CDATA[profile home]]></category>
		<category><![CDATA[translation]]></category>
		<category><![CDATA[view profile]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=549</guid>
		<description><![CDATA[Currently, clean_blue theme of Webnetwork-multilanguage file has a flaw on &#8220;profile home&#8221; page and &#8220;view profile&#8221; page.
On profile home, &#8220;invite&#8221; isn&#8217;t translated, and on &#8220;view profile&#8221; &#8211; &#8220;activity&#8221; heading isn&#8217;t translated.
Please follow the steps below for a fix:

Download template file fixes here.
Upload the files and overwrite existing files from your server. If you&#8217;ve done customization, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.raymondangana.com/wp-content/uploads/2010/03/logo.gif" rel="lightbox[549]"><img class="alignleft size-full wp-image-550" title="logo" src="http://www.raymondangana.com/wp-content/uploads/2010/03/logo.gif" alt="" width="139" height="24" /></a>Currently, <strong>clean_blue</strong> theme of Webnetwork-multilanguage file has a flaw on &#8220;profile home&#8221; page and &#8220;view profile&#8221; page.</p>
<p>On profile home, &#8220;invite&#8221; isn&#8217;t translated, and on &#8220;view profile&#8221; &#8211; &#8220;activity&#8221; heading isn&#8217;t translated.</p>
<p>Please follow the steps below for a fix:</p>
<ol>
<li>Download <a href="/wp-content/uploads/wn-multilang-clean_blue/WN-multilang-clean_blue.zip">template file fixes here</a>.</li>
<li>Upload the files and overwrite existing files from your server. If you&#8217;ve done customization, better backup <strong>/themes/clean_blue/home.html</strong> and <strong>/themes/clean_blue/view_profile.html</strong> and reapply your customizations.</li>
<li>Run <strong>sn_translations.sql</strong> from the downloaded file</li>
<li>Have some beer!</li>
</ol>
<p>Hope that helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/webnetwork/webnetwork-clean-blue-theme-multi-language-translation-fix-on-profile-home-and-view_profle-page-03-04-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webjobs: How to show a single gateway on billing page</title>
		<link>http://www.raymondangana.com/webjobs/webjobs-how-to-show-a-single-gateway-on-billing-page-03-04-2010/</link>
		<comments>http://www.raymondangana.com/webjobs/webjobs-how-to-show-a-single-gateway-on-billing-page-03-04-2010/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 17:37:05 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[webjobs]]></category>
		<category><![CDATA[billing]]></category>
		<category><![CDATA[payment gateway]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=547</guid>
		<description><![CDATA[You might have desired on showing only &#8220;paypal&#8221; as payment gateway, or showing only &#8220;credit card&#8221;, and is confused how to achieve this.
Please check the steps below, should guide you with your desire:

Please navigate to /lib/payment/ directory.
Inside this directories are the payment gateways that the billing page is fetching. For the payment gateways that you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.raymondangana.com/wp-content/uploads/2010/02/logo.png" rel="lightbox[547]"><img class="alignleft size-full wp-image-393" title="logo" src="http://www.raymondangana.com/wp-content/uploads/2010/02/logo.png" alt="" width="143" height="38" /></a>You might have desired on showing only &#8220;paypal&#8221; as payment gateway, or showing only &#8220;credit card&#8221;, and is confused how to achieve this.</p>
<p>Please check the steps below, should guide you with your desire:</p>
<ol>
<li>Please navigate to <strong>/lib/payment/</strong> directory.</li>
<li>Inside this directories are the payment gateways that the billing page is fetching. For the payment gateways that you want to hide, you can simply rename it from this area.</li>
<li>If you wanted to hide the paypal payment gateway, simply append &#8220;.bak&#8221; on the filename:

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">paypal.lib</pre></div></div>

<p>That can be simply modified to:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">paypal.lib.bak</pre></div></div>

</li>
</ol>
<p>The same thing applies to <strong>check</strong> and <strong>authorze_net</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/webjobs/webjobs-how-to-show-a-single-gateway-on-billing-page-03-04-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating table rows with javascript</title>
		<link>http://www.raymondangana.com/javascript/creating-table-rows-with-javascript-03-01-2010/</link>
		<comments>http://www.raymondangana.com/javascript/creating-table-rows-with-javascript-03-01-2010/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 06:48:23 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[row]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=541</guid>
		<description><![CDATA[Creating new rows with Javascript is possible using DOM&#8217;s createElement() property.
Take this html as an example:

&#60;table id=&#34;mytable&#34;&#62;
&#60;tbody&#62;
&#60;tr&#62;
&#60;td&#62;&#60;input name=&#34;number1&#34; /&#62;&#60;/td&#62;
&#60;td&#62;&#60;input name=&#34;title1&#34; /&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;/tbody&#62;
&#60;/table&#62;
&#60;input onclick=&#34;addRow()&#34; type=&#34;button&#34; value=&#34;Add A Row&#34; /&#62;

Looking on the script, we are expecting addRow() function to do the process. The entire code looks like this:

function addRow&#40;&#41;&#123;
	var content1='&#60;input name=&#34;number'+counter+'&#34; type=&#34;text&#34; /&#62;'; // Content for our
&#160;
	var content2='&#60;input [...]]]></description>
			<content:encoded><![CDATA[<p>Creating new rows with Javascript is possible using <a href="http://www.w3schools.com/htmldom/default.asp" target="_blank">DOM</a>&#8217;s createElement() property.</p>
<p>Take this html as an example:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;table id=&quot;mytable&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;input name=&quot;number1&quot; /&gt;&lt;/td&gt;
&lt;td&gt;&lt;input name=&quot;title1&quot; /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input onclick=&quot;addRow()&quot; type=&quot;button&quot; value=&quot;Add A Row&quot; /&gt;</pre></div></div>

<p>Looking on the script, we are expecting <strong>addRow()</strong> function to do the process. The entire code looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> addRow<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> content1<span style="color: #339933;">=</span><span style="color: #3366CC;">'&lt;input name=&quot;number'</span><span style="color: #339933;">+</span>counter<span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; type=&quot;text&quot; /&gt;'</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Content for our</span>
&nbsp;
	<span style="color: #003366; font-weight: bold;">var</span> content2<span style="color: #339933;">=</span><span style="color: #3366CC;">'&lt;input name=&quot;title'</span><span style="color: #339933;">+</span>counter<span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; type=&quot;text&quot; /&gt;'</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Content for our</span>
&nbsp;
	<span style="color: #003366; font-weight: bold;">var</span> tabBody <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tbody'</span><span style="color: #009900;">&#41;</span>.<span style="color: #000066; font-weight: bold;">item</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> row <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;TR&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> cell1 <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;TD&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> cell2 <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;TD&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// Assign values to the TD</span>
	cell1.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> content1<span style="color: #339933;">;</span>
	cell2.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> content2<span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// append</span>
 to our table<span style="color: #339933;">-</span>rows
	row.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>cell1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	row.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>cell2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// append the created row to the tbody element</span>
	tabBody.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>row<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>If you desired that adding the rows should be limited upto 10 rows only, this rendition of <strong>addRow() </strong>function should help:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> addRow<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>limit <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;=</span> counter <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'You&quot;ve reached the limit!'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Don't do anything</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	counter<span style="color: #339933;">++;</span> <span style="color: #006600; font-style: italic;">// Increment</span>
&nbsp;
	<span style="color: #003366; font-weight: bold;">var</span> content1<span style="color: #339933;">=</span><span style="color: #3366CC;">'&lt;input name=&quot;number'</span><span style="color: #339933;">+</span>counter<span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; type=&quot;text&quot; /&gt;'</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Content for our</span>
&nbsp;
	<span style="color: #003366; font-weight: bold;">var</span> content2<span style="color: #339933;">=</span><span style="color: #3366CC;">'&lt;input name=&quot;title'</span><span style="color: #339933;">+</span>counter<span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; type=&quot;text&quot; /&gt;'</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Content for our</span>
&nbsp;
	<span style="color: #003366; font-weight: bold;">var</span> tabBody <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tbody'</span><span style="color: #009900;">&#41;</span>.<span style="color: #000066; font-weight: bold;">item</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> row <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;TR&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> cell1 <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;TD&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> cell2 <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;TD&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// Assign values to the TD</span>
	cell1.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> content1<span style="color: #339933;">;</span>
	cell2.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> content2<span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// append</span>
 to our table<span style="color: #339933;">-</span>rows
	row.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>cell1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	row.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>cell2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// append the created row to the tbody element</span>
	tabBody.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>row<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Hope that helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/javascript/creating-table-rows-with-javascript-03-01-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP string concatenation</title>
		<link>http://www.raymondangana.com/php/php-string-concatenation-03-01-2010/</link>
		<comments>http://www.raymondangana.com/php/php-string-concatenation-03-01-2010/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 05:23:28 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[concatenation]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=534</guid>
		<description><![CDATA[String concatenation is the string manipulation method when you join 2 or more strings together.
In PHP it is a quite easy task. You can use the concatenation operator which is the &#8216;.&#8217; (dot). You can join 2 or more strings into one as follows:

   $str1 = 'This';
   $str2 = 'is a';
 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.raymondangana.com/wp-content/uploads/2010/01/php.jpg" rel="lightbox[534]"><img class="alignleft size-medium wp-image-158" title="php" src="http://www.raymondangana.com/wp-content/uploads/2010/01/php-300x190.jpg" alt="" width="300" height="190" /></a>String concatenation is the string manipulation method when you join 2 or more strings together.</p>
<p>In PHP it is a quite easy task. You can use the concatenation operator which is the &#8216;.&#8217; (dot). You can join 2 or more strings into one as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">   <span style="color: #000088;">$str1</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'This'</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$str2</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'is a'</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$str3</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'string'</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #000088;">$full</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$str1</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">.</span><span style="color: #000088;">$str2</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">.</span><span style="color: #000088;">$str3</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$full</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// This is a string</span></pre></div></div>

<p>Besides this you can use the operator to append a string to an existing one like this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">   <span style="color: #000088;">$str</span>  <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Main string'</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$str</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">' plus another string'</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$str</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Main string plus another string</span></pre></div></div>

<p>If you concatenate a string with a number, the number will (automatically) be converted into a string value, so the output will be &#8220;string&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">   <span style="color: #000088;">$num</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">100</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$num</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' is a number'</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$str</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// 100 is a number</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/php/php-string-concatenation-03-01-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webdate: How to modify age-range limit drop-down on create-profile page</title>
		<link>http://www.raymondangana.com/webdate/webdate-how-to-modify-age-range-limit-drop-down-on-create-profile-page-02-28-2010/</link>
		<comments>http://www.raymondangana.com/webdate/webdate-how-to-modify-age-range-limit-drop-down-on-create-profile-page-02-28-2010/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 03:59:48 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[webdate]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=527</guid>
		<description><![CDATA[On the &#8220;create profile page&#8221;, there&#8217;s a dropdown for &#8220;age range&#8221;.
By default, the set range is 18 &#8211; 55 for the first dropdown and 18 &#8211; 80 for the second dropdown.
If you want to adjust this range, please follow these steps:


Connect to your site via FTP.
Open /engine/forms/profile_s2.php
Go to line 144 &#8211; 145. Specifically, it&#8217;s these [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.raymondangana.com/wp-content/uploads/2010/02/webdate.gif" rel="lightbox[527]"><img class="alignleft size-full wp-image-528" title="webdate" src="http://www.raymondangana.com/wp-content/uploads/2010/02/webdate.gif" alt="" width="183" height="35" /></a>On the &#8220;create profile page&#8221;, there&#8217;s a dropdown for &#8220;age range&#8221;.</p>
<p>By default, the set range is <strong>18 &#8211; 55</strong> for the first dropdown and <strong>18 &#8211; 80</strong> for the second dropdown.</p>
<p>If you want to adjust this range, please follow these steps:</p>
<div id="_mcePaste">
<ol>
<li>Connect to your site via <strong>FTP.</strong></li>
<li><strong><span style="font-weight: normal;">Open /</span>engine/forms/profile_s2.php</strong></li>
<li><strong><span style="font-weight: normal;">Go to line 144 &#8211; 145. Specifically, it&#8217;s these line(s)</span></strong>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$profile_s2_age_from</span> <span style="color: #339933;">=</span> sysGetNumberSelect<span style="color: #009900;">&#40;</span>age_from<span style="color: #339933;">,</span> <span style="color: #cc66cc;">18</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">55</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$profile_s2_age_to</span> <span style="color: #339933;">=</span> sysGetNumberSelect<span style="color: #009900;">&#40;</span>age_to<span style="color: #339933;">,</span> <span style="color: #cc66cc;">18</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">80</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>You can change the age range of the first dropdown by changing this line:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$profile_s2_age_from</span> <span style="color: #339933;">=</span> sysGetNumberSelect<span style="color: #009900;">&#40;</span>age_from<span style="color: #339933;">,</span> <span style="color: #cc66cc;">18</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">55</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>You can change the age range of the second dropdown by changing this line:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$profile_s2_age_to</span> <span style="color: #339933;">=</span> sysGetNumberSelect<span style="color: #009900;">&#40;</span>age_to<span style="color: #339933;">,</span> <span style="color: #cc66cc;">18</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">80</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

</li>
</ol>
<p>Hope that helps.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/webdate/webdate-how-to-modify-age-range-limit-drop-down-on-create-profile-page-02-28-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocking visitors by their IP address</title>
		<link>http://www.raymondangana.com/cpanel/blocking-visitors-by-their-ip-address-02-28-2010/</link>
		<comments>http://www.raymondangana.com/cpanel/blocking-visitors-by-their-ip-address-02-28-2010/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 03:27:50 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[block visitors]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[ip address]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=521</guid>
		<description><![CDATA[If you&#8217;re being bothered by someone and wants to perpetrate pain on you, you can block those persons via their IP address.
To do so, basic knowledge of .htaccess will help. If you already have &#8220;.htaccess&#8221; in your root directory, just add this piece of line on your htaccess file:

# Deny IP
order allow,deny
deny from 127.0.0.1
deny from 192.168.12.101
allow [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.raymondangana.com/wp-content/uploads/2010/02/fatal.png" rel="lightbox[521]"><img class="alignleft size-medium wp-image-461" title="fatal" src="http://www.raymondangana.com/wp-content/uploads/2010/02/fatal-300x300.png" alt="" width="150" height="150" /></a>If you&#8217;re being bothered by someone and wants to perpetrate pain on you, you can block those persons via their <strong>IP address</strong>.</p>
<p>To do so, basic knowledge of .htaccess will help. If you already have &#8220;.htaccess&#8221; in your root directory, just add this piece of line on your htaccess file:</p>

<div class="wp_syntax"><div class="code"><pre class="htaccess" style="font-family:monospace;"># Deny IP
order allow,deny
deny from 127.0.0.1
deny from 192.168.12.101
allow from all</pre></div></div>

<p>However, if you don&#8217;t have htaccess file on your root directory, simply copy the line above and save the file as &#8220;.htaccess&#8221;. Please note that &#8220;dot&#8221; in the beginning.</p>
<p>Ensure to replace the IP with whatever IP is bothering you.</p>
<p>Hope that helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/cpanel/blocking-visitors-by-their-ip-address-02-28-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create an e-mail account in cPanel</title>
		<link>http://www.raymondangana.com/cpanel/how-to-create-an-e-mail-account-in-cpanel-02-28-2010/</link>
		<comments>http://www.raymondangana.com/cpanel/how-to-create-an-e-mail-account-in-cpanel-02-28-2010/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 03:17:40 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=516</guid>
		<description><![CDATA[
 Log in to your cPanel account at http://yourdomain.com/cpanel using your cPanel username and password.
 In the E-mail Management Tools section, click &#8220;Add/Remove E-mail Accounts.&#8221;
Click Add Account.
Enter the mailbox name that you want to create (e.g., sue, bill, sales, support, service, etc. Do not enter the full e-mail address, just the part before the @ [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li> Log in to your cPanel account at <strong>http://yourdomain.com/cpanel</strong> using your cPanel username and password.</li>
<li> In the <strong>E-mail Management Tools</strong> section, click &#8220;Add/Remove E-mail Accounts.&#8221;</li>
<li>Click <strong>Add Accoun</strong>t.</li>
<li>Enter the mailbox name that you want to create (e.g., sue, bill, sales, support, service, etc. Do not enter the full e-mail address, just the part before the @ symbol.</li>
<li>Enter a password for the account.</li>
<li>Enter a mailbox size quota if you want the account to have a quota. Leaving the quote at <strong>Unlimited</strong> means that there is no specific size limit on that account, but remember that your e-mail account files do count against the total disk space allotted to your hosting account.</li>
<li>Click the <strong>Create</strong> button.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/cpanel/how-to-create-an-e-mail-account-in-cpanel-02-28-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create user/database in cpanel</title>
		<link>http://www.raymondangana.com/cpanel/how-to-create-userdatabase-in-cpanel-02-28-2010/</link>
		<comments>http://www.raymondangana.com/cpanel/how-to-create-userdatabase-in-cpanel-02-28-2010/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 03:05:14 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[user database]]></category>

		<guid isPermaLink="false">http://www.raymondangana.com/?p=513</guid>
		<description><![CDATA[You must do the following in CPanel to create a new database:

Create a database user
Create a database
Assign the newly created user to the database

Follow these steps to do this:

Log into CPanel at http://www.yoursite.com/cpanel (replace yoursite.com with your actual domain name).
Click MySQL Databases.
Under the Current Users section enter values for the Username and Password fields and click Create User.
NOTE: After submitting [...]]]></description>
			<content:encoded><![CDATA[<p>You must do the following in CPanel to create a new database:</p>
<ol>
<li>Create a database user</li>
<li>Create a database</li>
<li>Assign the newly created user to the database</li>
</ol>
<p>Follow these steps to do this:</p>
<ol>
<li>Log into CPanel at http://www.yoursite.com/cpanel (replace yoursite.com with your actual domain name).</li>
<li>Click <strong>MySQL Databases</strong>.</li>
<li>Under the <strong>Current Users</strong> section enter values for the <em>Username</em> and <em>Password</em> fields and click <strong>Create User</strong>.<br />
NOTE: After submitting the form you will be told what your username is. In almost all configuration, your actual input will be prefixed with something else. The username you are given here is your actual username.</li>
<li>Under the <strong>Current Databases</strong> section enter a value for the <em>New Database</em> field and click <strong>Create Database</strong>.<br />
NOTE: After submitting the form you will be told what your database name is. In almost all configuration, your actual input will be prefixed with something else. The database name you are given here is your actual database name.</li>
<li>Under the <strong>Add Users To Your Databases</strong> section choose the username you just created in the dropdown labeled <strong>User</strong> and choose the database name you just created in the <strong>Database</strong> dropdown. Click the <strong>All</strong> checkbox and click the <strong>Add User to Database</strong> button.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondangana.com/cpanel/how-to-create-userdatabase-in-cpanel-02-28-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->