<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
$iso = split( '=', _ISO );
$jc_template_path = $mosConfig_live_site.'/templates/'.$mainframe->getTemplate();
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/cookie_switch.php");
?>
<?php
/* system variable , DO NOT EDIT */
$tplColor = "grey";
$tplMenuType = "sf"; /* TIPS: it can be "default" or "sf" sf stands for suckerfish(dropdown)*/
$menuName = "mainmenu"; /* TIPS: it can be "mainmenu" or "topmenu" or other available menus
*/
$mywidth = "wide";
?>
<?php
$tc_leftside = mosCountModules( 'left' );
$tc_rightside = mosCountModules( 'right' );
if ( $tc_leftside && $tc_rightside )
{
//when both sides are available
$dividvar = '';
}
elseif ( $tc_leftside )
{
//when left side only there
$dividvar = '-fr';
}
elseif ( $tc_rightside )
{
//when right side only there
$dividvar = '-fl';
}
else
{
$dividvar = '-f';
}
?>
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<?php mosShowHead();
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/cookie_call.php");
$tplWidth = $mywidth;
?>
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/layout.css" rel="
stylesheet" type="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/template_css.css"
rel="stylesheet" type="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/modules_css.css"
rel="stylesheet" type="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/mainmenu.css" rel="
stylesheet" type="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/ulnav.css" rel="
stylesheet" type="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/ulnav-top1.css"
rel="stylesheet" type="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/moofxlayout.css"
rel="stylesheet" type="text/css"/>
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/styleplus.css" rel="
stylesheet" type="text/css"/>
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/topmodules.css"
rel="stylesheet" type="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/bottommodules.css"
rel="stylesheet" type="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/ulnav-bottom.css"
rel="stylesheet" type="text/css" />
<link href="<?php echo $jc_template_path;?>/colors/<?php echo $tplColor; ?>/css/sf_style.css" rel="
stylesheet" type="text/css"/>
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/lightThumb/
prototype.js"></script>
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/lightThumb/
scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/lightThumb/
lightbox.js"></script>
<link href="<?php echo $mosConfig_live_site; ?>/mambots/content/lightThumb/lightbox.css" rel="
stylesheet" type="text/css"/>
<?PHP
if (file_exists($mosConfig_absolute_path."/components/com_joomlastats/joomlastats.inc.php"))
{
require_once($mosConfig_absolute_path."/components/com_joomlastats/joomlastats.inc.php");
}
?>
<script language="JavaScript1.2" src="js/viettyping.js" type='text/javascript'></script>
<?php
if ( $my->id )
{
initEditor();
}
?>
<?php
if ($tplMenuType == 'sf')
{
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/tc_suckerfish.php");
}
?>
<!--[if lte IE 6]>
<style type="text/css">
.clearfix { height: 1%;}
</style>
<![endif]-->
<!--[if gte IE 7.0]>
<style type="text/css">
.clearfix { display: inline-block;}
</style>
<![endif]-->
</head>
<body class="<?php echo $tplWidth; ?>">
<div id="tcWrapper" >
<div id="tcWrapperInner">
<div id="widthTools" style="top:0;width:100%;text-align:right;">
<br/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"> </td>
<td><?php mosLoadModules( 'cpanel', -1);?></td>
<td><div align="right">
<table width="310" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td width="50"><div align="right">
<INPUT id=him_off onclick=setMethod(-1); type=radio name=viet_method>
Tắt</div></td>
<td width="50"><div align="right">
<INPUT id=him_vni onclick=setMethod(2); type=radio name=viet_method checked />
VNI</div></td>
<td width="60"><div align="right">
<input id=him_telex onClick=setMethod(1); type=radio name=viet_method />
Telex</div></td>
<td width="60"><div align="right">
<input id=him_viqr onClick=setMethod(3); type=radio name=viet_method />
VIQR</div></td>
<td width="80"><div align="right">
<input id=him_auto onClick=setMethod(0); type=radio name=viet_method />
Tự động</div></td>
<td width="10"> </td>
</tr>
</table>
</div></td>
<td width="10"> </td>
</tr>
</table>
</div>
<div id="logoAndHeader">
<div id="logo"></div>
<table width="65%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><?php mosLoadModules( 'advert1', -1);?></td>
</tr>
</table>
<div id="modTime">
<?php
$str_search = array (
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat",
"Sun"
);
$str_replace = array (
"Thứ hai",
"Thứ ba",
"Thứ tư",
"Thứ năm",
"Thứ sáu",
"Thứ bảy",
"Chủ nhật"
);
$timenow = gmdate("D, d/m/Y", time() + 10*3600);
$timenow = str_replace( $str_search, $str_replace, $timenow);
echo $timenow;
?></div>
<div id="sfMenu">
<?php
if ($tplMenuType == "default")
{
mosLoadModules( 'user3', -2);
}
if ($tplMenuType == "sf")
{
echo "<div id=\"nav\">";
displaySuckerFishMenu($menuName);
echo "</div>";
}
?>
</div>
<div id="modBanner"></div>
</div>
<div style="clear:both;"></div>
<!-- left content and right -->
<div id="forBgLeft<?php echo $dividvar ?>">
<div id="forBgRight<?php echo $dividvar ?>">
<div id="tcContainerWrap">
<div id="tcContainer<?php echo $dividvar ?>" class="clearfix">
<!-- content begins here -->
<div id="tcMainbody<?php echo $dividvar; ?>">
<div id="tcContentWrap">
<div id="tcContent">
<?php
if ( mosCountModules('user1') + mosCountModules('user2') + mosCountModules('top') > 0 )
{
include_once( $GLOBALS['mosConfig_absolute_path'] . '/templates/' . $mainframe->getTemplate() . '/
topmodules.php' );
}
?>
<div class="clearfix"></div>
<?php mosLoadModules( 'user4');?>
<?php mosMainBody();
mosLoadModules('user9'); ?>
</div>
</div>
<?php if ($tc_rightside) { ?>
<!-- right column begin -->
<div id="tcRightCol">
<div id="tcRightColInner">
<?php echo
mosLoadModules ( 'right',-2 );
?>
</div>
</div>
<!-- right column end -->
<?php } ?>
</div>
<!-- content ends here -->
<?php if ($tc_leftside) { ?>
<!-- left column begins -->
<div id="tcLeftCol">
<div id="tcLeftColInner">
<?php echo
mosLoadModules ( 'left',-2 );
?>
</div>
</div>
<br />
<!-- left column end -->
<?php } ?>
</div>
</div>
</div>
</div>
<!-- left content and right -->
<div style="clear:both;"></div>
<div id="footer">
<div id="copyRight"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="190" valign="top"><div align="center">
<?php mosLoadModules( 'advert2', -1);?>
</div></td>
<td width="580" valign="top"><div align="center"><?php include_once( $GLOBALS['
mosConfig_absolute_path'] . '/templates/' . $mainframe->getTemplate() . '/footer.php' ); ?>
</div></td>
<td width="190" valign="top"><div align="center">
<?php mosLoadModules( 'inset', -2);?>
</div></td>
</tr>
</table></div>
<div style="clear:both; "></div>
</div>
</div>
</div>
</div>
</body>
</html>
|