سلام تست کن ببین خوبه و مشکلی نداره
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
$siteName = $this->params->get('siteName');
class germez_web {
function isFrontPage(){
return (JRequest::getCmd('option')=='com_content' && !JRequest::getInt('id'));
}
}
$germez = new germez_web($this);
?>
<!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>
<jdoc:include type="head" />
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/style.css" />
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/style-menu.css" />
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/css/language-menu.css" />
<link rel="stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/fot-menu.css" />
</head>
<body>
<?php if(!$germez->isFrontPage()) { ?>
<center>
<!--all-site-->
<center><div class="blue-line"></div>
<table border="0" cellpadding="0" cellspacing="0" class="top-header">
<tr>
<td class="english"><img src="templates/<?php echo $this->template ?>/images/en.png"></td>
<td id="language"><jdoc:include type="modules" name="language-menu" style="rounded"/></td>
<td id="online"><jdoc:include type="modules" name="online" style="rounded"/></td>
<td id="date"><jdoc:include type="modules" name="date" style="rounded"/></td>
</tr>
</table>
<div class="all-site">
<table border="0" cellpadding="0" cellspacing="0" class="all-site" ><center>
<tr>
<td class="" valign="top"><center>
<!--logo-and-language--><table border="0" cellpadding="0" cellspacing="0" class="header" width="100%">
<tr>
<td valign="top"> </td>
</tr>
</table><!--menu--><table border="0" cellpadding="0" cellspacing="0" class="box-of-menu" >
<tr>
<td><!--menu-and-lastetnews-->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td id="menu" valign="top"><!--menu--><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="search"><jdoc:include type="modules" name="search" style="rounded"/></td>
<td class="menu"><jdoc:include type="modules" name="menu" style="rounded"/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="bottom-of-menu" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
</td>
<td valign="top"><jdoc:include type="modules" name="date-and-time" style="rounded"/></td>
<td valign="top" class="lastet-news"><jdoc:include type="modules" name="lastet-news" style="rounded"/></td>
<td valign="top" class="icon"><table border="0" cellpadding="1" cellspacing="1" >
<tr>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/88b9j9lc.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/8w5djnsk.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/ldgidclr.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/lqmedyej.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/yfxj7ffi.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/yr3f718a.png"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table><!--slider-->
<table border="0" cellpadding="0" cellspacing="0" class="slider">
<tr>
<td><jdoc:include type="modules" name="slider" style="rounded"/></td>
</tr>
</table>
<div class="all-blog">
<table border="0" cellpadding="0" cellspacing="0" class="blog">
<tr>
<td valign="top">
<div class="blog-text">
<jdoc:include type="component" />
</div>
</td>
</tr>
</table>
</div>
<!--box-->
<table border="0" cellpadding="0" cellspacing="0" class="box">
<tr>
<td valign="top"><!--box-of-3--><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><?php if($this->countModules('user1')) : ?>
<td id="user" valign="top"><jdoc:include type="modules" name="user1" style="rounded"/></td>
<?php endif; ?>
<?php if($this->countModules('user2')) : ?>
<td id="user2" valign="top">
<jdoc:include type="modules" name="user2" style="rounded"/>
</td>
<?php endif; ?>
<?php if($this->countModules('user3')) : ?>
<td id="user3" valign="top"><jdoc:include type="modules" name="user3" style="rounded"/></td>
<?php endif; ?>
</tr></table></td>
</tr>
</table><!--box-of-madule-->
<?php if($this->countModules('user4')) : ?>
<table border="0" cellpadding="0" cellspacing="0" class="box-of-madule">
<tr>
<td><jdoc:include type="modules" name="user4" style="rounded"/></td>
</tr>
</table><?php endif; ?>
<!--box-of-brand-->
<?php if($this->countModules('user5')) : ?>
<table border="0" cellpadding="0" cellspacing="0" class="box-of-brand">
<tr>
<td><jdoc:include type="modules" name="user5" style="rounded"/></td>
</tr>
</table><?php endif; ?>
<div class="footer" valign="top">
<div class="copy1" valign="top">
<br/>
<div><img src="templates/<?php echo $this->template ?>/images/fot-line.jpg"></div>
<div class="copy" valign="top">
<p><font color="#000000">طراحي سايت و پشتيباني: <a href="http://www.gillasabi.com/" target="_blank">گیلاس آبی</a>
</font></p><p>
.کپی رایت ۱۳۹۱ طرح و ايده کلیه حقوق برای مالک آن محفوظ است
</p><p>
Copyright 2005-2012 Tarho Ideh Construction Co.
</p>
</div>
<table border="0" cellpadding="0" cellspacing="0" width="980px">
<tr>
<td valign="top"><center><table border="0" cellpadding="0" cellspacing="0" width="470px" class="fot-menu">
<tr>
<td><jdoc:include type="modules" name="fot-menu" style="rounded"/></td>
</tr>
</table></td></tr></table>
</div></div></td></tr></table></div><div class="fot-line"></div><?php } else { ?><center>
<!--all-site-->
<center><div class="blue-line"></div>
<table border="0" cellpadding="0" cellspacing="0" class="top-header">
<tr>
<td class="english"><img src="templates/<?php echo $this->template ?>/images/en.png"></td>
<td id="language"><jdoc:include type="modules" name="language-menu" style="rounded"/></td>
<td id="online"><jdoc:include type="modules" name="online" style="rounded"/></td>
<td id="date"><jdoc:include type="modules" name="date" style="rounded"/></td>
</tr>
</table>
<div class="all-site">
<table border="0" cellpadding="0" cellspacing="0" class="all-site" ><center>
<tr>
<td class="" valign="top"><center>
<!--logo-and-language--><table border="0" cellpadding="0" cellspacing="0" class="header" width="100%">
<tr>
<td valign="top"> </td>
</tr>
</table><!--menu--><table border="0" cellpadding="0" cellspacing="0" class="box-of-menu" >
<tr>
<td><!--menu-and-lastetnews-->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td id="menu" valign="top"><!--menu--><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="search"><jdoc:include type="modules" name="search" style="rounded"/></td>
<td class="menu"><jdoc:include type="modules" name="menu" style="rounded"/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="bottom-of-menu" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
</td>
<td valign="top"><jdoc:include type="modules" name="date-and-time" style="rounded"/></td>
<td valign="top" class="lastet-news"><jdoc:include type="modules" name="lastet-news" style="rounded"/></td>
<td valign="top" class="icon"><table border="0" cellpadding="1" cellspacing="1" >
<tr>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/88b9j9lc.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/8w5djnsk.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/ldgidclr.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/lqmedyej.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/yfxj7ffi.png"></td>
<td id="icon"><img src="templates/<?php echo $this->template ?>/images/icon/yr3f718a.png"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table><!--slider-->
<table border="0" cellpadding="0" cellspacing="0" class="slider">
<tr>
<td><jdoc:include type="modules" name="slider" style="rounded"/></td>
</tr>
</table>
<div class="all-blog">
<table border="0" cellpadding="0" cellspacing="0" class="blog">
<tr>
<td valign="top">
</td>
</tr>
</table>
</div>
<!--box-->
<table border="0" cellpadding="0" cellspacing="0" class="box">
<tr>
<td valign="top"><!--box-of-3--><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><?php if($this->countModules('user1')) : ?>
<td id="user" valign="top"><jdoc:include type="modules" name="user1" style="rounded"/></td>
<?php endif; ?>
<?php if($this->countModules('user2')) : ?>
<td id="user2" valign="top">
<jdoc:include type="modules" name="user2" style="rounded"/>
</td>
<?php endif; ?>
<?php if($this->countModules('user3')) : ?>
<td id="user3" valign="top"><jdoc:include type="modules" name="user3" style="rounded"/></td>
<?php endif; ?>
</tr></table></td>
</tr>
</table><!--box-of-madule-->
<?php if($this->countModules('user4')) : ?>
<table border="0" cellpadding="0" cellspacing="0" class="box-of-madule">
<tr>
<td><jdoc:include type="modules" name="user4" style="rounded"/></td>
</tr>
</table><?php endif; ?>
<!--box-of-brand-->
<?php if($this->countModules('user5')) : ?>
<table border="0" cellpadding="0" cellspacing="0" class="box-of-brand">
<tr>
<td><jdoc:include type="modules" name="user5" style="rounded"/></td>
</tr>
</table><?php endif; ?>
<div class="footer" valign="top">
<div class="copy1" valign="top">
<br/>
<div><img src="templates/<?php echo $this->template ?>/images/fot-line.jpg"></div>
<div class="copy" valign="top">
<p><font color="#000000">طراحي سايت و پشتيباني: <a href="http://www.gillasabi.com/" target="_blank">گیلاس آبی</a>
</font></p><p>
.کپی رایت ۱۳۹۱ طرح و ايده کلیه حقوق برای مالک آن محفوظ است
</p><p>
Copyright 2005-2012 Tarho Ideh Construction Co.
</p>
</div>
<table border="0" cellpadding="0" cellspacing="0" width="980px">
<tr>
<td valign="top"><center><table border="0" cellpadding="0" cellspacing="0" width="470px" class="fot-menu">
<tr>
<td><jdoc:include type="modules" name="fot-menu" style="rounded"/></td>
</tr>
</table></td></tr></table>
</div></div></td></tr></table></div><div class="fot-line"></div><?php } ?></body></html>
خبرشو زود بده که دارم می رم .