require("include/top.php");
$query ="SELECT * FROM othernfos WHERE id=".$which;
$result = mysql_query($query);
$prod = mysql_fetch_array($result);
if ($prod["type"]=="group") $query="SELECT name FROM groups WHERE id=".$prod["refid"];
else $query="SELECT name FROM bbses WHERE id=".$prod["refid"];
$result=mysql_query($query);
$tmp=mysql_fetch_array($result);
$prod["name"]=$tmp["name"];
if(!$f) $f=1;
?>
print(stripslashes($prod["name"])); ?>
|
if($f=='none'): ?>
readfile('othernfo/'.$which.'.nfo'); ?>
else: ?>
endif; ?>
|
|
$txt=array("dos 80*25","dos 80*50","rez's ascii","amiga medres","amiga hires");
print("[ "); ?>
html
for($i=0;$i<=count($txt)-1;$i++): ?>
| =$txt[$i]?>
endfor;
print(" ]"); ?>
|
if ($prod["type"]=="group"): ?> [ ">back to the group ]
else: ?> [ ">back to the bbs ]
endif; ?>
|
|
|
require("include/bottom.php"); ?>