| ";
// Category List on Left Sidebar
echo"All Categories";
mysqli_select_db($mysqllink,"NewStore");
$result=mysqli_query($mysqllink, "SELECT * FROM ItemCat order by CategName");
while ($row=mysqli_fetch_row($result)) {
$CatLID=$row[0];
$CatName=$row[1];
echo "$CatName";
}
// Link to list admin products Ronda: 74.164.67.254 -- David D: 67.10.65.62 --24.162.13.220 --71.157.140.119 David H: 65.7.187.91
if (getenv("REMOTE_ADDR")=="65.7.187.91" || getenv("REMOTE_ADDR")=="76.30.177.214" || getenv("REMOTE_ADDR")=="71.157.140.119" || getenv("REMOTE_ADDR")=="24.162.13.220"){
echo" Admin Products";
}
echo " | ";
echo "| Name / Description | Price | | ";
// Main List of Applications
while ($row1=mysqli_fetch_row($result1)) {
$IIN = $row1[0];
$IIC = $row1[1];
$INM = $row1[3];
$CST = $row1[5];
$ISD = $row1[7];
$ICT = $row1[29];
if (!$CatID || strstr($ICT,$CatID)){
$cart_link = AddToCartLink($use_store, $IIC);
if ($cart_link != "INVALIDSTOREITEM") {
$colo=$colo+1;
if ($colo > 1){
$color = "BGcolor=#EAEAEA";$colo = 0;
}else{
$color = "BGcolor=#ffffff";
}
echo " | | $INM - [$IIC] |
$$CST |
| $ISD | ";
if ($IIC == "DDHHB4PALM101" && $use_store == "Handango"){
echo "Windows: Add to Cart
Macintosh: Add to Cart
| ";
}elseif ($IIC == "DDHHB4PALM301" && $use_store == "Handango"){
echo "Windows: Add to Cart
Macintosh: Add to Cart
| ";
}elseif ($IIC == "DDHHB4Desk501" && $use_store == "Handango"){
echo "Windows: Add to Cart
Macintosh: Add to Cart
| ";
}else{
echo "Add to Cart | ";
}
}
}
}
echo "
|