'; global $adb; global $theme; $theme_path="themes/".$theme."/"; $image_path=$theme_path."images/"; require_once($theme_path.'layout_utils.php'); $xtpl=new XTemplate ('modules/Settings/CurrencyInfo.html'); $xtpl->assign("MOD", $mod_strings); $xtpl->assign("APP", $app_strings); $sql="select * from currency_info"; $result = $adb->query($sql); $currency_name = $adb->query_result($result,0,'currency_name'); $currency_code = $adb->query_result($result,0,'currency_code'); $currency_symbol = $adb->query_result($result,0,'currency_symbol'); $xtpl->assign("RETURN_MODULE","Settings"); $xtpl->assign("RETURN_ACTION","index"); if (isset($currency_name)) $xtpl->assign("CURRENCY_NAME",$currency_name); if (isset($currency_code)) $xtpl->assign("CURRENCY_CODE",$currency_code); if (isset($currency_symbol)) $xtpl->assign("CURRENCY_SYMBOL",$currency_symbol); $xtpl->parse("main"); $xtpl->out("main"); ?>