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

Template? problem [Modern AAC]

mofaza

Maskin
Joined
Jun 26, 2011
Messages
73
Reaction score
0
Hello, I've a problem with my template.
When I'm about to create a account it looks like this:

http://data.fuskbugg.se/skalman02/61f0c3ac_templatebuggy.gif

Also in account the menu is fucked up, the navbar Modern AAC usually got disappeared and all text and options are just followed by each other.

index.tpl
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$title}</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link rel="stylesheet" href="{$path}/templates/blazetemplate/images/blaze.css" type="text/css" />
<!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.thrColElsHdr #sidebar1, .thrColElsHdr #sidebar2 { padding-top: 30px; }
.thrColElsHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]--></head>
<link rel="stylesheet" href="{$path}/templates/blazetemplate/images/blaze.css" type="text/css" />
<body class="thrColElsHdr">

<div id="container">
  <div id="header">
    <p>&nbsp;</p>
    <table width="562" height="138" border="0" align="center" cellpadding="0" cellspacing="0" background="{$path}templates/blazetemplate/images/header.png">
      </tr>
    </table>
    <table width="912" height="109" border="0" align="center" cellpadding="0" cellspacing="0" background="{$path}templates/blazetemplate/images/nav.png">
      <tr>
        <td><p>&nbsp;</p>
          <table width="560" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="91"><div align="center"><a href="{$path}"><img src="{$path}templates/blazetemplate/images/navhome.png" width="55" height="27" border="0" /></a></div></td>
            <td width="95"><div align="center"><a href="{$path}/index.php/account/"><img src="{$path}templates/blazetemplate/images/navaccount.png" width="87" height="23" border="0" /></a></div></td>
            <td width="198"><div align="center"><a href="{$path}/index.php/highscores"><img src="{$path}templates/blazetemplate/images/navhighscores.png" width="106" height="28" border="0" /></a></div></td>
            <td width="83"><div align="right"><a href="{$path}/index.php/guilds"><img src="{$path}templates/blazetemplate/images/navguilds.png" width="66" height="26" border="0" /></a></div></td>
            <td width="93"><div align="center"><a href="{$path}/index.php/forum"><img src="{$path}templates/blazetemplate/images/navforum.png" width="64" height="27" border="0" /></a></div></td>
          </tr>
        </table></td>
      </tr>
    </table>
  </div>
  <div id="sidebar1">
    <table width="205" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><p>
              </td>
            </tr>
          </table>
          <table width="173" height="440" border="0" cellpadding="0" cellspacing="0" background="{$path}templates/blazetemplate/images/sidebar1.png">
            <tr>
              <td><table width="77" border="0" align="center" cellpadding="0" cellspacing="0" background="{$path}templates/blazetemplate/images/home.png">
                  <tr>
                  </tr>
                </table>                
                <table width="180" height="337" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><p align="center"><img src="{$path}templates/blazetemplate/images/home.png" width="74" height="35" /><a href="{$path}index.php/home/archive"><img src="{$path}templates/blazetemplate/images/news.png" width="146" height="26" border="0" align="top" /></a></p>
                    <p align="center"><a href="{$path}/index.php/p/v/rules"><img src="{$path}templates/blazetemplate/images/rules.png" width="146" height="26" border="0" /></a></p>
                    <p align="center"><img src="{$path}templates/blazetemplate/images/community.png" width="148" height="33" /><a href="{$path}/index.php/character/online"><img src="{$path}templates/blazetemplate/images/whosonline.png" width="146" height="26" border="0" /></a></p>
                    <p align="center"><a href="{$path}/index.php/character/view"><img src="{$path}templates/blazetemplate/images/characters.png" width="146" height="26" border="0" /></a></p>
                    <p align="center"><a href="{$path}/index.php/p/v/gallery"><img src="{$path}templates/blazetemplate/images/gallery.png" width="146" height="26" border="0" /></a></p>
                    <p align="center"><a href="{$path}index.php/p/v/shop"><img src="{$path}templates/blazetemplate/images/shop.png" border="0" /></a></p></td>
                  </tr>
                </table>
              <p>&nbsp;</p></td>
            </tr>
          </table>
          <p></td>
      </tr>
    </table>
  </div>
  <div id="sidebar2">
    <table width="205" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><p><table width="205" height="140" border="0" cellpadding="0" cellspacing="0" background="{$path}templates/blazetemplate/images/sidebarstatus.png">
            <tr>
              <td><br/>{foreach from=$worlds key=id item=world}<span class="style8">World:</span> <span class="style9">{$world}</span> <br />
                                    <span class="style8">Status:</span>  
              {if $serverOnline[$id]}
              <span style="color: green; font-size: 12px; font-weight: bold;">ONLINE</span><br />
              <span class="style8">Uptime:</span> <span class="style9">{$serverUptime[$id]}</span> <br />
              <span class="style8">Players:</span> <span class="style9">{$serverPlayers[$id]}/{$serverMax[$id]}</span><br />
              {else}
              <span style="color: red; font-size: 12px; font-weight: bold;">OFFLINE</span>
              {/if}</span>
              </p>              
              <span class="style6"></span></span></td>{/foreach}
            </tr>
          </table>
          
          <a href="{$path}/index.php/account/create"><img src="{$path}templates/blazetemplate/images/joinus.png" width="216" height="195" border="0" /></a>
          <p><table width="180" height="138" border="0" cellpadding="0" cellspacing="0" background="{$path}templates/blazetemplate/images/sidebarhighscores.png">
            <tr>
              <td><div class="top-box">
{include_php file='templates\blazetemplate\topplayer.php'}
</div></td>
            </tr>
          </table>
        <p></td>
      </tr>
    </table>
  </div>
  <div id="mainContent">
    <table width="580" height="207" border="0" align="right" cellpadding="0" cellspacing="0" background="{$path}templates/blazetemplate/images/contenttop.png">
      <tr>
        <td><p align="left" class="style2">&nbsp;</p>
          <table width="200" height="27" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td><div align="center"><span class="style6">Latest News</span></div></td>
            </tr>
          </table>
          <p align="left" class="style2">&nbsp;</p>
          <p>&nbsp;</p>
        <p>&nbsp;</p></td>
      </tr>
    </table>
  </div>
  <div id="mainContent2">
