Quote:
Originally Posted by teedizz
|
https://vborg.vbsupport.ru/showpost....postcount=1001
I think I have it solved, but I don't use the vbcredits mod so I won't be sure until I post it and get some feedback.
Quote:
Originally Posted by teedizz
also, if i want to makethe background of $inpoker transparent, how would I edit this code to make it do so?
Thanks again and sorry to bug you..lol
|
Try this:
Code:
$pokertimeout = time() - 30;
$result = $db->query_read("SELECT count(userid) AS np FROM casino_texasholdem_whoisin WHERE lastcheck > $pokertimeout");
$row = $db->fetch_array($result);
$np = $row[np];
if($np > 0)
{
$inpoker = "
<table style='width:100%;'>
<tr><td>
There are currently $np users playing Texas Holdem. Click <a href='casino.php?do=texasholdem'>here</a> to join them.
</td></tr></table><br/>";
}