Junior Spellweaver
- Joined
- Dec 15, 2015
- Messages
- 139
- Reaction score
- 35
MinBie Admin Panel V0.2
What's MinBie Admin Panel?
- This is a release of my first PHP project, It's using bootstrap as design, The codes are not organized as I were making this for a retro, But when I was done, He changed CMS and used ASE. But this is a great project for me to learn better PHP.What's MinBie Admin Panel?
Features?
- Dash->Latest Users, Latest Changes within MBAP, and latest logins.- News->Edit,create, and delete.
- Users->Search, Pick a user to edit, Edit users[Username displays as blocked, E-Mail, Rank, Motto, Credits, Pixels, Shells and IP displays as blocked.].
- Chatlog, Search for a users chatlog or see all, Limit
Emulator?
- The main emulator for this project are Phoenix, But I will edit to the latest emulators and post downloads for them too.Login?
- The login is the part where you have to edit for your self, By default there's a login with username and password, This will be taken from table users, Then if the person has logged in and are over rank 5, It will display a PIN login, This pin do you need to edit for every staff by yourself for security.Screenshots?
Login -
PIN Login -
Dash -
Edit News List -
Edit News -
Create News -
Delete News -
Confirm Del -
User Edit List -
User Edit -
Download
Phoenix - V0.1:
Login -
You must be registered to see links
PIN Login -
You must be registered to see links
Dash -
You must be registered to see links
Edit News List -
You must be registered to see links
Edit News -
You must be registered to see links
Create News -
You must be registered to see links
Delete News -
You must be registered to see links
Confirm Del -
You must be registered to see links
User Edit List -
You must be registered to see links
User Edit -
You must be registered to see links
Download
You must be registered to see links
Plus - V0.1 :
You must be registered to see links
Phoenix - V0.2:
You must be registered to see links
Anyone who want to edit it to other emulators feel free to.
Install
1. Go to your database, Run this SQL:
PHP:
CREATE TABLE `admin_changes` (
`id` int(100) NOT NULL,
`username` varchar(5555) NOT NULL DEFAULT 'Unknown',
`changes` varchar(5555) NOT NULL DEFAULT 'Unknown'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `admin_changes` (`id`, `username`, `changes`) VALUES
(1, 'BronzeSpider547', 'Created MinBie Admin Panel.');
2. Download the Admin file, And extract the Admin folder to htdocs or wwwroot.
3. Now go to /assets/MySQLQuery.php
4. If you're using Notepad++, Click CTRL plus H and write in to the top:
"localhost", "root", "", "hotell"
then replace with
"Your Host", "Host User", "Host Pass", "Host DB"
Now replace.
5. Go to security.php and go to line 22 and replace Admin1Username with you or your admins username and then replace Admin1Pin with their pin, REcommend would be 6 digit numbers.
5.1 If you want more admins to access the admin panel, Add this
PHP:
else if($_SESSION["admin"]["loggedin"] == "Admin2Username" && $pin == "Admin2Pin")
{
$_SESSION["admin"]["security"] = "true";
header("Location: /admin/");
}
Like this..
PHP:
if($_SESSION["admin"]["loggedin"] == "Admin1Username" && $pin == "Admin1Pin")
{
$_SESSION["admin"]["security"] = "true";
header("Location: /admin/");
}
else if($_SESSION["admin"]["loggedin"] == "Admin2Username" && $pin == "Admin2Pin")
{
$_SESSION["admin"]["security"] = "true";
header("Location: /admin/");
}
PHP:
<rule name="rule 1e" stopProcessing="true">
<match url="^([^\.]+)$" ignoreCase="true" />
<action type="Rewrite" url="/admin/?{R:1}" />
</rule>
Notice, As I stated, This is a project for me, And it's not organized alot right now. It will be soon.
Last edited: