this line goes into modcp under $action=="user"
echo "<a href="admproc.php?action=boot&sid=$sid&who=$who">Boot</a> ";
this next code goes into admproc
if($action=="boot") { $who = $_GET["who"]; $user = getnick_uid($who); echo "<card id="main" title="Admin Tools">"; echo " "; $uid = getuid_sid($sid); $perm = mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE id='".$uid."'")); $trgtperm = mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE name='".$user."'")); if($trgtperm>$perm){ echo "<img src="../images/notok.gif" alt="x"/> Error!!! Permission Denied... "; echo " U Cannot Boot $user "; echo "<a href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>"; echo " "; }else{ echo " "; $res = mysql_query("DELETE FROM ibwf_ses WHERE uid='".$who."'"); if($res) { mysql_query("INSERT INTO ibwf_mlog SET action='boot', details='".getnick_uid(getuid_sid($sid))." booted $user', actdt='".time()."'"); echo "<img src="../images/ok.gif" alt="O"/>$user Booted successfully"; }else{ echo "<img src="../images/notok.gif" alt="X"/>Error booting $user"; } echo "
<a href="index.php?action=viewuser&who=$who&sid=$sid">$user's Profile</a> "; echo "<a href="admincp.php?action=admincp&sid=$sid"><img src="../images/admn.gif" alt=""/>Admin Tools</a> "; echo "<a href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>"; echo " "; } echo "</card>"; } this will allow a boot tool where mods cannot boot admin but admin can boot mods and same with owner if u hav that level might want to add that part to rest ya tools i redid all mine this way its much more secure