if(($Loc != 'Toronto') && ($Loc != 'Montreal') && ($Loc != 'WebStore') && ($Loc != "BuyUsedComputers") && ($Loc != "CompuLiquidators")) Die ('Invalid Location!'); if(($Cur != 'USD') && ($Cur != 'CND') && ($Cur != 'GBP')) Die ('Invalid Currency!'); if(($Cat < 1) || ($Cat > 10)) Die ('Invalid Category!'); if($Special == '') $Special = 'N'; include("config.php3"); include("description.php3"); $ServerName = strtolower($SERVER_NAME); switch ($ServerName) { case "www.123compute.ca": include("$DOCUMENT_ROOT/header2.php3"); break; case "www.101computers.com": include("101computers/header.inc"); break; case "www.buyusedcomputers.com": case "www.compuliquidators.com": include("buc/header.inc"); break; case "www.notebooks4all.com": case "www.123compute.com": include("$DOCUMENT_ROOT/header.php3"); break; default: include("header.php3"); } $sql = "Select ID, Make, Model, Price, SpePriceCND, Detail1, Detail2, Detail3, Detail4, Detail5, Detail6, Detail7, Detail8, Category From Stocks Where ToNet=1 and Quantity>0 and Category=$Cat and Price>0 and Price!=1 and Status!=1 ORDER BY Price, Make, Model"; $db = mysql_connect($Server, $UserName, $Password); $result = mysql_db_query($Inventory[$Loc], $sql, $db); ?>
| =$Categories[$Cat]?> | ||
| Description | Price | |
|---|---|---|
| =$Description?> | =$CurSign[$Cur]?> =number_format($Price, 2)?> | Buy me |
Note: All prices are in =$Cur?> |
||