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

[Gesior ACC]Loleslav Template: Lay

widnet

Banned User
Joined
Apr 11, 2009
Messages
920
Reaction score
3
Location
Poland/Cracow
Hi i have layout 4 you.​

Credits:
Deghost
Loleslav​


Photos:
11rq4i9.png


How to install:
Just insert folder lay to layout folder of your root folder.
Then open config.php go to bottom of document and change​



PHP:
$config['site']['layout'] = "ron"; // layout name



for:​




PHP:
$config['site']['layout'] = "lay"; // layout name





Note:​

To display site 100% correct, go to accountmanagement.php and at line 149 edit COLS="80" to COLS="65" in TEXTAREA tag. Than do the same in tibiarules.php but on line 2

and other files.​





In Package:

Psd sources(logo)
Font:Martel
Clean Logo





If you have some problems with displaying textfields or textareas you should change it manually. It's just some html code.​





@edit
I make 4 u new logo(header,bg03.jpg)
Demo:
wol_error.gif
This image has been resized. Click this bar to view the full image. The original image is sized 1150x147.
1o51jd.jpg

Download sources(psd):
http://files.loleslav.pl/tibia/tamplate_lay_sources.rar


If you really like it rep++ me

Yours, Loleslav(WidNet).
 

Attachments

Last edited by a moderator:
If u don't have powergamers script, replace layout.php whit this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!-- Powered by UNNAMED Acc. Maker &copy;2009 - 2010 by Gesior. -->
<!-- Rewrote and rebuild for Altara.pl purposes (c)2009 - 2010. -->
<!-- Designed by DeGhost -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta name="description" content=Tibia is a free massive multiplayer online role playing game (MMORPG)." />
<meta name="author" content="DeGhost,Loleslav" />
<meta http-equiv="content-language" content="pl" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="free online game, free multiplayer game, ots, open tibia server" />
<link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/others/favicon.ico" type="image/x-icon">
<link rel="icon" href="<?PHP echo $layout_name; ?>/images/others/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="<?PHP echo $layout_name; ?>/default.css" media="screen"/>
<link rel="stylesheet" type="text/css" href="<?PHP echo $layout_name; ?>/basic.css" media="screen"/>
<title><?PHP echo $title; ?></title>
<?PHP echo $layout_header; ?>
<style type="text/css">
@import "layout.css";
</style>
</head>
<body class="home">
<div id="bg1">
<div id="bg2">
<div id="header" class="container">
<div id="logo">
</div>
<div id="topmenu">
<ul>
</ul>
</div>
</div>
</div>
<div id="menu">
<ul class="container">
<li class="first"><a href="?subtopic=latestnews">News</a></li>
<li><a href="index.php?subtopic=createaccount">Create account</a></li>
<li><a href="index.php?subtopic=downloads">Downloads</a></li>
<li><a href="forum">Forum</a></li>
</ul>
</div>
<div id="bar">
<div class="container">
<div id="login">
<?php
if ($logged) {
echo'<form method="post" action="?subtopic=accountmanagement&action=logout">
<fieldset><p>Hello.&nbsp;&nbsp;&nbsp;&nbsp;<a href="?subtopic=accountmanagement">Account Management</a>&nbsp;</p>
<input value="Logout" class="input-submit" type="submit" />
</fieldset>
</form>';
}else{
echo'<form method="post" action="?subtopic=accountmanagement">
<fieldset> <span class="input-text"> <input name="account_login" value="" type="text" /> </span><span class="input-text"> <input name="password_login" value="" type="password" /> </span> <input value="Login" class="input-submit" type="submit" />
<p><a href="?subtopic=lostaccount">Lost Account?</a>&nbsp;</p>
</fieldset>
</form>';
}
?>
</div>
<div id="search">
<form method="post" action="index.php?subtopic=characters">
<fieldset> <span class="input-text"> <input name="name" value="Player name" type="text" /> </span><input value="Search" class="input-submit" type="submit" /></fieldset>
</form>
</div>
</div>
</div>
<div id="bg3">
<div id="bg4">
<div id="page" class="container">
<div id="content">
<div id="sidebar2">
<?php
if ($subtopic == "latestnews"){
echo '<div id="box2" class="box-style3">
<h2 class="title">Hi</h2>
<div class="entry">
<div style="text-align: center; font-weight: bold;">What
offers this OTS:<br>
<br>
- Free PACC ( must not send any sms)<br>
- Stable dedicated server<br>
- Frequent update<br>
- Great map<br>
<br>
... and many, many more. Join us today</div>
<center>Welcome! - <a
href="index.php?subtopic=createaccount">&raquo;
Create Account
&laquo;</a></b></font></center>
</small></small></h3>



<div style="clear: both;"><!-- # --> </div>
</div>
</div>';
}
?>
<center> </center>
<div id="box3" class="box-style3">
<h2 class="title"><?PHP echo $topic; ?></h2>
<div class="main_content">
<?PHP echo $main_content; ?>
</div>
</div>
</div>

