************************************************************************/
// Some security stuff...
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
-{
+if (!defined('__SECURITY')) {
$INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
require($INC);
}
// Add description as navigation point
-ADD_DESCR("guest", basename(__FILE__));
+ADD_DESCR("guest", __FILE__);
// Remove result_act
unset($result_act);
'rate' => TRANSLATE_COMMA($rate),
'min' => $min,
'curr' => $curr,
- 'price' => $min,
+ 'price' => TRANSLATE_COMMA($min),
);
- if (!ereg(",", $content['price']))
- {
- // Add missing zeros
- $content['price'] .= ",".str_repeat("0", $CONFIG['max_comma']);
- }
-
// Load row template and switch color
$OUT_PAY .= LOAD_TEMPLATE("guest_sponsor_pay_row", true, $content);
$SW = 3 - $SW;