avatar_3xclus1v3

Как победить ошибки в дизайне и исправить съехавшую страницу

Автор 3xclus1v3, 2022 Март 20, 22:36

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

Ключевые слова [SEO] исправлениедизайнсъехавшая страница

3xclus1v3




Вот как видите страничка полностью съехала вниз, куда копать не знаю, кто поможет буду очень благодарен...

Ссылка на архив с дизайном: https://disk.yandex.ru/d/tNSeXZFxX_sNnw

Для ленивых =)
header.php
Спойлер
<?php
$template_img_dir = "$template_dir/img/";
?>
<!DOCTYPE HTML PUBLIC  "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="author" content="MU Online Imperius">
<meta name="description" content="MU Online Imperius">
<meta name="keywords" content="MU Online, Imperius">
<meta name="robots" content="all">

<link rel="SHORTCUT ICON" HREF="<?php print $template_dir;?>img/favicon.ico" />
<title><?php print $Web['title'];?></title>
<link rel="stylesheet" type="text/css" href="<?php print $template_dir;?>css/rank.css" />
<link rel="stylesheet" type="text/css" href="<?php print $template_dir;?>css/style_global.css" />
<link href='https://fonts.googleapis.com/css?family=Archivo+Narrow:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<script type="text/javascript" SRC="<?php print $template_dir;?>js/jquery-1.js"></script>
<script type="text/javascript" SRC="<?php print $template_dir;?>js/jquery_002.js"></script>
<script type="text/javascript" SRC="<?php print $template_dir;?>js/jquery.js"></script>
<script type="text/javascript" SRC="<?php print $template_dir;?>js/jquery_003.js"></script>
<script type="text/javascript" SRC="<?php print $template_dir;?>js/m.js"></script>
<script type="text/javascript" SRC="<?php print $template_dir;?>js/custom.js"></script>
<script src="<?php print $template_dir;?>js/jcarousellite_1.0.1c5.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$("#slidebox").jCarouselLite({
vertical: true,
hoverPause:true,
btnPrev: ".previous",
btnNext: ".next",
visible: 1,
start: 0,
scroll: 1,
circular: true,
auto:5000,
speed:200,
btnGo:
[".1", ".2"],

afterEnd: function(a, to, btnGo) {
if(btnGo.length <= to){
to = 0;
}
$(".thumbActive").removeClass("thumbActive");
$(btnGo[to]).addClass("thumbActive");
}
});
});
</script>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" onload="java script:LoadBody();">
<script type="text/javascript" SRC="<?php print $template_dir;?>js/tooltip.js"></script>
<table width="993" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td  width="993" height="58" background="<?php print $template_dir;?>img/nav.jpg"><div id="menu">
<div align="center">
<!-- menu -->
<a href="/">Home</a>
<a href="/downloads/">Downloads</a>
<a href="/registration/">Register</a>
<a href="/rankings/">Rankings</a>
<a href="/black_list/">Black List</a>
<a href="/game_masters/">Game Masters</a>
<a href="/castle_siege/">Castle Siege</a>
<a href="/market/">Market</a>
<a href="/shop/">Item Shop</a>
<a href="/rules/">Rules</a>
<a href="https://forum.imperius.biz" target="_blank">Forum</a>
<!-- menu -->
</div>
</div></td>
</tr>
<tr>
<td><img src="<?php print $template_dir;?>img/header.jpg" width="993" height="350" border="0" usemap="#Map2" /></td>
</tr>
<tr>
<td background="<?php print $template_dir;?>img/contentbg.jpg"><table width="993" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="267" valign="top"><table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?php print $template_dir;?>img/c1.jpg" width="267" height="123" /></td>
</tr>
<tr>
<td height="111" style="background:url(<?php print $template_dir;?>img/c2_bg.jpg) top no-repeat" valign="top"><table width="200" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td><img src="<?php print $template_dir;?>img/lns.jpg" width="222" height="2" /></td>
</tr>
<tr>
<td height="33"><div align="center" id="title">User Panel</div></td>
</tr>
<tr>
<td><img src="<?php print $template_dir;?>img/lns.jpg" width="222" height="2" /></td>
</tr>
<tr>
<td style="padding-bottom:5px;"><div align="center"><div id="center">
<!-- login -->

<div class="tmp_left_m">

