Register for your free account! | Forgot your password?

You last visited: Today at 12:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Website

Discussion on Website within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
Thorlon's Avatar
 
elite*gold: 100
Join Date: Mar 2011
Posts: 620
Received Thanks: 409
Smile Website

Hello everyone,

Just a question, does anyone have a admin control panel that you can run on your website.
e.g. If i am a staff member, i can log in to this "control panel" that will allow me to do things like ban/mute etc.. using my acc that is in the database.

If someone has a thead or can make one for me please reply.

Thanks
---------------------------------------------------------------
These are the thing i need for the rest of my cp. Which will be an add on to a website. If someone would like to be a part of this PM me.

Login to CP script using acc in database: need help with that lol
Change password script: (Recived) = Thanks sword.
Ban/mute script: (Havent Recived)
Change Vip Script: (Havent Recived)
Bot jail script: (Havent Recived)
Run a query in selected datbase Script: (Havent Recived)
Ban list Script: (Havent Recived)
Any more ideas post below.
Thanks
Thorlon is offline  
Old 07/18/2011, 15:59   #2
 
~Sword~Stalker~.'s Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,784
Received Thanks: 1,054
E.M.E made one before with a CP . dont remember if its still alive
~Sword~Stalker~. is offline  
Thanks
1 User
Old 07/18/2011, 23:20   #3
 
Thorlon's Avatar
 
elite*gold: 100
Join Date: Mar 2011
Posts: 620
Received Thanks: 409
Quote:
Originally Posted by ~Sword~Stalker~. View Post
E.M.E made one before with a CP . dont remember if its still alive
I hope so, if its not then i would like to help someone make one, because i dont have the skill to do it on my own but I would love to help someone.
I will have a look tru the websites and c if i can find one with a CP.
Thanks
-------------------------------------------------------------------------------
Found nothing, would someone like to PM if they are intrested in making a CP with html for a website
Thanks
Thorlon is offline  
Old 07/19/2011, 00:24   #4
 
elite*gold: 0
Join Date: Feb 2010
Posts: 265
Received Thanks: 324
Quote:
Originally Posted by ~Sword~Stalker~. View Post
E.M.E made one before with a CP . dont remember if its still alive
i belive the download link was dead
no_1 is offline  
Thanks
1 User
Old 07/19/2011, 00:34   #5
 
~Sword~Stalker~.'s Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,784
Received Thanks: 1,054
Code:
<script type="text/javascript" src="inc/md5.js"></script>
<?php
include('config.php');
  ?>
<form method="post">
<TABLE align="center">
<tr><td>
<br />
Enter the correct info and your password will be changed. For the email, it will be the one you used to sign up with.<tr><td>
<tr><td align="center">Login Name:</tr></td>
<tr><td align="center"><input type="text" size="20" name="userc"/></tr></td>
<tr><td align="center">Current Password:</tr></td>
<tr><td align="center"><input type="hidden" name="hash1">
<input type="password" size="20" name="curpass" onBlur="hash1.value=login(curpass.value)"/></tr></td>
<tr><td align="center">New Password:</td></tr>
<tr><td align="center"><input type="password" size="20" name="newpas"/></td></tr>
<tr><td align="center">Retype New Password:</td></tr>
<tr><td align="center"><input type="password" size=\"20\" name="renew"/></td></tr>
<tr><td align="center">
<input type="hidden" name="hash"><input class=Butt type=submit onClick="hash.value = login(newpas.value)" value="Change Password" name=B1>
</td></tr>
</TABLE>
</form>