<div id="sidebar3">
<div id="box4" class="box-style4">
<h2 class="title"><center>Status</center></h2>
<div class="entry">
<ul class="list1">
</ul>
<center>
<?php
if($config['status']['serverStatus_online'] == 1){
echo 'Players On-Line:<br>
<a href="index.php?subtopic=whoisonline&world=0" title="Players ON-line"><b>'.$config['status']['serverStatus_players'].'/'.$config['status']['serverStatus_playersMax'].'</b></a>
<br>UpTime:<br>
<b>'.$config['status']['serverStatus_uptime'].'</b><br>';
}else{
echo '<font color="red">Server is OFFline</font>';
}
?>


</center>
</div>
</div>

<div id="box5" class="box-style4">
<div class="entry"> <ul class="list1">
</ul>
<h2 class="title"><center>Best players</center></h2>
<center> <?php
$limitt = 5;
$skills = $SQL->query('SELECT name,level,experience FROM players WHERE group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" ORDER BY level DESC, experience DESC LIMIT '.$limitt)->fetchAll();
$number_of_rows = 0;
foreach($skills as $skillss)
{
$number_of_rows++;
echo '<li class="bg6"><a href="index.php?subtopic=characters&name='.urlencode($skillss['name']).'" class="link2">'.$skillss['name'].'</a><br>';
echo '<em class="style2">Level: <b>'.urlencode($skillss['level']).'</b></em></li>';
}
?></center>

</div>
<ul class="list1">
</ul>
<h2 class="title"><center>Today TOP EXP</center></h2>
<center>
</center>
</div>
</div>
</div>

<div id="sidebar">
<div id="box6" class="box-style2">
<h2 class="title">Information</h2>
<div class="entry">
<ul class="list1">
<li><a href="index.php?subtopic=characters">Search Character</a></li>
<li><a href="index.php?subtopic=serverinfo">Server Info</a></li>
<li><a href="index.php?subtopic=team">Team</a></li>
<li><a href="index.php?subtopic=tibiarules">Rules</a></li>
<?php
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
echo '<li><a href="?subtopic=adminpanel"><b><font color="red">Admin Panel</font></b></a></li>';
if($group_id_of_acc_logged > 0)
echo '<li><a href="?subtopic=namelock"><b><font color="red">Namelocks</font></b></a></li>';
if($group_id_of_acc_logged > 0)
echo '<li><a href="?subtopic=changelog"><b><font color="red">Changelog</font></b></a></li>';
?>
</ul>
</div>
</div>

<div id="box7" class="box-style2">
<h2 class="title">Directories and lists</h2>
<ul class="list1">
<li><a href="index.php?subtopic=guilds">Guilds</a></li>
<li><a href="index.php?subtopic=bounty-hunters">Hunts</a></li>
<li><a href="index.php?subtopic=houses">Houses</a></li>
<li><a href="index.php?subtopic=killstatistics">Last kills</a></li>
<li><a href="index.php?subtopic=spells">Spells</a></li>
<li><a href="index.php?subtopic=creatures">Creatures</a></li>
<li><a href="index.php?subtopic=bans">Ban list</a></li>
<li><a href="index.php?subtopic=changelog">Changelog</a></li>
<li><a href="index.php?subtopic=signatures">Signatures</a></li>
</ul>
<div id="box8" class="box-style2">
<h2 class="title">Top skills</h2>
<div class="entry">
<ul class="list1">
</ul>
<div class="entry">
<ul class="list1">
<li><a href="index.php?subtopic=highscores&amp;list=experience&amp;world=0">Level</a></li>
<li><a href="index.php?subtopic=highscores&amp;list=magic&amp;world=0">Magic</a></li>
<li><a href="index.php?subtopic=highscores&amp;list=fist&amp;world=0">Fist&nbsp;</a></li>
<li><a href="index.php?subtopic=highscores&amp;list=clubt&amp;world=0">Club</a></li>
<li><a href="index.php?subtopic=highscores&amp;list=fist&amp;world=0">Sword</a></li>
<li><a href="index.php?subtopic=highscores&amp;list=axe&amp;world=0">Axe</a></li>
<li><a href="index.php?subtopic=highscores&amp;list=distance&amp;world=0">Distance</a></li>
<li><a href="index.php?subtopic=highscores&amp;list=shieldning&amp;world=0">Shielding</a></li>
<li><a href="index.php?subtopic=highscores&amp;list=fisting&amp;world=0">Fishing</a></li>
</ul>
</div>
<ul class="list1">
</ul>
</div>
</div>
</div>

<div id="box8" class="box-style2">

</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
</div>
</div>

<div id="footer">
<p class="container">Copyright (c) 2009 Loleslav. All rights reserved.<br>Powered by UNNAMED Acc. Maker &copy;2009 - 2010 by Gesior.<br>Designed by <a href="http://cerberia.com">DeGhost</a> and <a href="http://blog.loleslav.pl/">Loleslav</a>.</p>
</div>
</div>
</div>
</body>
</html>
 
mmm try to edit in createaccount.php, weidth & hight of all code XD
PD: U'r poll, Los Negros Deberian Morir?
YES
;) opera looks nice
 
Looks like too many bugs, post everything that we need to change in our files for it to display properly :thumbup:
 
@richiadicct

In createaccount.php search for

Code:
COLS="

and change the number to 55, or whatever fits your screen.
 
Back
Top