کد:
<?php 

/*========================== modernWeb Design Group =================================*\
 # ********************************************************************************* #
 # mw Ordibehesht - Version 1.0 - Licence Owner mw910202 - free                      #
 # ..................................................................................#
 # Copyright (C) 2010-2012 modernWeb Design Group , Ltd. All Rights Reserved.        #
 # @license - Copyrighted Commercial Software , navid mohammadpor                    #
 # Author: modernWeb Design Group , Ltd                                              #
 # AuthorEmail : info@modernweb.com                                                  #
 # Websites:  http://www.modernweb.ir                                                #
 # *********************************************************************8*********** #
\*========================== modernWeb Design Group =================================*/
 
// no direct access 
 
 
 defined('_JEXEC') or die;
 $app = JFactory::getApplication();
?>
<!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>
<jdoc:include type="head" /> 


 <link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/system/css/system.css" type="text/css" /> 
 <link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/system/css/general.css" type="text/css" /> 
 
 <link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/template.css" type="text/css" /> 
 
<!--[if IE 7]>
	<link href="templates/<?php echo $this->template ?>/css/ie7only.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if lte IE 6]>
	<link href="templates/<?php echo $this->template ?>/css/ie6only.css" rel="stylesheet" type="text/css" />
<![endif]-->
 
 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="favicon.ico" rel= "shortcut icon" type="image/x-icon" />




</head>
<?php $mw_component= mw_nright ; ?>
<body>	


<div id="mw_modernweb1">
<div id="mw_modernweb">


    	<div id="mw_0_modernweb">
    	</div>
        
    	<div id="mw_1_modernweb">
				<div id="mw_headerbar">
			        	<div id="mw_date">
		        		    <div id="mw_date01">
                            </div>
			        	    <div id="mw_date02">
                        <?php echo date(' G:i',9120+time())?>
                        <?php echo JHTML::_('date', 'now') ?>
                            </div>
		        		    <div id="mw_date03">
                            </div>
			        	</div>
			        	<div id="mw_logo">
<a target="blank" title="گروه تخصصی آیرنمن" href="http://www.akbarkhazaei.com/">
<img class="logo" src="templates/<?php echo $this->template ?>/images/mw_logo.png" alt="" width="400"height="80" />  
</a>
			        	</div>
				</div>
				<div id="mw_menubar">
				      <div id="mw_search">
					  <jdoc:include type="modules" name="search" style="none" />
				      </div>
				      <div id="mw_menu">
					  <jdoc:include type="modules" name="menu" style="none" />
				      </div>
				</div>
    	</div>
    	<div id="mw_space1">
    	</div>
<?php if($this->countModules('flashnews')) : ?>
		<div id="mw_2_modernweb">
				    <div id="mw_2_modernweb01">
                    </div>
				    <div id="mw_2_modernweb02">
		
				</div>
				<div id="mw_flashnews">
					  <jdoc:include type="modules" name="flashnews" style="none" />
				</div>
                    </div>
				    <div id="mw_2_modernweb03">
                    </div>
		</div>
<?php endif; ?>
    	<div id="mw_space2">
    	</div>
<?php if($this->countModules('slideshow')) : ?>
		<div id="mw_3_modernweb">
				    <div id="mw_3_modernweb01">
                    </div>
				    <div id="mw_3_modernweb02">
				<div id="mw_slideshow">
					  <jdoc:include type="modules" name="slideshow" style="none" />
				</div>
                    </div>
				    <div id="mw_3_modernweb03">
                    </div>
		</div>
<?php endif; ?>
    	<div id="mw_space3">
    	</div>
<?php if($this->countModules('top1 or top2 or top3 or top4')) : ?>
		<div id="mw_4_modernweb">
				<div id="mw_top1">
				    <div id="mw_top101">
                    </div>
				    <div id="mw_top102">
				      <div id="mw_top102_inside">
					  <jdoc:include type="modules" name="top1" style="xhtml" />
                      </div>
                    </div>
				    <div id="mw_top103">
                    </div>
				</div>
				<div id="mw_top2">
				    <div id="mw_top201">
                    </div>
				    <div id="mw_top202">
				      <div id="mw_top202_inside">
					  <jdoc:include type="modules" name="top2" style="xhtml" />
                      </div>
                    </div>
				    <div id="mw_top203">
                    </div>
				</div>
				<div id="mw_top3">
				    <div id="mw_top301">
                    </div>
				    <div id="mw_top302">
				      <div id="mw_top302_inside">
					  <jdoc:include type="modules" name="top3" style="xhtml" />
                      </div>
                    </div>
				    <div id="mw_top303">
                    </div>
				</div>
				<div id="mw_top4">
				    <div id="mw_top401">
                    </div>
				    <div id="mw_top402">
				      <div id="mw_top402_inside">
					  <jdoc:include type="modules" name="top4" style="xhtml" />
                      </div>
                    </div>
				    <div id="mw_top403">
                    </div>
				</div>
		</div>
