Ir para conteúdo

Como Faço Para Mudar O Plano De Fundo De Um Website


LLol

Posts Recomendados

como faço para substituir o plano de fundo desse website, eu n consigo :X

 

layout.php:

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
   	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   	<title><? echo $title; ?></title>
       <link rel="stylesheet" href="<? echo $layout_name; ?>/style.css" type="text/css" />
       <script type="text/javascript" src="<? echo $layout_name; ?>/menu.js"></script>
       <script type="text/javascript">
		var imagesURL = '<? echo $layout_name; ?>';
	</script>
       <? echo $layout_header; ?>
   </head>
   <body onload="menuInit();">
   	<div id="page">

       	<div id="header"></div>

           <div id="menu">
           	<div style="margin-bottom: -2px;"><img src="<? echo $layout_name; ?>/images/menu-start.png" alt="Start Menu" /></div>

               <div id="news">
                   <div onclick="menuSwitch(1, 'news')">
                       <div class="nav">
                           <div style="float: left; width: 157px; height: 34px;"><img src="<? echo $layout_name; ?>/images/latestnews.png" alt="Latest News" /></div>
                           <div id="news_Icon" style="background-image: url('<? echo $layout_name; ?>/images/minus.gif'); background-position: bottom right; background-repeat: no-repeat; float: left; width: 23px; height: 34px;"></div>
                       </div>
                   </div>
                   <div id="news_Submenu">
                       <div class="links">
                           <ul>
                               <li><a href="?subtopic=latestnews">Latest News</a></li>
                           </ul>
                       </div>
                   </div>
               </div>

               <div id="account">
                   <div onclick="menuSwitch(2, 'account')">
                       <div class="nav">
                           <div style="float: left; width: 157px; height: 34px;"><img src="<? echo $layout_name; ?>/images/account.png" alt="Account" /></div>
                           <div id="account_Icon" style="background-image: url('<? echo $layout_name; ?>/images/plus.gif'); background-position: bottom right; background-repeat: no-repeat; float: left; width: 23px; height: 34px;"></div>
                       </div>
                   </div>
                   <div id="account_Submenu">
                       <div class="links">
                           <ul>
                               <?PHP
							if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
								echo '<li><a href="?subtopic=adminpanel">Admin Panel</a></li>';
							if($group_id_of_acc_logged > 0)
								echo '<li><a href="?subtopic=namelock">Namelocks</a></li>';
							if($logged)
								echo '<li><a href="?subtopic=shopadmin">Shop Admin</a></li>';
							if($group_id_of_acc_logged > 0)
							{
								echo '<li><a href="?subtopic=accountmanagement">My Account</a></li>
								<li><a href="?subtopic=accountmanagement&action=logout">Logout</a></li>';
							}
							else
							{
								echo '<li><a href="?subtopic=accountmanagement">Login</a></li>';
							}
							?>
							<li><a href="?subtopic=createaccount">Create Account</a></li>
							<li><a href="?subtopic=lostaccount">Lost Account Interface</a></li>
							<li><a href="?subtopic=tibiarules">Server Rules</a></li>
                           </ul>
                       </div>
                   </div>
               </div>

               <div id="community">
                   <div onclick="menuSwitch(3, 'community')">
                       <div class="nav">
                           <div style="float: left; width: 157px; height: 34px;"><img src="<? echo $layout_name; ?>/images/community.png" alt="Community" /></div>
                           <div id="community_Icon" style="background-image: url('<? echo $layout_name; ?>/images/plus.gif'); background-position: bottom right; background-repeat: no-repeat; float: left; width: 23px; height: 34px;"></div>
                       </div>
                   </div>
                   <div id="community_Submenu">
                       <div class="links">
                           <ul>
                               <li><a href="?subtopic=characters">Search Player</a></li>
                               <li><a href="?subtopic=guilds">Guilds</a></li>
                               <li><a href="?subtopic=highscores">Highscores</a></li>
                               <li><a href="?subtopic=killstatistics">Last Deaths</a></li>
                               <li><a href="?subtopic=houses">Houses</a></li>
                               <li><a href="?subtopic=downloads">Download</a></li>
                               <?PHP if(!empty($config['site']['forum_link'])) echo '<li><a href="'.$config['site']['forum_link'].'">Forum</a></li>'; ?>
                               <li><a href="?subtopic=team">Game Masters</a></li>
                           </ul>
                       </div>
                   </div>
               </div>

               <div id="library">
                   <div onclick="menuSwitch(4, 'library')">
                       <div class="nav">
                           <div style="float: left; width: 157px; height: 34px;"><img src="<? echo $layout_name; ?>/images/library.png" alt="Library" /></div>
                           <div id="library_Icon" style="background-image: url('<? echo $layout_name; ?>/images/plus.gif'); background-position: bottom right; background-repeat: no-repeat; float: left; width: 23px; height: 34px;"></div>
                       </div>
                   </div>
                   <div id="library_Submenu">
                       <div class="links">
                           <ul>
                               <li><a href="?subtopic=creatures">Monsters</a></li>
                               <li><a href="?subtopic=spells">Spells</a></li>
                               <li><a href="?subtopic=whoisonline">Who is online?</a></li>
                               <?PHP if($config['site']['serverinfo_page'] == 1) echo '<li><a href="?subtopic=serverinfo">Server Info</a></li>'; ?>
                               <?PHP if($config['site']['download_page'] == 1) echo '<li><a href="?subtopic=downloads">Downloads</a></li>'; ?>
                               <?PHP if($config['site']['gallery_page'] == 1) echo '<li><a href="?subtopic=gallery">Gallery</a></li>'; ?>
                           </ul>
                       </div>
                   </div>
               </div>

               <?PHP
				if($config['site']['shop_system'] == 1)
				{
						echo '
						<div id="shops">
							<div onclick="menuSwitch(5, \'shops\')">
								<div class="nav">
									<div style="float: left; width: 157px; height: 34px;"><img src="'.$layout_name.'/images/shops.png" alt="Shops" /></div>
									<div id="shops_Icon" style="background-image: url(\''.$layout_name.'/images/plus.gif\'); background-position: bottom right; background-repeat: no-repeat; float: left; width: 23px; height: 34px;"></div>
								</div>
							</div>
							<div id="shops_Submenu">
								<div class="links">
									<ul>
										<li><a href="?subtopic=doacao"><b><font size="1" color="red"><blink>Doação</blink></font></b></a></li>
										<li><a href="?subtopic=shopsystem">Shop Offer</a></li>';
										if($logged)
											echo '<li><a href="?subtopic=shopsystem&action=show_history">Shop History</a></li>';
								echo '</ul>
								</div>
                   			</div>
               			</div>';
				}
			?>

           	<div style="margin-top: -2px;"><img src="<? echo $layout_name; ?>/images/menu-end.png" alt="End Menu" /></div>
           </div>

           <div id="cnt-box">
           	<div id="top"></div>
               <div id="mid">
               	<div id="margins">
                       <? echo $main_content; ?>
                   </div>
               </div>
               <div id="bot"></div>
               <div id="copyrights">
               	<p>© 2009 by <? echo $config['server']['serverName']; ?>. All Rights Reserved.</p>
               </div>
           </div>

           <div id="adverts">
           	<h2>Server Status</h2>
               <hr noshade="noshade" size="1" />
			<?PHP
               if($config['status']['serverStatus_online'] == 1)
                   echo '
				<font color="green"><b>Server Online</b></font><br />
				Players Online: '.$config['status']['serverStatus_players'].' / '.$config['status']['serverStatus_playersMax'].'<br />
				Monsters: '.$config['status']['serverStatus_monsters'].'<br />Uptime: '.$config['status']['serverStatus_uptime'].'<br />
				IP: '.$config['server']['ip'].'<br />
				PORT: '.$config['server']['port'];
               else
                   echo '<font color="red"><b>Server Offline</b></font>';
               ?>
               <hr noshade="noshade" size="1" />
           	<a href="?subtopic=shopsystem"><img src="<? echo $layout_name; ?>/images/banner.png" alt="Premium Banner" style="border: 0px;" /></a>
           </div>

           <!-- END -->
       </div>
   </body>
</html>

 

website é 8.4 ajuda!!!

Link para o comentário
Compartilhar em outros sites

  • 1 month later...
×
×
  • Criar Novo...