Location: PHPKode > projects > cms.libe.net > template/vegetables/index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Vegetables  
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20110416

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
				
<title><?php echo $titel;?></title>
<?php if (!empty($meta)) echo "<meta name=\"description\" content=\"", $meta,"\" />";
?>
<link href="<?php echo $firstparturl,$templatedir;?>style.css" rel="stylesheet" type="text/css" media="screen" />
		<script type="text/javascript" src="<?php echo $firstparturl;?>plugins/jquery/jquery-1.7.2.min.js"></script>
<!-- Lightbox -->
		<?php if (inStr("lightbox[roadtrip]",$text)) { ?>

		<link rel="stylesheet" href="<?php echo $firstparturl;?>plugins/lightbox/css/lightbox.css" type="text/css" media="screen" />
		<script type="text/javascript" src="<?php echo $firstparturl;?>plugins/jquery/jquery-ui-1.8.18.custom.min.js"></script>
		<script type="text/javascript" src="<?php echo $firstparturl;?>plugins/jquery/jquery.smooth-scroll.min.js"></script>
		<script type="text/javascript" src="<?php echo $firstparturl;?>plugins/lightbox/js/lightbox.js"></script>
		<?php }?>
<!-- ... Lightbox -->
<style>#menu a {width: <?php echo floor(970/(1+substr_count(buildmenu("1","1","1"),"<li")));?>px;}</style>
</head>
<body>
<div id="header">
	<div id="logo">
		<h1><a href="<?php echo $firstparturl;?>"><?php echo $page_title;?></a></h1>
		<p> <?php echo $page_description;?></p>
	</div>
</div>
<!-- end #header -->
<div id="wrapper">
	<div id="menu">
		<ul>
							<?php 
							if ($start=="1")echo "<li><a href=\"$firstparturl\" id=\"mainmenu_active\">Home</a></li>";else echo "<li><a href=\"$firstparturl\" id=\"mainmenu_link\">Home</a></li>";	
							echo buildmenu("1","1","1");?>
		</ul>
	</div>
	<!-- end #menu -->

</div>
<div id="page">
	<div id="content">
		<div class="post">
					<?php if (!empty($smalldescription)) echo "<h2>". $smalldescription. "</h2><br>";?>
					<?php if ($start==1) {$newest= newest(3,0,1,12); if (strlen($newest)>35){echo "<h1>New Topics <a href=\"$firstparturl"."rss.php\"><img src=\"". $firstparturl. "image/rss.png\" alt=\"Newsfeed\" style=\"border:0\"></a></h1>"; echo $newest; echo "<br>";}} //New Entries if there are any: count the stringlengh and deside if there is an entry ?>
					<?php echo $text;?>
					<?php if (empty($text) and $start!=1) echo str_replace('width="150"','width="100"', buildmenu($level+1,$level+1,$level+1,"0","1"));//if there is no text in an topic build a menu?>
					<?php if ($start!=1) if ($addfeedback==1) {echo "<div style=\"clear:left;\"></div><br><h1>Kommentare</h1>";include("plugins/libe/feedback.php");}?>

		</div>
	</div>
	<!-- end #content -->
	<div id="sidebar">
		<ul>
									<?php $menu=buildmenu("2","2","2"); if(!empty($menu)) echo "
										<li>
											<h2>",$menuforlevel[2],"</h2>
											<ul>
											", $menu,"
											</ul>
										</li>"; ?>	
										<?php $menu=buildmenu("3","3","3"); if(!empty($menu)) echo "
										<li>
											<h2>",$menuforlevel[3],"</h2>
											<ul>
											", $menu,"
											</ul>
										</li>"; ?>		

		</ul>

		<?php echo loadcontent("additional-area");?>	
	</div>
	<!-- end #sidebar -->
	<div style="clear: both;">&nbsp;</div>
</div>
<!-- end #page -->
<div id="footer-menu">
	<ul>
							<?php 
							if ($start=="1")echo "<li><a href=\"$firstparturl\" id=\"mainmenu_active\">Home</a></li>";else echo "<li><a href=\"$firstparturl\" id=\"mainmenu_link\">Home</a></li>";	
							echo buildmenu("1","1","1");?>
	</ul>
</div>
<div id="footer">
	<p>Copyright (c) <?php echo $page_title;?> All rights reserved. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>. <a href="http://cms.libe.net">powered by cms.libe.net</a></p>
</div>
<!-- end #footer -->
</body>
</html>
Return current item: cms.libe.net