جناب گنجی ممنون از شما ولی این این کار را انجام دادم من کد فابل ایندکس رو می فرستم
ملاحظه بفرمایید:
<?php
header('Content-type: text/x-component');
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
define( 'path', dirname(__FILE__) );
?>
<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/defult.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?> font.css" type="text/css" />
</head>
<body>
<div class="main">
<div id="main_top">
<div id="search">
<?php if($this->countModules('search')) : ?>
<jdoc:include type="modules" name="search" />
<?php endif; ?>
</div>
<div id="Ertebatat">
<?php if($this->countModules('Ertebatat')) : ?>
<jdoc:include type="modules" name="Ertebatat" />
<?php endif; ?>
</div>
</div>
<div id="top_menu">
<?php if($this->countModules('top_menu')) : ?>
<jdoc:include type="modules" name="top_menu" />
<?php endif; ?>
</div>
<div id="slideshow1">
<?php if($this->countModules('slideshow1')) : ?>
<jdoc:include type="modules" name="slideshow1" />
<?php endif; ?>
</div>
<div id="slideshow2">
<?php if($this->countModules('slideshow2')) : ?>
<jdoc:include type="modules" name="slideshow2" />
<?php endif; ?>
</div>
<div id="users-top">
<div id="user1">
<?php if($this->countModules('user1')) : ?>
<jdoc:include type="modules" name="user1" style="table"/>
<?php endif; ?>
</div>
<div id="user2">
<?php if($this->countModules('user2')) : ?>
<jdoc:include type="modules" name="user2" style="table" />
<?php endif; ?>
</div>
<div id="user3">
<?php if($this->countModules('user3')) : ?>
<jdoc:include type="modules" name="user3" style="table" />
<?php endif; ?>
</div>
</div>
<div class="main2">
<div id="leftcol">
<div id="left">
<?php if($this->countModules('left')) : ?>
<jdoc:include type="modules" name="left" style="table" />
<?php endif; ?>
</div>
</div>
<div id="component">
<jdoc:include type="component" />
</div >
<div id="rightcol" >
<div id="right">
<?php if($this->countModules('right')) : ?>
<jdoc:include type="modules" name="right" style="table" />
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="user-botom">
<div id="user4">
<?php if($this->countModules('user4')) : ?>
<jdoc:include type="modules" name="user4" style="table"/>
<?php endif; ?>
</div>
<div id="user5">
<?php if($this->countModules('user5')) : ?>
<jdoc:include type="modules" name="user5" style="table" />
<?php endif; ?>
</div>
<div id="user6">
<?php if($this->countModules('user6')) : ?>
<jdoc:include type="modules" name="user6" style="table" />
<?php endif; ?>
</div>
</div>
</body>
</html>