• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Serverinfo.php

Kaywin

Lord of War WoW/Tibia 2D
Joined
Oct 24, 2008
Messages
541
Reaction score
6
Location
SwedeN
Hello, I would like to have a nice serverinfo page, but when i'm trying to get my exp stages nice it's coming after each other i would like to have it like this:


Here My Text Info Level:

1 - 50 : 250x Level:
51 - 100 : 150x Level:
101 - 130 : 80x Level:
131 - 150 : 60x Level:
151 - 170 : 40x Level:
171 - 180 : 15x Level:
181 - 200 : 10x Level:
201 - 220 : 7x Level:
221 - 230 : 5x Level:
231 - 250 : 4x Level:
251 - 0 : 3x

you guys understand me? it don't work! >,<

Sorry for my bad english =)

rep will be giving as always!
.
 
cyber, why not use gesior while it is the best layouts ever?.. just if modern acc used the same layout system as gesior, it would be nice :D
 
layouts? bro aacs are not about layouts, just the code. layouts can work for both aacs if coded in their respective language
nope, rl layout sux and it's illegal
 
I made this, but is for Modern AAC, so you better switch, or keep suffering.

PHP:
<?php

#######################
# INFORMATION SCRIPT  #
# BY ARCHEZ AT OTLAND #
#######################
### /MEMBERS/ARCHEZ ###
#######################
# FOR MODERN AAC ONLY #
#######################

 # Respect the credits, please.
 
require("config.php"); // Don't touch this. :3

### CONFIG STARTS HERE ###

# Server experience RATE
$archez['exp'] = ''; // Leave this field empty if you would like to enable experience stages!

# Server STAGES
$archez['stages'] = array(
'0 - 50' => '10x',
'51 - 100' => '8x',
);

# Server IP
$archez['ip'] = 'server.com';

# Server PORT
$archez['port'] = '7171';

# Server PROTOCOL
$archez['protocol'] = '8.57';

### CONFIG ENDS HERE ###

echo '<span style="font-size:11px;font-weight:bold;">'.strtoupper($config['server_name']).' INFORMATION</span><br /><br />
<table border="0" cellspacing="1" cellpadding="4" width="100%">
<tr class="highlight"><td width="40%"><b>IP:</b></td><td>'.$archez['ip'].'</td></tr>
<tr class="highlight"><td width="40%"><b>Port:</b></td><td>'.$archez['port'].'</td></tr>
<tr class="highlight"><td width="40%"><b>Protocol:</b></td><td>'.$archez['protocol'].'</td></tr>';

if($archez['exp']) {
echo '<tr class="highlight"><td width="40%"><b>Experience:</b></td><td>'.$archez['exp'].'</td></tr>';
}

echo '</table>';

if(!$archez['exp']) {
echo '<br /><table border="0" cellspacing="1" cellpadding="4" width="100%">
<tr class="highlight"><td width="40%" colspan="2"><b>Stages:</b></td></tr>';

foreach($archez['stages'] as $level => $exp) {

echo '<tr class="highlight"><td width="40%">'.$level.'</td><td>'.$exp.'</td></tr>';
}


echo '</table>';
}

echo '<br /><span style="float:right;font-size:8px;">SCRIPT BY <a href="http://otland.net/members/archez/">ARCHEZ</a></span>';

?>
 
I want it to look nice on the website, I use Geisor! Can someone give me some codes how to get the text bigger, father, smaller, center, ect so I can try by myself? ^^
 
<span style=""></span>

That tag should be sufficient, just insert whatever style elements into the span style you want to apply to the text inside said span.

If you wish to know which style elements does what, simply do a simple google search for CSS in combination with your question, for example "CSS center text" or "CSS bigger text".

I can recommend
CSS Tutorial
Which is a good start.
 
Back
Top