" type="text/css">
onload="" onload="hbquota()" > 0) { $lock = new \Nexus\Database\NexusLock("shoutbox:$userid", 60); } else { $lock = new \Nexus\Database\NexusLock("shoutbox:" . getip(), 60); } if (!$lock->acquire()) { die($lang_shoutbox['speaking_too_often']); } sql_query("INSERT INTO shoutbox (userid, date, text, type) VALUES (" . sqlesc($userid) . ", $date, " . sqlesc($text) . ", ".sqlesc($type).")") or sqlerr(__FILE__, __LINE__); print ""; } } $limit = ($CURUSER['sbnum'] ?? 70); if ($where == "helpbox" && $showhelpbox_main == 'yes') { //request helpbox, not require login $sql = "SELECT * FROM shoutbox WHERE type='hb' ORDER BY date DESC LIMIT ".$limit; } elseif ($where == "shoutbox" && isset($CURUSER) && ($CURUSER['hidehb'] == 'yes' || $showhelpbox_main != 'yes')) { //request shoutbox, exclude helpbox content, require login $sql = "SELECT * FROM shoutbox WHERE type='sb' ORDER BY date DESC LIMIT ".$limit; } elseif (isset($CURUSER)) { $sql = "SELECT * FROM shoutbox ORDER BY date DESC LIMIT ".$limit; } else { die("".$lang_shoutbox['std_access_denied_note']."