$data['geoplugin_request'] , 'country_code' => $data['geoplugin_countryCode'] , 'country_name' => $data['geoplugin_countryName'] , 'region_name' => $data['geoplugin_region'] , 'city' => $data['geoplugin_city'] , 'zip_code' => $data['geoplugin_areaCode'] , 'latitude' => $data['geoplugin_latitude'] , 'longitude' => $data['geoplugin_longitude'] , 'time_zone' => $data['timeZone'] , ); } $country_name = strtoupper($info["country_name"]); $session = Mage::getSingleton("core/session", array("name"=>"frontend")); if ($ip_addr == 'fe80::e5d0:423:a2e1:a8ad' || $_SERVER['HTTP_HOST'] == 'http://gsl-kol-dt-09') { $fldata = 'Development'; } else { $fldata = $country_name; } $session->setData("country", $fldata); /*foreach ($this->getCurrencies() as $_code => $_name): ?> getCurrentCurrencyCode()) { $current= $_code; } else { $location=$this->getSwitchCurrencyUrl($_code); }?> getStore()->setCurrentCurrencyCode('INR'); } elseif (strtolower($country_name) != 'india') { Mage::app()->getStore()->setCurrentCurrencyCode('USD'); } else { Mage::app()->getStore()->setCurrentCurrencyCode('INR'); } if ($ip_addr == 'fe80::e5d0:423:a2e1:a8ad') { Mage::app()->getStore()->setCurrentCurrencyCode('INR'); } $country=Mage::getSingleton('core/session', array('name' => 'frontend'))->getCountry(); //echo $country; //echo $current; //echo $location; //exit; /*if( $current=='INR' && $country !='INDIA') { header("location:".$location); exit; }*/ ?>
getIsHomePage() ? '' : 'style="background:#2d2d2d;padding-bottom:5px; "'); ?>>