1 Member


List of 0 - 1 members

uʍǝldS
3 years ago
uʍǝldS
3 years ago
array("layouts"=>array("layouttop"=>"1","layoutbottom"=>"1"),"theme"=>"1")); $file = "storage/style.json"; $fh = fopen($file, "w") or die("Couldn"t open File! Change the .json files (storage/.json) Permissions to 777"); $imp = json_encode($arr); fwrite($fh, $imp); fclose($fh); //Details $arr = array("details"=>array("servername"=>$servername,"logoortitle"=>"1","description"=>$description, "rules"=>array( "1"=>array("text"=>$r_txt[1],"status"=>$r_on[1]), "2"=>array("text"=>$r_txt[2],"status"=>$r_on[2]), "3"=>array("text"=>$r_txt[3],"status"=>$r_on[3]), "4"=>array("text"=>$r_txt[4],"status"=>$r_on[4]), "5"=>array("text"=>$r_txt[5],"status"=>$r_on[5]) ),"slogan"=>$slogan)); $file = "storage/details.json"; $fh = fopen($file, "w") or die("Couldn"t open File! Change the .json files (storage/.json) Permissions to 777"); $imp = json_encode($arr); fwrite($fh, $imp); fclose($fh); //Settings $arr = array("settings"=>array("apikey"=>$apikey, "backgrounds"=>array("1"=>$background[1],"2"=>$background[2],"3"=>$background[3],"4"=>$background[4]), "music"=>array("file"=>"https://www.youtube.com/watch?v=psFQMKcsIF8","name"=>"Give It Up - KC & The Sunshine Band","status"=>1,"volume"=>"30"),"progressbar_color"=>$progress_color)); $file = "storage/settings.json"; $fh = fopen($file, "w") or die("Couldn"t open File! Change the .json files (storage/.json) Permissions to 777"); $imp = json_encode($arr); fwrite($fh, $imp); fclose($fh); } if(isset($_POST["function"])){ $arr = array("details"=>array("servername"=>$_POST["servername"],"logoortitle"=>$_POST["logotitle"],"description"=>$_POST["description"], "rules"=>array( "1"=>array("text"=>$_POST["r1txt"],"status"=>$_POST["r1on"]), "2"=>array("text"=>$_POST["r2txt"],"status"=>$_POST["r2on"]), "3"=>array("text"=>$_POST["r3txt"],"status"=>$_POST["r3on"]), "4"=>array("text"=>$_POST["r4txt"],"status"=>$_POST["r4on"]), "5"=>array("text"=>$_POST["r5txt"],"status"=>$_POST["r5on"]) ),"slogan"=>$_POST["slogan"])); $file = "storage/details.json"; $fh = fopen($file, "w") or die("Couldn"t open File! Change the .json files (storage/.json) Permissions to 777"); $imp = json_encode($arr); fwrite($fh, $imp); fclose($fh); ?> array("apikey"=>$apikey, "backgrounds"=>array("1"=>$_POST["background1"],"2"=>$_POST["background2"],"3"=>$_POST["background3"],"4"=>$_POST["background4"]), "music"=>array("file"=>$_POST["music"],"name"=>$_POST["songname"],"status"=>$_POST["songnameon"],"volume"=>$_POST["volume"]),"progressbar_color"=>$_POST["color_progress_txt"],"snow"=>$_POST["snowon"])); $file = "storage/settings.json"; $fh = fopen($file, "w") or die("Couldn"t open File! Change the .json files (storage/.json) Permissions to 777"); $imp = json_encode($arr); fwrite($fh, $imp); fclose($fh); ?> array( "1"=>array("steamid"=>$_POST["staff1steam"],"status"=>$_POST["staff1on"],"rank"=>$_POST["staff1rank"],"color"=>$_POST["color_txt_staff1"]), "2"=>array("steamid"=>$_POST["staff2steam"],"status"=>$_POST["staff2on"],"rank"=>$_POST["staff2rank"],"color"=>$_POST["color_txt_staff2"]), "3"=>array("steamid"=>$_POST["staff3steam"],"status"=>$_POST["staff3on"],"rank"=>$_POST["staff3rank"],"color"=>$_POST["color_txt_staff3"]), "4"=>array("steamid"=>$_POST["staff4steam"],"status"=>$_POST["staff4on"],"rank"=>$_POST["staff4rank"],"color"=>$_POST["color_txt_staff4"]) )); $file = "storage/staff.json"; $fh = fopen($file, "w") or die("Couldn"t open File! Change the .json files (storage/.json) Permissions to 777"); $imp = json_encode($arr); fwrite($fh, $imp); fclose($fh); ?> array("layouts"=>array("layouttop"=>$_POST["layout_top"],"layoutbottom"=>$_POST["layout_bottom"]),"theme"=>$_POST["theme"])); $file = "storage/style.json"; $fh = fopen($file, "w") or die("Couldn"t open File! Change the .json files (storage/.json) Permissions to 777"); $imp = json_encode($arr); fwrite($fh, $imp); fclose($fh); ?>

Information

IMPORTANT!

Some of your files are outdated!

Click this button to update them (Music and Style data will be lost):

Loadingurl

sv_loadingurl "?steamid=%s"

To show this loading screen on your Garry"s Mod Server,
copy this command to your server.cfg or autoexec.cfg.

Server Inspection

PHP Check

")) { echo "".phpversion().""; }else{ echo "".phpversion().""; $error = 1; $errorphp = 1; } ?>

allow_url_fopen

Enabled"; }else{ $error = 1; $errorfopen = 1; echo "Disabled"; } ?>


Conclusion: The loading screen should work on this server! Please update your PHP version to 5.1.0 or higher!
Please enable allow_url_fopen!

Customizations

Main

Servername/Logo

Use as:

value="1"> Title
value="2"> Logo (Link to Image - e.g. images/logo/gemgaming.png)

Slogan

Description

Rules

Rule 1

">

Rule 2

">

Rule 3

">

Rule 4

">

Rule 5

">
Staff members
SteamID64 Rank Color Status
"> "> ">" name="color_txt_tool_staff1" onchange="updateInput(this.value, "color_txt_staff1")" id="color_txt_tool_staff1">
"> "> ">" name="color_txt_tool_staff2" onchange="updateInput(this.value, "color_txt_staff2")" id="color_txt_tool_staff2">
"> "> ">" name="color_txt_tool_staff3" onchange="updateInput(this.value, "color_txt_staff3")" id="color_txt_tool_staff3">
"> "> ">" name="color_txt_tool_staff4" onchange="updateInput(this.value, "color_txt_staff4")" id="color_txt_tool_staff4">
Settings

Steam API Key

(http://steamcommunity.com/dev/apikey)

Progress Bar Color


Background Images



- Empty Inputs will result in a black background!
- Repeat old images to avoid black backgrounds
- The Images will be choosen randomly and switch every 5 Seconds

Music



- only .ogg files, Youtube Video URLs or Youtube Playlist URLs
- For own Files use the entire URL to the File (http://example.com/split-Load/music/song.ogg)

Song name

Volume (From 0 to 100)

Style

Theme

value="1"> Light
value="2"> Dark

Player Info and Staff

value="1"> Left: Player Info Right: Staff Info
value="2"> Left: Staff Info Right: Player Info

Bottom Box divison

value="1"> Left: Rules Middle: Description Right: Server Info
value="2"> Left: Description Middle: Rules Right: Server Info
value="3"> Left: Server Info Middle: Description Right: Rules
Event

Snow Have some Snowflakes flying around :)

Reset
Admin Panel

Please change the password in the config.php file!

Admin Panel
 You entered a wrong password!
});