[Tool/Web/Other] [PHP] ZOMBIE RP USER PANEL
#1

Introduce

Hello, this server is based on a zombie server in korea.

frontend : bootstrap adminlte

You can choose four characters using a custom skin.
Directory : dist/img/skin/

Functional list
- Login
- view user status ( hp,sex,skin number,gun type/bullet,zombie kills, play time, money and Bleeding, hunger, thirst. )
- my Backpack system ( Show only items in possession )
- Update List
- feedback

dist/inclue/dbconfig.php
PHP Code:
<?php
  $connect 
mysql_connect('localhost','root','') or die ('db error');
  
mysql_set_charset("utf8");
  
mysql_select_db('warzdb',$connect) or die('db error2');
  
mysql_query('set names utf8');
  
?>
dist/inclue/connection.php
PHP Code:
<?php
define
('DB_SERVER''localhost');
define('DB_USERNAME''root');
define('DB_PASSWORD''');
define('DB_DATABASE''warzdb');
$db mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
mysqli_query($db,"set names utf8");
?>
players db
Code:
CREATE TABLE `players` (
  `p_id` int(10) UNSIGNED NOT NULL,
  `p_name` varchar(32) DEFAULT NULL,
  `p_password` varchar(64) DEFAULT NULL,
  `p_ammo` int(10) DEFAULT NULL,
  `p_reload` int(10) DEFAULT NULL,
  `p_weapontype` int(10) DEFAULT NULL,
  `p_posx` float DEFAULT NULL,
  `p_posy` float DEFAULT NULL,
  `p_posz` float DEFAULT NULL,
  `p_skin` int(10) DEFAULT NULL,
  `p_interior` int(10) DEFAULT NULL,
  `p_vw` int(10) DEFAULT NULL,
  `p_health` float DEFAULT NULL,
  `p_tutorial` int(10) DEFAULT NULL,
  `p_race` int(10) DEFAULT NULL,
  `p_gender` int(10) DEFAULT NULL,
  `p_group` int(10) DEFAULT NULL,
  `p_dise` int(10) DEFAULT NULL,
  `p_quest` int(10) DEFAULT NULL,
  `p_bleeding` int(10) DEFAULT NULL,
  `p_hunger` int(10) DEFAULT NULL,
  `p_thirst` int(10) DEFAULT NULL,
  `p_keys` int(10) DEFAULT NULL,
  `p_bullet` int(10) DEFAULT NULL,
  `p_weaponsecondary` int(10) DEFAULT NULL,
  `p_nicolasmission1` int(10) DEFAULT NULL,
  `p_nicolasmission2` int(10) DEFAULT NULL,
  `p_davemission1` int(10) DEFAULT NULL,
  `p_davemission2` int(10) DEFAULT NULL,
  `p_gas` int(10) DEFAULT NULL,
  `p_mail` varchar(64) DEFAULT NULL,
  `p_zombiekills` int(10) DEFAULT NULL,
  `p_hours` int(10) DEFAULT NULL,
  `p_minute` int(10) DEFAULT NULL,
  `p_second` int(10) DEFAULT NULL,
  `p_orga` int(10) DEFAULT NULL,
  `areaIndex` int(10) NOT NULL DEFAULT '-1',
  `p_bagtype` varchar(20) DEFAULT NULL,
  `item_0` int(10) DEFAULT NULL,
  `item_1` int(10) DEFAULT NULL,
  `item_2` int(10) DEFAULT NULL,
  `item_3` int(10) DEFAULT NULL,
  `item_4` int(10) DEFAULT NULL,
  `item_5` int(10) DEFAULT NULL,
  `item_6` int(10) DEFAULT NULL,
  `item_7` int(10) DEFAULT NULL,
  `item_8` int(10) DEFAULT NULL,
  `item_9` int(10) DEFAULT NULL,
  `item_10` int(10) DEFAULT NULL,
  `item_11` int(10) DEFAULT NULL,
  `item_12` int(10) DEFAULT NULL,
  `item_13` int(10) DEFAULT NULL,
  `item_14` int(10) DEFAULT NULL,
  `item_15` int(10) DEFAULT NULL,
  `item_16` int(10) DEFAULT NULL,
  `item_17` int(10) DEFAULT NULL,
  `item_18` int(10) DEFAULT NULL,
  `item_19` int(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
feedback db
Code:
REATE TABLE feedback ( f_id int(11) NOT NULL, f_ip text CHARACTER SET latin1 NOT NULL, f_name varchar(20) CHARACTER SET latin1 NOT NULL, f_adddate timestamp NULL DEFAULT CURRENT_TIMESTAMP, f_contents varchar(200) CHARACTER SET utf8 NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=euckr; ALTER TABLE feedback MODIFY f_id int(11) NOT NULL AUTO_INCREMENT; ALTER TABLE feedback ADD PRIMARY KEY (f_id);
Screen Shot

http://imgur.com/KsI6Vw7
http://imgur.com/YRiePtw
http://imgur.com/mEPEyOo

All screen shot : http://imgur.com/a/DleXd


Download

github : https://github.com/getsolaris/SA-MP-PHP-WarZ




im korean newbie webdeveloper
thanks and github follower please

Reply
#2

Nice work
Reply
#3

Thanks !
Reply
#4

Quote:
Originally Posted by TitanX
View Post
Nice work
thanks
Reply
#5

gggggg
Reply
#6

Quote:
Originally Posted by AdelinBlack
View Post
gggggg
you just took shitposting to a new level
Reply
#7

Lool @meller
Reply
#8

Quote:
Originally Posted by minmin
View Post
Introduce

Hello, this server is based on a zombie server in korea.

frontend : bootstrap adminlte

You can choose four characters using a custom skin.
Directory : dist/img/skin/

Functional list
- Login
- view user status ( hp,sex,skin number,gun type/bullet,zombie kills, play time, money and Bleeding, hunger, thirst. )
- my Backpack system ( Show only items in possession )
- Update List
- feedback

dist/inclue/dbconfig.php
PHP Code:
<?php
  $connect 
mysql_connect('localhost','root','') or die ('db error');
  
mysql_set_charset("utf8");
  
mysql_select_db('warzdb',$connect) or die('db error2');
  
mysql_query('set names utf8');
  
?>
dist/inclue/connection.php
PHP Code:
<?php
define
('DB_SERVER''localhost');
define('DB_USERNAME''root');
define('DB_PASSWORD''');
define('DB_DATABASE''warzdb');
$db mysqli_connect(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
mysqli_query($db,"set names utf8");
?>
players db
Code:
CREATE TABLE `players` (
  `p_id` int(10) UNSIGNED NOT NULL,
  `p_name` varchar(32) DEFAULT NULL,
  `p_password` varchar(64) DEFAULT NULL,
  `p_ammo` int(10) DEFAULT NULL,
  `p_reload` int(10) DEFAULT NULL,
  `p_weapontype` int(10) DEFAULT NULL,
  `p_posx` float DEFAULT NULL,
  `p_posy` float DEFAULT NULL,
  `p_posz` float DEFAULT NULL,
  `p_skin` int(10) DEFAULT NULL,
  `p_interior` int(10) DEFAULT NULL,
  `p_vw` int(10) DEFAULT NULL,
  `p_health` float DEFAULT NULL,
  `p_tutorial` int(10) DEFAULT NULL,
  `p_race` int(10) DEFAULT NULL,
  `p_gender` int(10) DEFAULT NULL,
  `p_group` int(10) DEFAULT NULL,
  `p_dise` int(10) DEFAULT NULL,
  `p_quest` int(10) DEFAULT NULL,
  `p_bleeding` int(10) DEFAULT NULL,
  `p_hunger` int(10) DEFAULT NULL,
  `p_thirst` int(10) DEFAULT NULL,
  `p_keys` int(10) DEFAULT NULL,
  `p_bullet` int(10) DEFAULT NULL,
  `p_weaponsecondary` int(10) DEFAULT NULL,
  `p_nicolasmission1` int(10) DEFAULT NULL,
  `p_nicolasmission2` int(10) DEFAULT NULL,
  `p_davemission1` int(10) DEFAULT NULL,
  `p_davemission2` int(10) DEFAULT NULL,
  `p_gas` int(10) DEFAULT NULL,
  `p_mail` varchar(64) DEFAULT NULL,
  `p_zombiekills` int(10) DEFAULT NULL,
  `p_hours` int(10) DEFAULT NULL,
  `p_minute` int(10) DEFAULT NULL,
  `p_second` int(10) DEFAULT NULL,
  `p_orga` int(10) DEFAULT NULL,
  `areaIndex` int(10) NOT NULL DEFAULT '-1',
  `p_bagtype` varchar(20) DEFAULT NULL,
  `item_0` int(10) DEFAULT NULL,
  `item_1` int(10) DEFAULT NULL,
  `item_2` int(10) DEFAULT NULL,
  `item_3` int(10) DEFAULT NULL,
  `item_4` int(10) DEFAULT NULL,
  `item_5` int(10) DEFAULT NULL,
  `item_6` int(10) DEFAULT NULL,
  `item_7` int(10) DEFAULT NULL,
  `item_8` int(10) DEFAULT NULL,
  `item_9` int(10) DEFAULT NULL,
  `item_10` int(10) DEFAULT NULL,
  `item_11` int(10) DEFAULT NULL,
  `item_12` int(10) DEFAULT NULL,
  `item_13` int(10) DEFAULT NULL,
  `item_14` int(10) DEFAULT NULL,
  `item_15` int(10) DEFAULT NULL,
  `item_16` int(10) DEFAULT NULL,
  `item_17` int(10) DEFAULT NULL,
  `item_18` int(10) DEFAULT NULL,
  `item_19` int(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
feedback db
Code:
REATE TABLE feedback ( f_id int(11) NOT NULL, f_ip text CHARACTER SET latin1 NOT NULL, f_name varchar(20) CHARACTER SET latin1 NOT NULL, f_adddate timestamp NULL DEFAULT CURRENT_TIMESTAMP, f_contents varchar(200) CHARACTER SET utf8 NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=euckr; ALTER TABLE feedback MODIFY f_id int(11) NOT NULL AUTO_INCREMENT; ALTER TABLE feedback ADD PRIMARY KEY (f_id);
Screen Shot

http://imgur.com/KsI6Vw7
http://imgur.com/YRiePtw
http://imgur.com/mEPEyOo

All screen shot : http://imgur.com/a/DleXd


Download

github : https://github.com/getsolaris/SA-MP-PHP-WarZ




im korean newbie webdeveloper
thanks and github follower please

new link?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)