<div id='status_text1'>
<?php if(!isset($_SESSION['GTN_UserName'])){?>
<form method="post" name="loginform" action="/news/">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="4">
<tr>
<td style="height: 25px; padding-left: 2px;  " width="130"><input id="login_field" type="text" name="acc" onfocus="if(this.value=='User')this.value=''" onblur="if(this.value=='')this.value='User'" value="User"  maxlength='10'></td>
<td rowspan="2"><div id='login_button'><input value="" class="login-input" name="login_start" type="submit"></div>
</tr>
<tr>
<td style="height: 25px; padding-left: 2px;"><input id="login_field" type="password" name="pass" onfocus="if(this.value=='Password')this.value=''" onblur="if(this.value=='')this.value='Password'" value="Password" maxLength="10"></td>
</tr>
<tr>
<td style="height: 25px; padding-left: 2px;" colspan="2" align="left" class="yellow"><a  href="/forget_pass/">Forgot Password?</a></td>
</tr>
<!--<tr>
<td style="height: 25px; padding-left: 2px;"  colspan="2" align="left"  class="yellow">Newbie here? -</span> <a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.REGISTER_CMS_PAGE.'">Sign Up!</a></td>
</tr>-->
</table>
</form>
<?php }else{ ?>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="150">
<tr>
<td align="center">
<?php echo GTN_Login4;?>, <b><?php print $_SESSION['GTN_UserName'];?></b><br />
<?php echo GTN_Login5;?>: <?php print number_format($credits
  • );?><br />
<?php
if($Reg_Bonus['enable'] == 1){
echo GTN_Login6.': '.$bonus_info.'<BR />';
}
if($User_Type['status'] == 1){
echo GTN_Login7.': '.get_user_rank($user_rank
  • ).'<BR /><BR />';
}
?>

<div style="background-image: url(<?php print $template_dir;?>img/no-avatar.gif); background-repeat: no-repeat; width: 100px; height: 100px; margin-left: 5px;">
<div style="background-image: url(<? print $user_rank[3]; ?>); background-repeat: no-repeat; background-size: 100%; width: 100px; height: 100px; margin-left: -5px;"></div>
</div><BR />
<form name="form" method="post" action="/news/">
<input type="hidden" name="log_out" value="1" />
<input type="submit" class="logout-input" name="Submit" value="">
</form><br>
</td>
</tr>
<tr>
<td><img src="<?php print $template_dir;?>img/lns.jpg" width="222" height="2" /></td>
</tr>
</table>
<?}?>
</div>
<?php if(isset($_SESSION['GTN_UserName'])){ ?>
<div id='status_text1_services'>
<table width="223" border="0" cellspacing="3" cellpadding="3" id="tbs2">
<tr>
<td><li class="list_menu"><a HREF="/account_panel/"><?php echo GTN_Login_Main_Menu1;?></a></li></td>
</tr>
<tr>
<td><li class="list_menu"><a HREF="/game_panel/"><?php echo GTN_Login_Main_Menu2;?></a></li></td>
</tr>
<tr>
<td><li class="list_menu"><a HREF="/user/votereward/"><?php echo GTN_Login_Main_Menu3;?></a></li></td>
</tr>
<tr>
<td><li class="list_menu"><a HREF="/user/get_credits/"><?php echo GTN_Login_Main_Menu4;?></a></li></td>
</tr>
<?php if($Page['Lottery'] == 1){?>
<tr>
<td><li class="list_menu"><a HREF="/user/lottery/"><?php echo GTN_Login_Main_Menu5;?></a></li></td>
</tr>
<?php }
if($user_rank[1] == 0 AND $Reg_Bonus['enable'] == 1){ ?>
<tr>
<td><li class="list_menu"><a HREF="/user/profile/"><?php echo GTN_Login_Main_Menu6;?></a></li>&nbsp;&nbsp;&nbsp;<img src="<?php echo $template_dir;?>/img/hot.gif" border="0"></td>
</tr>
<?php }
if($IsGm == 'true'){ ?>
<tr>
<td><li class="list_menu"><a HREF="/gm_panel/">GM Panel</a></li></td>
</tr>
<?php }
if($IsAdmin == 'true'){ ?>
<tr>
<td><li class="list_menu"><a HREF="/adminpanel/">Admin Panel</a></li></td>
</tr>
<?php } ?>

</table>
</div>
<? } else{ } ?>
</div>

<!-- end login -->
</div>
</div></div></td>
</tr>
</table>
<table width="200" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td><img src="<?php print $template_dir;?>img/lns.jpg" width="222" height="2" /></td>
</tr>
<tr>
<td height="33"><div align="center" id="title">Statistics</div></td>
</tr>
<tr>
<td><img src="<?php print $template_dir;?>img/lns.jpg" width="222" height="2" /></td>
</tr>
<tr>
<td style="padding-bottom:5px;">

<table width="223" border="0" cellspacing="3" cellpadding="3" id="tbs">
<tr>
<td>
<!-- stats -->

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>
<tr>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);">ImperiusMU:</td>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);" width="45"><div align="center">
<span style="color:#0BCB2F;" class="online"><b>                                        <?php print $serv_status;?>
</b></span>                        </div></td>
</tr>
<!--<tr>
<td>Server VIP</td>
<td width="45"><div align="center">
<span style="color:#0BCB2F;" class="online"><b>                                      Statistika
</b></span>                              </div></td>
</tr>
<tr>
<td>Imperius - Siege</td>
<td width="45"><div align="center">
<span style="color:#0BCB2F;" class="online"><b>                                      Statistika
</b></span>                                </div></td>
</tr>-->

