• 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!

PHP A nice solution how to make your site more attractive!

Kavvson

Gdy boli cie glowa wez
Joined
Jun 25, 2008
Messages
1,177
Reaction score
72
Location
Poland
This time im going to show you also some basics of HTML. But this will help you to make your site more attractive.

HEADERS

images.rar

Re-host of the Images (header)

So we are going to transform this

rrpmog.jpg


Into this :]

sfeywi.jpg


So as you see its other then the above :p But what we need to change? What it gives?

* Main feature of it is that you will be able to make a background of the table as a image;]

At first modify your Layout_config.ini

HTML:
darkborder = "#DBB96A url('images/header-2.gif') repeat-x top"
lightborder = "#EAD194 url('images/header-1.gif') repeat-x top"
vdarkborder = "#AA5900 url('images/header-3.gif') repeat-x top; color: #FFFFFF"
hoveredborder = "#fdf7d6 url('images/header-4.gif') repeat-x top"
news_title_color = "white"
logo_monster = "Demon"

As you see you can put here any values.. But its not all!

If you want to have it working you have to change all this values in the file that you want to have the changes.

PHP:
'.$config['site']['darkborder'].'
'.$config['site']['lightborder'].'
'.$config['site']['vdarkborder'].'

For example if you want Modify your Highscores

you will have to find all

HTML:
<tr bgcolor="'.$config['site']['lightborder'].'">
<tr bgcolor="'.$config['site']['darkborder'].'">
<tr bgcolor="'.$config['site']['vdarkborder'].'">

and change it into

HTML:
<tr class="lightborder">
<tr class="darkborder">
<tr class="vdarkborder">

Find:

HTML:
<td bgcolor="'.$config['site']['lightborder'].'">
<td bgcolor="'.$config['site']['darkborder'].'">
<td bgcolor="'.$config['site']['vdarkborder'].'">

and change into
HTML:
<td class="lightborder">
<td class="darkborder">
<td class="vdarkborder">

Want change it fast? Use NotePad++


Also in some cases you might find

HTML:
$bgcolor = $config['site']['lightborder'];

and its displayed as
HTML:
<tr bgcolor="'.$bgcolor.'">

So you have to change it into
HTML:
$bgcolor = lightborder;
and the display into
HTML:
<tr class="'.$bgcolor.'">

Note i dont want to write all possible versions.. there might be also a
HTML:
<TD class="'.$bgcolor.'">
all you have to do is only to look at it and see what you need to change :]

Uhm i think its all If you have problems report me here :}
Its for semi-advanced HTML users that know the Syntax :eek: and have brain :p


Don't forget to rep me when you use it :eek:?
 

Attachments

Last edited:
Its not from your's :] Its newlineots and xerona style :eek:?

Not from yours?

Chris made it from my request from this thread. Since we saw the thing with hover also we decide to try it out, and it was nice.

I'll be honest and say it looked a lot like Xerona, still I think mine is better XD
 
Shouldn't you post the link to download the headers?
 
Uhm sure thx for remaining

http://www.speedy*****malware.localhost/files/21625743/headers.rar
 
Back
Top