Originally posted by Ponick
View Post
else if ($action=="uchat") {
addonline(getuid_sid($sid),"Select Room","");
echo "<card id=\"t\" title=\"Room\">";
echo "<p align=\"left\">";
echo "<img src=\"images/logo.gif\" alt=\"x\"/><br/>";
echo "roomlist<br/>";
$rooms = mysql_query("SELECT id, name, perms, mage, chposts FROM ibwf_rooms WHERE static='1' AND clubid='0'");
while ($room= mysql_fetch_array($rooms))
{
if(canenter($room[0], $sid))
{
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline WHERE rid='".$room[0]."'"));
echo "<a href=\"chat.php?sid=$sid&rid=$room[0]\">$room[1]($noi[0])</a><br/>";
}
}
echo "</p>";
echo "</card>";
now what to do? please
Comment