SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 26/02/2017, 11:14 AM   #1
minmin
Little Clucker
 
Join Date: Feb 2017
Location: Seoul in Korea
Posts: 3
Reputation: 2
Thumbs up [PHP] ZOMBIE RP USER PANEL

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

minmin is offline   Reply With Quote
Old 26/02/2017, 02:26 PM   #2
TitanX
Banned
 
Join Date: Feb 2017
Location: Kingdom of Morocco // Rabat
Posts: 83
Reputation: 21
Default Re: [PHP] ZOMBIE RP USER PANEL

Nice work
TitanX is offline   Reply With Quote
Old 27/02/2017, 12:48 AM   #3
minmin
Little Clucker
 
Join Date: Feb 2017
Location: Seoul in Korea
Posts: 3
Reputation: 2
Default Re: [PHP] ZOMBIE RP USER PANEL

Thanks !
minmin is offline   Reply With Quote
Old 27/02/2017, 12:54 AM   #4
minmin
Little Clucker
 
Join Date: Feb 2017
Location: Seoul in Korea
Posts: 3
Reputation: 2
Default Re: [PHP] ZOMBIE RP USER PANEL

Quote:
Originally Posted by TitanX View Post
Nice work
thanks
minmin is offline   Reply With Quote
Old 22/11/2017, 06:44 PM   #5
AdelinBlack
Little Clucker
 
Join Date: Oct 2017
Posts: 1
Reputation: 0
Default Re: [PHP] ZOMBIE RP USER PANEL

gggggg
AdelinBlack is offline   Reply With Quote
Old 22/11/2017, 08:08 PM   #6
Meller
Banned
 
Join Date: Dec 2016
Posts: 636
Reputation: 132
Default Re: [PHP] ZOMBIE RP USER PANEL

Quote:
Originally Posted by AdelinBlack View Post
gggggg
you just took shitposting to a new level
Meller is offline   Reply With Quote
Old 22/11/2017, 08:11 PM   #7
billy1337samp
Banned
 
Join Date: Jun 2016
Posts: 50
Reputation: 9
Default Re: [PHP] ZOMBIE RP USER PANEL

Lool @meller
billy1337samp is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Control Panel - ini. Marcuse Scripting Help 22 11/12/2013 11:58 AM
User Panel - Need Help EleMenTalL Scripting Help 2 23/01/2012 09:46 PM


All times are GMT. The time now is 09:28 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.