help here plzzzzz
Started on the old forum in July 2011 · view the original in the archive · old links redirect here
berty14 wrote: 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
with so many details... you'll surely get help... somewhere in year 2050...
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!
here's the script and the password codes r in ownerct .in the script
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>";
}
}