<?php endif; ?>
    	<div id="mw_space4">
    	</div>
        <div id="mw_5_modernweb">
				    <div id="mw_5_modernweb01">
                    </div>
				    <div id="mw_5_modernweb02">
				<div id="mw_5_modern">
<?php if($this->countModules('right')) : ?>
				<div id="mw_right">
					  <jdoc:include type="modules" name="right" style="modernweb" />
				</div>
<?php $mw_component= mw_yright ; ?>
<?php endif; ?>
<div id="<?php echo $mw_component; ?>">
				<div id="mw_component">
				    <div id="mw_component01">
				    </div>
			    	<div id="mw_component02">
			       	    <div id="mw_content">
                      <jdoc:include type="message" />
				      <jdoc:include type="component" />
			   </div>
			    	</div>
				    <div id="mw_component03">
				    </div>
				</div>
</div>
				</div>
                    </div>
				    <div id="mw_5_modernweb03">
                    </div>
		</div>
    	<div id="mw_space5">
    	</div>
<?php if($this->countModules('bottom1 or bottom2 or bottom3')) : ?>
		<div id="mw_6_modernweb">
				<div id="mw_bottom1">
				    <div id="mw_bottom101">
                    </div>
				    <div id="mw_bottom102">
				      <div id="mw_bottom102_inside">
					  <jdoc:include type="modules" name="bottom1" style="xhtml" />
                      </div>
                    </div>
				    <div id="mw_bottom103">
                    </div>
				</div>
				<div id="mw_bottom2">
				    <div id="mw_bottom201">
                    </div>
				    <div id="mw_bottom202">
				      <div id="mw_bottom202_inside">
					  <jdoc:include type="modules" name="bottom2" style="xhtml" />
                      </div>
                    </div>
				    <div id="mw_bottom203">
                    </div>
				</div>
				<div id="mw_bottom3">
				    <div id="mw_bottom301">
                    </div>
				    <div id="mw_bottom302">
				      <div id="mw_bottom302_inside">
					  <jdoc:include type="modules" name="bottom3" style="xhtml" />
                      </div>
                    </div>
				    <div id="mw_bottom303">
                    </div>
				</div>
		</div>
<?php endif; ?>
    	<div id="mw_space6">
    	</div>
<?php if($this->countModules('location')) : ?>
		<div id="mw_7_modernweb">
			<div id="mw_7_modernweb01">
			</div>
			<div id="mw_7_modernweb02">
				<div id="mw_top">
				</div>
				<div id="mw_location">
					  <jdoc:include type="modules" name="location" style="none" />
				</div>
			</div>
			<div id="mw_7_modernweb03">
			</div>
		</div>
<?php endif; ?>
    	<div id="mw_space7">
    	</div>
		<div id="mw_8_modernweb">
			<div id="mw_8_modernweb01">
			</div>
			<div id="mw_8_modernweb02">
				<div id="mw_copyright1">
<a target="blank" title="وب سایت شخصی اکبر خزایی" href="http://www.akbarkhazaei.com/">
<img class="logobottom" src="templates/<?php echo $this->template ?>/images/mw_logobottom.png" alt="" width="170"height="30" />  
</a>
				</div>
				<div id="mw_copyright2">
           تمامی حقوق برای ناشر این وبگاه محفوظ و نشر مطالب آن در سایر نشریات و سایتها با ذکر منبع و لینک به سایت بلامانع میباشد   
<br>
 طراØ*ÛŒ : 
<a title="www.reyneshin.ir" href="http://www.reyneshin.ir/">مهدی اشرفی پور</a>




				</div>
			</div>
			<div id="mw_8_modernweb03">
			</div>
		</div>
        
		<div id="mw_9_modernweb">
		</div>
        
</div>
</div>


<div class="clear"></div>


</body>
</html>
این کد ایندکس هست میشه راهنمایی کنید کجا باید چه کدی رو اضافه کنم گشتم متوجه نشدم