i think u must put it in genproc.php
Are iam write ??

Or i must put i in index.php ??[/b]
Code:
//////////////////////////////////////////shout else if($action=="shout") { $shtxt = $_POST["shtxt"]; addonline(getuid_sid($sid),"Shouting",""); echo "<card id=\"main\" title=\"Shout\">"; echo "<p align=\"center\">"; if(getplusses(getuid_sid($sid))<75) { echo "<img src=\"images/notok.gif\" alt=\"X\"/>You should have at least 75 plusses to shout!"; }else{ $shtxt = $shtxt; //$uid = getuid_sid($sid); $shtm = time(); $antiflood = 10;/// anti flood time $lastshout = mysql_fetch_array(mysql_query("SELECT MAX(shtime) FROM ibwf_shouts WHERE shouter='".$uid."'")); $shoutfl = $lastshout[0]+$antiflood; if(ismod($uid))$shoutfl=0; if($shoutfl<$tm) { $res = mysql_query("INSERT INTO ibwf_shouts SET shout='".$shtxt."', shouter='".$uid."', shtime='".$shtm."'"); if($res) { $shts = mysql_fetch_array(mysql_query("SELECT shouts from ibwf_users WHERE id='".$uid."'")); $shts = $shts[0]+1; mysql_query("UPDATE ibwf_users SET shouts='".$shts."' WHERE id='".$uid."'"); echo "<img src=\"images/ok.gif\" alt=\"O\"/>Shout added successfully"; }else{ $rema = $shoutfl - $tm; echo "<img src=\"images/notok.gif\" alt=\"X\"/>"; echo "Flood control: $rema Seconds "; } }else{ echo "<img src=\"images/notok.gif\" alt=\"X\"/>Database Error"; } } echo " <a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>"; echo "</card>"; }


Or i must put i in index.php ??[/b]
Comment