function _getUrlToNavigate_VISIT_LOG() { $res = ADMIN_FILE . "?dpt=custord&sub=custlist&customer_details=visit_log"; if (isset($_GET["encodedReturnUrl"])) { $res .= "&encodedReturnUrl=" . $_GET["encodedReturnUrl"]; } if (isset($_GET["customerID"])) { $res .= "&customerID=" . $_GET["customerID"]; } return $res; } if (isset($_GET['activateID'])) { if (CONF_BACKEND_SAFEMODE) { Redirect(set_query('&activateID=&safemode=yes')); } regActivateCustomer($_GET['activateID']); Redirect(set_query('activateID=')); } if (isset($_GET["deleteCustomerID"])) { if (CONF_BACKEND_SAFEMODE) { Redirect(set_query("&safemode=yes&deleteCustomerID=")); } regDeleteCustomer($_GET["deleteCustomerID"]); if (isset($_GET['encodedReturnUrl'])) { Redirect(base64_decode($_GET["encodedReturnUrl"])); } else { Redirect(ADMIN_FILE . '?dpt=custord&sub=custlist'); } } if (!isset($_GET["customer_details"])) { if (isset($_GET["search"]) || isset($_GET["export_to_excel"])) {
<?php if (isset($_GET['act_customer']) && CONF_ENABLE_REGCONFIRMATION) { $ActErr = false; if (isset($_GET['act_code'])) { if ($_GET['act_code']) { $sql = 'SELECT customerID, Login, cust_password FROM ' . CUSTOMERS_TABLE . ' WHERE ActivationCode="' . xEscapeSQLstring($_GET['act_code']) . '" AND ActivationCode!="" AND ActivationCode IS NOT NULL'; $Result = db_query($sql); $Customer = db_fetch_row($Result); if (isset($Customer['Login']) && $Customer['Login']) { regActivateCustomer($Customer['customerID']); regAuthenticate($Customer['Login'], cryptPasswordDeCrypt($Customer['cust_password'], null)); if (isset($_GET['order2']) && xDataExists('xREGMAILCONF_URLORDER2')) { Redirect(xPopData('xREGMAILCONF_URLORDER2')); } else { Redirect(set_query('&act_code=&act_ok=1')); } } else { $smarty->hassign('ActCode', $_GET['act_code']); $ActErr = true; } } else { $ActErr = true; } } if (isset($_GET['act_ok'])) { $smarty->assign('ActOk', 1); } if (isset($_GET['notact'])) {