require("include/misc.php");
require("include/libbb.php");
session_start();
conn_db();
$user = array();
$customid = $_SESSION["SCENEID_ID"];
$result=mysql_query(sprintf('select displayimages from usersettings where id=%d',$customid));
$usersettings=mysql_fetch_assoc($result);
if (!$usersettings) {
$result=mysql_query(sprintf('select displayimages from usersettings where id=11057',$customid));
$usersettings=mysql_fetch_assoc($result);
}
$user=array_merge($user,$usersettings);
$query=sprintf("SELECT name FROM prods WHERE id=%d",$which);
$result=mysql_query($query) or die(mysql_error());
//$topictitle=htmlcleanonerow(mysql_result($result,0));
$o = mysql_fetch_object($result);
?>
pouet.net BBS :: preview :: because broken bbcode makes ps cry