22.07.2010, 09:35
Yes I have a MySQL Database and user already set up.
This is the actual php file.
Код:
I dont know how to edit these parts -------------------------- /*$config = array( 'Host' => '85.17.177.164', < i guess that's the IP for the website I am hosting this file on 'User' => 'sneaky', <no clue 'Pass' => 'haxors', <no clue 'DB' => 'LSTNE');*/ <no clue $config->Favorite = 'stats.lstne.net'; < and what is this?
Код:
<? /* Credits: - Alessandro Morandi 'www.simbul.net' (Tipmage-1.0.js file) - http://www.freecsstemplates.org/ (some parts of the css/template) - Lokesh Dhakar - http://www.huddletogether.com (lightbox.css and lightbox.js file) - Sneaky (testing + ideas) Los Santos The Next Episode Stats/Control Panel php Website Copyright © 2008 G-sTyLeZzZ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ I dont know how to edit these parts -------------------------- /*$config = array( 'Host' => '85.17.177.164', < i guess that's the IP for the website I am hosting this file on 'User' => 'sneaky', <no clue 'Pass' => 'haxors', <no clue 'DB' => 'LSTNE');*/ <no clue $config->Favorite = 'stats.lstne.net'; I understand this shit //MySQL Configuration // MySQL Host $config->Host = 'localhost'; // MySQL Database Pass $config->User = 'user'; // MySQL User $config->Pass = 'pass'; // MySQL Database $config->DB = 'db'; -------------------------- I understand this shit //Other Stuff //control panel version $config->Version = 'Control Panel 1.01 beta'; //website title $config->Websitetitle = 'Los Santos The Next Episode'; //header title $config->Header = 'Los Santos The Next Episode'; // footer title $config->Footer = 'Copyright © 2008 Los Santos The Next Episode'; // socket to query the server ( 1 = on ; anthing else = off ) $config->Socket = 1; // your server ip $config->ServerIP = '91.121.117.84'; // server port $config->Port = 1337; // Max Players in the server $config->MaxPlayers = 100; //Directory /server/scriptfiles/main/zones.ini'; //zones amount $config->Zoneamount = 26; //server/scriptfiles/info.txt'; //allowed types for avatar upload $config->types = array('jpg', 'gif', 'png'); //maximal filesize for avatars $config->maxsize = 200*200; //upload dir for avatars $config->upload_dir = 'images/avatars/'; ?>