" type="text/css">
onload="" onload="hbquota()" > parent.document.forms['shbox'].shbox_text.value='';"; } } $limit = ($CURUSER['sbnum'] ? $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" && $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 ($CURUSER) { $sql = "SELECT * FROM shoutbox ORDER BY date DESC LIMIT ".$limit; } else { die("".$lang_shoutbox['std_access_denied_note']."