<table width="580" height="207" border="0" align="right" cellpadding="0" cellspacing="0" background="{$path}templates/blazetemplate/images/information-center.png">
        <td>
          <table width="450" height="27" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
          <td><div align="center"><span class="style4"><link rel="stylesheet" href="{$path}templates/blazetemplate/images/blaze.css" type="text/css" /><div id="vt_content"><span class="style7">{$main}</span></div></td></tr></table></td></table></div>
          <div id="mainContent3">
          <table width="554" height="50" border="0" align="left" cellpadding="0" cellspacing="0" background="{$path}templates/blazetemplate/images/information-bottom.png"></table></div>
        <td>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->

  <!-- end #sidebar2 -->
  <br class="clearfloat" />
   <div id="footer"><!-- DON'T ERASE THIS. PLEASE, RESPECT MY WORK -->
     <p align="center" class="style7">Copyright <span id="search">©</span> 2011 Zaphera.</p>
     <p align="center" class="style7">Designed and Coded by <a href="http://otland.net/members/reichsleiter/">Reichsleiter</a>.</p>
     <p align="center" class="style7">All Rights Reserved.
       <!-- end #footer -->
     </p>
     </div>
<!-- end #container --></div>
</body>
</html>

blaze.css
HTML:
@charset "utf-8";

.input {
	width: 125px;
	height: 19px;
	color: #FF9933;
	background: url('input-background.png') no-repeat;
	background-position: center;
	border: 0px;
}

.login {
	width: 56px;
	height: 16px;
	background: url('loginbutton.png') no-repeat;
	background-position: center;
	border: 0px;
}

.findpass {
	width: 56px;
	height: 16px;
	background: url('forgot.png') no-repeat;
	background-position: center;
	border: 0px;
}

#vt_content .message .title, #vt_content .news .newsTitle {
	width: 305px;
	height: 34px;
	padding: 15px 10px 0px 40px;
	text-align: center;
	background: url('title.png') no-repeat;
	background-position: center;
	color: #f16918;
	font-family: Verdana;
	font-size: 16px;
	font-weight: bold;
	border: 0px;
}

#bottom {
	width: 554px;
	height: 50px;
	padding: 15px 10px 0px 40px;
	text-align: center;
	background: url('information-bottom.png') no-repeat;
	background-position: center;
	color: #f16918;
	font-family: Verdana;
	font-size: 16px;
	font-weight: bold;
	border: 0px;
}

body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	background-image: url('background.png');
	background-repeat: repeat;
	background-position: center;
}

/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/
.thrColElsHdr #container {
	width: 59em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
	text-align: center;
	padding: 0 10px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
} 
.thrColElsHdr #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0;
	line-height: 0px; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColElsHdr #sidebar1 p" rule.
*/
.thrColElsHdr #sidebar1 {
	float: left;
	width: 11em; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 0; /* top and bottom padding create visual space within this div */
	vertical-align: top;
}
.thrColElsHdr #sidebar2 {
	float: right;
	width: 11em; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 0; /* top and bottom padding create visual space within this div */
}

/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/
.thrColElsHdr #mainContent {
	margin: 0 11em 0 11em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
} 
.thrColElsHdr #mainContent2 {
	margin: 0 11em 0 11em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
} 
.thrColElsHdr #mainContent3 {
	margin: 0 11em 0 11em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
} 
.thrColElsHdr #footer { 
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
} 
.thrColElsHdr #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
}
.style2 {
	color: #f16918
}
body,td,th {
	color: #FF9933;
}
.style6 {
	color: #f16918; font-weight: bold; 
}
.style7 {
color: #FF9933;
font-size: 12px;
}
.style8 {
	font-family: Verdana;
	font-size: 12px;
	color: #FF9933;
	font-weight: bold;
}
.style9 {
	font-family: Verdana;
	font-size: 12px;
	color: #FF9933;
}
.style10 {
	color: #FF9933;
}
a:link {
	color: #FF9933;
}
a:visited {
	color: #FF9933;
}
a:hover {
	color: #FFCC66;
}
a:active {
	color: #FF9933;
}
 
Back
Top