Cr8 a file and put dis code in the file you creat

Code
<?php
error_reporting(0);
 
/*
salute to ma oga's
hack3i , judinho , hakorede,
gander, chistel
*/
 
require("init.php");
?><?php
echo "<title>$config->title &raquo; onlineforum Installation</title>";
echo "<div class=\"body_width\">";
echo "<div class=\"page_wrapper clearfix\">";
echo "<div class=\"b_head\">";
echo "onlineforum Installation</div><br>";
 
$insert=mysql_query("CREATE TABLE IF NOT EXISTS `b_onlineforum` (
`id` text COLLATE latin1_general_ci NOT NULL,
`time` text COLLATE latin1_general_ci NOT NULL,
`carthex` text COLLATE latin1_general_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci");
 
if(!$insert) {
header("location: index.php?msg=Error Contact carthex");
} else {
header("location: index.php?msg=onlineforum Installed!,visit spyloaded");
}
include "footer.php";
echo "</body>";
?></html>

Download Now
  • Date: Apr 04, 2013

Go to showtopic in your forum
look for this code

if($tnum==0)
{ header("location: topics.php"); }
$tinfo=mysql_fetch_assoc($tquery);
$fid=$tinfo["forumid"];
$title=$tinfo["subject"];
$author=$tinfo["poster"];
$tmessage=$tinfo["message"];
$postp=user_info($author,posts);
$tmessage=bbcode($tmessage);
$tmessage=cleanvalues($tmessage);
$tmessage=smiley($tmessage);
$locked=$tinfo["locked"];
$tdate=$tinfo["date"];
$tdate=date("D d M Y", $tdate);
$tid=$tinfo["id"];

and paste this code under it


Code
//$ctimeout=$ctimenow-$ctimeto;
mysql_query("DELETE FROM b_onlineforum WHERE carthex='$user'");
$insert=mysql_query("INSERT INTO b_onlineforum SET time='$time', carthex='$user', id='$id'");
if(!$insert)
{
mysql_query("UPDATE b_onlineforum SET time='$time', carthex='$user', id='$id'");
}

  • Date: Apr 04, 2013

Paste this code wherever you want your online user to display


Code
$onlinequery=mysql_query("SELECT DISTINCT * FROM b_onlineforum WHERE id=$id");
 echo"<ul><li><select><option>PEOPLE THAT ARE IN FORUM</option>";
 while([email protected]_fetch_array($onlinequery))
 {
 $carthex=$row["carthex"];
 echo"<option>$carthex</option>";
 }
 echo"</select></li></ul>";

after you have finished with dos codes

RUNZ YOUR SITE WITH THE FILE YOU CR8 4 UR TABLE SO AS TO INSTALL THE DATABASE.