کد:
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<html xmlns="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
	initEditor();
}
//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
	$user1 = 2;
	$user2 = 2;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
	$user1 = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
	$user2 = 1;
}

//left based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
	$left = 1;
}
//top based combos
if ( mosCountModules( 'top' ) ) {
	$top = 1;
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?php echo $mosConfig_live_site;?>/templates/dg_black/css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td valign="top" class="right"> </td>
		<td width="872" valign="top">
		<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td>
				<a href="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
				<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_black/images/logo.jpg" alt="<?php echo $mosConfig_sitename;?>" /></a></td>
			</tr>
			
			<tr>
				<td>
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td>
						<table border="0" cellpadding="2" width="100%">
							<tr>
															<?php
							if ( $user1 > 0 ) {
		 				?>
<td valign="top" width="200">
				<div align="center">
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #FFFFFF">
					
					
				</table>
				</div>
		 				<?php
		 			}
							if ( $top > 0 ) {
		 			?>
								</td>
								<td valign="top">
				<div align="center">
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #FFFFFF">
					
					<tr>
						<td width="5"> </td>
						<td style="height: 120px" valign="top">
						<?php mosLoadModules ( 'top', -2); ?></td>
						<td width="5"> </td>
					</tr>
					
				</table>
				</div>
								</td>
							<?php
		 			}
							if ( $user2 > 0 ) {
		 				?>
								<td valign="top" width="200">
				<div align="center">
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #fff7be">
					
					<tr>
						<td width="5"> </td>
						<td style="height: 120px" valign="top">
						<?php mosLoadModules ( 'user2', -2); ?></td>
						<td width="5"> </td>
					</tr>
					
				</table>
				</div>
								</td>
		 				<?php
		 			}
		 			?>
							</tr>
						</table>
						</td>
					</tr>
					<tr>
						<td>
						<table border="0" cellpadding="2" width="100%">
							<tr>
								<td width="200" valign="top" rowspan="2">
				<div align="center">
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #FFFFFF">
					
					<tr>
						<td width="5"> </td>
						<td style="height: 835px" valign="top">
						<?php mosLoadModules ( 'left', -2); ?></td>
						<td width="5"> </td>
					</tr>
					
				</table>
				</div>
								</td>
								<td valign="top" style="height: 70px">
				<div align="center">
								</div>
								</td>
															<?php
							if ( $left > 0 ) {
		 				?>
<td width="200" valign="top" rowspan="2">
				<div align="center">
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #FFFFFF">
					
					<tr>
						<td width="5"> </td>
						<td style="height: 835px" valign="top">
						<?php mosLoadModules ( 'right', -2); ?></td>
						<td width="5"> </td>
					</tr>
					
				</table>
				</div>
								</td>
		 				<?php
		 			}
		 			?>
							</tr>
							<tr>
								<td valign="top">
				<div align="center">
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #FFFFFF">
					
					<tr>
						<td width="5"> </td>
						<td style="height: 753px" valign="top">
						<?php mosMainBody(); ?></td>
						<td width="5"> </td>
					</tr>
					
				</table>
				</div>
								</td>
							</tr>
						</table>
						</td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td>
				<div align="center">
				<table border="0" cellpadding="0" cellspacing="0" width="970" style="background-color: #FFFFFF">
					
					<tr>
						<td width="8"> </td>
						<td><?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?></td>
						<td>
						<table border="0" cellspacing="1" width="100%">
							<tr>
								<td>
								<a target="_blank" href="[مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]
								<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_black/images/rss.png" alt="Design StudentsDesign.de" /></a></td>
								<td>
								<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_black/images/w3_css.png" alt="<?php echo $mosConfig_sitename;?>" /></td>
								<td>
								<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/dg_black/images/w3_xhtml.png" alt="<?php echo $mosConfig_sitename;?>" /></td>
							</tr>
						</table>
						</td>
						<td width="10"> </td>
					</tr>
					
				</table>
				</div>
				</td>
			</tr>
		</table>
		</td>
		<td valign="top" class="left"> </td>
	</tr>
</table>
</body>
</html>