function show_item_row2($itemid, $itemInfo1, $itemInfo2, $itemInfo3) { // get item price and desc list($x_price, $Item_Desc) = store_GetItemPriceDescByCode($itemid, 3); global $CustomerID; $g1cost = g1c_GCtoG1C($x_price); echo "\n\t\t\t<a href=\"Store_g1c_confirm.php?ItemID={$itemid}\" class=\"bg_select_amount\">\n\t\t\t\t<span class=\"img_2\"></span>\n\t\t\t\t<span class=\"number_1\">{$itemInfo1}</span>\n\t\t\t\t<span class=\"cL\"></span>\n\t\t\t\t<span class=\"line_ind8\"></span>\n\t\t\t\t<span class=\"name_1\">{$itemInfo2}</span>\n\t\t\t\t<span class=\"name_2\">{$itemInfo3}</span>\n\t\t\t\t<span class=\"line_ind8\"></span>\n\t\t\t\t<span class=\"price\">{$g1cost} G1C</span>\n\t\t\t</a>\n\t\t\t"; }
<?php session_start(); require_once 'https_redir.php'; require_once 'auth.php'; require_once 'store.inc.php'; require_once 'store_g1c.inc.php'; if (!isset($_SESSION['GamersfirstID'])) { die('fraud'); } $CustomerID = $_SESSION['CustomerID']; // get item price and desc $x_id = $_REQUEST['ItemID']; list($x_price, $Item_Desc) = store_GetItemPriceDescByCode($x_id, 3); $g1Cost = g1c_GCtoG1C($x_price); $g1Balance = g1c_GetBalance($x_price); $g1Token = ""; if ($g1Cost > $g1Balance) { $g1Token = g1c_GenerateToken("http://www.gamersfirst.com/marketplace/get_g1c.php"); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>War Inc. Battlezone - Store</title> <link rel="stylesheet" type="text/css" href="style.css" /> <!--[if IE]> <link href="style_ie.css" rel="stylesheet" type="text/css"> <![endif]--> <script type="text/javascript" src="js/analytics.js"></script>