$DEVNAME = trim($row['dev_name']); $APPNAME = trim($row['app_name']); $CERTNAME = trim($row['cert_name']); //$token = "AgAAAA**AQAAAA**aAAAAA**rk05VA**nY+sHZ2PrBmdj6wVnY+sEZ2PrA2dj6AElYCmCJiFqQqdj6x9nY+seQ**y4ICAA**AAMAAA**I+dnHHqjbr1rjZlo8wEbyge8d1Rj73Vd3La+W4FzvDVDYl4cLgvS2pw9bttZX9kkkFTpeRtt+UDuYxU9N6O3FpzN7OklgZaQKMud9sjKb6O3WQYICnjw2KdMlEaeBKrTTmyM31hEcOiTvJB5u/0U0zFLWXvk1Qk6YAPhqTGejzYiwQtqYGtmd0rGtoS+b+46XxRov3saL5cRdOfSSTcHlWY9mtIqWerFpM4ZP0Qbj6xM4azxUa0m0BIZKf70+EbSBoFOaVo4X2k5ysHvSII+1WTbVBNvqgp9PNvgfyoMs+VZZ77Q+Qlfl+kk1pmGJqgqUY854qv0gABzSV5OEbgHIS2v0K2OhcTbo3EgvDX1SbPr/MKGFmC2aeqrVbn/9x5XZKnwPdtqoDwYJKe3sU/tzonToUKfyqldIF1GbJlvh5lgd2dPv+WS29g0wNNKGtPDyrLmQ0cktF0Ymnx5zvT7xffOtE9HweCCCILJeqFgyS7XeBgSY4d4fXcxXtaMaK9c2HFjwnF4v2WKoJ9KYYT9svSsf3ksk4fGzEv6XVPonZQxvyZESJHxQ7SbR/KE0rAB1WZY8N8x0hMu999SEJEse4lYRP7RjVxx82AVZp6MUVExfHSMQcQQL8O5O6wgjkErAHpfd7CzOmaSeyy4HNzWq3liP0WGQCfVXFDGl2YunJL9stIKaA/SrMeOvx5CSAWYUwEnx4OUwKlPpeZot+x98I+6Q1i2K1Paf6jMM6X5j4HGIrtMHgCMqWfM8IkPU+5Q"; $token = trim($row['token']); $ebayusername = trim($row['ebay_name']); $sql = "SELECT * FROM ebay_config WHERE user_id = {$active_user} "; ////$sql = "SELECT * FROM ebay_users WHERE user_id = 1 "; $rs = mysql_query($sql); $row = mysql_fetch_array($rs); $paypal_address = trim($row['paypal_address']); $eBayAPIURL = "https://api.ebay.com/ws/api.dll"; //$eBayAPIURL = "https://api.sandbox.ebay.com/ws/api.dll"; $COMPATIBILITYLEVEL = '837'; $SiteId = 0; listitems(); function listitems() { global $APPNAME, $ebayusername, $SiteId; $active_user = 8; $f_endpoint = 'http://svcs.ebay.com/services/search/FindingService/v1'; // Finding $responseEncoding = 'XML'; // Format of the response $s_version = '667'; // Shopping API version number $f_version = '1.4.0'; // Finding API version number $appID = $APPNAME; //replace this with your AppID $debug = true;
$this->includeeasyview('easydemo/topmenu'); $this->includeeasyview('easydemo/functions'); DIV_BEGIN('', 'article'); H_BEGIN(1); echo 'Versions of components'; H_END(); H_BEGIN(2); echo 'Helpers'; H_END(); listitems($this->getdependences(), COMPONENT_HELPER); H_BEGIN(2); echo 'Libraries'; H_END(); listitems($this->getdependences(), COMPONENT_LIBRARY); H_BEGIN(2); echo 'Controllers'; H_END(); listitems($this->getdependences(), COMPONENT_CONTROLLER); H_BEGIN(2); echo 'Handlers'; H_END(); listitems($this->getdependences(), COMPONENT_HANDLER); if (getmodulecountbytype(COMPONENT_MODEL) != 0) { H_BEGIN(2); echo 'Modules'; H_END(); listitems($this->getdependences(), COMPONENT_MODEL); } DIV_END(); $this->includeeasyview('easydemo/footer'); $this->includeeasyview('easydemo/end');
} elseif ($entered == "cdSSINA") { boxMsg("hit 10% key to apply case discount for member " . $_SESSION["memberID"]); } elseif ((!$entered || strlen($entered) < 1) && $_SESSION["away"] != 1) { $_SESSION["repeat"] = 0; lastpage(); } elseif ((!$entered || strlen($entered) < 1) && $_SESSION["away"] == "1") { lastpage(); } elseif (is_numeric($entered)) { upcscanned($entered); } elseif (substr($entered, -1, 1) == "?") { ccEntered($entered); // include ccEntered.php } elseif ($entered == "U") { listitems($_SESSION["currenttopid"], $_SESSION["currentid"] - 1); } elseif ($entered == "D") { listitems($_SESSION["currenttopid"], $_SESSION["currentid"] + 1); } elseif ($entered == "FNTL") { fsEligible(); } elseif ($entered == "TETL") { addTaxExempt(); lastpage(); } elseif ($entered == "FTTL") { finalttl(); lastpage(); } elseif ($entered == "VD15.00DA") { percentDiscount(0); } elseif ($entered == "VD10.01DA") { percentDiscount(0); } elseif ($entered == "TL") { ttl(); lastpage();