<tr>
<td><?php echo GTN_Statistic5;?>:</td>
<td width="45"><div align="center">
<?php print $Info['version'];?>
</div></td>
</tr>

<tr>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);"><?php echo GTN_Statistic6;?>/<?php echo GTN_Statistic7;?>:</td>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);" width="45"><div align="center">
<?php print $Info['exp'];?>/<?php print $Info['drop'];?>
</div></td>
</tr>

<tr>
<td><?php echo GTN_Statistic11;?>:</td>
<td width="45"><div align="center"><font color="#008000">
<?php print $total['online'];?>
</font></div></td>
</tr>

<tr>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);"><?php echo GTN_Statistic12;?>:</td>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);" width="45"><div align="center">
<?php print online_record($total['online']);?>
</div></td>
</tr>

<tr>
<td><?php echo GTN_Statistic8;?>:</td>
<td width="45"><div align="center">
<?php print number_format($total_accounts);?>
</div></td>
</tr>
<tr>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);"><?php echo GTN_Statistic9;?>:</td>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);" width="45"><div align="center">
<?php print number_format($total_chars);?>
</div></td>
</tr>
<tr></tr>
<tr>
<td><?php echo GTN_Statistic10;?>:</td>
<td width="45"><div align="center">
<?php print number_format($total_guilds);?>
</div></td>
</tr>

<tr>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);">Server Time:</td>
<td background="<?php print $template_dir;?>img/sts.jpg" style="border-bottom: 1px solid rgba(255, 255, 255, 0.03);" width="45"><div align="center">
<strong><script language="JavaScript" SRC="<?php print $template_dir;?>js/server_time.js" type="text/javascript"></script></strong>
</div></td>
</tr>
</tr>

</table>

</td>
</tr>
</table></td>
</tr>
</table>
<table width="200" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td><img src="<?php print $template_dir;?>img/lns.jpg" width="222" height="2" /></td>
</tr>
<tr>
<td height="33"><div align="center" id="title">Event Times</div></td>
</tr>
<tr>
<td><img src="<?php print $template_dir;?>img/lns.jpg" width="222" height="2" /></td>
</tr>
<tr>
<td><table width="223" border="0" cellspacing="3" cellpadding="3" id="tbs">
<tr>
<td>
<?php include "eventtime.php";?>
</td>
</tr>
</table></td>
</tr>
</Table></td>
</tr>

</table></td>
<td width="726" valign="top"><table width="726" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="726" height="276" background="<?php print $template_dir;?>img/slider.jpg"><div id="slide">
<div id="slide">
<div id="slidepadding">
<div id="slidebox">
<div class="next"></div>
<div class="previous"></div>
<ul>
<li><img src="<?php print $template_dir;?>img/slide1.jpg" width="683" height="259"  alt="s" title="Imperius MuOnline"  data-transition="fade"></li>
<li><img src="<?php print $template_dir;?>img/slide1.jpg" width="683" height="259"  alt="s" title="Imperius MuOnline"  data-transition="fade" /></li>
</ul></div>
</div></div>
</div></td>
</tr>
<tr>
<td width="726" height="106" style="background:url(<?php print $template_dir;?>img/shadow.jpg) top no-repeat" valign="top"><table width="688" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="57"><div align="center" id="module_title"> Imperius MuOnline - Perfect server for You!!  </div></td>
</tr>
<tr>
<td height="46" style="padding-top:10px">
<div class="tmp_m_content">
<div class="tmp_page_content">               
[свернуть]


и footer.php
Спойлер
<div class="news2"><div id="dust">
</p></div>
</div>
</div> </div></td>
</tr>
</table></td>
</tr>

</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="<?php print $template_dir;?>img/footer.jpg" width="993" height="259" border="0" usemap="#Map" /></td>
</tr>
</table>

<map name="Map" id="Map">
<area shape="circle" coords="871,47,17" href="#" />
<area shape="circle" coords="822,47,17" href="#" />
<area shape="circle" coords="776,46,17" href="#" />
<area shape="circle" coords="732,47,17" href="#" />
</map>

<map name="Map2" id="Map2">
<area shape="circle" coords="852,276,94" href="/downloads/" />
</map></body>
<div align="center" class="style6"> <font color="#333333">  <div align="center" class="footer_font">
<a href="https://mu.imperius.biz" target="_blank">Imperius MuOnline™</a><br>
<font color="#726d6d">Copyright ImperiusMU ©2012 - 2013. All rights reserved.</font><br>
</div>
</html>
[свернуть]


dizzy

я не знаю как у тебя у меня все нормально сверху и снизу.

Скрины:
Спойлер
Клик
[свернуть]

Похожие темы (5)