<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<html xmlns="
[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$colspan = 0;
$right = 0;
$left = 0;
// banner combos
//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
$colspan = 3;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
$user1 = 1;
$colspan = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
$user2 = 1;
$colspan = 1;
}
//right based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$right = 1;
}
//left based combos
if ( mosCountModules( 'left' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$left = 1;
}
?>
<?php if ( $my->id ) { initEditor(); } ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php mosShowHead(); ?>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>\n" ; ?>
</head>
<body class="jey-body">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><div id="jey-header">
<div id="jey-top-key">
<?php mosLoadModules ( 'user3', -1); ?>
</div>
<div id="jey-path">
<?php mosPathWay(); ?>
</div>
</div></td>
</tr>
<tr>
<td width="10" rowspan="4" id="jey-shadow-right"><img src="templates/jey_amirieh_rtl/images/spacer.png" alt="spacer" width="10" height="1" /></td>
<td width="10" id="jey-top-back">
<div id="jey-top">
<?php
if ( mosCountModules( 'top' ) ) {
mosLoadModules ( 'top', -2 );
} else {
?>
<span class="error">Top Module Empty</span>
<?php
}
?>
</div>
<div id="jey-banner"><img src="<?php echo $mosConfig_live_site;?>/templates/jey_tech_rtl/images/advertisement.png" alt="advertisement.png, 0 kB" title="advertisement" border="0" height="8" width="468"/><br />
<?php mosLoadModules( 'banner', -1 ); ?>
</div></td>
<td width="10" rowspan="4" id="jey-shadow-left"><img src="templates/jey_tech_rtl/images/spacer.png" alt="spacer" width="10" height="1" /></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" valign="top"><img src="templates/jey_tech_rtl/images/spacer.png" alt="spacer" width="10" height="10" /></td>
<?php if ( $left > 0 ) { ?>
<td width="160" valign="top"><?php mosLoadModules ( 'left', -2); ?></td>
<td width="20" class="jey-seperator-vert">&nbsp;</td>
<?php } ?>
<td valign="top">
<?php if ( $user1 > 0 || $user2 > 0) { ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<?php if ($user1 > 0) { ?>
<td valign="top" <?php if ($user1 > 0 && $user2 > 0) {echo "width=\"288\"";} ?>>
<div class="jey-user-menu">
<div>
<div>
<div>
<div>
<?php mosLoadModules ( 'user1'); ?>
</div>
</div>
</div>
</div>
</div> </td>
<?php } ?>
<?php if ( $user1 > 0 && $user2 > 0) { ?><td width="10"><img src="templates/jey_tech_rtl/images/spacer.png" alt="spacer" width="10" height="10" /></td>
<?php } ?>
<?php if ($user2 > 0) { ?>
<td valign="top">
<div class="jey-user-menu">
<div>
<div>
<div>
<div>
<?php mosLoadModules ( 'user2'); ?>
</div>
</div>
</div>
</div>
</div> </td>
<?php } ?>
<td width="10" valign="top"><img src="templates/jey_tech_rtl/images/spacer.png" alt="spacer" width="10" height="10" /></td>
</tr>
</table>
<br />
<?php } ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><?php mosMainBody(); ?></td>
<?php if ( $right > 0 ) { ?>
<td width="20" class="jey-seperator-vert">&nbsp;</td>
<td width="160" valign="top"><?php mosLoadModules ( 'right', -2); ?> </td>
<?php } ?>
<td width="10" valign="top"><img src="templates/jey_tech_rtl/images/spacer.png" alt="spacer" width="10" height="10" /></td>
</tr>
</table><br /></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#6898FE"><img src="templates/jey_tech_rtl/images/spacer.png" alt="spacer" width="25" height="6" /></td>
</tr>
<tr>
<td id="jey-link-bottom">
<?php mosLoadModules ( 'user3', -1); ?></td>
</tr>
<tr>
<td height="13" colspan="3" align="center" id="jey-shadow-bottom">
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?></td>
</tr>
</table>
<?php mosLoadModules( 'debug', -1 );?>
</body>
</html>