SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/10/2015, 02:01 PM   #11
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 491
Reputation: 56
Default Re: Website Template (Displays Server Stats and Players Online!)

Awesome!
__________________
Dice_ is offline   Reply With Quote
Old 13/10/2015, 02:55 PM   #12
prineside
Huge Clucker
 
Join Date: Jan 2013
Posts: 276
Reputation: 114
Default Re: Website Template (Displays Server Stats and Players Online!)

21 queries in one page? Thanks, but I'll never use it.
__________________


Prineside DevTools





therainycat (prineside.com)
prineside is offline   Reply With Quote
Old 13/10/2015, 03:00 PM   #13
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 820
Reputation: 102
Default Re: Website Template (Displays Server Stats and Players Online!)

Quote:
Originally Posted by FreAkeD View Post
No problem, feel free to use it for that pupose.
Just one thing more how can I display all staff?
__________________
SecretBoss is offline   Reply With Quote
Old 13/10/2015, 09:20 PM   #14
FreAkeD
Gangsta
 
FreAkeD's Avatar
 
Join Date: May 2012
Location: Australia
Posts: 649
Reputation: 82
Default Re: Website Template (Displays Server Stats and Players Online!)

Quote:
Originally Posted by SecretBoss View Post
Just one thing more how can I display all staff?
Will all of the staff members be saved into the database?
FreAkeD is offline   Reply With Quote
Old 13/10/2015, 09:22 PM   #15
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 820
Reputation: 102
Default Re: Website Template (Displays Server Stats and Players Online!)

Quote:
Originally Posted by FreAkeD View Post
Will all of the staff members be saved into the database?
For example there is a column with level that gets player's admin level in-game for example and the website will display all the player who got that column > 0 and each level will have a different name for ex if column is 1 it will be trial admin
__________________
SecretBoss is offline   Reply With Quote
Old 14/10/2015, 09:21 PM   #16
ZaBraNjeNi
Huge Clucker
 
ZaBraNjeNi's Avatar
 
Join Date: Apr 2014
Location: Serbia, Valjevo
Posts: 276
Reputation: 35
Default Re: Website Template (Displays Server Stats and Players Online!)

You are forgot to add demo.php in files....
PHP Code:
<li class="active"><a href="demo.php">Server</a></li
__________________
Game Hosting

INSTANT ACTIVATION | San Andreas Multiplayer, Counter Strike 1.6, Minecraft

I need to eat, donate a one REP to me!

ZaBraNjeNi is offline   Reply With Quote
Old 17/10/2015, 01:10 AM   #17
FreAkeD
Gangsta
 
FreAkeD's Avatar
 
Join Date: May 2012
Location: Australia
Posts: 649
Reputation: 82
Default Re: Website Template (Displays Server Stats and Players Online!)

Quote:
Originally Posted by ZaBraNjeNi View Post
You are forgot to add demo.php in files....
PHP Code:
<li class="active"><a href="demo.php">Server</a></li
The demo.php files are just examples.
FreAkeD is offline   Reply With Quote
Old 17/10/2015, 03:26 PM   #18
Roberto81
Little Clucker
 
Join Date: Sep 2015
Posts: 14
Reputation: 2
Default Re: Website Template (Displays Server Stats and Players Online!)

Can u upload on github?
Roberto81 is offline   Reply With Quote
Old 01/12/2015, 02:02 PM   #19
Adzdon
Big Clucker
 
Adzdon's Avatar
 
Join Date: Nov 2011
Posts: 85
Reputation: 7
Default Re: Website Template (Displays Server Stats and Players Online!)

Possible for a fresh demo? Current links are broken
__________________
Adzdon is offline   Reply With Quote
Old 01/12/2015, 02:42 PM   #20
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,992
Reputation: 2649
Default Re: Website Template (Displays Server Stats and Players Online!)

Wouldn't use this. The code is truly horrible. It sends a new query for each item, seriously misusing the limit keyword at that. Table rows should be created within a loop by PHP, not by sending multiple separate queries for each row. The entire page can be generated with just two or three queries.
__________________
Vince 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
[Tool/Web/Other] Basic server website template ArchB42 Tools and Files 18 03/12/2017 10:41 AM
Players Stats On Website? danish007 Scripting Help 2 18/12/2014 09:15 PM
[PHP] Query to show online players on website toofast General 5 05/07/2013 10:16 AM
Online Players On Website? Sulps Scripting Help 2 07/06/2013 03:05 PM


All times are GMT. The time now is 12:59 PM.


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