count_rows("SELECT uid FROM b_mainchatmem WHERE roomid='1' AND time>'$chattime' "); $two=$db->count_rows("SELECT uid FROM b_mainchatmem WHERE roomid='2' AND time>'$chattime' "); $three=$db->count_rows("SELECT uid FROM b_mainchatmem WHERE roomid='3' AND time>'$chattime' "); $four=$db->count_rows("SELECT uid FROM b_mainchatmem WHERE roomid='4' AND time>'$chattime' "); $five=$db->count_rows("SELECT uid FROM b_mainchatmem WHERE roomid='5' AND time>'$chattime' "); print "
Chat Rooms
"; print "
"; print "MSPN Live($one)"; print "
"; print "Friends($two)
"; print "
"; print "Party($three)
"; print "
"; print "Romance($four)
"; print "
"; print "Single's Bar($five)
"; print "
"; include "footer.php"; } else { include "login.php"; } ?>