$smarty->assign("str_country", $str_country); $smarty->assign("str_city", $str_city); $smarty->assign("str_state", $str_state); $smarty->assign("str_otherstate", $str_otherstate); $smarty->assign("str_zipcode", $str_zipcode); $smarty->assign("str_phonenumber", $str_phonenumber); $smarty->assign("str_emailaddress", $str_emailaddress); $smarty->assign("str_additional_funds", $str_additional_funds); $smarty->assign("opt_Countrys", func_get_country_select($str_country)); $smarty->assign("opt_States", func_get_state_select($str_state)); $smarty->assign("str_emailaddress", $str_emailaddress); $smarty->assign("cond_istest", $order->test); $ord = $smarty->fetch('int_orderprocess.tpl'); if (isset($_SESSION['response']['result']) && $_SESSION['response']['result'] == 1) { $smarty->assign("str_returnurl", $order->row['websiteTable']['cs_return_page']); $smarty->assign("str_posted_variables", $order->buildApproval()); if (strpos($order->row['websiteTable']['cs_return_page'], ".htm") != false) { $smarty->assign("form_get_post", "GET"); } else { $smarty->assign("form_get_post", "POST"); } } $smarty->assign("body", $ord); if ($_SESSION['stat'] == 2) { $smarty->assign("body", "<div align=\"center\">You Currently Have A Pending Transaction, You Must Wait For A Response From The Server</div>"); } else { if ($_SESSION['stat'] == 3) { if ($order->row['rebillingTable']['rd_ibill_landing_html']) { $landingContent = $order->row['rebillingTable']['rd_ibill_landing_html']; toLog('notify', 'customer', "Customer is shown the landing page for: " . $subAcc['rd_subName'], $companyid); $ibill_array['CUSTADDR1'] = $transInfo['address'];