<?php
            if($_POST['B1'])
            {
            mysql_select_db($mydbacc);
                    $userid = trim($_POST['userc']);
                    $password=trim($_POST['curpass']);
                    $passretype=trim($_POST['repass']);
                    $hash=$_POST['hash'];
                    $hash1=$_POST['hash1'];
                    $newpass = trim($_POST['newpas']);
                    $renewpass = trim($_POST['renew']);
                    $sql = "SELECT * FROM account WHERE name='$userid'";
                    $query = mysql_query($sql) or die(mysql_error());
                    $row = mysql_fetch_object($query);
                    $curpass = htmlspecialchars($row->password);

$res = mysql_query("select * from account where name = '".$userid."' order by id desc");
                                if(mysql_num_rows($res) == 0)
                                {
                                Echo "Sorry that username doesnt exist";
                                }else{
                if($hash1 != $curpass)
                    {
                        echo "Your current password was typed wrong";
                    }
                    else{
                    if($newpass != $renewpass)
                    {
                        echo "Your New paswords dont match";
                    }
                    else{
                    $sql = "UPDATE account SET password='$hash' WHERE name='$userid'";
                    $query = mysql_query($sql) or die(mysql_error());

                                    echo "Password Changed correctly ";


                    }


                    }

}
}

            ?></div>
thanks to .Ash

Regards
~Sword~Stalker~. is offline  
Thanks
1 User
Old 07/19/2011, 00:59   #6
 
Thorlon's Avatar
 
elite*gold: 100
Join Date: Mar 2011
Posts: 620
Received Thanks: 409
Quote:
Originally Posted by ~Sword~Stalker~. View Post
Code:
<script type="text/javascript" src="inc/md5.js"></script>
<?php
include('config.php');
  ?>
<form method="post">
<TABLE align="center">
<tr><td>
<br />
Enter the correct info and your password will be changed. For the email, it will be the one you used to sign up with.<tr><td>
<tr><td align="center">Login Name:</tr></td>
<tr><td align="center"><input type="text" size="20" name="userc"/></tr></td>
<tr><td align="center">Current Password:</tr></td>
<tr><td align="center"><input type="hidden" name="hash1">
<input type="password" size="20" name="curpass" onBlur="hash1.value=login(curpass.value)"/></tr></td>
<tr><td align="center">New Password:</td></tr>
<tr><td align="center"><input type="password" size="20" name="newpas"/></td></tr>
<tr><td align="center">Retype New Password:</td></tr>
<tr><td align="center"><input type="password" size=\"20\" name="renew"/></td></tr>
<tr><td align="center">
<input type="hidden" name="hash"><input class=Butt type=submit onClick="hash.value = login(newpas.value)" value="Change Password" name=B1>
</td></tr>
</TABLE>
</form>

<?php
            if($_POST['B1'])
            {
            mysql_select_db($mydbacc);
                    $userid = trim($_POST['userc']);
                    $password=trim($_POST['curpass']);
                    $passretype=trim($_POST['repass']);
                    $hash=$_POST['hash'];
                    $hash1=$_POST['hash1'];
                    $newpass = trim($_POST['newpas']);
                    $renewpass = trim($_POST['renew']);
                    $sql = "SELECT * FROM account WHERE name='$userid'";
                    $query = mysql_query($sql) or die(mysql_error());
                    $row = mysql_fetch_object($query);
                    $curpass = htmlspecialchars($row->password);

$res = mysql_query("select * from account where name = '".$userid."' order by id desc");
                                if(mysql_num_rows($res) == 0)
                                {
                                Echo "Sorry that username doesnt exist";
                                }else{
                if($hash1 != $curpass)
                    {
                        echo "Your current password was typed wrong";
                    }
                    else{
                    if($newpass != $renewpass)
                    {
                        echo "Your New paswords dont match";
                    }
                    else{
                    $sql = "UPDATE account SET password='$hash' WHERE name='$userid'";
                    $query = mysql_query($sql) or die(mysql_error());

                                    echo "Password Changed correctly ";


                    }


                    }

}
}

            ?></div>
thanks to .Ash

Regards
That is a change password script,which i have already but thanks anyway
lol and .Ash
Quote:
Originally Posted by no_1 View Post
i belive the download link was dead
Yea i see thanks for the link.









Request close#
Thorlon is offline  
Reply

Tags
admin, admin panel, help -, web




All times are GMT +2. The time now is 12:09.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.