<?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>Fundaa.com &#187; 1</title>
	<atom:link href="http://fundaa.com/category/1/feed/" rel="self" type="application/rss+xml" />
	<link>http://fundaa.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 12:44:27 +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>How to set Cerberus Cron on cPanel &#8211; SOLVED</title>
		<link>http://fundaa.com/1/how-to-set-cerberus-cron-on-cpanel-solved/</link>
		<comments>http://fundaa.com/1/how-to-set-cerberus-cron-on-cpanel-solved/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 08:01:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=234</guid>
		<description><![CDATA[<br/>If you want to set cron into cerberus helpdesk go into cPanel and set below command for cron jobs
&#8220;wget http://YOURDOMAIN_NAME/cron?loglevel=3&#8243;
]]></description>
			<content:encoded><![CDATA[<br/><p>If you want to set cron into cerberus helpdesk go into cPanel and set below command for cron jobs</p>
<p>&#8220;wget http://YOURDOMAIN_NAME/cron?loglevel=3&#8243;</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/1/how-to-set-cerberus-cron-on-cpanel-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zen cart admin coupon which gives amount deduction and free shipping</title>
		<link>http://fundaa.com/1/zen-cart-admin-coupon-which-gives-amount-deduction-and-free-shipping/</link>
		<comments>http://fundaa.com/1/zen-cart-admin-coupon-which-gives-amount-deduction-and-free-shipping/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 12:29:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[Zen Cart]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=227</guid>
		<description><![CDATA[<br/>In zen cart that is default that you can create admin coupon to give amount deduction or free shipping ,
you can not give customer both benefit of amount deduction as well as free shipping,
to do that you have to add code in two files that are
1) includes/modules/order_total/ot_coupon.php
2) includes/templates/[your template]/popup_coupon_help/tpl_main_page.php
In file 1 ot_coupon.php
find the code as 

if ($od_amount['type'] == 'S') $order->info['shipping_cost'] = 0;
      $order->info['total'] = $order->info['total'] - $od_amount['total'];
      if (DISPLAY_PRICE_WITH_TAX == 'true') {
        $od_amount['total'] ...]]></description>
			<content:encoded><![CDATA[<br/><p>In zen cart that is default that you can create admin coupon to give amount deduction or free shipping ,<br />
you can not give customer both benefit of amount deduction as well as free shipping,</p>
<p>to do that you have to add code in two files that are</p>
<p>1) includes/modules/order_total/ot_coupon.php<br />
2) includes/templates/[your template]/popup_coupon_help/tpl_main_page.php</p>
<p>In file 1 ot_coupon.php</p>
<p>find the code as </p>
<p><code><br />
if ($od_amount['type'] == 'S') $order->info['shipping_cost'] = 0;<br />
      $order->info['total'] = $order->info['total'] - $od_amount['total'];<br />
      if (DISPLAY_PRICE_WITH_TAX == 'true') {<br />
        $od_amount['total'] += $tax;<br />
      }<br />
      if ($this->calculate_tax == "Standard") $order->info['total'] -= $tax;<br />
      if ($order->info['total'] < 0) $order->info['total'] = 0;<br />
      $order->info['tax'] = $order->info['tax'] - $tax;<br />
      $this->output[] = array('title' => $this->title . ': ' . $this->coupon_code . ' :',<br />
                              'text' => '-' . $currencies->format($od_amount['total']),<br />
                              'value' => $od_amount['total']);<br />
</code></p>
<p>replace it with</p>
<p><code><br />
if ($od_amount['type'] == 'S') $order->info['shipping_cost'] = 0;<br />
	// harry<br />
      if ($od_amount['type'] == 'S' &#038;&#038; is_numeric($od_amount['coupon_amount']) )<br />
	{<br />
		$order->info['total'] = $order->info['total'] - $od_amount['coupon_amount'];<br />
	}<br />
      $order->info['total'] = $order->info['total'] - $od_amount['total'];<br />
      if (DISPLAY_PRICE_WITH_TAX != 'true') {<br />
        $order->info['total'] -= $tax;<br />
      }<br />
      $order->info['tax'] = $order->info['tax'] - $tax;<br />
      //      if ($this->calculate_tax == "Standard") $order->info['total'] -= $tax;<br />
      if ($order->info['total'] < 0) $order->info['total'] = 0;<br />
      $this->output[] = array('title' => $this->title . ': ' . $this->coupon_code . ' :',<br />
                              'text' => '-' . $currencies->format($od_amount['total']+$od_amount['coupon_amount']),<br />
                              'value' => $od_amount['total']+$od_amount['coupon_amount']);<br />
</code></p>
<p>find<br />
<code><br />
if (isset($_SESSION['shipping_tax_description']) &#038;&#038; $_SESSION['shipping_tax_description'] != '') {<br />
              $od_amount['tax_groups'][$_SESSION['shipping_tax_description']] = $od_amount['tax'];<br />
            }<br />
            return $od_amount;<br />
</code></p>
<p>replace it with<br />
<code><br />
            if (isset($_SESSION['shipping_tax_description']) &#038;&#038; $_SESSION['shipping_tax_description'] != '') {<br />
              $od_amount['tax_groups'][$_SESSION['shipping_tax_description']] = $od_amount['tax'];<br />
            }<br />
                // harry<br />
		$od_amount['coupon_amount'] = $coupon->fields['coupon_amount'];<br />
            return $od_amount;<br />
</code></p>
<p>and in file 2 tpl_main_page.php</p>
<p>find<br />
<code><br />
case 'S':<br />
    $text_coupon_help .= TEXT_COUPON_HELP_FREESHIP;<br />
</code></p>
<p>replace it with<br />
<code><br />
case 'S':<br />
	if ( is_numeric($coupon->fields['coupon_amount']) )<br />
	{<br />
		$text_coupon_help .= sprintf(TEXT_COUPON_HELP_FIXED, $currencies->format($coupon->fields['coupon_amount']));<br />
	}<br />
    $text_coupon_help .= TEXT_COUPON_HELP_FREESHIP;<br />
</code></p>
<p>and its done&#8230;&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/1/zen-cart-admin-coupon-which-gives-amount-deduction-and-free-shipping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress into zencart URL Problem &#8211; SOLVED</title>
		<link>http://fundaa.com/1/how-solve-wordpress-into-zencart-url-problem/</link>
		<comments>http://fundaa.com/1/how-solve-wordpress-into-zencart-url-problem/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 13:20:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=222</guid>
		<description><![CDATA[<br/>When integrate wordpress in to zen cart using the Zen cart CEON module then we might face the problem in the URL of woprdpress pages, posts and other links.
To solve the above problem, just go to wordpress admin -> Settings -> Permalinks
From the permalink settings of wordpress admin, select Default and then Save Changes
]]></description>
			<content:encoded><![CDATA[<br/><p>When integrate wordpress in to zen cart using the Zen cart CEON module then we might face the problem in the URL of woprdpress pages, posts and other links.</p>
<p>To solve the above problem, just go to wordpress admin -> Settings -> Permalinks</p>
<p>From the permalink settings of wordpress admin, select <strong>Default</strong> and then Save Changes</p>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/1/how-solve-wordpress-into-zencart-url-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser Detect Using PHP Script</title>
		<link>http://fundaa.com/1/browser-detect-using-php-script/</link>
		<comments>http://fundaa.com/1/browser-detect-using-php-script/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 13:14:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://fundaa.com/?p=209</guid>
		<description><![CDATA[<br/>
&#60;?php
$userAgent = strtolower($_SERVER['HTTP_USER_AGENT']);

        // Identify the browser. Check Opera and Safari first in case of spoof. Let Google Chrome be identified as Safari.
        if (preg_match('/opera/', $userAgent)) {
            $name = 'opera';
        }
        elseif (preg_match('/webkit/', $userAgent)) {
            $name = 'safari';
   ...]]></description>
			<content:encoded><![CDATA[<br/><pre class="brush: php;">
&lt;?php
$userAgent = strtolower($_SERVER['HTTP_USER_AGENT']);

        // Identify the browser. Check Opera and Safari first in case of spoof. Let Google Chrome be identified as Safari.
        if (preg_match('/opera/', $userAgent)) {
            $name = 'opera';
        }
        elseif (preg_match('/webkit/', $userAgent)) {
            $name = 'safari';
        }
        elseif (preg_match('/msie/', $userAgent)) {
            $name = 'msie';
        }
        elseif (preg_match('/mozilla/', $userAgent) &amp;&amp; !preg_match('/compatible/', $userAgent)) {
            $name = 'mozilla';
        }
		else {
            $name = 'unrecognized';
        }

        // What version?
        if (preg_match('/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/', $userAgent, $matches)) {
            $version = $matches[1];
        }
        else {
            $version = 'unknown';
        }
		//echo $name;
		//echo $version;
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://fundaa.com/1/browser-detect-using-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

