Click Here to Return to Home Page

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 " "; ?> 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'])) { ?> 0) $g_objDB->FreeResults($sclCardResultID); } } } else print " "; ?>
0) $g_objDB->FreeResults($sclCardResultID); ?>
CloseLogFile(); } ?>