allow = false; error_reporting(E_ALL ^E_NOTICE); $in=get_args(); if (is_array($data) === true) { $data = array_merge($in, $data); } else { $data = $in; } // Check if error string is throw from form submit, and set to data array if (isset($error_str) === true && empty($error_str) === false) { $data['error_str'] = $error_str; } // Adding captcha $captcha = new Gamma_Captcha_ImageCallback(); $captcha->setCallbackUrl('/captcha.php?id=replaceHashValue'); $captcha->setFont(PLATFORM_PATH . '/Binary/Fonts/FreeSansBold.ttf'); $captcha->setHeight('80'); $captcha->setFontSize('30'); $captcha->setExpiration(3600); $captcha->setTimeout(3600); $captcha->setWordlen(6); // Generate the captcha word $captcha->generate(); $data['captcha'] = $captcha; // Render page render_skin('order.php', $data); ?>