سلام منظورتون رو متوجه نشدم
این بخش رو به php باید اضافه کنم؟ فرقی نداره کجای اون قرار بگیره؟
متوجه این بخش از کلامتون هم نشدم؟ "اگر فارسی بود استایل فارسی و اگر انگلیسی بود استایلی دیگه رو وارد صفحه کنید"
امکانش هست خودتون یه نگاهی به php بندازین:
<?php
/*================================================================================*\
|| # Copyright © 2012 Joomlage.com Nexus Framework. All Rights Reserved. ||
|| # license - PHP files are licensed under GNU/GPL V2 ||
|| # license - CSS - JS files are Copyrighted material ||
|| # Website: http://www.joomlage.com ||
\*================================================================================*/
defined('_JEXEC') or die;
// JPlugin::loadLanguage( 'tpl_SG1' );
JHTML::_('behavior.mootools');
define( 'nexus', dirname(__FILE__) );
require( nexus.DS."php/config.php");
require( nexus.DS."php/variables.php");
?>
<!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 include (nexus.DS . "php/styles.php");?>
<?php include (nexus.DS . "php/scripts.php");?>
<?php echo ($head_custom_code); ?>
</head>
<body>
<div id="container_header" class="container"><div class="wrapper960">
<?php require( nexus.DS."php/layouts/header.php"); ?>
</div></div>
<?php if ($this->countModules( 'showcase' )) : ?>
<div id="container_slideshow" class="container"><div class="wrapper960">
<?php require( nexus.DS."php/layouts/slideshow.php"); ?>
</div></div>
<?php endif; ?>
<?php if ($this->countModules('top-1a') || $this->countModules('top-1b') || $this->countModules('top-1c') || $this->countModules('top-1d') || $this->countModules('top-1e') || $this->countModules('top-1f') || $this->countModules('top-2a') || $this->countModules('top-2b') || $this->countModules('top-2c') || $this->countModules('top-2d') || $this->countModules('top-2e') || $this->countModules('top-2f')) : ?>
<div id="container_top_modules" class="container"><div class="wrapper960">
<?php require( nexus.DS."php/layouts/top_modules.php"); ?>
</div></div>
<?php endif; ?>
<?php if ($this->countModules( 'breadcrumb' )) : ?>
<div id="container_breadcrumb" class="container"><div class="wrapper960">
<?php require( nexus.DS."php/layouts/breadcrumb.php"); ?>
</div></div>
<?php endif; ?>
<div id="container_main" class="container"><div class="wrapper960">
<?php require( nexus.DS."php/layouts/main.php"); ?>
</div></div>
<?php if ($this->countModules('bottom-1a') || $this->countModules('bottom-1b') || $this->countModules('bottom-1c') || $this->countModules('bottom-1d') || $this->countModules('bottom-1e') || $this->countModules('bottom-1f') || $this->countModules('bottom-2a') || $this->countModules('bottom-2b') || $this->countModules('bottom-2c') || $this->countModules('bottom-2d') || $this->countModules('bottom-2e') || $this->countModules('bottom-2f')) : ?>
<div id="container_bottom_modules" class="container"><div class="wrapper960">
<?php require( nexus.DS."php/layouts/bottom_modules.php"); ?>
</div></div>
<?php endif; ?>
<?php if ($this->countModules('base-1a') || $this->countModules('base-1b') || $this->countModules('base-1c') || $this->countModules('base-1d') || $this->countModules('base-1e') || $this->countModules('base-1f') || $this->countModules('base-2a') || $this->countModules('base-2b') || $this->countModules('base-2c') || $this->countModules('base-2d') || $this->countModules('base-2e') || $this->countModules('base-2f') || $this->countModules( 'footer-1' ) || $this->countModules( 'footer-2' ) || $this->params->get('copyright') || ($footermenu_onoff == "1")) : ?>
<div id="container_base" class="container"><div class="wrapper960">
<?php require( nexus.DS."php/layouts/base.php"); ?>
</div></div>
<?php endif; ?>
<?php echo ($body_custom_code); ?>
</body>
</html>