NilssoN042
Banned User
Instructions
I will teach you how to put your layout into gesiors AAC!
Requirment
Notepad!
Xampp!
Gesiors AAC!
YOUR OWN LAYOUT!
[Insert Gesiors script in your layout STEP 1-5]
--------------------STEP 1----------------------
First go into your [xampp/htdocs/layouts] folder and then throw the folder that is called darkritual into your desktop..
Then open the folder and look for the .php file that is called layout.php! Then open it with NOTEPAD!
------------------------------------------------
-------------------STEP 2-----------------------
Then open the folder where you got your own layout and open the index.html file!
Then everywhere in your OWN layout where you want to have your SERVERNAME shown write:
<?PHP echo ucwords($config['server']['serverName']); ?>
------------------------------------------------
------------------STEP 3------------------------
In your OWN layout file find <head></head>
And between <head></head> write
<link rel="stylesheet" type="text/css" href="<?PHP echo $layout_name; ?>/default.css" media="screen"/>
<?PHP echo $layout_header; ?>
<title><?PHP echo $config['server']['serverName']; ?> - <?PHP echo $topic; ?></title>
AND REMOVE YOUR OLD <title></title> and STYLESHEET LINK
------------------------------------------------
-------------------STEP 4-----------------------
Here is a list of all LINKS:
News
<ul>
<li><a href="index.php?subtopic=latestnews">Latest News</a></li>
</ul>
Account
<ul>
<?PHP
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
echo '<li><a href="index.php?subtopic=adminpanel"><b><font color="red">Admin Panel</font></b></a></li>';
if($logged)
{
echo '<li><a href="index.php?subtopic=accountmanagement"><b><font color="green">My Account</font></b></a></li>
<li><a href="index.php?subtopic=accountmanagement&action=logout"><b><font color="white">Logout</font></b></a></li>';
}
else
{
echo '<li><a href="index.php?subtopic=accountmanagement"><b><font color="white">Login</font></b></a></li>';
}
?>
<li><a href="index.php?subtopic=createaccount"><b><font color="white">Create Account</font></b></a></li>
<li><a href="index.php?subtopic=lostaccount">Lost Account Interface</a></li>
<li><a href="index.php?subtopic=tibiarules">Server Rules</a></li>
</ul>
Community
<ul>
<li><a href="index.php?subtopic=characters">Search Player</a></li>
<li><a href="index.php?subtopic=guilds">Guilds</a></li>
<li><a href="index.php?subtopic=highscores">Highscores</a></li>
<li><a href="index.php?subtopic=killstatistics">Last Deaths</a></li>
<li><a href="index.php?subtopic=houses">Houses</a></li>
<li><a href="index.php?subtopic=downloads">Download</a></li>
<?PHP if(!empty($config['site']['forum_link'])) echo '<li><a href="'.$config['site']['forum_link'].'">Forum</a></li>'; ?>
<li><a href="index.php?subtopic=team">Game Masters</a></li>
</ul>
Library
<ul>
<li><a href="index.php?subtopic=creatures">Monsters</a></li>
<li><a href="index.php?subtopic=spells">Spells</a></li>
<li><a href="index.php?subtopic=whoisonline">Who is online?</a></li>
<?PHP if($config['site']['serverinfo_page'] == 1) echo '<li><a href="index.php?subtopic=serverinfo">Server Info</a></li>'; ?>
<?PHP if($config['site']['download_page'] == 1) echo '<li><a href="index.php?subtopic=downloads">Downloads</a></li>'; ?>
<?PHP if($config['site']['gallery_page'] == 1) echo '<li><a href="index.php?subtopic=gallery">Gallery</a></li>'; ?>
</ul>
SHOP
<?PHP
if($config['site']['shop_system'] == 1)
{
echo '<ul>
<li><a href="index.php?subtopic=buypoints"><b><font size="1" color="red"><blink>Buy Premium Points</blink></font></b></a></li>
<li><a href="index.php?subtopic=shopsystem">Shop Offer</a></li>';
if($logged)
echo '<li><a href="index.php?subtopic=shopsystem&action=show_history">Shop History</a></li>';
echo '</ul>';
}
?>
----------------------------------------------------
-------------------STEP 5---------------------------
IN YOUR CONTENT WHERE YOUR SITE CONTENT GOES WRITE
<?PHP echo $main_content; ?>
----------------------------------------------------
Now your layout is done!!
START THE NEW LAYOUT! STEP 6-7
-----------------STEP 6------------------------------
Save your index.html(YOUR OWN LAYOUT) as layout.php!
Then CHANGE YOUR STYLESHEETS NAME INTO default.css!
-----------------------------------------------------
----------------STEP 7-------------------------------
Now you are almost done!
Throw ALL THE FILES IN YOUR layout.php into the darkritual folder!!!
AND GO INTO CONFIG.INI AND CHANGE THE LAYOUT INTO darkritual!
------------------------------------------------------
NOW YOU ARE DONE
IF THE TUTORIAL WAS HARD TO UNDERSTAND PLEASE WRITE HERE AND I WILL HELP YOU!!!
I WILL ALSO POST NICE LAYOUTS THAT YOU CAN DOWNLOAD FOR FREE HERE!!
I will teach you how to put your layout into gesiors AAC!
Requirment
Notepad!
Xampp!
Gesiors AAC!
YOUR OWN LAYOUT!
[Insert Gesiors script in your layout STEP 1-5]
--------------------STEP 1----------------------
First go into your [xampp/htdocs/layouts] folder and then throw the folder that is called darkritual into your desktop..
Then open the folder and look for the .php file that is called layout.php! Then open it with NOTEPAD!
------------------------------------------------
-------------------STEP 2-----------------------
Then open the folder where you got your own layout and open the index.html file!
Then everywhere in your OWN layout where you want to have your SERVERNAME shown write:
<?PHP echo ucwords($config['server']['serverName']); ?>
------------------------------------------------
------------------STEP 3------------------------
In your OWN layout file find <head></head>
And between <head></head> write
<link rel="stylesheet" type="text/css" href="<?PHP echo $layout_name; ?>/default.css" media="screen"/>
<?PHP echo $layout_header; ?>
<title><?PHP echo $config['server']['serverName']; ?> - <?PHP echo $topic; ?></title>
AND REMOVE YOUR OLD <title></title> and STYLESHEET LINK
------------------------------------------------
-------------------STEP 4-----------------------
Here is a list of all LINKS:
News
<ul>
<li><a href="index.php?subtopic=latestnews">Latest News</a></li>
</ul>
Account
<ul>
<?PHP
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
echo '<li><a href="index.php?subtopic=adminpanel"><b><font color="red">Admin Panel</font></b></a></li>';
if($logged)
{
echo '<li><a href="index.php?subtopic=accountmanagement"><b><font color="green">My Account</font></b></a></li>
<li><a href="index.php?subtopic=accountmanagement&action=logout"><b><font color="white">Logout</font></b></a></li>';
}
else
{
echo '<li><a href="index.php?subtopic=accountmanagement"><b><font color="white">Login</font></b></a></li>';
}
?>
<li><a href="index.php?subtopic=createaccount"><b><font color="white">Create Account</font></b></a></li>
<li><a href="index.php?subtopic=lostaccount">Lost Account Interface</a></li>
<li><a href="index.php?subtopic=tibiarules">Server Rules</a></li>
</ul>
Community
<ul>
<li><a href="index.php?subtopic=characters">Search Player</a></li>
<li><a href="index.php?subtopic=guilds">Guilds</a></li>
<li><a href="index.php?subtopic=highscores">Highscores</a></li>
<li><a href="index.php?subtopic=killstatistics">Last Deaths</a></li>
<li><a href="index.php?subtopic=houses">Houses</a></li>
<li><a href="index.php?subtopic=downloads">Download</a></li>
<?PHP if(!empty($config['site']['forum_link'])) echo '<li><a href="'.$config['site']['forum_link'].'">Forum</a></li>'; ?>
<li><a href="index.php?subtopic=team">Game Masters</a></li>
</ul>
Library
<ul>
<li><a href="index.php?subtopic=creatures">Monsters</a></li>
<li><a href="index.php?subtopic=spells">Spells</a></li>
<li><a href="index.php?subtopic=whoisonline">Who is online?</a></li>
<?PHP if($config['site']['serverinfo_page'] == 1) echo '<li><a href="index.php?subtopic=serverinfo">Server Info</a></li>'; ?>
<?PHP if($config['site']['download_page'] == 1) echo '<li><a href="index.php?subtopic=downloads">Downloads</a></li>'; ?>
<?PHP if($config['site']['gallery_page'] == 1) echo '<li><a href="index.php?subtopic=gallery">Gallery</a></li>'; ?>
</ul>
SHOP
<?PHP
if($config['site']['shop_system'] == 1)
{
echo '<ul>
<li><a href="index.php?subtopic=buypoints"><b><font size="1" color="red"><blink>Buy Premium Points</blink></font></b></a></li>
<li><a href="index.php?subtopic=shopsystem">Shop Offer</a></li>';
if($logged)
echo '<li><a href="index.php?subtopic=shopsystem&action=show_history">Shop History</a></li>';
echo '</ul>';
}
?>
----------------------------------------------------
-------------------STEP 5---------------------------
IN YOUR CONTENT WHERE YOUR SITE CONTENT GOES WRITE
<?PHP echo $main_content; ?>
----------------------------------------------------
Now your layout is done!!
START THE NEW LAYOUT! STEP 6-7
-----------------STEP 6------------------------------
Save your index.html(YOUR OWN LAYOUT) as layout.php!
Then CHANGE YOUR STYLESHEETS NAME INTO default.css!
-----------------------------------------------------
----------------STEP 7-------------------------------
Now you are almost done!
Throw ALL THE FILES IN YOUR layout.php into the darkritual folder!!!
AND GO INTO CONFIG.INI AND CHANGE THE LAYOUT INTO darkritual!
------------------------------------------------------
NOW YOU ARE DONE
IF THE TUTORIAL WAS HARD TO UNDERSTAND PLEASE WRITE HERE AND I WILL HELP YOU!!!
I WILL ALSO POST NICE LAYOUTS THAT YOU CAN DOWNLOAD FOR FREE HERE!!