All pastes #519275 Raw Edit

Templ

public php v1 · immutable
#519275 ·published 2007-05-29 16:35 UTC
rendered paste body
<!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"><head><meta http-equiv="Content-Language" content="en-us"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /><link href="<php echo $mosConfig_live_site;?>/templates/green_portal/css/template_css.css" rel="stylesheet" type="text/css"/><?php mosShowHead(); ?><?phpif ( $my->id ) {	initEditor();}$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'top' ) + mosCountModules( 'banner' ) ) ? 2 : 1;//script to determine which div setup for layout to use based on module configuration$user1 = 0;$top = 0;$colspan = 0;$right = 0;$banner = 0;//user1 combosif ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {	$user1 = 2;	$top = 2;	$colspan = 3;} elseif ( mosCountModules( 'user1' ) == 1 ) {	$user1 = 1;	$colspan = 1;} elseif ( mosCountModules( 'top' ) == 1 ) {	$top = 1;	$colspan = 1;}//right based combosif ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {	$right = 1;}if ( mosCountModules( 'banner' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {	$banner = 1;}?></head><body><table border="0" cellspacing="1" width="100%">	<tr>		<td width="100%">		<table border="1" cellpadding="0" cellspacing="0" width="100%" bordercolor="#999999" style="border-collapse: collapse" background="<?php echo $mosConfig_live_site;?>/templates/green_portal/images/top_link.png">			<tr>				<td>				<table border="0" cellpadding="0" cellspacing="0" width="100%">					<tr>						<td><?php mosLoadModules ( 'user3', -1); ?></td>						<td width="182"><?php echo mosCurrentDate();?></td>					</tr>				</table>				</td>			</tr>		</table>		</td>	</tr>	<tr>		<td valign="top">		<table border="0" cellpadding="0" cellspacing="0" width="100%" height="173">			<tr>				<td width="81%" valign="top" style="border: 1px solid #4C4E4D; background-image: url('<?php echo $mosConfig_live_site;?>/templates/green_portal/images/logo.jpg'); background-repeat: no-repeat; background-position: right top">&nbsp;</td>																			<?php							if ( $top > 0 ) {		  				?><td width="4" valign="top">&nbsp;</td>				<td width="188" valign="top"   style="border: 1px solid #4C4E4D; width=190px;" ><?php mosLoadModules ( 'top', -2 ); ?></td>						  				<?php		  			}		  			?>			</tr>		</table>		</td>	</tr>	<tr>		<td width="996">		<table border="0" cellpadding="0" cellspacing="0" width="100%">			<tr>				<td valign="top" width="51%">				<table border="0" cellpadding="0" cellspacing="0" width="100%" height="73"  style="border: 1px solid #4C4E4D" >					<tr>						<td valign="top">						<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#232323">							<tr>															<td width="100%" valign="top"><?php mosLoadModules ( 'top2', -2 ); ?></td>							</tr>						</table>						</td>					</tr>				</table>				</td>															<?php							if ( $banner > 0 ) {		  				?>				<td valign="top" width="4">&nbsp;</td>				<td width="480" height="73" valign="top"  style="border: 1px solid #4C4E4D" >				<table border="0" cellpadding="0" cellspacing="0" width="100%" height="71">					<tr>						<td style="text-align: center" valign=middle>						<?php mosLoadModules ( 'banner', -2 ); ?></td>					</tr>				</table>				</td>						  				<?php		  			}		  			?>			</tr>		</table>		</td>	</tr>	<tr>		<td width="100%">		<table border="0" cellpadding="0" cellspacing="0" width="100%">			<tr>				<td valign="top" style="border: 1px solid #4C4E4D" >				<table border="0" cellpadding="2" width="100%">					<tr>						<td><?php mosLoadModules ( 'left', -2 ); ?></td>					</tr>				</table>				</td>				<td valign="top" height="800" width="2">				<font size="1" color="#232323">.</font></td>				<td valign="top" height="800" width="99%" style="border: 1px solid #4C4E4D" ><?php mosMainBody(); ?></td>															<?php							if ( $right > 0 ) {		  				?>				<td valign="top" height="800" width="2">				<font size="1" color="#232323">.</font></td>				<td valign="top" style="border: 1px solid #4C4E4D" >				<table border="0" cellpadding="2" width="100%">					<tr>						<td><?php mosLoadModules ( 'right', -2 ); ?></td>					</tr>				</table>				</td>		  				<?php		  			}		  			?>			</tr>		</table>		</td>	</tr>	<tr>		<td width="996">		<table border="0" cellpadding="0" cellspacing="0" width="100%" bordercolor="#999999" style="border: 1px solid #4C4E4D" >			<tr>				<td style="text-align: center">				<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?><br /><center>				<a href="http://www.studentsdesign.de" target="_blank">www.studentsdesign.de</a></center></td>			</tr>		</table>		</td>	</tr></table></body></html>