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);
$which = intval($_POST["which"]);
if ($which) {
$query="SELECT topic FROM bbs_topics WHERE id=".$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
=$o->topic ? htmlcleanonerow($o->topic) : $_POST["topic"]?>
|
print(parse_message($_POST["message"])); ?>
|
">
|
|