function DisplayCategoryItemsFunction($category, $productsubtype, $ringflag)
{
include 'db.inc';
// $hostname = "localhost";
// $username = "raruDBuser";
// $password = "taez";
// $databasename = "raruDB";
// $category = $_COOKIE["category"];
// $instocksubtype = $_COOKIE["instocksubtype"];
// if (!isset($_COOKIE["category"])) { $_COOKIE["category"] = null; }
// $category = $_COOKIE["category"];
// $category = "Wedding Bands";
// $instocksubtype = "Celtic Wedding Bands";
// $instocksubtype = "";
// echo "default category is ".$category."
";
try
{
if ($ringflag!='1' && $ringflag!='0')
{
$ringflag='0';
}
$objDB = new raruDB($hostname, $username, $password, $databasename);
$objDB->connect();
echo "
".$instocksubtype." | "; } echo "".$name." | "; echo ""; echo "||||||||||
Product Number | "; if ($ringflag=='1') { echo "Ring Size | "; } echo "Metal | "; echo "Description | "; echo "Clickable Image | "; echo "Retail Price | "; echo ""; echo "||||||
Special Sale $".number_format($saleprice).""; } else { echo $row["WebComments"]; } } else { echo " "; } // echo ""; echo " | ";
if ($row["ImageFlag"])
{
$height = $row["ImageHeight"]+185+30;
$width = $row["ImageWidth"]+33+15;
$producttype = strtolower($row["ProductType"]);
echo "";
$src = "http://www.raru.com/products/images/".$producttype."/".$row["productID"]."TN.jpg";
echo ""; echo ""; echo ""; echo ""; echo " | "; } else { echo "
In a rush? View our in stock pendants, religious items, gemstone rings or wedding bands.
|
Bracelets Gents Jewelry Earrings Engagement Rings Necklaces |
Pendants Religious Items Rings Wedding Bands Celtic Wedding Bands |