This page is bad and poorly made i know because i am working on mine now (Good one) so you must for some tips and make it good, Also search in google for CSS tut .. etc and you will find good things.
Site Feautures
- Link back
- Register Page
- Patches Page
- ChatBox
- Voting Page
- Forum (Yours)
- Learning Some basics
- Editable (easy)
Works on
- LOFT
- CoEmu
- Hybirb
- For testing the page you can type in your browser 127.0.0.1/Conquer/register.php
(You must edit it (Will show how) to make it on different sources)
ScreenShot For the HomePage
Learning
- First in each page (.php) you need to search for
PHP Code:
$link=mysql_connect ("localhost", "root", "123") or die ('Error: ' . mysql_error());
mysql_select_db ("coproj");
-----
About link back , i put the image of epvpers in images folder and i will tell you how to make it link back . the code is :
PHP Code:
<a href="http://www.elitepvpers.com/" target="_blank"><img alt="Elitepvpers" border="0" src="Images/elitepvpers.gif" ></a>
-----
in register, First i will talk in small thing, How can you make what you type in password box show *******. i won't explain , i will show you the code only..you should understand.
PHP Code:
Username: <input type="text" name="username" size="30" /></br>
Password: <input type="password" name="password" size="30" /></br>
EmailAdr: <input type="text" name="email" size="30" /></br>
Make Register page From loft to CoEmu or whatever , first you will look at this part
PHP Code:
$check = mysql_query("SELECT * FROM accounts WHERE AccountID = '$username'");
$check2 = mysql_num_rows($check);
if($check2 != '0') {
die("Username: '".$username."' is in use!");
}
Look now at this part
PHP Code:
mysql_query("INSERT INTO accounts (AccountID,LogonType,Email) VALUES ('$username','2','$email')");
die("Username '".$username."' successfully registered!"); }
PHP Code:
<input type="text" name="[SIZE="4"]username[/SIZE]" size="30" />
-----
Let's talk about link ,you want to enter Patches page from the register page or whatever.. You will need to put this code anywhere.
PHP Code:
<a href="patches.php" id="b2">Patches</a>
-----
How to make a Direct download link ?, Ok Put the file anywhere for example a patch .. look at this code, it like a link but there's a Trick..
PHP Code:
<a href="patches/patch1.exe" id="b2">Download Now</a>
Download Test1.rar and open test.php and look arround to know and learn
-----
Adding forum link, in every page you will find
PHP Code:
<li><a href="#" id="b2">Forum</a></li>
-----
Changing Votes links,in register.php search for
PHP Code:
<a href="http://www.elitepvpers.com/" target="_blank"><img alt="Vote" border="0" src="images/vote.jpg" ></a>
-----
Adding ChatBox page... and other pages (Already did), You can make new .php file (name of the page) and copy all things in patches.php and then delete :
PHP Code:
Patch 1001: <a href="patches/1001.exe" target="_blank"><img alt="Direct Mirror" border="0" src="images/download.gif" ></a></br>
Patch 1002: <a href="patches/1002.exe" target="_blank"><img alt="Direct Mirror" border="0" src="images/download.gif" ></a>
</br>Patch 1003: <a href="patches/1003.exe" target="_blank"><img alt="Direct Mirror" border="0" src="images/download.gif" ></a>
-----
Some codes you may use in typing .. fonts .. etc ..
PHP Code:
<b></b> <u></u> <i></i>
PHP Code:
<div align=right></div> or left, <center></center>
I know this guide maybe not in conquer but will stop useless questions about Sites
if you have any problem please post here..
If you want to know more about html/php add me i have alot of free time tommorow , also i am not good designer (making images and banners)
Press thanks if this post helped you..