All pastes #502427 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-22 14:48 UTC
rendered paste body
Link: http://www.8c-chaoten.de.vu/

index php:
-----------------------------------------------
<?php
/****************************************************************************************
* Netcom-Factory - A Template by Netcom-Factory digital Solutions	
* @web http://www.netcom-factory.de/
* @copyright (C) 2004-2007 by Netcom-Factory digital Solutions - All rights reserved!
* 
* @template version 9.2 by Netcom-Factory digital Solutions
****************************************************************************************/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/nf_stylechange.php");
$iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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>
<?php
if($my->id) {
    if($_REQUEST["task"] == "edit" || $_REQUEST["task"] == "new") {
		include ("editor/editor.php"); initEditor(); }
}
mosShowHead();

$def_width = "1024x768";
$def_font = "default";
$def_color = "blue";

include ("templates/".$cur_template."/nf_config.inc.php");
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/nf_styleload.php"); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/css/<?php echo $tpl_color; ?>_css.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]><link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/css/ie6fix_css.css" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if gte IE 7]><link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/css/ie7fix_css.css" rel="stylesheet" type="text/css" /><![endif]-->
<?php if ( $use_stylebuttons == 'Yes' ) { ?><link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/css/buttons_css.css" rel="stylesheet" type="text/css" /><?php } ?>
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
</head><body class="<?php echo $tpl_color; ?> <?php echo $tpl_width; ?> <?php echo $tpl_font; ?>"><a name="top"></a>

<div align="center"><div id="layout_con">

<div id="header_con">
	<div id="panel_con">
		<a href="<?php echo $tpl_url; ?>tpl_font=f-larger" title="increase" class="flarge"></a>
		<a href="<?php echo $tpl_url; ?>tpl_font=f-default" title="normal" class="fdefault"></a>
		<a href="<?php echo $tpl_url; ?>tpl_font=f-smaller" title="decrease" class="fsmall"></a>
		<span class="spacer">&nbsp;</span>
		<a href="<?php echo $tpl_url; ?>tpl_color=orange" title="orange" class="orange"></a>
		<a href="<?php echo $tpl_url; ?>tpl_color=red" title="red" class="red"></a>
		<a href="<?php echo $tpl_url; ?>tpl_color=pink" title="pink" class="pink"></a>
		<a href="<?php echo $tpl_url; ?>tpl_color=green" title="green" class="green"></a>
		<a href="<?php echo $tpl_url; ?>tpl_color=light_blue" title="light_blue" class="light_blue"></a>
		<a href="<?php echo $tpl_url; ?>tpl_color=blue" title="blue" class="blue"></a>
		<span class="spacer">&nbsp;</span>
		<a href="<?php echo $tpl_url; ?>tpl_width=w-full" title="100%" class="wfull"></a>
		<a href="<?php echo $tpl_url; ?>tpl_width=w-1024x768" title="1024x768" class="w1024"></a>
		<a href="<?php echo $tpl_url; ?>tpl_width=w-800x600" title="800x600" class="w800"></a>
	</div>

	<?php if ( mosCountModules ('user3')>0) { ?>
		<div id="topmenu_con"><?php mosLoadModules('user3', -1); ?></div>
		<div id="topmenu_con_right"></div>
	<?php } ?>
	<div id="date_con"><?php echo mosCurrentDate("%A, %d %B %Y"); ?></div>
	<a href="http://www.netcom-factory.de" target="_blank" id="db_link"></a>
	<div id="logo_con"></div>
	<?php if ( mosCountModules ('user4')>0) { ?><div id="search_con"><?php mosLoadModules('user4', -1); ?></div><?php } ?>
</div>
<div id="main_con">
	<div id="bg_rahmen">
	<div id="path_con">
		<div id="path_con_left"></div>
		<div id="path_con_right"></div>
		<?php mosPathWay(); ?>
	</div>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">

	<td width="28"><img src="templates/<?php echo $cur_template;?>/images/indent2.png" width="28" alt="" /></td>

	<?php if ( mosCountModules ('left')>0) { ?>
	<td class="mod_tile" id="mod_left">
		<div class="mod_con"><?php mosLoadModules ('left', -3); ?></div>
	</td>
	<td width="4"><img src="templates/<?php echo $cur_template;?>/images/indent2.png" width="4" alt="" /></td>
	<?php } ?>
	
	<td width="100%">
	<div id="content_abstand">
		<div id="main_header">
			<div id="welcome_con"><?php if ( $my->username ) { echo $nf_welcomeuser; } else { echo $nf_welcomeguest; } ?></div>
			<div id="main_header_left"></div>
			<div id="main_header_right"></div>
		</div>
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<?php if ( mosCountModules ('banner')>0) { ?><tr valign="top"><td><div id="modul_banner"><?php mosLoadModules ( 'banner', -1 ); ?></div></td></tr><?php } ?>
	<?php if ( mosCountModules ('top')>0) { ?><tr valign="top"><td><div class="mod_content"><?php mosLoadModules ( 'top', -3 ); ?></div></td></tr><?php } ?>
	
	<?php if (( mosCountModules ('user1')>0) || ( mosCountModules ('user2')>0)) { ?>
	<tr valign="top"><td>
		<table cellspacing="2" class="user_con" cellpadding="0" border="0" width="100%"><tr valign="top">
			<?php if ( mosCountModules ('user1')>0) { ?><td><?php mosLoadModules('user1', -3); ?></td><?php } ?>
			<?php if ( mosCountModules ('user2')>0) { ?><td><?php mosLoadModules('user2', -3); ?></td><?php } ?>
		</tr></table>	
	</td></tr>
	<?php } ?>
	
	<tr><td width="100%"><div id="mainbody"><?php mosMainBody(); ?></div></td></tr>
	
	<?php if (( mosCountModules ('user5')>0) || ( mosCountModules ('user6')>0)) { ?>
	<tr valign="top"><td>
		<table cellspacing="2" class="user_con" cellpadding="0" border="0" width="100%"><tr valign="top">
			<?php if ( mosCountModules ('user5')>0) { ?><td><?php mosLoadModules('user5', -3); ?></td><?php } ?>
			<?php if ( mosCountModules ('user6')>0) { ?><td><?php mosLoadModules('user6', -3); ?></td><?php } ?>
		</tr></table>	
	</td></tr>
	<?php } ?>
	
	<?php if ( mosCountModules ('bottom')>0) { ?><tr valign="top"><td><div class="mod_content"><?php mosLoadModules ( 'bottom', -3 ); ?></div></td></tr><?php } ?>
	</table>
	</div>
	</td>
	
	<?php if ( mosCountModules ('right')>0) { ?>
	<td width="4"><img src="templates/<?php echo $cur_template;?>/images/indent2.png" width="4" alt="" /></td>
	<td class="mod_tile" id="mod_right">
		<div class="mod_con"><?php mosLoadModules ('right', -3); ?></div>
	</td>
	<?php } ?>
	
</tr>
</table>

<div id="main_footer">
	<div id="main_footer_left"></div>
	<div id="main_footer_right"></div>
</div>

</div>
</div>

<div id="footer_con">
<?php if (( mosCountModules ('footer1')>0) || ( mosCountModules ('footer2')>0) || ( mosCountModules ('footer3')>0) || ( mosCountModules ('footer4')>0)) { ?>
	<table cellspacing="2" class="footer" cellpadding="0" border="0" width="100%" align="center">
		<tr valign="top">
			<td width="40">&nbsp;</td>
			<?php if ( mosCountModules ('footer1')>0) { ?><td align="left"><?php mosLoadModules('footer1', -3); ?></td><?php } ?>
			<?php if ( mosCountModules ('footer2')>0) { ?><td align="left"><?php mosLoadModules('footer2', -3); ?></td><?php } ?>
			<?php if ( mosCountModules ('footer3')>0) { ?><td align="left"><?php mosLoadModules('footer3', -3); ?></td><?php } ?>
			<?php if ( mosCountModules ('footer4')>0) { ?><td align="left"><?php mosLoadModules('footer4', -3); ?></td><?php } ?>
		</tr>
	</table>	
<?php } ?>
<div id="copyright">Copyright by Klasse 8c 2007; by <a href="http://www.krg-nw.de.de" target="_blank">Kurfürst-Ruprecht-Gymnsium Neustadt</a></div>	
</div>

</div></div>
</body>
</html>
-----------------------------------------------------