View Full Version : Admin Panel
madchild24
24-11-2005, 09:48 PM
is there a tutorial to make a admin panel in php?
prooferably that i can modify to work with my member script
pechie100
24-11-2005, 09:49 PM
ask HabboAid.co.uk
Temporary
24-11-2005, 09:53 PM
Lol. you have to make your own admin script to fit the members system.
Like view ip's, and make a ip log and a banning system
Splinter
25-11-2005, 05:25 PM
yep "/ it would all depend on your user system.
Luckyrare
25-11-2005, 05:32 PM
Admin panel... As the others said...
Forum administation? User administation? Housekeeping administation?
We need to no what :P
madchild24
25-11-2005, 05:55 PM
user admin and mine is techtuts
Dan Williamson
26-11-2005, 02:18 PM
TechTuts.
Why use another persons?
Why not create your own it's not terribly difficult.
I've spend around a week on mine with very short periods of time on the computer and i've almost finished it.
- Dan
Dentafrice1
26-11-2005, 02:21 PM
Same here... I worked out a cheezy admin panel to view IPs Names, Usernames Passwords everything but im trying to get it to edit them
Dan Williamson
26-11-2005, 02:22 PM
My membership script has an ability to send them forgot passwords and change their registered E-main, yet i've not put in a change password script.
- Dan
Dentafrice1
26-11-2005, 02:23 PM
Yea i have all that cept the change PW and if i had that i could make the admin edit script :S *thinks, google*
Dan Williamson
26-11-2005, 02:27 PM
LOL.
It shouldn't be too hard to make :)
- Dan
Dentafrice1
26-11-2005, 02:29 PM
Why don't you help me make it? :p Then i wouldn't have to bug Mentor on Google talk
Dan Williamson
26-11-2005, 02:32 PM
LOL.
I'm busy on my script :)
As well as an affiliate and advertisment script, coding and finishing tweaks to the design and skinning a forum for my site "/
- Dan
Dentafrice1
26-11-2005, 02:32 PM
DANG *worth a try.* ok :(
Dan Williamson
26-11-2005, 02:37 PM
LOL.
No problems, i'm sure there will be a script under PHP > Membership Scripts on www.Pixel2life.com
- Dan
Dentafrice1
26-11-2005, 02:38 PM
I use that place all the time :D It rocks
Dan Williamson
26-11-2005, 02:45 PM
Totally :)
I'm a big fan, it helps me when i'm stuck on stuff :)
- Dan
Dentafrice1
26-11-2005, 02:46 PM
Yea me too sometimes have u seen the tutorial on biorust.com the membership system?? It rocks
madchild24
26-11-2005, 02:48 PM
lol i could never get it to work oh well anyway.
Dentafrice1
26-11-2005, 02:48 PM
You couldnt?? Heres a demo www.habbonewsie.net/member
madchild24
26-11-2005, 02:56 PM
i tried the one on phpfreaks wth is with it it has way to much junk
Dan Williamson
26-11-2005, 02:57 PM
Thats a nice tutorial :)
- Dan
madchild24
26-11-2005, 03:00 PM
nice member system kevin lol u guys now any sumbit scripts like to submit tutorials
(im adding it on to my member system)
Dentafrice1
26-11-2005, 03:02 PM
Nope..
Rare ive got the edit but i need it when i click edit on the admin panel:
echo "<td with=\"130\"><div alight=\"center\"><form name=\"edit\" method=\"get\" acton=\"edit.php\"><input name=\"id\" type=\"hidden\" value=\"$id\" /><input name=\"edit\" type=\"submit\" value=\"Edit\" /></form></div></td>";
that on edit.php:
<?
include("adminconfig.php");
$profile = mysql_query("SELECT * from Users where Username = '$id'");
// the above lines get the information so that it can be displayed in the html form.
echo("
<center><form method=\"POST\">
<table width=\"100%\">
<tr>
<td align=\"right\" width=\"25%\">
Name
</td>
<td align=\"left\">
<input type=\"text\" size=\"25\" maxlength=\"25\" name=\"name\" value=\"$profile[Name]\"></td>
</tr>
<tr>
<td align=\"right\" width=\"25%\">
Username
</td>
<td align=\"left\">
<input size=\"25\" name=\"username\" value=\"$profile[Username]\"></td>
</tr>
<tr>
<td align=\"right\" width=\"25%\">
Password</td>
<td align=\"left\">
<input size=\"25\" name=\"password\" value=\"$profile[Password]\"></td>
</tr>
<tr>
<td align=\"right\" width=\"25%\">
Activated</td>
<td align=\"left\">
<input size=\"25\" name=\"act\" value=\"$profile[Activated]\"></td>
</tr>
<tr>
<td align=\"right\" width=\"25%\">
Email</td>
<td align=\"left\">
<input size=\"25\" name=\"email\" value=\"$profile[Email]\"></td>
</tr>
<tr>
<td align=\"center\">
</td>
<td align=\"left\">
<input type=\"submit\" name=\"update\" value=\"Update\"></td>
</tr>
</table>
</form>
</center>");
$Users = mysql_query("SELECT * FROM Users ORDER BY id DESC") or die("Error: Cannot execute query.");
$id=mysql_result($Users,$i,"id");
$email = htmlspecialchars($_POST[Email]);
$name = htmlspecialchars($_POST[Name]);
$username = htmlspecialchars($_POST[Username]);
$password = htmlspecialchars($_POST[Password]);
$date = htmlspecialchars($_POST[Password]);
$act = htmlspecialchars($_POST[Activated]);
// the above lines get rid of all html.
echo ("Uodated");
$update = mysql_query("Update Users set Email = '$email', Name = '$name', Username = '$username', Password = '$password', Date = '$date', Activated = '$act', where Username = '$id'");
// updates the information in the database.;
?>
It shows the info in the correct fields
Dan Williamson
26-11-2005, 03:07 PM
Nope..
Rare ive got the edit but i need it when i click edit on the admin panel:
echo "<td with=\"130\"><div alight=\"center\"><form name=\"edit\" method=\"get\" acton=\"edit.php\"><input name=\"id\" type=\"hidden\" value=\"$id\" /><input name=\"edit\" type=\"submit\" value=\"Edit\" /></form></div></td>";
that on edit.php:
<?
include("adminconfig.php");
$profile = mysql_query("SELECT * from Users where Username = '$id'");
// the above lines get the information so that it can be displayed in the html form.
echo("
<center><form method=\"POST\">
<table width=\"100%\">
<tr>
<td align=\"right\" width=\"25%\">
Name
</td>
<td align=\"left\">
<input type=\"text\" size=\"25\" maxlength=\"25\" name=\"name\" value=\"$profile[Name]\"></td>
</tr>
<tr>
<td align=\"right\" width=\"25%\">
Username
</td>
<td align=\"left\">
<input size=\"25\" name=\"username\" value=\"$profile[Username]\"></td>
</tr>
<tr>
<td align=\"right\" width=\"25%\">
Password</td>
<td align=\"left\">
<input size=\"25\" name=\"password\" value=\"$profile[Password]\"></td>
</tr>
<tr>
<td align=\"right\" width=\"25%\">
Activated</td>
<td align=\"left\">
<input size=\"25\" name=\"act\" value=\"$profile[Activated]\"></td>
</tr>
<tr>
<td align=\"right\" width=\"25%\">
Email</td>
<td align=\"left\">
<input size=\"25\" name=\"email\" value=\"$profile[Email]\"></td>
</tr>
<tr>
<td align=\"center\">
</td>
<td align=\"left\">
<input type=\"submit\" name=\"update\" value=\"Update\"></td>
</tr>
</table>
</form>
</center>");
$Users = mysql_query("SELECT * FROM Users ORDER BY id DESC") or die("Error: Cannot execute query.");
$id=mysql_result($Users,$i,"id");
$email = htmlspecialchars($_POST[Email]);
$name = htmlspecialchars($_POST[Name]);
$username = htmlspecialchars($_POST[Username]);
$password = htmlspecialchars($_POST[Password]);
$date = htmlspecialchars($_POST[Password]);
$act = htmlspecialchars($_POST[Activated]);
// the above lines get rid of all html.
echo ("Uodated");
$update = mysql_query("Update Users set Email = '$email', Name = '$name', Username = '$username', Password = '$password', Date = '$date', Activated = '$act', where Username = '$id'");
// updates the information in the database.;
?>
It shows the info in the correct fields
What do you mean?
- Dan
Dentafrice1
26-11-2005, 03:07 PM
Hey let me pm you some details real fast
madchild24
26-11-2005, 03:09 PM
Nope..
// the above lines get rid of all html.
echo ("Uodated");
$update = mysql_query("Update Users set Email = '$email', Name = '$name', Username = '$username', Password = '$password', Date = '$date', Activated = '$act', where Username = '$id'");
// updates the information in the database.;
?>
It shows the info in the correct fields
spelling mistake m8
u ahve Uodated i think u want Updated
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.