- Joined
- Feb 28, 2007
- Messages
- 446
- Reaction score
- 5
Credits to Emisands and his AdminCP which I based the USERCP off of.
How to use?
Step 1 - Go into config.php and change this to your Info
Step 2 - Go into changepass.php
And edit this Info
Step 3 Go into clear.php and change this info Also
Step 4 Go into newupdate.php read this!
You can change the New Launcher Text in here to What ever you Updated in your server
Step 5 Go into Server.php and change this
Step 6 Go into index.php and change this
only change
and
Step 7 - Go Enjoy your new UserCP
Download
How to use?
Step 1 - Go into config.php and change this to your Info
Code:
$mssql_user = "sa"; //Enter here the MSSQL User for your Gunz Database
//If the MSSQL Server is in the same server as the web, leave it blank
$mssql_pass = "yourpass"; //Enter here the MSSQL Password for your Gunz Database
//If the MSSQL Server is in the same server as the web, leave it blank
$mssql_database = 'DB'; //Enter here the Name of your Gunz Database
//Host. IP If working remotely
$mssql_host = 'SOMETHING\SQLEXPRESS'; //Enter here the name of your SQL Server
$conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass); //Don't touch this
mssql_select_db($mssql_database);
And edit this Info
Code:
<?php
$srvip = "ip";
$srvport = "6000";
$mssql_user = "sa";
$mssql_pass = "pass";
$mssql_database = "db";
$mssql_host = "something\SQLEXPRESS";
$conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
mssql_select_db($mssql_database);
?>
Code:
<?php
$mssql_user = "sa";
$mssql_pass = "pass";
$mssql_database = "db";
$mssql_host = "something\SQLEXPRESS";
$conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass) or die("Cannot connect host.");
mssql_select_db($mssql_database) or die("Cannot connect database.");
?>
Code:
/* How to use?
$update = current update
$newupdate = next update
$newupdateurl = the url to the new update!
how to configure.
on my server I have it as
$update = 1;
$newupdate = 2;
$newupdateurl = "www.pbgunz.eclipse-rose.com";
The next time there is a new update I will change $update to 2
and new update to 3
and if there are no new updates I would make both update and newupdate Equal!
*/
<?php
$update = 1;
$newupdate = 1;
$newupdateurl = "";
if ($newupdate > $update){
echo " <a href='http://$newupdateurl'><h2>New Launcher</a> | Version $newupdate</h2> ";
} else {
echo " <h2>no new version</h2>";
}
?>
Code:
echo " <a href='http://$newupdateurl'><h2>New Launcher</a> | Version $newupdate</h2> "
Step 5 Go into Server.php and change this
Code:
<?php $srvip = "serverip";
Code:
<title>USERCP BY AMANDA </title>
<?php
$logourl ="yourlogoimageurl";
echo "<center><img src='$logourl'></center>";?>
<center><h2>USERCP BY AMANDA</h2></center>
Code:
$logourl ="yourlogoimageurl";
Code:
USERCP BY AMANDA
Download
To view the content, you need to sign in or register

