Please can anybody give the original ibwf_online, i rewrite mine lol.
Ibwf_online
Collapse
X
-
you mean you broke it right?? lolVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
-
I am using lava by my table is rewrite by me and is working fine. And i dont want to use lava anymore, i want to rewrite all the table back and post my lavascript here. Before i clean my server for my new script.Last edited by adex3g; 16.02.11, 22:18.
Comment
-
Code:else if($action=="online") { addonline(getuid_sid($sid),"Online List",""); echo "<card id=\"main\" title=\"ONLINE\">"; //////ALL LISTS SCRIPT << if($page=="" || $page<=0)$page=1; $num_items = getnumonline(); //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if($page>$num_pages)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; //changable sql $sql = "SELECT a.name, b.place, b.userid FROM ibwf_users a INNER JOIN ibwf_online b ON a.id = b.userid GROUP BY 1,2 LIMIT $limit_start, $items_per_page "; echo "<p align=\"center\">"; $timeout = 180; $timeon = time()-$timeout; $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE perm>'0' AND lastact>'".$timeon."'")); echo "Staff Online: <a href=\"index.php?action=stfol&sid=$sid\">".$noi[0]."</a>"; echo "<br/></p>"; echo "<p><small>"; $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) { $getsex = mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id='".$item[2]."'")); if($getsex[0]=="M") { $sexicon = "<img src=\"images/male.gif\" alt=\"M\"/>"; }else if($getsex[0]=="F") { $sexicon = "<img src=\"images/female.gif\" alt=\"F\"/>"; }else{ $sexicon = ""; } $lnk = "".$sexicon."<a href=\"index.php?action=viewuser&who=$item[2]&sid=$sid\">$item[0]</a>"; echo "$lnk - $item[1] <br/>"; } echo "</small></p>"; echo "<p align=\"center\">"; if($page>1) { $ppage = $page-1; echo "<a href=\"index.php?action=online&page=$ppage&sid=$sid\">«PREV</a> "; } if($page<$num_pages) { $npage = $page+1; echo "<a href=\"index.php?action=online&page=$npage&sid=$sid\">Next»</a>"; } echo "<br/>$page/$num_pages<br/>"; if($num_pages>2) { echo getjumper($action, $sid,"index"); } echo "</p>"; ////// UNTILL HERE >> echo "<p align=\"center\">"; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>"; echo "</card>"; }
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
thats our jobs help and keep things clean. lolVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
original ibwf_online
Code:-- -------------------------------------------------------- -- -- Table structure for table 'ibwf_online' -- DROP TABLE IF EXISTS ibwf_online; CREATE TABLE IF NOT EXISTS ibwf_online ( id int(10) NOT NULL auto_increment, userid int(100) NOT NULL default '0', actvtime int(100) NOT NULL default '0', place varchar(50) NOT NULL default '', placedet varchar(255) NOT NULL default '', PRIMARY KEY (id), UNIQUE KEY userid (userid) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- --------------------------------------------------------
Comment
Comment