1)); $use_time = time(); //$start_date = mktime(0,0,0,date("m",$use_time),1,date("Y",$use_time)); //$start_date = date('M-D-Y', $start_time); //$end_date = mktime(0,0,0,date("m",$use_time)+1,1,date("Y",$use_time)); //$end_date = date('M-D-Y', $end_time); //$date_format = "MM-DD-YYYY"; $date_format = "UNIX_TIMESTAMP"; //echo date('m-d-Y', $start_time)."
"; //echo date('m-d-Y', $end_time)."
"; //$_SESSION['result1'] = $client->retrieveCustomerStatsNew($_REQUEST['product_code'],$date_format, $start_date, $end_date); $_SESSION['result1'] = $client->retrieveCurrentUsageNew($_REQUEST['product_code']); // if a fault occurred, output error info if ($_SESSION['result1'] == -1) { print "TRY AGAIN!"; } else { $result = utf8_decode($_SESSION['result1']); $errorStartInvalid = strpos($result, "[743]"); $errorStartMissing = strpos($result, "[741]"); if ($errorStartInvalid === false && $errorStartMissing === false) { //ENTER THE CENTER $p_code = $_REQUEST['product_code']; $enterX = base64_encode($p_code); $_SESSION['enter'] = base64_encode($p_code); } else { print "

Please, enter correct Product Code

"; } } // kill object unset($client); } ?>
ALEXCentral_main(); echo $output; } else //first time in, check code { //PUT OUT HEADER //header("Content-type: text/html; charset=utf-8"); $output = $cc->ALEXCentral_header(); echo $output; $output = "". "". "". ""; echo $output; //$actions = array('http://devprocessing.resumeparser.com/ParsingTools.soap?wsdl' => '(Production - testing) http://devprocessing.resumeparser.com/ParsingTools.soap?wsdl'); $actions = array('http://processing.resumeparser.com/ParsingTools.soap?wsdl' => '(Production - primary) http://processing.resumeparser.com/ParsingTools.soap?wsdl'); echo "". "". ""; $output = "". "". ""; $output .= $cc->ALEXCentral_footer(); $output .= "
". "
". "Welcome to HireAbility's ALEX Central


Your Product Code:". ""; echo $output; if (isset($_POST['product_code'])) $posted_code = $_POST['product_code']; else $posted_code = ""; ?>
". "". "
". ""; echo $output; } ?>