[Gesior AAC] Mouse pointer

Discussion in 'Web-development' started by semary, Jun 5, 2010.

?

Are you use the mouse pointer Script ? REP+

  1. Yes iam using it on my website

    26 vote(s)
    37.7%
  2. No , i don't use it

    23 vote(s)
    33.3%
  3. I will never use it , i don't like it

    20 vote(s)
    29.0%
  1. semary

    semary [BB] OTland

    Joined:
    May 3, 2009
    Messages:
    814
    Likes Received:
    21
    Best Answers:
    0
    Hello Otlander.

    I want to shar with you today another funny script
    it will change your website mouse pointer

    Add it at layout.php
    PHP:
    1.  
    2.     <style type="text/css">
    3. <!--
    4.  
    5. body, th, td, input, textarea, select {
    6.     cursor : url("http://sunnyneo.com/pointers/swordcursor.gif"), url("http://sunnyneo.com/pointers/swordcursor.gif"), pointer;
    7. }
    8.  
    9. -->
    10.  
    11. </style>
    12.  
    REP Me ++ By click on that link http://otland.net/reputation.php?p=841325
     
  2. Michaeck

    Michaeck Twistera.net Hoster

    Joined:
    Jan 31, 2010
    Messages:
    97
    Likes Received:
    1
    Best Answers:
    0
    that's cool:D
     
  3. Atlantique

    Atlantique New Member

    Joined:
    Apr 17, 2009
    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Very nice, we will not have more old sux cursors :D
     
  4. semary

    semary [BB] OTland

    Joined:
    May 3, 2009
    Messages:
    814
    Likes Received:
    21
    Best Answers:
    0
    Thats good that you guys like it Rep+ me :D
     
  5. XaTaR

    XaTaR قناص بغداد

    Joined:
    May 20, 2009
    Messages:
    1,278
    Likes Received:
    0
    Best Answers:
    0
    pic???
     
  6. Merkz

    Merkz Creator of Arachnas.com

    Joined:
    Jun 29, 2008
    Messages:
    2,910
    Likes Received:
    82
    Best Answers:
    0
    Take the URL from the code?

    for you lazys

    [​IMG]
     
  7. Nerkoerko

    Nerkoerko Banned User

    Joined:
    Feb 28, 2009
    Messages:
    402
    Likes Received:
    5
    Best Answers:
    0
    Wow xD
     
  8. Blackish

    Blackish Member

    Joined:
    Jun 3, 2009
    Messages:
    230
    Likes Received:
    0
    Best Answers:
    0
    Last edited by a moderator: Jun 7, 2010
  9. Zayl92

    Zayl92 Banned User

    Joined:
    Jan 19, 2008
    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    I create for [you] custom cursor:
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    RPM -> save picture as

    and in the code change this line:
    Code (Text):
    1. cursor:url("http://sunnyneo.com/pointers/swordcursor.gif"), url("http://sunnyneo.com/pointers/swordcursor.gif"), pointer;
    to it and change name mouse pointer:
    Code (Text):
    1. cursor:url(<? echo $layout_name; ?>/images/[(name).png), pointer;
    Pozdrawiam
    Bufo :)
     
  10. Blackish

    Blackish Member

    Joined:
    Jun 3, 2009
    Messages:
    230
    Likes Received:
    0
    Best Answers:
    0
    how did u get those
     
  11. Blackish

    Blackish Member

    Joined:
    Jun 3, 2009
    Messages:
    230
    Likes Received:
    0
    Best Answers:
    0
    Nope still dosent work:S
     
  12. Blackish

    Blackish Member

    Joined:
    Jun 3, 2009
    Messages:
    230
    Likes Received:
    0
    Best Answers:
    0
    this is my layout.php

    PHP:
    1. <html xmlns="http://www.w3.org/1999/xhtml">
    2. <head>
    3.   <title><?PHP echo $title ?></title>
    4.   <meta name="description" content="Tibia is a free massive multiplayer online role playing game (MMORPG)." />
    5.   <meta name="author" content="Gesior | Modified by Norix and WidNet" />
    6.   <meta http-equiv="content-language" content="en" />
    7.   <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    8.   <meta name="keywords" content="free online game, free multiplayer game, ots, open tibia server" />
    9.   <link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/server.jpg" type="image/jpg-icon">
    10.   <link rel="icon" href="<?PHP echo $layout_name; ?>/images/server.jpg" type="image/jpg-icon">
    11.   <?PHP echo $layout_header; ?>
    12.   <link href="<?PHP echo $layout_name; ?>/basic.css" rel="stylesheet" type="text/css">
    13.   <script type='text/javascript'> var IMAGES=0; IMAGES='<?PHP echo $layout_name; ?>/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
    14.   <script type="text/javascript" src="<?PHP echo $layout_name; ?>/initialize.js"></script>
    15.   <SCRIPT TYPE="text/javascript">
    16.       <style type="text/css">
    17. <!--
    18.  
    19. body, th, td, input, textarea, select {
    20.     cursor:url(<? echo $layout_name; ?>/images/[(redskull).png), pointer;, url(<? echo $layout_name; ?>/images/[(redskull).png), pointer;
    21. }
    22.  
    23. -->
    24.  
    25. </style>
    26.   <!-- // Framekiller
    27.   setTimeout ("changePage()", 6000);
    28.   function changePage()
    29.   {
    30.     if (parent.frames.length > 2) {
    31.       if (browserTyp == "ie") {
    32.         parent.location=document.location;
    33.       } else {
    34.         self.top.location=document.location;
    35.       }
    36.     }
    37.   }
    38.   // -->
    39.   </SCRIPT>
    40. </head>
    41. <body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">
    42.  <a name="top"></a>
    43.   <div id="ArtworkHelper" style="background-image:url(<?PHP echo $layout_name; ?>/images/header/background-artwork.jpg);" >
    44.     <div id="Bodycontainer">
    45.       <div id="ContentRow">
    46.         <div id="MenuColumn">
    47.           <div id="LeftArtwork">
    48.             <img id="Statue_1" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />
    49.             <img id="TibiaLogoArtworkTop" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-top.gif" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />
    50.             <img id="TibiaLogoArtworkBottom" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-bottom.gif" alt="logoartwork" />
    51.             <img id="Statue_2" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />
    52.           </div>
    53.          
    54.   <div id="Loginbox" >
    55.     <div id="LoginTop" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif)" ></div>
    56.     <div id="BorderLeft" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    57.     <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    58.       <div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-you-are-not-logged-in.gif)" ></div>
    59.     </div>
    60.     <div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    61.       <div id="LoginButton" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif)" >
    62.         <div onClick="LoginButtonAction();" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="Button" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif)" ></div>
    63.           <div id="ButtonText" ></div>
    64.         </div>
    65.       </div>
    66.     </div>
    67.     <div style="clear:both" ></div>
    68.     <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    69.       <div id="LoginstatusText_2" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_2_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2_2" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif)" ></div></div>
    70.     </div>
    71.      <div id="BorderRight" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    72.     <div id="LoginBottom" class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif)" ></div>
    73.   </div>
    74.  
    75. <div id='Menu'>
    76. <div id='MenuTop' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif);'></div>
    77.  
    78. <div id='news' class='menuitem'>
    79. <span onClick="MenuItemAction('news')">
    80.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    81.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    82.       <span id='news_Lights' class='Lights'>
    83.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    84.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    85.  
    86.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    87.       </span>
    88.       <div id='news_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-news.gif);'></div>
    89.       <div id='news_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-news.gif);'></div>
    90.       <div id='news_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    91.     </div>
    92.   </div>
    93. </span>
    94. <div id='news_Submenu' class='Submenu'>
    95. <a href='?subtopic=latestnews'>
    96.   <div id='submenu_latestnews' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    97.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    98.     <div id='ActiveSubmenuItemIcon_latestnews' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    99.     <div class='SubmenuitemLabel'>Latest News</div>
    100.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    101.   </div>
    102. </a>
    103. <a href='?subtopic=archive'>
    104.   <div id='submenu_archive' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    105.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    106.     <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    107.     <div class='SubmenuitemLabel'>News Archive</div>
    108.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    109.   </div>
    110. </a>
    111. <a href='?subtopic=changelog'>
    112.   <div id='submenu_changelog' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    113.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    114.     <div id='ActiveSubmenuItemIcon_changelog' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    115.     <div class='SubmenuitemLabel'>Changelog</div>
    116.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    117.   </div>
    118. </a>
    119. </div>
    120. </div>
    121.  
    122. <div id='account' class='menuitem'>
    123. <span onClick="MenuItemAction('account')">
    124.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    125.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    126.       <span id='account_Lights' class='Lights'>
    127.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    128.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    129.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    130.       </span>
    131.       <div id='account_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-account.gif);'></div>
    132.       <div id='account_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-account.gif);'></div>
    133.       <div id='account_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    134.     </div>
    135.   </div>
    136. </span>
    137. <div id='account_Submenu' class='Submenu'>
    138. <a href='?subtopic=accountmanagement'>
    139.   <div id='submenu_accountmanagement' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    140.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    141.     <div id='ActiveSubmenuItemIcon_accountmanagement' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    142.     <div class='SubmenuitemLabel'>Account Management</div>
    143.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    144.   </div>
    145. </a>
    146. <a href='?subtopic=createaccount'>
    147.   <div id='submenu_createaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    148.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    149.     <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    150.     <div class='SubmenuitemLabel'>Create Account</div>
    151.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    152.   </div>
    153. </a>
    154. <a href='?subtopic=lostaccount'>
    155.   <div id='submenu_lostaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    156.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    157.     <div id='ActiveSubmenuItemIcon_lostaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    158.     <div class='SubmenuitemLabel'>Lost Account?</div>
    159.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    160.   </div>
    161. </a>
    162. <a href='?subtopic=tibiarules'>
    163.   <div id='submenu_tibiarules' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    164.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    165.     <div id='ActiveSubmenuItemIcon_tibiarules' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    166.     <div class='SubmenuitemLabel'>Server Rules</div>
    167.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    168.   </div>
    169. </a>
    170. <a href='?subtopic=bugtracker'>
    171.   <div id='submenu_bugtracker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    172.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    173.     <div id='ActiveSubmenuItemIcon_bugtracker' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    174.     <div class='SubmenuitemLabel'>Bug Tracker</div>
    175.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    176.   </div>
    177. </a>
    178. <?PHP
    179. if($config['site']['download_page'] == 1)
    180. echo "<a href='?subtopic=downloads'>
    181.  <div id='submenu_downloads' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    182.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    183.    <div id='ActiveSubmenuItemIcon_downloads' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    184.    <div class='SubmenuitemLabel'>Downloads</div>
    185.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    186.  </div>
    187. </a>";
    188. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    189. echo "<a href='?subtopic=adminpanel'>
    190.  <div id='submenu_adminpanel' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    191.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    192.    <div id='ActiveSubmenuItemIcon_adminpanel' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    193.    <div class='SubmenuitemLabel'><font color=\"red\">! Admin Panel !</font></div>
    194.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    195.  </div>
    196. </a>";
    197. if($group_id_of_acc_logged > 0)
    198. echo "<a href='?subtopic=namelock'>
    199.  <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    200.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    201.    <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    202.    <div class='SubmenuitemLabel'><font color=\"red\">! Namelocks !</font></div>
    203.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    204.  </div>
    205. </a>";
    206. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    207. echo "<a href='?subtopic=polls'>
    208.  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    209.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    210.    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    211.    <div class='SubmenuitemLabel'><font color=\"red\">! Manage Polls !</font></div>
    212.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    213.  </div>
    214. </a>";
    215. ?>
    216. </div>
    217. </div>
    218.  
    219. <div id='community' class='menuitem'>
    220. <span onClick="MenuItemAction('community')">
    221.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    222.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    223.       <span id='community_Lights' class='Lights'>
    224.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    225.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    226.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    227.       </span>
    228.       <div id='community_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-community.gif);'></div>
    229.       <div id='community_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-community.gif);'></div>
    230.       <div id='community_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    231.  
    232.     </div>
    233.   </div>
    234. </span>
    235. <div id='community_Submenu' class='Submenu'>
    236. <a href='?subtopic=characters'>
    237.   <div id='submenu_characters' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    238.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    239.     <div id='ActiveSubmenuItemIcon_characters' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    240.     <div class='SubmenuitemLabel'>Characters</div>
    241.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    242.  
    243.   </div>
    244. </a>
    245. <a href='?subtopic=whoisonline'>
    246.   <div id='submenu_whoisonline' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    247.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    248.     <div id='ActiveSubmenuItemIcon_whoisonline' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    249.     <div class='SubmenuitemLabel'>Who Is Online?</div>
    250.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    251.   </div>
    252. </a>
    253. <a href='?subtopic=highscores'>
    254.   <div id='submenu_highscores' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    255.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    256.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    257.     <div class='SubmenuitemLabel'>Highscores</div>
    258.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    259.   </div>
    260. </a>
    261. <a href='?subtopic=auctionsystem'>
    262.   <div id='submenu_auctionsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    263.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    264.     <div id='ActiveSubmenuItemIcon_buypoints' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    265.     <div class='SubmenuitemLabel'><blink style=\"color: red;\">Auctions</blink></div>
    266.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    267.   </div>
    268. </a>
    269. <a href='?subtopic=fragers'>
    270.   <div id='submenu_fragers' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    271.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    272.     <div id='ActiveSubmenuItemIcon_fragers' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    273.     <div class='SubmenuitemLabel'>Top Fragers</div>
    274.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    275.   </div>
    276. </a>
    277. <a href='?subtopic=killstatistics'>
    278.   <div id='submenu_killstatistics' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    279.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    280.     <div id='ActiveSubmenuItemIcon_killstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    281.     <div class='SubmenuitemLabel'>Last Kills</div>
    282.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    283.   </div>
    284. </a>
    285. <a href='?subtopic=bans'>
    286.   <div id='submenu_bans' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    287.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    288.     <div id='ActiveSubmenuItemIcon_bans' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    289.     <div class='SubmenuitemLabel'>Banishments</div>
    290.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    291.   </div>
    292. </a>
    293. <a href='?subtopic=houses'>
    294.   <div id='submenu_houses' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    295.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    296.     <div id='ActiveSubmenuItemIcon_houses' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    297.     <div class='SubmenuitemLabel'>Houses</div>
    298.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    299.   </div>
    300. </a>
    301. <a href='?subtopic=guilds'>
    302.   <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    303.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    304.  
    305.     <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    306.     <div class='SubmenuitemLabel'>Guilds</div>
    307.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    308.   </div>
    309. </a>
    310. <a href='?subtopic=polls'>
    311.   <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    312.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    313.     <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    314.     <div class='SubmenuitemLabel'>Polls</div>
    315.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    316.   </div>
    317. </a>
    318. <a href='?subtopic=team'>
    319.   <div id='submenu_team' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    320.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    321.     <div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    322.     <div class='SubmenuitemLabel'>Support List</div>
    323.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    324.   </div>
    325. </a>
    326. <a href='?subtopic=signatures'>
    327.   <div id='submenu_signatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    328.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    329.     <div id='ActiveSubmenuItemIcon_signatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    330.     <div class='SubmenuitemLabel'>Signature Generator</div>
    331.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    332.   </div>
    333. </a>
    334. </div>
    335. </div>
    336.  
    337. <?PHP
    338. echo "<div id='forum' class='menuitem'>
    339.         <span onClick=\"MenuItemAction('forum')\">
    340.      <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background.gif);'>
    341.          <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.gif);'></div>
    342.               <span id='forum_Lights' class='Lights'>
    343.                <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    344.                <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    345.                <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    346.               </span>
    347.               <div id='forum_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-forum.gif);'></div>
    348.               <div id='forum_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-forum.gif);'></div>
    349.               <div id='forum_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
    350.             </div>
    351.           </div>
    352.          </span>
    353.       <div id='forum_Submenu' class='Submenu'>
    354.          <a href='?subtopic=forum'>
    355.           <div id='submenu_forum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    356.             <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    357.             <div id='ActiveSubmenuItemIcon_forum' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    358.             <div class='SubmenuitemLabel'>Server Forum</div>
    359.             <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    360.           </div>
    361.          </a>
    362.        </div>  
    363.       </div>";
    364. ?>
    365.  
    366. <div id='library' class='menuitem'>
    367. <span onClick="MenuItemAction('library')">
    368.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    369.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    370.       <span id='library_Lights' class='Lights'>
    371.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    372.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    373.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    374.       </span>
    375.       <div id='library_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-library.gif);'></div>
    376.       <div id='library_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-library.gif);'></div>
    377.       <div id='library_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    378.     </div>
    379.   </div>
    380. </span>
    381. <div id='library_Submenu' class='Submenu'>
    382. <a href='?subtopic=creatures'>
    383.   <div id='submenu_creatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    384.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    385.     <div id='ActiveSubmenuItemIcon_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    386.     <div class='SubmenuitemLabel'>Creatures</div>
    387.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    388.   </div>
    389. </a>
    390. <a href='?subtopic=spells'>
    391.   <div id='submenu_spells' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    392.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    393.     <div id='ActiveSubmenuItemIcon_spells' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    394.     <div class='SubmenuitemLabel'>Spells</div>
    395.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    396.   </div>
    397. </a>
    398. <?PHP
    399. if($config['site']['gallery_page'] == 1)
    400. echo "<a href='?subtopic=gallery'>
    401.  <div id='submenu_gallery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    402.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    403.    <div id='ActiveSubmenuItemIcon_gallery' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    404.    <div class='SubmenuitemLabel'>Gallery</div>
    405.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    406.  </div>
    407. </a>";
    408. if($config['site']['serverinfo_page'] == 1)
    409. echo "<a href='?subtopic=serverinfo'>
    410.  <div id='submenu_serverinfo' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    411.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    412.    <div id='ActiveSubmenuItemIcon_serverinfo' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    413.    <div class='SubmenuitemLabel'>Server Info</div>
    414.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    415.  </div>
    416. </a>";
    417. ?>
    418. <a href='?subtopic=experiencetable'>
    419.   <div id='submenu_experiencetable' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    420.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    421.     <div id='ActiveSubmenuItemIcon_experiencetable' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    422.     <div class='SubmenuitemLabel'>Experience Table</div>
    423.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    424.   </div>
    425. </a>
    426. </div>
    427. </div>
    428.  
    429. <?PHP
    430. if($config['site']['shop_system'] == 1) {
    431. echo "<div id='shops' class='menuitem'>
    432. <span onClick=\"MenuItemAction('shops')\">
    433.  <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background.gif);'>
    434.    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.gif);'></div>
    435.      <span id='shops_Lights' class='Lights'>
    436.        <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    437.        <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    438.        <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    439.      </span>
    440.      <div id='shops_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-shops.gif);'></div>
    441.      <div id='shops_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-shops.gif);'></div>
    442.      <div id='shops_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
    443.    </div>
    444.  </div>
    445. </span>
    446. </div>
    447. <div id='shops_Submenu' class='Submenu'>
    448. <a href='?subtopic=buypoints'>
    449.  <div id='submenu_buypoints' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    450.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    451.    <div id='ActiveSubmenuItemIcon_buypoints' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    452.    <div class='SubmenuitemLabel'><blink style=\"color: red;\">Buy Points</blink></div>
    453.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    454.  </div>
    455. </a>
    456. <a href='?subtopic=shopsystem'>
    457.  <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    458.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    459.    <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    460.    <div class='SubmenuitemLabel'><div style=\"color: green;\">\$hop Offer</div></div>
    461.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    462.  </div>
    463. </a>";
    464. if($logged)
    465. echo "<a href='?subtopic=shopsystem&action=show_history'>
    466.  <div id='submenu_show_history' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    467.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    468.    <div id='ActiveSubmenuItemIcon_show_history' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    469.    <div class='SubmenuitemLabel'>Trans. History</div>
    470.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    471.  </div>
    472. </a>";
    473. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    474. echo "<a href='?subtopic=shopadmin'>
    475.  <div id='submenu_shopadmin' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    476.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    477.    <div id='ActiveSubmenuItemIcon_shopadmin' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    478.    <div class='SubmenuitemLabel'><font color=red>! Shop Admin !</font></div>
    479.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    480.  </div>
    481. </a>";
    482. echo "</div>";
    483. }
    484. ?>
    485. <div id='MenuBottom' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);'></div>
    486. </div>
    487.   <script type='text/javascript'>InitializePage();</script></div>
    488.         <div id="ContentColumn">
    489.           <div class="Content">
    490.             <div id="ContentHelper"><script type="text/javascript" src="<?PHP echo $layout_name; ?>/newsticker.js"></script>
    491.         <?PHP echo $news_content; ?>
    492.     <div id="<?PHP echo $subtopic; ?>" class="Box">
    493.     <div class="Corner-tl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tl.gif);"></div>
    494.     <div class="Corner-tr" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tr.gif);"></div>
    495.     <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    496.     <div class="BorderTitleText" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/title-background-green.gif);"></div>
    497.     <img class="Title"  src="headline.php?text=<?php echo $topic ?>" alt="Contentbox headline" />
    498.     <div class="Border_2">
    499.       <div class="Border_3">
    500.         <div class="BoxContent" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/scroll.gif);">
    501.     <?PHP echo $main_content; ?>
    502.       </div>
    503.       </div>
    504.     </div>
    505.     <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    506.  
    507.     <div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-bl.gif);"></div></div>
    508.     <div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-br.gif);"></div></div>
    509.   </div>
    510.            </div>
    511.           </div>
    512.           <div id="Footer">
    513. <?PHP
    514. $time_end = microtime_float();
    515. $time = $time_end - $time_start;
    516. ?>
    517.             Account Maker made by Gesior. Layout by CipSoft GmbH.<br/>Page has been viewed <?PHP echo $page_views; ?> times. Load time: <?PHP echo round($time, 4); ?> seconds
    518.           </div>
    519.         </div>
    520.         <div id="ThemeboxesColumn">
    521.           <div id="RightArtwork">
    522.             <img id="Monster" src="images/monsters/<?PHP echo logo_monster() ?>.gif" onClick="window.location = '?subtopic=creatures&amp;creature=<?PHP echo logo_monster() ?>';" alt="Monster of the Week" />
    523.             <img id="PedestalAndOnline" src="<?PHP echo $layout_name; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
    524.           <?PHP
    525.           if(count($config['site']['worlds']) > 1)
    526.               $whoisonlineworld = '?subtopic=whoisonline';
    527.           else
    528.               $whoisonlineworld = '?subtopic=whoisonline&world=0';
    529.           ?>
    530.              <div id="PlayersOnline" onClick="window.location='<?PHP echo $whoisonlineworld; ?>'">
    531.  
    532.           <?PHP
    533.             if($config['status']['serverStatus_online'] == 1)
    534.                 echo $config['status']['serverStatus_players'].'<br />Players Online';
    535.             else
    536.                 echo '<font color="red"><b>Server<br />OFFLINE</b></font>';
    537.           ?></div>
    538.         </div>
    539.  
    540.   <div id="Themeboxes">
    541.          
    542.   <div id="NewcomerBox" class="Themebox" style="background-image:url(<?PHP echo $layout_name; ?>/images/themeboxes/newcomer/newcomerbox.gif);">
    543.     <div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=createaccount')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif);"></div>
    544.       <div class="ButtonText" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/_sbutton_jointibia.gif);"></div>
    545.     </div>
    546.     <div class="Bottom" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);"></div>
    547.   </div>
    548. <?PHP
    549. if($config['site']['screenoftheday'] == 1)
    550. echo '<div id="ScreenshotBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/screenshot/screenshotbox.gif);">
    551.      <a href="?subtopic=gallery" >
    552.        <img id="ScreenshotContent" class="ThemeboxContent" src="images/screenshotoftheday.gif" alt="Screenshot of the Day" /></a>
    553.    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
    554.     </div>';
    555. ?>
    556. <?PHP
    557. $time = time();
    558. $viewpoll = $SQL->query('SELECT * FROM z_polls where end > '.$time.' ORDER BY id DESC LIMIT 1');
    559. foreach($viewpoll as $p)
    560. $polls .= '<center>'.$p['question'].'</center>';
    561.     if(count($p['id']) > 0)
    562.      echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/current-poll/currentpollbox.gif);">
    563.      <div id="CurrentPollText">'.$polls.'</div>
    564.      <a class="ThemeboxButton" href="?subtopic=polls&id= '.$p['id'].'" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);"></div>
    565.        <div class="ButtonText" style="background-image:url('.$layout_name.'/images/buttons/_sbutton_votenow.gif);"></div>
    566.      </a>
    567.    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
    568.     </div>
    569.  <object width="190" height="360" id="obj_1274621779843"><param name="movie" value="http://blackishserver.chatango.com/group"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1274621779843&a=000000&b=100&c=993300&d=FFFFFF&e=333333&f=48&g=CCCCCC&i=67&k=666666&m=FFFFFF&q=000000&r=100&s=1&aa=1"/><embed id="emb_1274621779843" src="http://blackishserver.chatango.com/group" width="190" height="360" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1274621779843&a=000000&b=100&c=993300&d=FFFFFF&e=333333&f=48&g=CCCCCC&i=67&k=666666&m=FFFFFF&q=000000&r=100&s=1&aa=1"></embed></object><br>    </div>';
    570. ?>
    571. <?PHP
    572. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    573. echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/admin/admin.gif);">
    574.      <div id="CurrentPollText">
    575.     <b><a href="?subtopic=adminpanel"><b>Admin Panel</b></a><b><br>
    576.     <b><a href="?subtopic=namelock"><b>Namelocks</b></a><b><br>
    577.     <b><a href="?subtopic=polls"><b>Manage Polls</b></a><b><br>
    578.     <b><a href="?subtopic=shopadmin"><b>Shop Admin</b></a><b></div>
    579.    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
    580.    </div>';
    581. ?>
    582.         </div>
    583.       </div>
    584.      </div>
    585.     </div>
    586.   </div>
    587. </body>
    588. </html>
    589.  
     
  13. Zayl92

    Zayl92 Banned User

    Joined:
    Jan 19, 2008
    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    ahh... xd
    Code (Text):
    1. cursor:url(<? echo $layout_name; ?>/images/[(redskull).png), pointer;, url(<? echo $layout_name; ?>/images/[(redskull).png), pointer;  
    This:
    Code (Text):
    1. [(redskull).png
    change for:
    Code (Text):
    1. redskull.png
    the abridged version is also acting ; d
    Code (Text):
    1. cursor:url(<? echo $layout_name; ?>/images/redskull.png), pointer;
     
  14. semary

    semary [BB] OTland

    Joined:
    May 3, 2009
    Messages:
    814
    Likes Received:
    21
    Best Answers:
    0
    Layout.php [FIXED]
    PHP:
    1.  
    2. <html xmlns="http://www.w3.org/1999/xhtml">
    3. <head>
    4.   <title><?PHP echo $title ?></title>
    5.   <meta name="description" content="Tibia is a free massive multiplayer online role playing game (MMORPG)." />
    6.   <meta name="author" content="Gesior | Modified by Norix and WidNet" />
    7.   <meta http-equiv="content-language" content="en" />
    8.   <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    9.   <meta name="keywords" content="free online game, free multiplayer game, ots, open tibia server" />
    10.   <link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/server.jpg" type="image/jpg-icon">
    11.   <link rel="icon" href="<?PHP echo $layout_name; ?>/images/server.jpg" type="image/jpg-icon">
    12.   <?PHP echo $layout_header; ?>
    13.   <link href="<?PHP echo $layout_name; ?>/basic.css" rel="stylesheet" type="text/css">
    14.   <script type='text/javascript'> var IMAGES=0; IMAGES='<?PHP echo $layout_name; ?>/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
    15.   <script type="text/javascript" src="<?PHP echo $layout_name; ?>/initialize.js"></script>
    16.   <SCRIPT TYPE="text/javascript">
    17.       <style type="text/css">
    18. <!--
    19.  
    20. body, th, td, input, textarea, select {
    21.     cursor:url(<? echo $layout_name; ?>/images/redskull.png), pointer;
    22. }
    23.  
    24. -->
    25.  
    26. </style>
    27.   <!-- // Framekiller
    28.   setTimeout ("changePage()", 6000);
    29.   function changePage()
    30.   {
    31.     if (parent.frames.length > 2) {
    32.       if (browserTyp == "ie") {
    33.         parent.location=document.location;
    34.       } else {
    35.         self.top.location=document.location;
    36.       }
    37.     }
    38.   }
    39.   // -->
    40.   </SCRIPT>
    41. </head>
    42. <body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">
    43.  <a name="top"></a>
    44.   <div id="ArtworkHelper" style="background-image:url(<?PHP echo $layout_name; ?>/images/header/background-artwork.jpg);" >
    45.     <div id="Bodycontainer">
    46.       <div id="ContentRow">
    47.         <div id="MenuColumn">
    48.           <div id="LeftArtwork">
    49.             <img id="Statue_1" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />
    50.             <img id="TibiaLogoArtworkTop" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-top.gif" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />
    51.             <img id="TibiaLogoArtworkBottom" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-bottom.gif" alt="logoartwork" />
    52.             <img id="Statue_2" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />
    53.           </div>
    54.          
    55.   <div id="Loginbox" >
    56.     <div id="LoginTop" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif)" ></div>
    57.     <div id="BorderLeft" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    58.     <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    59.       <div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-you-are-not-logged-in.gif)" ></div>
    60.     </div>
    61.     <div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    62.       <div id="LoginButton" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif)" >
    63.         <div onClick="LoginButtonAction();" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="Button" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif)" ></div>
    64.           <div id="ButtonText" ></div>
    65.         </div>
    66.       </div>
    67.     </div>
    68.     <div style="clear:both" ></div>
    69.     <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    70.       <div id="LoginstatusText_2" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_2_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2_2" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif)" ></div></div>
    71.     </div>
    72.      <div id="BorderRight" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    73.     <div id="LoginBottom" class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif)" ></div>
    74.   </div>
    75.  
    76. <div id='Menu'>
    77. <div id='MenuTop' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif);'></div>
    78.  
    79. <div id='news' class='menuitem'>
    80. <span onClick="MenuItemAction('news')">
    81.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    82.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    83.       <span id='news_Lights' class='Lights'>
    84.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    85.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    86.  
    87.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    88.       </span>
    89.       <div id='news_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-news.gif);'></div>
    90.       <div id='news_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-news.gif);'></div>
    91.       <div id='news_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    92.     </div>
    93.   </div>
    94. </span>
    95. <div id='news_Submenu' class='Submenu'>
    96. <a href='?subtopic=latestnews'>
    97.   <div id='submenu_latestnews' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    98.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    99.     <div id='ActiveSubmenuItemIcon_latestnews' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    100.     <div class='SubmenuitemLabel'>Latest News</div>
    101.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    102.   </div>
    103. </a>
    104. <a href='?subtopic=archive'>
    105.   <div id='submenu_archive' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    106.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    107.     <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    108.     <div class='SubmenuitemLabel'>News Archive</div>
    109.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    110.   </div>
    111. </a>
    112. <a href='?subtopic=changelog'>
    113.   <div id='submenu_changelog' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    114.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    115.     <div id='ActiveSubmenuItemIcon_changelog' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    116.     <div class='SubmenuitemLabel'>Changelog</div>
    117.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    118.   </div>
    119. </a>
    120. </div>
    121. </div>
    122.  
    123. <div id='account' class='menuitem'>
    124. <span onClick="MenuItemAction('account')">
    125.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    126.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    127.       <span id='account_Lights' class='Lights'>
    128.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    129.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    130.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    131.       </span>
    132.       <div id='account_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-account.gif);'></div>
    133.       <div id='account_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-account.gif);'></div>
    134.       <div id='account_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    135.     </div>
    136.   </div>
    137. </span>
    138. <div id='account_Submenu' class='Submenu'>
    139. <a href='?subtopic=accountmanagement'>
    140.   <div id='submenu_accountmanagement' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    141.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    142.     <div id='ActiveSubmenuItemIcon_accountmanagement' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    143.     <div class='SubmenuitemLabel'>Account Management</div>
    144.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    145.   </div>
    146. </a>
    147. <a href='?subtopic=createaccount'>
    148.   <div id='submenu_createaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    149.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    150.     <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    151.     <div class='SubmenuitemLabel'>Create Account</div>
    152.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    153.   </div>
    154. </a>
    155. <a href='?subtopic=lostaccount'>
    156.   <div id='submenu_lostaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    157.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    158.     <div id='ActiveSubmenuItemIcon_lostaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    159.     <div class='SubmenuitemLabel'>Lost Account?</div>
    160.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    161.   </div>
    162. </a>
    163. <a href='?subtopic=tibiarules'>
    164.   <div id='submenu_tibiarules' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    165.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    166.     <div id='ActiveSubmenuItemIcon_tibiarules' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    167.     <div class='SubmenuitemLabel'>Server Rules</div>
    168.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    169.   </div>
    170. </a>
    171. <a href='?subtopic=bugtracker'>
    172.   <div id='submenu_bugtracker' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    173.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    174.     <div id='ActiveSubmenuItemIcon_bugtracker' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    175.     <div class='SubmenuitemLabel'>Bug Tracker</div>
    176.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    177.   </div>
    178. </a>
    179. <?PHP
    180. if($config['site']['download_page'] == 1)
    181. echo "<a href='?subtopic=downloads'>
    182.  <div id='submenu_downloads' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    183.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    184.    <div id='ActiveSubmenuItemIcon_downloads' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    185.    <div class='SubmenuitemLabel'>Downloads</div>
    186.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    187.  </div>
    188. </a>";
    189. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    190. echo "<a href='?subtopic=adminpanel'>
    191.  <div id='submenu_adminpanel' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    192.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    193.    <div id='ActiveSubmenuItemIcon_adminpanel' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    194.    <div class='SubmenuitemLabel'><font color=\"red\">! Admin Panel !</font></div>
    195.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    196.  </div>
    197. </a>";
    198. if($group_id_of_acc_logged > 0)
    199. echo "<a href='?subtopic=namelock'>
    200.  <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    201.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    202.    <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    203.    <div class='SubmenuitemLabel'><font color=\"red\">! Namelocks !</font></div>
    204.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    205.  </div>
    206. </a>";
    207. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    208. echo "<a href='?subtopic=polls'>
    209.  <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    210.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    211.    <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    212.    <div class='SubmenuitemLabel'><font color=\"red\">! Manage Polls !</font></div>
    213.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    214.  </div>
    215. </a>";
    216. ?>
    217. </div>
    218. </div>
    219.  
    220. <div id='community' class='menuitem'>
    221. <span onClick="MenuItemAction('community')">
    222.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    223.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    224.       <span id='community_Lights' class='Lights'>
    225.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    226.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    227.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    228.       </span>
    229.       <div id='community_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-community.gif);'></div>
    230.       <div id='community_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-community.gif);'></div>
    231.       <div id='community_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    232.  
    233.     </div>
    234.   </div>
    235. </span>
    236. <div id='community_Submenu' class='Submenu'>
    237. <a href='?subtopic=characters'>
    238.   <div id='submenu_characters' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    239.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    240.     <div id='ActiveSubmenuItemIcon_characters' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    241.     <div class='SubmenuitemLabel'>Characters</div>
    242.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    243.  
    244.   </div>
    245. </a>
    246. <a href='?subtopic=whoisonline'>
    247.   <div id='submenu_whoisonline' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    248.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    249.     <div id='ActiveSubmenuItemIcon_whoisonline' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    250.     <div class='SubmenuitemLabel'>Who Is Online?</div>
    251.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    252.   </div>
    253. </a>
    254. <a href='?subtopic=highscores'>
    255.   <div id='submenu_highscores' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    256.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    257.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    258.     <div class='SubmenuitemLabel'>Highscores</div>
    259.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    260.   </div>
    261. </a>
    262. <a href='?subtopic=auctionsystem'>
    263.   <div id='submenu_auctionsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    264.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    265.     <div id='ActiveSubmenuItemIcon_buypoints' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    266.     <div class='SubmenuitemLabel'><blink style=\"color: red;\">Auctions</blink></div>
    267.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    268.   </div>
    269. </a>
    270. <a href='?subtopic=fragers'>
    271.   <div id='submenu_fragers' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    272.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    273.     <div id='ActiveSubmenuItemIcon_fragers' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    274.     <div class='SubmenuitemLabel'>Top Fragers</div>
    275.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    276.   </div>
    277. </a>
    278. <a href='?subtopic=killstatistics'>
    279.   <div id='submenu_killstatistics' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    280.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    281.     <div id='ActiveSubmenuItemIcon_killstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    282.     <div class='SubmenuitemLabel'>Last Kills</div>
    283.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    284.   </div>
    285. </a>
    286. <a href='?subtopic=bans'>
    287.   <div id='submenu_bans' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    288.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    289.     <div id='ActiveSubmenuItemIcon_bans' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    290.     <div class='SubmenuitemLabel'>Banishments</div>
    291.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    292.   </div>
    293. </a>
    294. <a href='?subtopic=houses'>
    295.   <div id='submenu_houses' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    296.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    297.     <div id='ActiveSubmenuItemIcon_houses' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    298.     <div class='SubmenuitemLabel'>Houses</div>
    299.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    300.   </div>
    301. </a>
    302. <a href='?subtopic=guilds'>
    303.   <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    304.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    305.  
    306.     <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    307.     <div class='SubmenuitemLabel'>Guilds</div>
    308.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    309.   </div>
    310. </a>
    311. <a href='?subtopic=polls'>
    312.   <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    313.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    314.     <div id='ActiveSubmenuItemIcon_polls' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    315.     <div class='SubmenuitemLabel'>Polls</div>
    316.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    317.   </div>
    318. </a>
    319. <a href='?subtopic=team'>
    320.   <div id='submenu_team' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    321.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    322.     <div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    323.     <div class='SubmenuitemLabel'>Support List</div>
    324.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    325.   </div>
    326. </a>
    327. <a href='?subtopic=signatures'>
    328.   <div id='submenu_signatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    329.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    330.     <div id='ActiveSubmenuItemIcon_signatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    331.     <div class='SubmenuitemLabel'>Signature Generator</div>
    332.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    333.   </div>
    334. </a>
    335. </div>
    336. </div>
    337.  
    338. <?PHP
    339. echo "<div id='forum' class='menuitem'>
    340.         <span onClick=\"MenuItemAction('forum')\">
    341.     <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background.gif);'>
    342.         <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.gif);'></div>
    343.               <span id='forum_Lights' class='Lights'>
    344.                <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    345.                <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    346.                <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    347.               </span>
    348.               <div id='forum_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-forum.gif);'></div>
    349.               <div id='forum_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-forum.gif);'></div>
    350.               <div id='forum_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
    351.             </div>
    352.           </div>
    353.          </span>
    354.       <div id='forum_Submenu' class='Submenu'>
    355.          <a href='?subtopic=forum'>
    356.           <div id='submenu_forum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    357.             <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    358.             <div id='ActiveSubmenuItemIcon_forum' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    359.             <div class='SubmenuitemLabel'>Server Forum</div>
    360.             <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    361.           </div>
    362.          </a>
    363.        </div>  
    364.       </div>";
    365. ?>
    366.  
    367. <div id='library' class='menuitem'>
    368. <span onClick="MenuItemAction('library')">
    369.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    370.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    371.       <span id='library_Lights' class='Lights'>
    372.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    373.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    374.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    375.       </span>
    376.       <div id='library_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-library.gif);'></div>
    377.       <div id='library_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-library.gif);'></div>
    378.       <div id='library_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    379.     </div>
    380.   </div>
    381. </span>
    382. <div id='library_Submenu' class='Submenu'>
    383. <a href='?subtopic=creatures'>
    384.   <div id='submenu_creatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    385.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    386.     <div id='ActiveSubmenuItemIcon_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    387.     <div class='SubmenuitemLabel'>Creatures</div>
    388.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    389.   </div>
    390. </a>
    391. <a href='?subtopic=spells'>
    392.   <div id='submenu_spells' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    393.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    394.     <div id='ActiveSubmenuItemIcon_spells' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    395.     <div class='SubmenuitemLabel'>Spells</div>
    396.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    397.   </div>
    398. </a>
    399. <?PHP
    400. if($config['site']['gallery_page'] == 1)
    401. echo "<a href='?subtopic=gallery'>
    402.  <div id='submenu_gallery' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    403.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    404.    <div id='ActiveSubmenuItemIcon_gallery' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    405.    <div class='SubmenuitemLabel'>Gallery</div>
    406.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    407.  </div>
    408. </a>";
    409. if($config['site']['serverinfo_page'] == 1)
    410. echo "<a href='?subtopic=serverinfo'>
    411.  <div id='submenu_serverinfo' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    412.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    413.    <div id='ActiveSubmenuItemIcon_serverinfo' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    414.    <div class='SubmenuitemLabel'>Server Info</div>
    415.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    416.  </div>
    417. </a>";
    418. ?>
    419. <a href='?subtopic=experiencetable'>
    420.   <div id='submenu_experiencetable' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    421.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    422.     <div id='ActiveSubmenuItemIcon_experiencetable' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    423.     <div class='SubmenuitemLabel'>Experience Table</div>
    424.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    425.   </div>
    426. </a>
    427. </div>
    428. </div>
    429.  
    430. <?PHP
    431. if($config['site']['shop_system'] == 1) {
    432. echo "<div id='shops' class='menuitem'>
    433. <span onClick=\"MenuItemAction('shops')\">
    434.  <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background.gif);'>
    435.    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.gif);'></div>
    436.      <span id='shops_Lights' class='Lights'>
    437.        <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    438.        <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    439.        <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    440.      </span>
    441.      <div id='shops_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-shops.gif);'></div>
    442.      <div id='shops_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-shops.gif);'></div>
    443.      <div id='shops_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
    444.    </div>
    445.  </div>
    446. </span>
    447. </div>
    448. <div id='shops_Submenu' class='Submenu'>
    449. <a href='?subtopic=buypoints'>
    450.  <div id='submenu_buypoints' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    451.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    452.    <div id='ActiveSubmenuItemIcon_buypoints' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    453.    <div class='SubmenuitemLabel'><blink style=\"color: red;\">Buy Points</blink></div>
    454.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    455.  </div>
    456. </a>
    457. <a href='?subtopic=shopsystem'>
    458.  <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    459.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    460.    <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    461.    <div class='SubmenuitemLabel'><div style=\"color: green;\">\$hop Offer</div></div>
    462.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    463.  </div>
    464. </a>";
    465. if($logged)
    466. echo "<a href='?subtopic=shopsystem&action=show_history'>
    467.  <div id='submenu_show_history' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    468.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    469.    <div id='ActiveSubmenuItemIcon_show_history' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    470.    <div class='SubmenuitemLabel'>Trans. History</div>
    471.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    472.  </div>
    473. </a>";
    474. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    475. echo "<a href='?subtopic=shopadmin'>
    476.  <div id='submenu_shopadmin' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    477.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    478.    <div id='ActiveSubmenuItemIcon_shopadmin' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    479.    <div class='SubmenuitemLabel'><font color=red>! Shop Admin !</font></div>
    480.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    481.  </div>
    482. </a>";
    483. echo "</div>";
    484. }
    485. ?>
    486. <div id='MenuBottom' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);'></div>
    487. </div>
    488.   <script type='text/javascript'>InitializePage();</script></div>
    489.         <div id="ContentColumn">
    490.           <div class="Content">
    491.             <div id="ContentHelper"><script type="text/javascript" src="<?PHP echo $layout_name; ?>/newsticker.js"></script>
    492.         <?PHP echo $news_content; ?>
    493.     <div id="<?PHP echo $subtopic; ?>" class="Box">
    494.     <div class="Corner-tl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tl.gif);"></div>
    495.     <div class="Corner-tr" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tr.gif);"></div>
    496.     <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    497.     <div class="BorderTitleText" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/title-background-green.gif);"></div>
    498.     <img class="Title"  src="headline.php?text=<?php echo $topic ?>" alt="Contentbox headline" />
    499.     <div class="Border_2">
    500.       <div class="Border_3">
    501.         <div class="BoxContent" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/scroll.gif);">
    502.     <?PHP echo $main_content; ?>
    503.       </div>
    504.       </div>
    505.     </div>
    506.     <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    507.  
    508.     <div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-bl.gif);"></div></div>
    509.     <div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-br.gif);"></div></div>
    510.   </div>
    511.            </div>
    512.           </div>
    513.           <div id="Footer">
    514. <?PHP
    515. $time_end = microtime_float();
    516. $time = $time_end - $time_start;
    517. ?>
    518.             Account Maker made by Gesior. Layout by CipSoft GmbH.<br/>Page has been viewed <?PHP echo $page_views; ?> times. Load time: <?PHP echo round($time, 4); ?> seconds
    519.           </div>
    520.         </div>
    521.         <div id="ThemeboxesColumn">
    522.           <div id="RightArtwork">
    523.             <img id="Monster" src="images/monsters/<?PHP echo logo_monster() ?>.gif" onClick="window.location = '?subtopic=creatures&amp;creature=<?PHP echo logo_monster() ?>';" alt="Monster of the Week" />
    524.             <img id="PedestalAndOnline" src="<?PHP echo $layout_name; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
    525.           <?PHP
    526.           if(count($config['site']['worlds']) > 1)
    527.               $whoisonlineworld = '?subtopic=whoisonline';
    528.           else
    529.               $whoisonlineworld = '?subtopic=whoisonline&world=0';
    530.           ?>
    531.              <div id="PlayersOnline" onClick="window.location='<?PHP echo $whoisonlineworld; ?>'">
    532.  
    533.           <?PHP
    534.             if($config['status']['serverStatus_online'] == 1)
    535.                 echo $config['status']['serverStatus_players'].'<br />Players Online';
    536.             else
    537.                 echo '<font color="red"><b>Server<br />OFFLINE</b></font>';
    538.           ?></div>
    539.         </div>
    540.  
    541.   <div id="Themeboxes">
    542.          
    543.   <div id="NewcomerBox" class="Themebox" style="background-image:url(<?PHP echo $layout_name; ?>/images/themeboxes/newcomer/newcomerbox.gif);">
    544.     <div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=createaccount')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif);"></div>
    545.       <div class="ButtonText" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/_sbutton_jointibia.gif);"></div>
    546.     </div>
    547.     <div class="Bottom" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);"></div>
    548.   </div>
    549. <?PHP
    550. if($config['site']['screenoftheday'] == 1)
    551. echo '<div id="ScreenshotBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/screenshot/screenshotbox.gif);">
    552.      <a href="?subtopic=gallery" >
    553.        <img id="ScreenshotContent" class="ThemeboxContent" src="images/screenshotoftheday.gif" alt="Screenshot of the Day" /></a>
    554.    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
    555.     </div>';
    556. ?>
    557. <?PHP
    558. $time = time();
    559. $viewpoll = $SQL->query('SELECT * FROM z_polls where end > '.$time.' ORDER BY id DESC LIMIT 1');
    560. foreach($viewpoll as $p)
    561. $polls .= '<center>'.$p['question'].'</center>';
    562.     if(count($p['id']) > 0)
    563.      echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/current-poll/currentpollbox.gif);">
    564.      <div id="CurrentPollText">'.$polls.'</div>
    565.      <a class="ThemeboxButton" href="?subtopic=polls&id= '.$p['id'].'" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);"></div>
    566.        <div class="ButtonText" style="background-image:url('.$layout_name.'/images/buttons/_sbutton_votenow.gif);"></div>
    567.      </a>
    568.    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
    569.    </div>
    570.  <object width="190" height="360" id="obj_1274621779843"><param name="movie" value="http://blackishserver.chatango.com/group"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1274621779843&a=000000&b=100&c=993300&d=FFFFFF&e=333333&f=48&g=CCCCCC&i=67&k=666666&m=FFFFFF&q=000000&r=100&s=1&aa=1"/><embed id="emb_1274621779843" src="http://blackishserver.chatango.com/group" width="190" height="360" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1274621779843&a=000000&b=100&c=993300&d=FFFFFF&e=333333&f=48&g=CCCCCC&i=67&k=666666&m=FFFFFF&q=000000&r=100&s=1&aa=1"></embed></object><br>    </div>';
    571. ?>
    572. <?PHP
    573. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    574. echo '<div id="CurrentPollBox" class="Themebox" style="background-image:url('.$layout_name.'/images/themeboxes/admin/admin.gif);">
    575.      <div id="CurrentPollText">
    576.    <b><a href="?subtopic=adminpanel"><b>Admin Panel</b></a><b><br>
    577.    <b><a href="?subtopic=namelock"><b>Namelocks</b></a><b><br>
    578.    <b><a href="?subtopic=polls"><b>Manage Polls</b></a><b><br>
    579.    <b><a href="?subtopic=shopadmin"><b>Shop Admin</b></a><b></div>
    580.    <div class="Bottom" style="background-image:url('.$layout_name.'/images/general/box-bottom.gif);"></div>
    581.    </div>';
    582. ?>
    583.         </div>
    584.       </div>
    585.      </div>
    586.     </div>
    587.   </div>
    588. </body>
    589. </html>
    590.  
    like what Zayl92 sayed Here its

    REP+
     
  15. Hermod

    Hermod Mythology Realms

    Joined:
    Jun 9, 2010
    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    I just think its annoying. But rep++ for sharing to the others.
     
  16. semary

    semary [BB] OTland

    Joined:
    May 3, 2009
    Messages:
    814
    Likes Received:
    21
    Best Answers:
    0
    Refresh the thread :p

    REP++ Me
     
  17. Mogiq

    Mogiq Member

    Joined:
    Jan 9, 2010
    Messages:
    271
    Likes Received:
    14
    Best Answers:
    0
    good idea
     
  18. Lava Titan

    Lava Titan High Exp OTS Developer

    Joined:
    Jul 25, 2009
    Messages:
    1,449
    Likes Received:
    54
    Best Answers:
    0
  19. Rab

    Rab New Member

    Joined:
    Feb 23, 2009
    Messages:
    468
    Likes Received:
    8
    Best Answers:
    0
    sry, its not that im lazy, i've tried but i cant! can you add it please? i'll rep you
    Code (Text):
    1.  
    2. <html xmlns="http://www.w3.org/1999/xhtml">
    3. <head>
    4.   <title><?PHP echo $title ?></title>
    5.   <meta name="description" content="Tibia is a free massive multiplayer online role playing game (MMORPG)." />
    6.   <meta name="author" content="Gesior" />
    7.   <meta http-equiv="content-language" content="en" />
    8.   <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    9.   <meta name="keywords" content="free online game, free multiplayer game, ots, open tibia server" />
    10.   <link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
    11.   <link rel="icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
    12.   <?PHP echo $layout_header; ?>
    13.   <link href="<?PHP echo $layout_name; ?>/basic.css" rel="stylesheet" type="text/css">
    14.   <script type='text/javascript'> var IMAGES=0; IMAGES='http://static.tibia.com/images'; var g_FormField='';</script>
    15.   <SCRIPT TYPE="text/javascript">
    16.  
    17. <!-- // Framekiller
    18. setTimeout ("changePage()", 6000);
    19. function changePage()
    20. {
    21.   if (parent.frames.length > 2) {
    22.     if (browserTyp == "ie") {
    23.       parent.location=document.location;
    24.     } else {
    25.       self.top.location=document.location;
    26.     }
    27.   }
    28. }
    29. // -->
    30. </SCRIPT>
    31. <script type="text/javascript">
    32. state = new Array("0", "0", "0", "0", "0");
    33. function TickerAction(id) {
    34.   var line = id.substr(12, 1);
    35.   if(state[line] == "0") {
    36.     state[line] = "1";
    37.     OpenNews(id);
    38.   }
    39.   else {
    40.     state[line] = "0";
    41.     CloseNews(id);
    42.   }
    43. }
    44.  
    45. function OpenNews(id)
    46. {
    47.   var div = document.getElementById(id)
    48.   var idShort = id.concat("-ShortText");
    49.   var idMore = id.concat("-FullText");
    50.   var idButton = id.concat("-Button");
    51.   document.getElementById(idShort).style.display = "none";
    52.   document.getElementById(idMore).style.display = "block";
    53.   document.getElementById(idButton).style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/plus.gif')";
    54. }
    55.  
    56. function CloseNews(id)
    57. {
    58.   var div = document.getElementById(id)
    59.   var idShort = id.concat("-ShortText");
    60.   var idMore = id.concat("-FullText");
    61.   var idButton = id.concat("-Button");
    62.   document.getElementById(idShort).style.display = "block";
    63.   document.getElementById(idMore).style.display = "none";
    64.   document.getElementById(idButton).style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/plus.gif')";
    65. }
    66.  
    67. function InitializePage() {
    68.   LoadLoginBox();
    69.   LoadMenu();
    70. }
    71.  
    72.  
    73. // initialisation of the loginbox status by the value of the variable 'loginStatus' which is provided to the HTML-document by PHP in the file 'header.inc'
    74. function LoadLoginBox()
    75. {
    76.   if(loginStatus == "false") {
    77.     document.getElementById('LoginstatusText_1').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-you-are-not-logged-in.gif')";
    78.     document.getElementById('ButtonText').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/buttons/_sbutton_login.gif')";
    79.     document.getElementById('LoginstatusText_2').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif')";
    80.     document.getElementById('LoginstatusText_2_1').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif')";
    81.     document.getElementById('LoginstatusText_2_2').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif')";
    82.   } else {
    83.     document.getElementById('LoginstatusText_1').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-welcome.gif')";
    84.     document.getElementById('ButtonText').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/buttons/_sbutton_myaccount.gif')";
    85.     document.getElementById('LoginstatusText_2').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-logout.gif')";
    86.     document.getElementById('LoginstatusText_2_1').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-logout.gif')";
    87.     document.getElementById('LoginstatusText_2_2').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-logout-over.gif')";
    88.   }
    89. }
    90.  
    91. // mouse-over and click events of the loginbox
    92. function MouseOverLoginBoxText(source)
    93. {
    94.   source.lastChild.style.visibility = "visible";
    95.   source.firstChild.style.visibility = "hidden";
    96. }
    97. function MouseOutLoginBoxText(source)
    98. {
    99.   source.firstChild.style.visibility = "visible";
    100.   source.lastChild.style.visibility = "hidden";
    101. }
    102. function LoginButtonAction()
    103. {
    104.   if(loginStatus == "false") {
    105.     window.location = LINK_ACCOUNT + "?subtopic=accountmanagement";
    106.   } else {
    107.     window.location = LINK_ACCOUNT + "?subtopic=accountmanagement";
    108.   }
    109. }
    110. function LoginstatusTextAction(source) {
    111.   if(loginStatus == "false") {
    112.     window.location = LINK_ACCOUNT + "?subtopic=createaccount";
    113.   } else {
    114.     window.location = LINK_ACCOUNT + "?subtopic=accountmanagement&action=logout";
    115.   }
    116. }
    117.  
    118. var menu = new Array();
    119. menu[0] = new Object();
    120. var unloadhelper = false;
    121.  
    122. // load the menu and set the active submenu item by using the variable 'activeSubmenuItem' (provided to HTML-document by PHP in the file 'header.inc'
    123. function LoadMenu()
    124. {
    125.   document.getElementById("submenu_"+activeSubmenuItem).style.color = "white";
    126.   document.getElementById("ActiveSubmenuItemIcon_"+activeSubmenuItem).style.visibility = "visible";
    127.   if(self.name.lastIndexOf("&") == -1) {
    128.     self.name = "news=1&account=0&community=0&library=0&forum=0<?PHP if($config['site']['shop_system'] == 1) echo "&shops=0"; ?>&";
    129.   }
    130.   FillMenuArray();
    131.   InitializeMenu();
    132. }
    133.  
    134. function SaveMenu()
    135. {
    136.   if(unloadhelper == false) {
    137.     SaveMenuArray();
    138.     unloadhelper = true;
    139.   }
    140. }
    141.  
    142. // store the values of the variable 'self.name' in the array menu
    143. function FillMenuArray()
    144. {
    145.   while(self.name.length > 0 ){
    146.     var mark1 = self.name.indexOf("=");
    147.     var mark2 = self.name.indexOf("&");
    148.     var menuItemName = self.name.substr(0, mark1);
    149.     menu[0][menuItemName] = self.name.substring(mark1 + 1, mark2);
    150.     self.name = self.name.substr(mark2 + 1, self.name.length);
    151.   }
    152. }
    153.  
    154. // hide or show the corresponding submenus
    155. function InitializeMenu()
    156. {
    157.   for(menuItemName in menu[0]) {
    158.     if(menu[0][menuItemName] == "0") {
    159.       document.getElementById(menuItemName+"_Submenu").style.visibility = "hidden";
    160.       document.getElementById(menuItemName+"_Submenu").style.display = "none";
    161.       document.getElementById(menuItemName+"_Lights").style.visibility = "visible";
    162.       document.getElementById(menuItemName+"_Extend").style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/plus.gif')";
    163.     }
    164.     else {
    165.       document.getElementById(menuItemName+"_Submenu").style.visibility = "visible";
    166.       document.getElementById(menuItemName+"_Submenu").style.display = "block";
    167.       document.getElementById(menuItemName+"_Lights").style.visibility = "hidden";
    168.       document.getElementById(menuItemName+"_Extend").style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/minus.gif')";
    169.     }
    170.   }
    171. }
    172.  
    173. // reconstruct the variable "self.name" out of the array menu
    174. function SaveMenuArray()
    175. {
    176.   var stringSlices = "";
    177.   var temp = "";
    178.   for(menuItemName in menu[0]) {
    179.     stringSlices = menuItemName + "=" + menu[0][menuItemName] + "&";
    180.     temp = temp + stringSlices;
    181.   }
    182.   self.name = temp;
    183. }
    184.  
    185. // onClick open or close submenus
    186. function MenuItemAction(sourceId)
    187. {
    188.   if(menu[0][sourceId] == 1) {
    189.     CloseMenuItem(sourceId);
    190.   }
    191.   else {
    192.     OpenMenuItem(sourceId);
    193.   }
    194. }
    195. function OpenMenuItem(sourceId)
    196. {
    197.   menu[0][sourceId] = 1;
    198.   document.getElementById(sourceId+"_Submenu").style.visibility = "visible";
    199.   document.getElementById(sourceId+"_Submenu").style.display = "block";
    200.   document.getElementById(sourceId+"_Lights").style.visibility = "hidden";
    201.   document.getElementById(sourceId+"_Extend").style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/minus.gif')";
    202. }
    203. function CloseMenuItem(sourceId)
    204. {
    205.   menu[0][sourceId] = 0;
    206.   document.getElementById(sourceId+"_Submenu").style.visibility = "hidden";
    207.   document.getElementById(sourceId+"_Submenu").style.display = "none";
    208.   document.getElementById(sourceId+"_Lights").style.visibility = "visible";
    209.   document.getElementById(sourceId+"_Extend").style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/plus.gif')";
    210. }
    211.  
    212. // mouse-over effects of menubuttons and submenuitems
    213. function MouseOverMenuItem(source)
    214. {
    215.   source.firstChild.style.visibility = "visible";
    216. }
    217. function MouseOutMenuItem(source)
    218. {
    219.   source.firstChild.style.visibility = "hidden";
    220. }
    221. function MouseOverSubmenuItem(source)
    222. {
    223.   source.style.backgroundColor = "#14433F";
    224. }
    225. function MouseOutSubmenuItem(source)
    226. {
    227.   source.style.backgroundColor = "#0D2E2B";
    228. }
    229. </script>
    230. </head>
    231.  
    232. <body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">
    233.  
    234.   <a name="top" ></a>
    235.  
    236.   <div id="ArtworkHelper" style="background-image:url(<?PHP echo $layout_name; ?>/images/header/background-artwork.jpg);" >
    237.     <div id="Bodycontainer">
    238.       <div id="ContentRow">
    239.         <div id="MenuColumn">
    240.           <div id="LeftArtwork">
    241.             <img id="Statue_1" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />
    242.             <img id="TibiaLogoArtworkTop" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-top.gif" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />
    243.             <img id="TibiaLogoArtworkBottom" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-bottom.gif" alt="logoartwork" />
    244.             <img id="Statue_2" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />
    245.             <img id="LogoLink" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-string.gif" onClick="window.location = 'mailto:<?PHP echo $config['server']['ownerEmail']; ?>';" alt="logoartwork" />
    246.           </div>
    247.          
    248.   <div id="Loginbox" >
    249.     <div id="LoginTop" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif)" ></div>
    250.     <div id="BorderLeft" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    251.  
    252.     <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    253.       <div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-you-are-not-logged-in.gif)" ></div>
    254.     </div>
    255.  
    256.     <div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    257.       <div id="LoginButton" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif)" >
    258.         <div onClick="LoginButtonAction();" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="Button" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif)" ></div>
    259.           <div id="ButtonText" ></div>
    260.         </div>
    261.       </div>
    262.  
    263.     </div>
    264.  
    265.     <div style="clear:both" ></div>
    266.  
    267.     <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    268.       <div id="LoginstatusText_2" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_2_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2_2" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif)" ></div></div>
    269.     </div>
    270.  
    271.     <div id="BorderRight" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    272.     <div id="LoginBottom" class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif)" ></div>
    273.   </div>
    274.  
    275. <div id='Menu'>
    276. <div id='MenuTop' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif);'></div>
    277.  
    278.  
    279. <div id='news' class='menuitem'>
    280. <span onClick="MenuItemAction('news')">
    281.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    282.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    283.       <span id='news_Lights' class='Lights'>
    284.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    285.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    286.  
    287.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    288.       </span>
    289.       <div id='news_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-news.gif);'></div>
    290.       <div id='news_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-news.gif);'></div>
    291.       <div id='news_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    292.     </div>
    293.   </div>
    294. </span>
    295. <div id='news_Submenu' class='Submenu'>
    296. <a href='?subtopic=latestnews'>
    297.   <div id='submenu_latestnews' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    298.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    299.     <div id='ActiveSubmenuItemIcon_latestnews' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    300.     <div class='SubmenuitemLabel'>Ultimas Noticias</div>
    301.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    302.   </div>
    303. </a>
    304. <a href='?subtopic=archive'>
    305.   <div id='submenu_archive' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    306.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    307.     <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    308.     <div class='SubmenuitemLabel'>Archivo de noticias</div>
    309.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    310.   </div>
    311.   <a href='?subtopic=test'>
    312.    <div id='submenu_test' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    313.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    314.     <div id='ActiveSubmenuItemIcon_changelog' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    315.     <div class='SubmenuitemLabel'>Examen para tutor</div>
    316.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    317.   </div>
    318. </a>
    319. </a>
    320. <a href='?subtopic=forum'>
    321.   <div id='submenu_forum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    322.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    323.     <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    324.     <div class='SubmenuitemLabel'>Foro</div>
    325.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    326.   </div>
    327. </a>
    328. </div>
    329. </div>
    330.  
    331.  
    332. <div id='account' class='menuitem'>
    333. <span onClick="MenuItemAction('account')">
    334.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    335.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    336.       <span id='account_Lights' class='Lights'>
    337.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    338.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    339.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    340.       </span>
    341.       <div id='account_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-account.gif);'></div>
    342.       <div id='account_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-account.gif);'></div>
    343.       <div id='account_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    344.     </div>
    345.   </div>
    346. </span>
    347. <div id='account_Submenu' class='Submenu'>
    348. <a href='?subtopic=accountmanagement'>
    349.   <div id='submenu_accountmanagement' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    350.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    351.     <div id='ActiveSubmenuItemIcon_accountmanagement' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    352.     <div class='SubmenuitemLabel'>Manejo de Cuenta</div>
    353.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    354.   </div>
    355. </a>
    356. <a href='?subtopic=createaccount'>
    357.   <div id='submenu_createaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    358.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    359.     <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    360.     <div class='SubmenuitemLabel'>Crear Cuenta</div>
    361.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    362.   </div>
    363. </a>
    364. <a href='?subtopic=lostaccount'>
    365.   <div id='submenu_lostaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    366.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    367.     <div id='ActiveSubmenuItemIcon_lostaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    368.     <div class='SubmenuitemLabel'>Olvidaste tu password?</div>
    369.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    370.   </div>
    371. </a>
    372. <a href='?subtopic=tibiarules'>
    373.   <div id='submenu_tibiarules' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    374.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    375.     <div id='ActiveSubmenuItemIcon_tibiarules' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    376.     <div class='SubmenuitemLabel'>Reglas del server</div>
    377.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    378.   </div>
    379. </a>
    380. <?PHP
    381. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    382. echo "<a href='?subtopic=adminpanel'>
    383.   <div id='submenu_adminpanel' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    384.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    385.     <div id='ActiveSubmenuItemIcon_adminpanel' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    386.     <div class='SubmenuitemLabel'><font color=\"red\">! Admin Panel !</font></div>
    387.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    388.   </div>
    389. </a>";
    390. if($group_id_of_acc_logged > 0)
    391. echo "<a href='?subtopic=namelock'>
    392.   <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    393.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    394.     <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    395.     <div class='SubmenuitemLabel'><font color=\"red\">Namelocks</font></div>
    396.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    397.   </div>
    398. </a>";
    399. if($group_id_of_acc_logged > 0)
    400. echo "<a href='?subtopic=mail'>
    401.   <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    402.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    403.     <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    404.     <div class='SubmenuitemLabel'><font color=\"red\">Mass mail sender</font></div>
    405.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    406.   </div>
    407. </a>";
    408. ?>
    409. </div>
    410. </div>
    411.  
    412.  
    413. <div id='community' class='menuitem'>
    414. <span onClick="MenuItemAction('community')">
    415.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    416.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    417.       <span id='community_Lights' class='Lights'>
    418.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    419.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    420.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    421.       </span>
    422.       <div id='community_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-community.gif);'></div>
    423.       <div id='community_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-community.gif);'></div>
    424.       <div id='community_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    425.  
    426.     </div>
    427.   </div>
    428. </span>
    429. <div id='community_Submenu' class='Submenu'>
    430. <a href='?subtopic=characters'>
    431.   <div id='submenu_characters' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    432.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    433.     <div id='ActiveSubmenuItemIcon_characters' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    434.     <div class='SubmenuitemLabel'>Personajes</div>
    435.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    436.  
    437.   </div>
    438. </a>
    439. <a href='?subtopic=whoisonline'>
    440.   <div id='submenu_whoisonline' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    441.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    442.     <div id='ActiveSubmenuItemIcon_whoisonline' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    443.     <div class='SubmenuitemLabel'>Quien esta online?</div>
    444.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    445.   </div>
    446. </a>
    447. <a href='?subtopic=highscores'>
    448.   <div id='submenu_highscores' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    449.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    450.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    451.     <div class='SubmenuitemLabel'>Tabla de lideres</div>
    452.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    453.   </div>
    454. </a>
    455. <a href='?subtopic=frags'>
    456.   <div id='submenu_frags' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    457.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    458.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    459.     <div class='SubmenuitemLabel'>Pvp frags</div>
    460.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    461.   </div>
    462. </a>
    463. <a href='?subtopic=polls'>
    464.   <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    465.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    466.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    467.     <div class='SubmenuitemLabel'>Encuestas</div>
    468.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    469.   </div>
    470. </a>
    471. <a href='?subtopic=auctions'>
    472.   <div id='submenu_auctions' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    473.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    474.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    475.     <div class='SubmenuitemLabel'>Subastas</div>
    476.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    477.   </div>
    478. </a>
    479. <a href='?subtopic=banlist'>
    480.   <div id='submenu_banlist' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    481.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    482.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    483.     <div class='SubmenuitemLabel'>Lista de Bans</div>
    484.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    485.   </div>
    486. </a>
    487. <a href='?subtopic=monsterkills'>
    488.   <div id='submenu_monsterkills' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    489.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    490.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    491.     <div class='SubmenuitemLabel'>Caza de monstruos</div>
    492.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    493.   </div>
    494. </a>
    495. <a href='?subtopic=records'>
    496.   <div id='submenu_records' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    497.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    498.     <div id='ActiveSubmenuItemIcon_warstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    499.     <div class='SubmenuitemLabel'<font color=\"#99CCFF;\">Record de Players</font></div>
    500.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    501.   </div>
    502. </a>
    503. <a href='?subtopic=killstatistics'>
    504.   <div id='submenu_killstatistics' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    505.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    506.     <div id='ActiveSubmenuItemIcon_killstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    507.     <div class='SubmenuitemLabel'>Ultimas Kills</div>
    508.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    509.   </div>
    510. </a>
    511. <a href='index.php?subtopic=wars'>
    512.   <div id='submenu_wars' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    513.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    514.     <div id='ActiveSubmenuItemIcon_wars' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    515.     <div class='SubmenuitemLabel'><font color="red">Guerra de Guilds</font></div>
    516.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    517.   </div>
    518. </a>
    519. <a href='?subtopic=guilds'>
    520.   <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    521.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    522.  
    523.     <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    524.     <div class='SubmenuitemLabel'>Guilds</div>
    525.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    526.   </div>
    527. </a>
    528. <a href='?subtopic=team'>
    529.   <div id='submenu_team' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    530.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    531.     <div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    532.     <div class='SubmenuitemLabel'>Lista del staff</div>
    533.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    534.   </div>
    535. </a>
    536. </div>
    537. </div>
    538. <div id='library' class='menuitem'>
    539. <span onClick="MenuItemAction('library')">
    540.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    541.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    542.       <span id='library_Lights' class='Lights'>
    543.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    544.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    545.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    546.       </span>
    547.       <div id='library_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-library.gif);'></div>
    548.       <div id='library_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-library.gif);'></div>
    549.       <div id='library_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    550.     </div>
    551.   </div>
    552. </span>
    553. <div id='library_Submenu' class='Submenu'>
    554. <a href='?subtopic=creatures'>
    555.   <div id='submenu_creatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    556.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    557.     <div id='ActiveSubmenuItemIcon_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    558.     <div class='SubmenuitemLabel'>Monstruos</div>
    559.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    560.   </div>
    561. </a>
    562. <a href='?subtopic=spells'>
    563.   <div id='submenu_spells' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    564.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    565.     <div id='ActiveSubmenuItemIcon_spells' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    566.     <div class='SubmenuitemLabel'>Magias</div>
    567.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    568.   </div>
    569. </a>
    570. <?PHP
    571. if($config['site']['serverinfo_page'] == 1)
    572. echo "<a href='?subtopic=serverinfo'>
    573.   <div id='submenu_serverinfo' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    574.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    575.     <div id='ActiveSubmenuItemIcon_serverinfo' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    576.     <div class='SubmenuitemLabel'>Server Info</div>
    577.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    578.   </div>
    579. </a>";
    580. ?>
    581. <a href='?subtopic=experiencetable'>
    582.   <div id='submenu_experiencetable' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    583.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    584.     <div id='ActiveSubmenuItemIcon_experiencetable' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    585.     <div class='SubmenuitemLabel'>Tabla de experiencia</div>
    586.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    587.   </div>
    588. </a>
    589. </div>
    590. </div>
    591. <?PHP
    592. if($config['site']['shop_system'] == 1)
    593. {
    594. echo "<div id='shops' class='menuitem'>
    595. <span onClick=\"MenuItemAction('shops')\">
    596.   <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background.gif);'>
    597.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.gif);'></div>
    598.       <span id='shops_Lights' class='Lights'>
    599.         <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    600.         <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    601.         <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    602.       </span>
    603.       <div id='shops_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-shops.gif);'></div>
    604.       <div id='shops_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-shops.gif);'></div>
    605.       <div id='shops_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
    606.     </div>
    607.   </div>
    608. </span>
    609. </div>
    610. <div id='shops_Submenu' class='Submenu'>
    611. <a href='?subtopic=buypoints'>
    612.   <div id='submenu_buypoints' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    613.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    614.     <div id='ActiveSubmenuItemIcon_buypoints' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    615.     <div class='SubmenuitemLabel'><blink style=\"color: red;\">Buy Points</blink></div>
    616.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    617.   </div>
    618. </a>
    619. <a href='?subtopic=shopsystem'>
    620.   <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    621.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    622.     <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    623.     <div class='SubmenuitemLabel'><div style=\"color: green;\">\$hop Offer</div></div>
    624.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    625.   </div>
    626. </a>";
    627. if($logged)
    628. echo "<a href='?subtopic=shopsystem&action=show_history'>
    629.   <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    630.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    631.     <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    632.     <div class='SubmenuitemLabel'>Trans. History</div>
    633.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    634.   </div>
    635. </a>";
    636. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    637. echo "<a href='?subtopic=shopadmin'>
    638.   <div id='submenu_shopadmin' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    639.     <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    640.     <div id='ActiveSubmenuItemIcon_shopadmin' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    641.     <div class='SubmenuitemLabel'>Shop Admin</div>
    642.     <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    643.   </div>
    644. </a>";
    645. echo "</div>";
    646.  }
    647.  ?>
    648. <div id='MenuBottom' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);'></div>
    649. </div>
    650.      </div>
    651.         <div id="ContentColumn">
    652.           <div class="Content">
    653.             <div id="ContentHelper"><script type="text/javascript" src="http://static.tibia.com/javascripts/newsticker.js"></script>
    654.         <?PHP echo $news_content; ?>
    655.  
    656.     <div id="<?PHP echo $subtopic; ?>" class="Box">
    657.     <div class="Corner-tl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tl.gif);"></div>
    658.     <div class="Corner-tr" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tr.gif);"></div>
    659.     <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    660.     <div class="BorderTitleText" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/title-background-green.gif);"></div>
    661.     <img class="Title" src="<?PHP echo $layout_name; ?>/images/header/headline-<?PHP echo $subtopic; ?>.gif" alt="Contentbox headline" />
    662.     <div class="Border_2">
    663.       <div class="Border_3">
    664.         <div class="BoxContent" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/scroll.gif);">
    665.         <?PHP echo $main_content; ?>       </div>
    666.       </div>
    667.     </div>
    668.     <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    669.  
    670.     <div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-bl.gif);"></div></div>
    671.     <div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-br.gif);"></div></div>
    672.   </div>
    673.            </div>
    674.           </div>
    675.           <div id="Footer">
    676. <?PHP
    677. $time_end = microtime_float();
    678. $time = $time_end - $time_start;
    679.  
    680. ?>
    681.             Powered by <a href="http://tibiahelp.com">Tibia Help</a> | Account maker by <a href="http://otland.net/members/Gesior/">Gesior</a> Fixed by <a href="http://otland.net/members/widnet/">widnet</a>. Layout by CipSoft GmbH.<br/>Page has been viewed <?PHP echo $page_views; ?> times. Load time: <?PHP echo round($time, 4); ?> seconds
    682.           </div>
    683.         </div>
    684.          <div id="ThemeboxesColumn">
    685.           <div id="RightArtwork">
    686.             <img id="Monster" src="monsters/<?PHP echo logo_monster() ?>.gif" onClick="window.location = '?subtopic=creatures&amp;creature=<?PHP echo logo_monster() ?>';" alt="Monster of the Week" />
    687.             <img id="PedestalAndOnline" src="<?PHP echo $layout_name; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
    688.           <div id="PlayersOnline" onClick="window.location = '?subtopic=whoisonline'">
    689.           <?PHP
    690.             if($config['status']['serverStatus_online'] == 1)
    691.                 echo $config['status']['serverStatus_players'].'<br />Players Online';
    692.             else
    693.                 echo '<font color="red"><b>Server<br />OFFLINE</b></font>';
    694.             ?></div>
    695.         </div>
    696.         <div id="Themeboxes">
    697.          
    698.   <div id="NewcomerBox" class="Themebox" style="background-image:url(layouts/tibiacom/images/themeboxes/newcomer/newcomerbox.gif);">
    699.     <div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=createaccount')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(layouts/tibiacom/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(layouts/tibiacom/images/buttons/sbutton_over.gif);"></div>
    700.       <div class="ButtonText" style="background-image:url(layouts/tibiacom/images/buttons/_sbutton_jointibia.gif);"></div>
    701.     </div>
    702.     <div class="Bottom" style="background-image:url(layouts/tibiacom/images/general/box-bottom.gif);"></div>
    703.   </div>
    704.  
    705. <div>
    706.      <div id="ScreenshotBox" class="Themebox" style="background-image:url(layouts/tibiacom/images/themeboxes/screenshot/screenshotbox.gif);">
    707.       <a href="?subtopic=screenshots" >
    708.         <img id="ScreenshotContent" class="ThemeboxContent" src="images/screenshotoftheday.gif" alt="Screenshot of the Day" /></a>
    709.     <div class="Bottom" style="background-image:url(layouts/tibiacom/images/general/box-bottom.gif);"></div>
    710.     </div>
    711.     <div id="ScreenshotBox" class="Themebox" style="background-image:url(layouts/tibiacom/images/themeboxes/thetime.gif);">
    712.     <div class="TimeBottom" style="background-image:url(layouts/tibiacom/images/general/box-bottom.gif);"></div>
    713.         <div id="jsClock"></div>
    714.  
    715. <script type="text/javascript">
    716.  
    717. <!new imageclock.display()>
    718.  
    719. </script>
    720. </div>
    721.           <script type="text/javascript">
    722.             InitializePage();
    723.           </script>
    724.       </div>
    725.      </div>
    726.  
    727.     </div>
    728.  
    729.   </div>
    730. </body>
    731. </html>
    732.  
    733.  
     
  20. semary

    semary [BB] OTland

    Joined:
    May 3, 2009
    Messages:
    814
    Likes Received:
    21
    Best Answers:
    0
    PHP:
    1.  
    2. <html xmlns="http://www.w3.org/1999/xhtml">
    3. <head>
    4.   <title><?PHP echo $title ?></title>
    5.   <meta name="description" content="Tibia is a free massive multiplayer online role playing game (MMORPG)." />
    6.   <meta name="author" content="Gesior" />
    7.   <meta http-equiv="content-language" content="en" />
    8.   <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    9.   <meta name="keywords" content="free online game, free multiplayer game, ots, open tibia server" />
    10.   <link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
    11.   <link rel="icon" href="<?PHP echo $layout_name; ?>/images/server.ico" type="image/x-icon">
    12.   <?PHP echo $layout_header; ?>
    13.   <link href="<?PHP echo $layout_name; ?>/basic.css" rel="stylesheet" type="text/css">
    14.   <script type='text/javascript'> var IMAGES=0; IMAGES='http://static.tibia.com/images'; var g_FormField='';</script>
    15.   <SCRIPT TYPE="text/javascript">
    16.       <style type="text/css">
    17. <!--
    18.  
    19. body, th, td, input, textarea, select {
    20.     cursor:url(<? echo $layout_name; ?>/images/redskull.png), pointer;
    21. }
    22.  
    23. -->
    24.  
    25. </style>
    26.  
    27. <!-- // Framekiller
    28. setTimeout ("changePage()", 6000);
    29. function changePage()
    30. {
    31.   if (parent.frames.length > 2) {
    32.     if (browserTyp == "ie") {
    33.       parent.location=document.location;
    34.     } else {
    35.       self.top.location=document.location;
    36.     }
    37.   }
    38. }
    39. // -->
    40. </SCRIPT>
    41. <script type="text/javascript">
    42. state = new Array("0", "0", "0", "0", "0");
    43. function TickerAction(id) {
    44.   var line = id.substr(12, 1);
    45.   if(state[line] == "0") {
    46.     state[line] = "1";
    47.     OpenNews(id);
    48.   }
    49.   else {
    50.     state[line] = "0";
    51.     CloseNews(id);
    52.   }
    53. }
    54.  
    55. function OpenNews(id)
    56. {
    57.   var div = document.getElementById(id)
    58.   var idShort = id.concat("-ShortText");
    59.   var idMore = id.concat("-FullText");
    60.   var idButton = id.concat("-Button");
    61.   document.getElementById(idShort).style.display = "none";
    62.   document.getElementById(idMore).style.display = "block";
    63.   document.getElementById(idButton).style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/plus.gif')";
    64. }
    65.  
    66. function CloseNews(id)
    67. {
    68.   var div = document.getElementById(id)
    69.   var idShort = id.concat("-ShortText");
    70.   var idMore = id.concat("-FullText");
    71.   var idButton = id.concat("-Button");
    72.   document.getElementById(idShort).style.display = "block";
    73.   document.getElementById(idMore).style.display = "none";
    74.   document.getElementById(idButton).style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/plus.gif')";
    75. }
    76.  
    77. function InitializePage() {
    78.   LoadLoginBox();
    79.   LoadMenu();
    80. }
    81.  
    82.  
    83. // initialisation of the loginbox status by the value of the variable 'loginStatus' which is provided to the HTML-document by PHP in the file 'header.inc'
    84. function LoadLoginBox()
    85. {
    86.   if(loginStatus == "false") {
    87.     document.getElementById('LoginstatusText_1').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-you-are-not-logged-in.gif')";
    88.     document.getElementById('ButtonText').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/buttons/_sbutton_login.gif')";
    89.     document.getElementById('LoginstatusText_2').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif')";
    90.     document.getElementById('LoginstatusText_2_1').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif')";
    91.     document.getElementById('LoginstatusText_2_2').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif')";
    92.   } else {
    93.     document.getElementById('LoginstatusText_1').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-welcome.gif')";
    94.     document.getElementById('ButtonText').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/buttons/_sbutton_myaccount.gif')";
    95.     document.getElementById('LoginstatusText_2').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-logout.gif')";
    96.     document.getElementById('LoginstatusText_2_1').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-logout.gif')";
    97.     document.getElementById('LoginstatusText_2_2').style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-logout-over.gif')";
    98.   }
    99. }
    100.  
    101. // mouse-over and click events of the loginbox
    102. function MouseOverLoginBoxText(source)
    103. {
    104.   source.lastChild.style.visibility = "visible";
    105.   source.firstChild.style.visibility = "hidden";
    106. }
    107. function MouseOutLoginBoxText(source)
    108. {
    109.   source.firstChild.style.visibility = "visible";
    110.   source.lastChild.style.visibility = "hidden";
    111. }
    112. function LoginButtonAction()
    113. {
    114.   if(loginStatus == "false") {
    115.     window.location = LINK_ACCOUNT + "?subtopic=accountmanagement";
    116.   } else {
    117.     window.location = LINK_ACCOUNT + "?subtopic=accountmanagement";
    118.   }
    119. }
    120. function LoginstatusTextAction(source) {
    121.   if(loginStatus == "false") {
    122.     window.location = LINK_ACCOUNT + "?subtopic=createaccount";
    123.   } else {
    124.     window.location = LINK_ACCOUNT + "?subtopic=accountmanagement&action=logout";
    125.   }
    126. }
    127.  
    128. var menu = new Array();
    129. menu[0] = new Object();
    130. var unloadhelper = false;
    131.  
    132. // load the menu and set the active submenu item by using the variable 'activeSubmenuItem' (provided to HTML-document by PHP in the file 'header.inc'
    133. function LoadMenu()
    134. {
    135.   document.getElementById("submenu_"+activeSubmenuItem).style.color = "white";
    136.   document.getElementById("ActiveSubmenuItemIcon_"+activeSubmenuItem).style.visibility = "visible";
    137.   if(self.name.lastIndexOf("&") == -1) {
    138.     self.name = "news=1&account=0&community=0&library=0&forum=0<?PHP if($config['site']['shop_system'] == 1) echo "&shops=0"; ?>&";
    139.   }
    140.   FillMenuArray();
    141.   InitializeMenu();
    142. }
    143.  
    144. function SaveMenu()
    145. {
    146.   if(unloadhelper == false) {
    147.     SaveMenuArray();
    148.     unloadhelper = true;
    149.   }
    150. }
    151.  
    152. // store the values of the variable 'self.name' in the array menu
    153. function FillMenuArray()
    154. {
    155.   while(self.name.length > 0 ){
    156.     var mark1 = self.name.indexOf("=");
    157.     var mark2 = self.name.indexOf("&");
    158.     var menuItemName = self.name.substr(0, mark1);
    159.     menu[0][menuItemName] = self.name.substring(mark1 + 1, mark2);
    160.     self.name = self.name.substr(mark2 + 1, self.name.length);
    161.   }
    162. }
    163.  
    164. // hide or show the corresponding submenus
    165. function InitializeMenu()
    166. {
    167.   for(menuItemName in menu[0]) {
    168.     if(menu[0][menuItemName] == "0") {
    169.       document.getElementById(menuItemName+"_Submenu").style.visibility = "hidden";
    170.       document.getElementById(menuItemName+"_Submenu").style.display = "none";
    171.       document.getElementById(menuItemName+"_Lights").style.visibility = "visible";
    172.       document.getElementById(menuItemName+"_Extend").style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/plus.gif')";
    173.     }
    174.     else {
    175.       document.getElementById(menuItemName+"_Submenu").style.visibility = "visible";
    176.       document.getElementById(menuItemName+"_Submenu").style.display = "block";
    177.       document.getElementById(menuItemName+"_Lights").style.visibility = "hidden";
    178.       document.getElementById(menuItemName+"_Extend").style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/minus.gif')";
    179.     }
    180.   }
    181. }
    182.  
    183. // reconstruct the variable "self.name" out of the array menu
    184. function SaveMenuArray()
    185. {
    186.   var stringSlices = "";
    187.   var temp = "";
    188.   for(menuItemName in menu[0]) {
    189.     stringSlices = menuItemName + "=" + menu[0][menuItemName] + "&";
    190.     temp = temp + stringSlices;
    191.   }
    192.   self.name = temp;
    193. }
    194.  
    195. // onClick open or close submenus
    196. function MenuItemAction(sourceId)
    197. {
    198.   if(menu[0][sourceId] == 1) {
    199.     CloseMenuItem(sourceId);
    200.   }
    201.   else {
    202.     OpenMenuItem(sourceId);
    203.   }
    204. }
    205. function OpenMenuItem(sourceId)
    206. {
    207.   menu[0][sourceId] = 1;
    208.   document.getElementById(sourceId+"_Submenu").style.visibility = "visible";
    209.   document.getElementById(sourceId+"_Submenu").style.display = "block";
    210.   document.getElementById(sourceId+"_Lights").style.visibility = "hidden";
    211.   document.getElementById(sourceId+"_Extend").style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/minus.gif')";
    212. }
    213. function CloseMenuItem(sourceId)
    214. {
    215.   menu[0][sourceId] = 0;
    216.   document.getElementById(sourceId+"_Submenu").style.visibility = "hidden";
    217.   document.getElementById(sourceId+"_Submenu").style.display = "none";
    218.   document.getElementById(sourceId+"_Lights").style.visibility = "visible";
    219.   document.getElementById(sourceId+"_Extend").style.backgroundImage = "url('<?PHP echo $layout_name; ?>/images/general/plus.gif')";
    220. }
    221.  
    222. // mouse-over effects of menubuttons and submenuitems
    223. function MouseOverMenuItem(source)
    224. {
    225.   source.firstChild.style.visibility = "visible";
    226. }
    227. function MouseOutMenuItem(source)
    228. {
    229.   source.firstChild.style.visibility = "hidden";
    230. }
    231. function MouseOverSubmenuItem(source)
    232. {
    233.   source.style.backgroundColor = "#14433F";
    234. }
    235. function MouseOutSubmenuItem(source)
    236. {
    237.   source.style.backgroundColor = "#0D2E2B";
    238. }
    239. </script>
    240. </head>
    241.  
    242. <body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">
    243.  
    244.   <a name="top" ></a>
    245.  
    246.   <div id="ArtworkHelper" style="background-image:url(<?PHP echo $layout_name; ?>/images/header/background-artwork.jpg);" >
    247.     <div id="Bodycontainer">
    248.       <div id="ContentRow">
    249.         <div id="MenuColumn">
    250.           <div id="LeftArtwork">
    251.             <img id="Statue_1" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />
    252.             <img id="TibiaLogoArtworkTop" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-top.gif" onClick="window.location = '?subtopic=latestnews';" alt="logoartwork" />
    253.             <img id="TibiaLogoArtworkBottom" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-bottom.gif" alt="logoartwork" />
    254.             <img id="Statue_2" src="<?PHP echo $layout_name; ?>/images/header/animated-statue.gif" alt="logoartwork" />
    255.             <img id="LogoLink" src="<?PHP echo $layout_name; ?>/images/header/tibia-logo-artwork-string.gif" onClick="window.location = 'mailto:<?PHP echo $config['server']['ownerEmail']; ?>';" alt="logoartwork" />
    256.           </div>
    257.          
    258.   <div id="Loginbox" >
    259.     <div id="LoginTop" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif)" ></div>
    260.     <div id="BorderLeft" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    261.  
    262.     <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    263.       <div id="LoginstatusText_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-you-are-not-logged-in.gif)" ></div>
    264.     </div>
    265.  
    266.     <div id="LoginButtonContainer" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    267.       <div id="LoginButton" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif)" >
    268.         <div onClick="LoginButtonAction();" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"><div class="Button" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif)" ></div>
    269.           <div id="ButtonText" ></div>
    270.         </div>
    271.       </div>
    272.  
    273.     </div>
    274.  
    275.     <div style="clear:both" ></div>
    276.  
    277.     <div class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-textfield-background.gif)" >
    278.       <div id="LoginstatusText_2" onClick="LoginstatusTextAction(this);" onMouseOver="MouseOverLoginBoxText(this);" onMouseOut="MouseOutLoginBoxText(this);" ><div id="LoginstatusText_2_1" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account.gif)" ></div><div id="LoginstatusText_2_2" class="LoginstatusText" style="background-image:url(<?PHP echo $layout_name; ?>/images/loginbox/loginbox-font-create-account-over.gif)" ></div></div>
    279.     </div>
    280.  
    281.     <div id="BorderRight" class="LoginBorder" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif)" ></div>
    282.     <div id="LoginBottom" class="Loginstatus" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif)" ></div>
    283.   </div>
    284.  
    285. <div id='Menu'>
    286. <div id='MenuTop' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-top.gif);'></div>
    287.  
    288.  
    289. <div id='news' class='menuitem'>
    290. <span onClick="MenuItemAction('news')">
    291.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    292.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    293.       <span id='news_Lights' class='Lights'>
    294.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    295.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    296.  
    297.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    298.       </span>
    299.       <div id='news_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-news.gif);'></div>
    300.       <div id='news_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-news.gif);'></div>
    301.       <div id='news_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    302.     </div>
    303.   </div>
    304. </span>
    305. <div id='news_Submenu' class='Submenu'>
    306. <a href='?subtopic=latestnews'>
    307.   <div id='submenu_latestnews' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    308.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    309.     <div id='ActiveSubmenuItemIcon_latestnews' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    310.     <div class='SubmenuitemLabel'>Ultimas Noticias</div>
    311.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    312.   </div>
    313. </a>
    314. <a href='?subtopic=archive'>
    315.   <div id='submenu_archive' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    316.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    317.     <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    318.     <div class='SubmenuitemLabel'>Archivo de noticias</div>
    319.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    320.   </div>
    321.   <a href='?subtopic=test'>
    322.    <div id='submenu_test' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    323.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    324.     <div id='ActiveSubmenuItemIcon_changelog' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    325.     <div class='SubmenuitemLabel'>Examen para tutor</div>
    326.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    327.   </div>
    328. </a>
    329. </a>
    330. <a href='?subtopic=forum'>
    331.   <div id='submenu_forum' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    332.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    333.     <div id='ActiveSubmenuItemIcon_archive' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    334.     <div class='SubmenuitemLabel'>Foro</div>
    335.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    336.   </div>
    337. </a>
    338. </div>
    339. </div>
    340.  
    341.  
    342. <div id='account' class='menuitem'>
    343. <span onClick="MenuItemAction('account')">
    344.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    345.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    346.       <span id='account_Lights' class='Lights'>
    347.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    348.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    349.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    350.       </span>
    351.       <div id='account_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-account.gif);'></div>
    352.       <div id='account_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-account.gif);'></div>
    353.       <div id='account_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    354.     </div>
    355.   </div>
    356. </span>
    357. <div id='account_Submenu' class='Submenu'>
    358. <a href='?subtopic=accountmanagement'>
    359.   <div id='submenu_accountmanagement' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    360.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    361.     <div id='ActiveSubmenuItemIcon_accountmanagement' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    362.     <div class='SubmenuitemLabel'>Manejo de Cuenta</div>
    363.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    364.   </div>
    365. </a>
    366. <a href='?subtopic=createaccount'>
    367.   <div id='submenu_createaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    368.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    369.     <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    370.     <div class='SubmenuitemLabel'>Crear Cuenta</div>
    371.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    372.   </div>
    373. </a>
    374. <a href='?subtopic=lostaccount'>
    375.   <div id='submenu_lostaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    376.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    377.     <div id='ActiveSubmenuItemIcon_lostaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    378.     <div class='SubmenuitemLabel'>Olvidaste tu password?</div>
    379.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    380.   </div>
    381. </a>
    382. <a href='?subtopic=tibiarules'>
    383.   <div id='submenu_tibiarules' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    384.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    385.     <div id='ActiveSubmenuItemIcon_tibiarules' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    386.     <div class='SubmenuitemLabel'>Reglas del server</div>
    387.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    388.   </div>
    389. </a>
    390. <?PHP
    391. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    392. echo "<a href='?subtopic=adminpanel'>
    393.  <div id='submenu_adminpanel' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    394.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    395.    <div id='ActiveSubmenuItemIcon_adminpanel' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    396.    <div class='SubmenuitemLabel'><font color=\"red\">! Admin Panel !</font></div>
    397.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    398.  </div>
    399. </a>";
    400. if($group_id_of_acc_logged > 0)
    401. echo "<a href='?subtopic=namelock'>
    402.  <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    403.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    404.    <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    405.    <div class='SubmenuitemLabel'><font color=\"red\">Namelocks</font></div>
    406.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    407.  </div>
    408. </a>";
    409. if($group_id_of_acc_logged > 0)
    410. echo "<a href='?subtopic=mail'>
    411.  <div id='submenu_namelock' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    412.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    413.    <div id='ActiveSubmenuItemIcon_namelock' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    414.    <div class='SubmenuitemLabel'><font color=\"red\">Mass mail sender</font></div>
    415.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    416.  </div>
    417. </a>";
    418. ?>
    419. </div>
    420. </div>
    421.  
    422.  
    423. <div id='community' class='menuitem'>
    424. <span onClick="MenuItemAction('community')">
    425.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    426.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    427.       <span id='community_Lights' class='Lights'>
    428.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    429.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    430.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    431.       </span>
    432.       <div id='community_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-community.gif);'></div>
    433.       <div id='community_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-community.gif);'></div>
    434.       <div id='community_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    435.  
    436.     </div>
    437.   </div>
    438. </span>
    439. <div id='community_Submenu' class='Submenu'>
    440. <a href='?subtopic=characters'>
    441.   <div id='submenu_characters' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    442.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    443.     <div id='ActiveSubmenuItemIcon_characters' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    444.     <div class='SubmenuitemLabel'>Personajes</div>
    445.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    446.  
    447.   </div>
    448. </a>
    449. <a href='?subtopic=whoisonline'>
    450.   <div id='submenu_whoisonline' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    451.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    452.     <div id='ActiveSubmenuItemIcon_whoisonline' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    453.     <div class='SubmenuitemLabel'>Quien esta online?</div>
    454.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    455.   </div>
    456. </a>
    457. <a href='?subtopic=highscores'>
    458.   <div id='submenu_highscores' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    459.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    460.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    461.     <div class='SubmenuitemLabel'>Tabla de lideres</div>
    462.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    463.   </div>
    464. </a>
    465. <a href='?subtopic=frags'>
    466.   <div id='submenu_frags' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    467.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    468.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    469.     <div class='SubmenuitemLabel'>Pvp frags</div>
    470.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    471.   </div>
    472. </a>
    473. <a href='?subtopic=polls'>
    474.   <div id='submenu_polls' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    475.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    476.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    477.     <div class='SubmenuitemLabel'>Encuestas</div>
    478.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    479.   </div>
    480. </a>
    481. <a href='?subtopic=auctions'>
    482.   <div id='submenu_auctions' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    483.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    484.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    485.     <div class='SubmenuitemLabel'>Subastas</div>
    486.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    487.   </div>
    488. </a>
    489. <a href='?subtopic=banlist'>
    490.   <div id='submenu_banlist' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    491.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    492.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    493.     <div class='SubmenuitemLabel'>Lista de Bans</div>
    494.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    495.   </div>
    496. </a>
    497. <a href='?subtopic=monsterkills'>
    498.   <div id='submenu_monsterkills' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    499.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    500.     <div id='ActiveSubmenuItemIcon_highscores' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    501.     <div class='SubmenuitemLabel'>Caza de monstruos</div>
    502.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    503.   </div>
    504. </a>
    505. <a href='?subtopic=records'>
    506.   <div id='submenu_records' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    507.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    508.     <div id='ActiveSubmenuItemIcon_warstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    509.     <div class='SubmenuitemLabel'<font color=\"#99CCFF;\">Record de Players</font></div>
    510.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    511.   </div>
    512. </a>
    513. <a href='?subtopic=killstatistics'>
    514.   <div id='submenu_killstatistics' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    515.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    516.     <div id='ActiveSubmenuItemIcon_killstatistics' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    517.     <div class='SubmenuitemLabel'>Ultimas Kills</div>
    518.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    519.   </div>
    520. </a>
    521. <a href='index.php?subtopic=wars'>
    522.   <div id='submenu_wars' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    523.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    524.     <div id='ActiveSubmenuItemIcon_wars' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    525.     <div class='SubmenuitemLabel'><font color="red">Guerra de Guilds</font></div>
    526.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    527.   </div>
    528. </a>
    529. <a href='?subtopic=guilds'>
    530.   <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    531.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    532.  
    533.     <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    534.     <div class='SubmenuitemLabel'>Guilds</div>
    535.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    536.   </div>
    537. </a>
    538. <a href='?subtopic=team'>
    539.   <div id='submenu_team' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    540.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    541.     <div id='ActiveSubmenuItemIcon_team' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    542.     <div class='SubmenuitemLabel'>Lista del staff</div>
    543.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    544.   </div>
    545. </a>
    546. </div>
    547. </div>
    548. <div id='library' class='menuitem'>
    549. <span onClick="MenuItemAction('library')">
    550.   <div class='MenuButton' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background.gif);'>
    551.     <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/button-background-over.gif);'></div>
    552.       <span id='library_Lights' class='Lights'>
    553.         <div class='light_lu' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    554.         <div class='light_ld' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    555.         <div class='light_ru' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/green-light.gif);'></div>
    556.       </span>
    557.       <div id='library_Icon' class='Icon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-library.gif);'></div>
    558.       <div id='library_Label' class='Label' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/label-library.gif);'></div>
    559.       <div id='library_Extend' class='Extend' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/plus.gif);'></div>
    560.     </div>
    561.   </div>
    562. </span>
    563. <div id='library_Submenu' class='Submenu'>
    564. <a href='?subtopic=creatures'>
    565.   <div id='submenu_creatures' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    566.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    567.     <div id='ActiveSubmenuItemIcon_creatures' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    568.     <div class='SubmenuitemLabel'>Monstruos</div>
    569.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    570.   </div>
    571. </a>
    572. <a href='?subtopic=spells'>
    573.   <div id='submenu_spells' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    574.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    575.     <div id='ActiveSubmenuItemIcon_spells' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    576.     <div class='SubmenuitemLabel'>Magias</div>
    577.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    578.   </div>
    579. </a>
    580. <?PHP
    581. if($config['site']['serverinfo_page'] == 1)
    582. echo "<a href='?subtopic=serverinfo'>
    583.  <div id='submenu_serverinfo' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    584.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    585.    <div id='ActiveSubmenuItemIcon_serverinfo' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    586.    <div class='SubmenuitemLabel'>Server Info</div>
    587.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    588.  </div>
    589. </a>";
    590. ?>
    591. <a href='?subtopic=experiencetable'>
    592.   <div id='submenu_experiencetable' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    593.     <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    594.     <div id='ActiveSubmenuItemIcon_experiencetable' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    595.     <div class='SubmenuitemLabel'>Tabla de experiencia</div>
    596.     <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    597.   </div>
    598. </a>
    599. </div>
    600. </div>
    601. <?PHP
    602. if($config['site']['shop_system'] == 1)
    603. {
    604. echo "<div id='shops' class='menuitem'>
    605. <span onClick=\"MenuItemAction('shops')\">
    606.  <div class='MenuButton' style='background-image:url(".$layout_name."/images/menu/button-background.gif);'>
    607.    <div onMouseOver='MouseOverMenuItem(this);' onMouseOut='MouseOutMenuItem(this);'><div class='Button' style='background-image:url(".$layout_name."/images/menu/button-background-over.gif);'></div>
    608.      <span id='shops_Lights' class='Lights'>
    609.        <div class='light_lu' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    610.        <div class='light_ld' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    611.        <div class='light_ru' style='background-image:url(".$layout_name."/images/menu/green-light.gif);'></div>
    612.      </span>
    613.      <div id='shops_Icon' class='Icon' style='background-image:url(".$layout_name."/images/menu/icon-shops.gif);'></div>
    614.      <div id='shops_Label' class='Label' style='background-image:url(".$layout_name."/images/menu/label-shops.gif);'></div>
    615.      <div id='shops_Extend' class='Extend' style='background-image:url(".$layout_name."/images/general/plus.gif);'></div>
    616.    </div>
    617.  </div>
    618. </span>
    619. </div>
    620. <div id='shops_Submenu' class='Submenu'>
    621. <a href='?subtopic=buypoints'>
    622.  <div id='submenu_buypoints' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    623.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    624.    <div id='ActiveSubmenuItemIcon_buypoints' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    625.    <div class='SubmenuitemLabel'><blink style=\"color: red;\">Buy Points</blink></div>
    626.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    627.  </div>
    628. </a>
    629. <a href='?subtopic=shopsystem'>
    630.  <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    631.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    632.    <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    633.    <div class='SubmenuitemLabel'><div style=\"color: green;\">\$hop Offer</div></div>
    634.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    635.  </div>
    636. </a>";
    637. if($logged)
    638. echo "<a href='?subtopic=shopsystem&action=show_history'>
    639.  <div id='submenu_shopsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    640.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    641.    <div id='ActiveSubmenuItemIcon_shopsystem' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    642.    <div class='SubmenuitemLabel'>Trans. History</div>
    643.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    644.  </div>
    645. </a>";
    646. if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
    647. echo "<a href='?subtopic=shopadmin'>
    648.  <div id='submenu_shopadmin' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    649.    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    650.    <div id='ActiveSubmenuItemIcon_shopadmin' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    651.    <div class='SubmenuitemLabel'>Shop Admin</div>
    652.    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    653.  </div>
    654. </a>";
    655. echo "</div>";
    656.  }
    657.  ?>
    658. <div id='MenuBottom' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);'></div>
    659. </div>
    660.      </div>
    661.         <div id="ContentColumn">
    662.           <div class="Content">
    663.             <div id="ContentHelper"><script type="text/javascript" src="http://static.tibia.com/javascripts/newsticker.js"></script>
    664.         <?PHP echo $news_content; ?>
    665.  
    666.     <div id="<?PHP echo $subtopic; ?>" class="Box">
    667.     <div class="Corner-tl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tl.gif);"></div>
    668.     <div class="Corner-tr" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-tr.gif);"></div>
    669.     <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    670.     <div class="BorderTitleText" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/title-background-green.gif);"></div>
    671.     <img class="Title" src="<?PHP echo $layout_name; ?>/images/header/headline-<?PHP echo $subtopic; ?>.gif" alt="Contentbox headline" />
    672.     <div class="Border_2">
    673.       <div class="Border_3">
    674.         <div class="BoxContent" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/scroll.gif);">
    675.         <?PHP echo $main_content; ?>       </div>
    676.       </div>
    677.     </div>
    678.     <div class="Border_1" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/border-1.gif);"></div>
    679.  
    680.     <div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-bl.gif);"></div></div>
    681.     <div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url(<?PHP echo $layout_name; ?>/images/content/corner-br.gif);"></div></div>
    682.   </div>
    683.            </div>
    684.           </div>
    685.           <div id="Footer">
    686. <?PHP
    687. $time_end = microtime_float();
    688. $time = $time_end - $time_start;
    689.  
    690. ?>
    691.             Powered by <a href="http://tibiahelp.com">Tibia Help</a> | Account maker by <a href="http://otland.net/members/Gesior/">Gesior</a> Fixed by <a href="http://otland.net/members/widnet/">widnet</a>. Layout by CipSoft GmbH.<br/>Page has been viewed <?PHP echo $page_views; ?> times. Load time: <?PHP echo round($time, 4); ?> seconds
    692.           </div>
    693.         </div>
    694.          <div id="ThemeboxesColumn">
    695.           <div id="RightArtwork">
    696.             <img id="Monster" src="monsters/<?PHP echo logo_monster() ?>.gif" onClick="window.location = '?subtopic=creatures&amp;creature=<?PHP echo logo_monster() ?>';" alt="Monster of the Week" />
    697.             <img id="PedestalAndOnline" src="<?PHP echo $layout_name; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
    698.           <div id="PlayersOnline" onClick="window.location = '?subtopic=whoisonline'">
    699.           <?PHP
    700.             if($config['status']['serverStatus_online'] == 1)
    701.                 echo $config['status']['serverStatus_players'].'<br />Players Online';
    702.             else
    703.                 echo '<font color="red"><b>Server<br />OFFLINE</b></font>';
    704.             ?></div>
    705.         </div>
    706.         <div id="Themeboxes">
    707.          
    708.   <div id="NewcomerBox" class="Themebox" style="background-image:url(layouts/tibiacom/images/themeboxes/newcomer/newcomerbox.gif);">
    709.     <div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=createaccount')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(layouts/tibiacom/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(layouts/tibiacom/images/buttons/sbutton_over.gif);"></div>
    710.       <div class="ButtonText" style="background-image:url(layouts/tibiacom/images/buttons/_sbutton_jointibia.gif);"></div>
    711.     </div>
    712.     <div class="Bottom" style="background-image:url(layouts/tibiacom/images/general/box-bottom.gif);"></div>
    713.   </div>
    714.  
    715. <div>
    716.      <div id="ScreenshotBox" class="Themebox" style="background-image:url(layouts/tibiacom/images/themeboxes/screenshot/screenshotbox.gif);">
    717.       <a href="?subtopic=screenshots" >
    718.         <img id="ScreenshotContent" class="ThemeboxContent" src="images/screenshotoftheday.gif" alt="Screenshot of the Day" /></a>
    719.     <div class="Bottom" style="background-image:url(layouts/tibiacom/images/general/box-bottom.gif);"></div>
    720.     </div>
    721.     <div id="ScreenshotBox" class="Themebox" style="background-image:url(layouts/tibiacom/images/themeboxes/thetime.gif);">
    722.     <div class="TimeBottom" style="background-image:url(layouts/tibiacom/images/general/box-bottom.gif);"></div>
    723.         <div id="jsClock"></div>
    724.  
    725. <script type="text/javascript">
    726.  
    727. <!new imageclock.display()>
    728.  
    729. </script>
    730. </div>
    731.           <script type="text/javascript">
    732.             InitializePage();
    733.           </script>
    734.       </div>
    735.      </div>
    736.  
    737.     </div>
    738.  
    739.   </div>
    740. </body>
    741. </html>
    742.  
    i Add
    PHP:
    1.       <style type="text/css">
    2. <!--
    3.  
    4. body, th, td, input, textarea, select {
    5.     cursor:url(<? echo $layout_name; ?>/images/redskull.png), pointer;
    6. }
    7.  
    8. -->
    9.  
    10. </style>
    the image name is redskull.png
     

Share This Page

Loading...