/----------------------BODY---------------------//>
require("inc/head_mog.php"); ?>
|
/----------------------NAV---------------------//>
require("inc/nav_mog_all.php"); ?>
/----------------------NAV---------------------//>
|
|
/----------------------SUB_BODY---------------------//>
$type = $_GET['type'];
$category = $_GET['category'];
$name = $_GET['name'];
$result = mysql_query ("SELECT * FROM category WHERE type = '$type' AND category = '$category'");
while($row = mysql_fetch_array($result)) {
$type=$row['type'];$name=$row['name'];$desc=$row['desc'];$pic=$row['pic'];
$category=$row['category'];$id=$row['id'];$words=$row['words'];
if ($name) { print "MOG Implements - $name
";}
if ($words) { print "$words ";}
}if ($type == '') { print "Title not active yet"; }
?>
$type = $_GET['type'];
$category = $_GET['category'];
$result = mysql_query ("SELECT * FROM products WHERE type = '$type' AND category = '$category' ORDER BY rank");
while($row = mysql_fetch_array($result)) {
$type=$row['type'];$name=$row['name'];$desc=$row['desc'];$pic=$row['pic'];$doc=$row['doc'];
$category=$row['category'];$id=$row['id'];
$desc_limit = limit_text( $desc,175 );
if ($pic) { print " | ";}
if ($name) {echo "$name $desc_limit... [read further]
[$name Spec Sheet]
| ";}
}if ($pic == '') { print "There are no products that match that category."; }
?>
|
/----------------------SUB_BODY---------------------//>
|
/----------------------BODY---------------------//>
|