if(!isset($_HTML_END_))
{
$_HTML_END_= 1;
if(isset($return_home_url) &&
($return_home_url != "") &&
(!strstr($g_strHomeURL, "index.phtml")) &&
(!strstr($g_strHomeURL, "shipping.phtml")) &&
(!strstr($g_strHomeURL, "search.phtml")) &&
(!strstr($g_strHomeURL, "view-order.phtml")) &&
(!strstr($g_strHomeURL, "category.phtml")) &&
(!strstr($g_strHomeURL, "results.phtml")))
{
if(!strstr($return_home_url, "http://"))
{
$return_home_url = "http://".$return_home_url;
}
?>
| if(isset($g_objDB) && // page failed terribly (!isset($g_strGateway)) && isset($g_strHomeURL) && (!strstr($g_strHomeURL, "index.phtml")) && (!strstr($g_strHomeURL, "refund.phtml")) && (!strstr($g_strHomeURL, "shipping.phtml")) && (!strstr($g_strHomeURL, "start.phtml")) && (!strstr($g_strHomeURL, "start1.phtml")) && (!strstr($g_strHomeURL, "start2.phtml")) && (!strstr($g_strHomeURL, "search.phtml")) && (!strstr($g_strHomeURL, "category.phtml")) && (!strstr($g_strHomeURL, "results.phtml"))) { $strSQL = "SELECT * FROM tblPayProcessor WHERE fldSelected = 'Y'"; $sclProcResultID = $g_objDB->GetFirstRowOfSet($strSQL, &$ascProcResult, SQL_GET_ROW_COUNT, "Get Payment Processor"); if($g_objDB->HasError()) { $g_objDB->DisplayError(__FILE__, __LINE__, "Get Payment Processor Failed!"); include "bottom.phtml"; exit; } $intProcRows = $g_objDB->GetRowCount($sclProcResultID); if(($intProcRows > 1) && ($ascProcResult['fldStatus'] != "TEST")) { $g_objDB->GetNextRow(&$ascProcResult, "Get TEST Payment Processor", $sclProcResultID); //print "2 - ".$ascProcResult['fldCardNumber']; if($g_objDB->HasError()) { $g_objDB->DisplayError(__FILE__, __LINE__, "Get TEST Payment Processor Failed!"); include "bottom.phtml"; exit; } } if($intProcRows > 0) { $g_strPayResponseURL = $g_strSecureURL.$g_strResultURL; $g_strPayAction = "AUTHORIZE"; $g_strDeleteURL = "list.phtml"; $g_blnInTable = true; $g_blnPayProcessForm = true; $g_intTableColumns = 2; $g_strGateway = $ascProcResult['fldName']; $g_strProcPassword = $ascProcResult['fldPassword']; $g_strProcUser = $ascProcResult['fldUser']; $g_strProcStatus = $ascProcResult['fldStatus']; $g_strProcCardNumber = $ascProcResult['fldCardNumber']; $g_strProccessor = $ascProcResult['fldProcessor']; } } if(isset($g_objDB) && // page failed terribly isset($g_strGateway) && isset($g_strHomeURL) && (!strstr($g_strHomeURL, "index.phtml")) && (!strstr($g_strHomeURL, "refund.phtml")) && (!strstr($g_strHomeURL, "search.phtml")) && (!strstr($g_strHomeURL, "view-order.phtml")) && (!strstr($g_strHomeURL, "category.phtml")) && (!strstr($g_strHomeURL, "shipping.phtml")) && (!strstr($g_strHomeURL, "results.phtml")) && ($g_strGateway == "VeriSign")) { include "verisign.inc"; } elseif(isset($g_objDB) && // page failed terribly isset($g_strGateway) && isset($g_strHomeURL) && (!strstr($g_strHomeURL, "index.phtml")) && (!strstr($g_strHomeURL, "refund.phtml")) && (!strstr($g_strHomeURL, "search.phtml")) && (!strstr($g_strHomeURL, "view-order.phtml")) && (!strstr($g_strHomeURL, "category.phtml")) && (!strstr($g_strHomeURL, "shipping.phtml")) && (!strstr($g_strHomeURL, "results.phtml")) && ($g_strGateway == "AuthorizeNet")) { include "authorizenet.inc"; } elseif(isset($g_objDB) && // page failed terribly isset($g_strGateway) && isset($g_strHomeURL) && (!strstr($g_strHomeURL, "index.phtml")) && (!strstr($g_strHomeURL, "search.phtml")) && (!strstr($g_strHomeURL, "refund.phtml")) && (!strstr($g_strHomeURL, "view-order.phtml")) && (!strstr($g_strHomeURL, "category.phtml")) && (!strstr($g_strHomeURL, "shipping.phtml")) && (!strstr($g_strHomeURL, "results.phtml")) && ($g_strGateway == "CyberCash")) { include "cybercash.inc"; } else print " "; ?> | print ($footer_msg) ?> |
if(isset($g_objDB) && // page failed terribly
isset($g_strHomeURL) &&
(!strstr($g_strHomeURL, "index.phtml")) &&
(!strstr($g_strHomeURL, "search.phtml")) &&
(!strstr($g_strHomeURL, "refund.phtml")) &&
(!strstr($g_strHomeURL, "view-order.phtml")) &&
(!strstr($g_strHomeURL, "start.phtml")) &&
(!strstr($g_strHomeURL, "start1.phtml")) &&
(!strstr($g_strHomeURL, "start2.phtml")) &&
(!strstr($g_strHomeURL, "category.phtml")) &&
(!strstr($g_strHomeURL, "shipping.phtml")) &&
(!strstr($g_strHomeURL, "results.phtml")))
{
$strSQL = "SELECT * FROM tblCard WHERE selected='Y' AND fldType='CREDIT'";
$sclCardResultID = 0;
$g_objDB->GetAllRows($strSQL, &$ascCardResult, &$blnMoreRows, SQL_GET_ROW_COUNT, &$sclCardResultID, "Get Card Images");
if(!$g_objDB->HasError())
{
$intRowCount = $g_objDB->GetRowCount($sclCardResultID);
if($g_strGateway != "Manually")
{
for($intI = 0; $intI < $intRowCount; $intI++)
{
if(isset($ascCardResult[$intI]['fldImageURL']))
{
?>
|
|
for($intI = 0; $intI < $intRowCount; $intI++)
{
if(isset($ascCardResult[$intI]['fldImageURL']))
{
?>
|
||