$path="../";
include ($path."data/functions.php");
//echo $zepath;
$c="http://".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['REQUEST_URI'];
$c=substr($c,strlen($zepath."products/"));
if (substr($c,-5)==".html") $c=substr($c,0,-5);
$query=mysql_query("select * from products where name like '".escape_mysql_string($c)."'");
if (mysql_num_rows($query)>0) {
$r=mysql_fetch_array($query);
printheader ("Neon Drive Product | ".$r[name], 1);
print_calea ($r[name], 'products|'.$r[name], 'products.html|products/'.url($r[name]).'.html');
?>
if ($r[part_no]<>"") echo 'Part No.: '.$r[part_no].' ';
if ($r[type]<>"") echo 'Type: USB '.$r[type].' ';
if ($r[package]<>"") echo 'Package: '.$r[package].' ';
$specs='';
$speclist=explode("\n", $r[specs]);
for ($x=0; $x'.$speclist[$x]." \n";
if ($r[specs]<>"") echo 'Specifications: '.$specs.' ';
if ($r[style]<>"") {
echo 'Styles: ';
$styles="where name='".str_replace(",","' or name='",$r[style])."'";
$query=mysql_query("select * from style $styles order by name");
while ($res=@mysql_fetch_array($query)) {
echo ''.$res[name].' ('.$res[size].')';
print_style();
}
}
if ($r[drivers]<>"") {
echo 'Download: ';
$drivers="where name='".str_replace(",","' or name='",$r[drivers])."'";
$query=mysql_query("select * from drivers $drivers order by name");
echo '
Name
Specifications/Download
';
while ($res=@mysql_fetch_array($query)) {
echo '