-
خیلی عذر میخوام اما من نگاه کردم اون طوری که شما گفتید نبود
این کدهای index
کد:
<?php
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>
<jdoc:include type="head" />
<?php
$menu_name = $this->params->get("menuName", "topmenu");
$menu_type = $this->params->get("menuType", "splitmenu");
require(path .DS."styleloader.php");
require(path .DS."utils.php");
?>
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body id="page_bg">
<div id="header">
<div class="logo">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<h1><a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a></h1>
</td>
</tr>
</table>
</div>
<div id="pillmenu">
<?php if($mtype != "module") :
echo $mainnav;
else: ?>
<jdoc:include type="modules" name="user3" />
<?php endif;?>
</div>
<div id="search"><jdoc:include type="modules" name="user4" /></div>
</div>
<table border="0" width=100%" >
<tr>
<td><div class="newsflash<?php if(!$this->countModules('user1') and JRequest::getCmd('layout') != 'form') : ?> only<?php endif; ?>">
<jdoc:include type="modules" style="rounded" name="top" />
</div></td>
<td><div class="newsflash<?php if(!$this->countModules('user1') and JRequest::getCmd('layout') != 'form') : ?> only<?php endif; ?>">
<jdoc:include type="modules" style="rounded" name="top2" />
</div></td>
</tr>
</table>
ویرایش توسط hezbollah : 02-21-2012 در ساعت 08:24 PM
جهت مشاهده لینک ها باید ثبت نام کنید یا لاگین کنید.
-
-
02-21-2012 08:20 PM
# ADS
تبلیغات در جوملا فارسی
علاقه مندی ها (Bookmarks)