i got this script but i got 2 problems am not getting the the pass word to work on my owner tools and staff too n my pic gallery to upload n stay on the site
help here plzzzzz
Collapse
X
-
Originally posted by berty14 View Posti got this script but i got 2 problems am not getting the the pass word to work on my owner tools and staff too n my pic gallery to upload n stay on the siteIt's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
-
here's the script and the password codes r in ownerct .in the scriptAttached FilesLast edited by berty14; 26.07.11, 04:30.
Comment
-
Code:if($action=="ownauth") { addonline(getuid_sid($sid),"Owner Tools",""); echo "<head>"; echo "<title>Owner Tools</title>"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">"; echo "</head>"; echo "<body>"; echo "<p align=\"center\">"; $uid = getuid_sid($sid); echo "<p>"; echo "<center><b>Please Authenticate Yourself.<br/>Enter Password Below: </b>"; echo "<p><form action=\"ownercp.php?action=ownercp&sid=$sid\" method=\"post\"><br/><input id=\"inputText\" type=\"password\" name=\"apwd\" format=\"*x\" maxlength=\"35\"/><input id=\"inputButton\" type=\"submit\" value=\"Enter\"/>"; echo "</form></p></center>"; echo "</p>"; echo "<p align=\"center\">"; echo "<a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>"; echo "</p>"; echo "</body>"; } else if($action=="ownercp") { addonline(getuid_sid($sid),"Owner Tools",""); echo "<p align=\"center\">"; echo "<head>"; echo "<title>Owner Tools</title>"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">"; echo "</head>"; echo "<body>"; echo "<p align=\"center\">"; echo "<b>Owner Tools</b><br/>"; $nick = getnick_sid($sid); $apwd = $_POST["apwd"]; $uid = getuid_sid($sid); $apass = ""; // ownerpass change here if(isowner($uid)) { if(($apwd)==($apass)) { echo "<b><i>Logged in owner tools sucessfuly!!</i><br/><br/>"; echo "<form action=\"ownrproc.php?action=global&sid=$sid\" method=\"post\">"; echo "PM:<input name=\"pmtou\" maxlength=\"250\"/><br/>"; echo "TO:<select name=\"who\">"; echo "<option value=\"staff\">staff</option>"; echo "<option value=\"all\">all members</option>"; echo "</select><br/>"; echo "<input type=\"submit\" value=\"Update\"/>"; echo "</form>"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM ibwf_penalties WHERE penalty='1' OR penalty='2'")); echo "<a href=\"lists.php?action=banned&sid=$sid\">Banned($noi[0])</a><br/>"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM ibwf_penalties WHERE penalty='0'")); echo "<a href=\"lists.php?action=trashed&sid=$sid\">Trashed($noi[0])</a><br/>"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM ibwf_penalties WHERE penalty='2'")); echo "<a href=\"lists.php?action=ipban&sid=$sid\">Banned IPs($noi[0])</a><br/>"; $noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM ibwf_users WHERE validated='0'")); echo "<a href=\"ownercp.php?action=validatelist&sid=$sid\">Validate List($noi[0])</a><br/>"; echo "<a href=\"ownercp.php?action=general&sid=$sid\">General Settings</a><br/>"; echo "<a href=\"admincp.php?action=fcats&sid=$sid\">Forum Categories</a><br/>"; echo "<a href=\"admincp.php?action=forums&sid=$sid\">Forums</a><br/>"; echo "<a href=\"admincp.php?action=ugroups&sid=$sid\">User groups</a><br/>"; echo "<a href=\"ownercp.php?action=manmods&sid=$sid\">Manage Moderators</a><br/>"; echo "<a href=\"ownercp.php?action=addperm&sid=$sid\">Add permissions</a><br/>"; echo "<a href=\"ownercp.php?action=chuinfo&sid=$sid\">Change user info</a><br/>"; echo "<a href=\"ownercp.php?action=manrss&sid=$sid\">Manage RSS Sources</a><br/>"; echo "<a href=\"../users/themes.php?sid=$sid\">Add Wapsite Theme</a><br/>"; echo "<a href=\"../smilies/index.php?action=smilies&sid=$sid&script=xhtml\">add/del smilies</a><br/>"; echo "<a href=\"../avators/index.php?action=avators&sid=$sid\">Add/Del Avatars</a><br/>"; echo "<a href=\"ownercp.php?action=blocksites&sid=$sid\">Edit Blocked Sites</a><br/>"; echo "<a href=\"admincp.php?action=chrooms&sid=$sid\">Chatrooms</a><br/>"; echo "<a href=\"ownercp.php?action=clrdta&sid=$sid\">Clear Data</a><br/>"; echo "<a href=\"ownercp.php?sid=$sid&action=sesexp\">Boot Everybody</a><br/>"; echo "<a href=\"ownercp.php?sid=$sid&action=idlemembers\">Idle Members</a><br/>"; echo "</p>"; echo "<p align=\"center\">"; echo "<a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>"; echo "</p>"; echo "</body>"; } else { echo "<img src=\"../images/notok.gif\" alt=\"X\"/><b>Authorisation Failed!! <br/> Wrong Password! Try Again!</b><br/>"; $user = getnick_sid($sid); mysql_query("INSERT INTO ibwf_mlog SET action='wrong pw', details='<b>$user</b> wrong password for owner tools', actdt='".time()."'"); } } else{ echo "<i><b>You are not an Owner! Are You?<br/> So Get The Hell Out Of Here!</b></i>"; } }
Comment
Comment