Current File : /home/inlingua/public_html/templates/inlingua/index_corporate_services.php |
<?php
/**
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined('_JEXEC') or die('Restricted access');
$url = clone(JURI::getInstance());
$showRightColumn = $this->countModules('user1 or user2 or right or top');
$showRightColumn &= JRequest::getCmd('layout') != 'form';
$showRightColumn &= JRequest::getCmd('task') != 'edit'
?>
<?php echo '<?xml version="1.0" encoding="utf-8"?'.'>'; ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" >
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/inlingua/css/styleRegion.css" type="text/css">
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/inlingua/css/styles.css" type="text/css">
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/inlingua/css/styleNav.css" type="text/css">
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/inlingua/css/styleForm.css" type="text/css">
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/inlingua/css/styleCorporate.css" type="text/css">
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/inlingua/css/styleFeatures.css" type="text/css">
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/inlingua/css/general.css" type="text/css">
<script language="JavaScript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/inlingua/javascript/wScript.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/inlingua/javascript/iScript.js"></script>
</head>
<body>
<?php $pageId=JRequest::getVar('id'); ?>
<div id="pageregion">
<div id="pageregionHeader">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<!--<td class="bg"><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/trans.gif" alt="spacer" width="160" height="15"></td>-->
<td class="bg" height="15" width="160" style="font-size:12px;font-weight:bold;"> New Delhi</td>
<td colspan="2"><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/trans.gif" alt="spacer" width="560" height="17"></td>
<td rowspan="4" class="bg"><a href="<?php echo $this->baseurl ?>/"><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/logo.jpg" alt="inlingua logo" width="160" height="79" border="0"></a></td>
</tr>
<tr>
<td><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/trans.gif" alt="spacer" width="160" height="32"></td>
<td class="tag" style=" padding:0 0 6px 20px;">inlingua - crossing language barriers</td>
<td align="right"><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/trans.gif" alt="spacer" width="172" height="26"></td>
</tr>
<tr>
<td><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/trans.gif" alt="spacer" width="160" height="5"></td>
<td><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/trans.gif" alt="spacer" width="380" height="5"></td>
<td><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/trans.gif" alt="spacer" width="180" height="5"></td>
</tr>
<tr>
<td colspan="3"><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/trans.gif" alt="spacer" width="160" height="16"></td>
</tr>
<tr>
<td class="bg"><img src="<?php echo $this->baseurl ?>/templates/inlingua/images/trans.gif" alt="spacer" width="160" height="64" ></td>
<td class="bghead" colspan="2">
<?php if($pageId == 1) { ?>
<div class="orange_bg top_row">
<div class="sq_bx">
<img src="<?php echo $this->baseurl ?>/templates/inlingua/images/main_1.jpg" width=80 height=64 border="0"/>
</div>
<div class="sq_bx"></div>
<div class="sq_bx">
<img src="<?php echo $this->baseurl ?>/templates/inlingua/images/main_2.jpg" width=80 height=64 border="0"/>
</div>
<div class="sq_bx yellow_bg"></div>
<div class="rec_bx"></div>
<div class="sq_bx">
<img src="<?php echo $this->baseurl ?>/templates/inlingua/images/main_3.jpg" width=80 height=64 border="0"/>
</div>
</div>
<?php } else { ?>
<div class="orange_bg top_row">
<div class="sq_bx">
<img src="<?php echo $this->baseurl ?>/templates/inlingua/images/imain_1.jpg" width=80 height=64 border="0"/>
</div>
<div class="sq_bx"></div>
<div class="sq_bx">
<img src="<?php echo $this->baseurl ?>/templates/inlingua/images/imain_2.jpg" width=80 height=64 border="0"/>
</div>
<div class="sq_bx yellow_bg"></div>
<div class="rec_bx"></div>
<div class="sq_bx">
<img src="<?php echo $this->baseurl ?>/templates/inlingua/images/imain_3.jpg" width=80 height=64 border="0"/>
</div>
</div>
<?php } ?>
</td>
<td class="bg"> </td>
</tr>
</table>
</div>
<div id="pageregionOuterShell">
<div id="pageregionContentShell">
<div id="pageregionInnerShell">
<div id="pageregionLeft">
<form action="" name="INSERT" id="INSERT">
<div class="menucontainer">
<div class="mainmenu">
<p><a href="<?php echo $this->baseurl ?>/home.html"><?php echo JText::_('HOME') ?></a></p>
<p <?php if($pageId == 49) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/corporate-services.html"><?php echo JText::_('CORPORATE_SERVICES') ?></a></p>
<p <?php if($pageId == 37) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/business-english.html"><?php echo JText::_('C_BUSINESS_ENGLISH') ?></a></p>
<p <?php if($pageId == 38) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/business-skills.html"><?php echo JText::_('C_BUSINESS_SKILLS') ?></a></p>
<p <?php if($pageId == 39) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/functional-audio-video.html"><?php echo JText::_('C_FUNCTIONAL_VIDEO') ?></a></p>
<p <?php if($pageId == 40) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/foreign-language.html"><?php echo JText::_('C_FOREIGN_LANGUAGES') ?></a></p>
<p <?php if($pageId == 41) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/general-english.html"><?php echo JText::_('C_GENERAL_ENGLISH') ?></a></p>
<p <?php if($pageId == 42) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/case-studies.html"><?php echo JText::_('C_CASE_STUDIES') ?></a></p>
<p <?php if($pageId == 43) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/our-language-ladder.html"><?php echo JText::_('C_LANG_LADDER') ?></a></p>
<p <?php if($pageId == 44) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/the-inlingua-method.html"><?php echo JText::_('C_INLINGUA_METHOD') ?></a></p>
</div> <!-- end mainmenu -->
</div> <!-- end menucontainer -->
</form>
</div> <!-- end pageregionLeft -->
<div style="padding:0">
</div>
<div id="pageregionContent">
<jdoc:include type="component" />
</div> <!-- end pageregionContent -->
</div> <!-- end pageregionInnerShell -->
</div> <!-- end pageregionContentShell -->
<div id="pageregionRight">
<div class="menucontainer">
<div class="langlist"><?php echo JText::_('CHOOSE_LANGUAGE') ?></div>
<?php
$curLanguage = JFactory::getLanguage();
$en_sel = $curLanguage->getTag() == "en-GB" ? " class='active'" : "";
$hi_sel = $curLanguage->getTag() == "hi-IN" ? " class='active'" : "";
$menu = &JSite::getMenu();
$active = $menu->getActive();
if(isset($active)) {
$url = $active->alias;
if($active->id != $active->tree[0]) {
$parent = $menu->getItem($active->tree[0]);
if(isset($parent))
$url = $parent->alias . "/" . $url;
}
$enURL = ($curLanguage->getTag() == "en-GB" ? "" : "/en" ) . "/" . $url . ".html";
$hiURL = ($curLanguage->getTag() == "hi-IN" ? "" : "/hi" ) . "/" . $url . ".html";
}
else {
$jid = JRequest::getVar('id');
$joption = JRequest::getVar('option');
$index = stristr($joption, 'com_');
if($index != -1) {
$joption = substr($joption, $index + 4);
}
$jview = JRequest::getVar('view');
if( ($joption == 'content' && $jview == 'frontpage' && !isset($jid))
|| ($joption == 'content' && $jview == 'article' && $jid == 1) ) {
$enURL = "/en";
$hiURL = "/hi";
}
else {
if(isset($jid)) {
$jid = "/" . $jid . ".html";
}
$enURL = "/en/component/" . $joption . "/" . $jview . $jid;
$hiURL = "/hi/component/" . $joption . "/" . $jview . $jid;
}
}
?>
<ul class="langlist">
<li<?php echo $en_sel; ?>><a href="<?php echo $this->baseurl ?><?php echo $enURL; ?>"><?php echo JText::_('ENG') ?></a></li>
<li<?php echo $hi_sel; ?> style="margin-left:5px;"><a href="<?php echo $this->baseurl ?><?php echo $hiURL; ?>"><?php echo JText::_('HIN') ?></a></li>
</ul>
<div class="mainmenu" style="position:relative;">
<p <?php if($pageId == 45) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/what-else-do-we-do.html"><?php echo JText::_('C_WHAT_ELSE') ?></a></p>
<p <?php if($pageId == 46) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/importing-schools.html"><?php echo JText::_('C_IMPORTING_SCHOOL') ?></a></p>
<p <?php if($pageId == 47) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/teacher-training-program.html"><?php echo JText::_('C_TEACHER_TRAINING') ?></a></p>
<p <?php if($pageId == 48) { ?> class="active" <?php } ?>><a href="<?php echo $this->baseurl ?>/documents.html"><?php echo JText::_('C_DOCUMENTS') ?></a></p>
</div>
</div>
</div> <!-- end pageregionRight -->
</div> <!-- end pageregionOuterShell -->
<div id="pageregionFooter" class="copyright">
<a href="<?php echo $this->baseurl ?>" style="color:#FFF;">©</a>
2009 inlingua International Ltd. | All rights reserved
</div>
</div> <!-- end pageregion -->
<jdoc:include type="modules" name="debug" />
</body>
</html>