سلام

قالب مشکلات زیادی داره !

کد زیر را جایگزین کنید ببینید مشکل هدر حل میشه :

کد:
<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso = split( '=', _ISO );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<html xmlns="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<head>
<?php mosShowHead(); ?>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  
  <?php if ( $my->id ) { initEditor(); } ?>

<link href="<?php echo $mosConfig_live_site;?>/templates/mambo_winter/css/template_css.css" rel="stylesheet" type="text/css" />

<script language='JavaScript'>
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
</script>
<style type="text/css">
<!--
.style1 {color: #004080}
-->
</style>

</head>

 <body class="bg_main">
<a name="top"></a>
<img src="/templates/<?php echo $GLOBALS['cur_template']; ?>/images/top_index.gif" alt="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید] hspace="20" align="middle" />
<div align="center">
 <table width="842" border="0" align="center" cellpadding="0" cellspacing="0" class="out_container">
  <tbody>
   <tr>
    <td> </td>
    <td align="center" style="padding-top:7px;">
     <table width="814" border="0" align="center" cellpadding="0" cellspacing="0" class="main_container">
      <tbody>
       <tr valign="top">
        <td width="169" align="right" background="templates/<?php echo $GLOBALS['cur_template']; ?>/images/bg_left.gif" style="padding:4px 0px 4px 0px;background-position:right;background-repeat:repeat-y">
         <div id="leftside">
          <div id="randompic"></div>
          <div id="clr"></div>
          <div align="center">
           <div id="leftmain">
            <?php mosLoadModules ( "right" ); ?>
           </div>
          </div>
         </div></td>
        <td align="center" style="padding:6px 15px 0px 0px">
      <div align="center">
          <div id="main_body">
           <?php  if ( mosCountModules( 'banner' ) ) { ?>
           <div id="newsflash">
            <?php mosLoadModules ( 'banner' ); ?>
           </div>
           <?php
      }
      ?>
           <?php  if ( mosCountModules( 'top' ) ) { ?>
           <div align="center">
            <div id="newsflash">
             <?php mosLoadModules ( 'top' ); ?>
            </div>
           </div>
           <?php
      }
      ?>
           <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="cff298" style="margin-bottom:5px">
            <tbody>
             <tr>
              <td width="100%" bgcolor="#edffd9"><div id="blocks">
                <?php mosLoadModules ( "user1" ); ?>
               </div></td>
              <td width="100%" bgcolor="#edffd9"><div id="blocks">
                <?php mosLoadModules ( "user2" ); ?>
               </div></td>
             </tr>
            </tbody>
           </table>
           <div id="clr"></div>
           <div align="center">
            <div id="main_area">
             <?php mosMainBody(); ?>
            </div>
           </div>
          </div>
         </div></td>
        <?php  if ( mosCountModules( 'right' ) ) { ?>
        <td width="169" align="center" background="templates/<?php echo $GLOBALS['cur_template']; ?>/images/bg_right.gif" style="padding:4px 4px 0px 0px;background-position:right;background-repeat:repeat-y">
         <div id="rightside">
          <div align="center">
           <div id="rightmain">
            <p>
             <?php mosLoadModules ( "left" ); ?>
            </p>
            <p>
            </p>
           </div>
          </div>
         </div></td>
        <?php
      }
      ?>
       </tr>
      </tbody>
     </table></td>
    <td> </td>
   </tr>
   <tr>
    <td> </td>
    <td align="center"">
     <table width="806" border="0" cellspacing="0" cellpadding="0">
      <tr>
       <td width="721"><div id="footer">
        <p align="center">[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
       <td width="85" align="right" valign="top" background="templates/<?php echo $GLOBALS['cur_template']; ?>/images/bottom2.gif"><a href="#top"><img src="templates/<?php echo $GLOBALS['cur_template']; ?>/images/top.gif" width="25" height="9" hspace="30" vspace="8" border="0" /></a></td>
      </tr>
     </table></td>
    <td> </td>
   </tr>
   <tr align="center">
    <td colspan="3"><div id="bottom"></div></td>
   </tr>
  </tbody>
 </table>
</div>
</body>
</html>
یا علی