Skilled Illusionist
- Joined
- Jan 7, 2007
- Messages
- 347
- Reaction score
- 78
Okay so, here is some old files (it's coming from my second website) so it's possible that code is unreadable because i was young when i maded it.
Password: oldstuff
How adding it to a themplate:
You only need to put this at the content part and for each time you gonna use ?a=x, x gonna be the content in ./inc/inc_x.php so you guess that if i change x for login or any other page in inc folder it's gonna change the cotent for this page.
Exemple:
If i execute url mysite.com/?a=login, content will be the login.
What it contain ?
-Login
-Password change
-Contry change
-Age change
-Character name change
-Hair change
-Face change
-Complet clan management
-Emblem upload
And alot of little stuff like that.
Owh and you'll need to change ODBC connection option in odbc.php and edit $CEURL in inc_clan.php. Don't forget to start a session.
Dot.
You must be registered to see links
Password: oldstuff
How adding it to a themplate:
PHP:
<?PHP
if(file_exists('./inc/inc_'. $_GET['a'] .'.php')) {include('./inc/inc_'. $_GET['a'] .'.php'); }
elseif($_GET['a'] == '') {include('./inc/inc_login.php');}
else{echo 'This page does not exist !';}
?>
Exemple:
If i execute url mysite.com/?a=login, content will be the login.
What it contain ?
-Login
-Password change
-Contry change
-Age change
-Character name change
-Hair change
-Face change
-Complet clan management
-Emblem upload
And alot of little stuff like that.
Owh and you'll need to change ODBC connection option in odbc.php and edit $CEURL in inc_clan.php. Don't forget to start a session.
Dot.
Last edited: