<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="Description" content="Information architecture, Web Design, Web Standards." />
<meta name="Keywords" content="your, keywords" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="Distribution" content="Global" />
<meta name="Author" content="Erwin Aligam - hide@address.com" />
<meta name="Robots" content="index,follow" />
<link rel="stylesheet" href="images/Refresh.css" type="text/css" />
<title>Encaps <?php echo @$html["head_title"]?></title>
</head>
<body>
<!-- wrap starts here -->
<div id="wrap">
<!--header -->
<div id="header">
<h1 id="logo-text">re<span class="gray">fresh</span></h1>
<h2 id="slogan">put your site slogan here...</h2>
<form method="get" action="catalog.php" class="search">
<input class="textbox" type="text" name="search" value="<?php echo isset($_GET["search"])?htmlspecialchars($_GET["search"], ENT_QUOTES):"";?>" />
<input class="button" type="submit" name="Submit" value="Search" />
</form>
</div>
<!-- menu -->
<div id="menu">
<ul>
<li ><a href="index.php">Home</a></li>
<?php $count = 0;
foreach($html["categs"] as $categ){
if($count++ % 3 == 0 && $count >1) echo '</tr><tr>';
if($categ["id"]!=@$postget["categ_id"])$id="";else $id='id="current"';
?>
<li <?php echo $id?> ><a href="catalog.php?categ_id=<?php echo $categ["id"]?>"><?php echo $categ["title"]?></a></li>
<?php } ?>
</ul>
</div>
<!-- content-wrap starts here -->
<div id="content-wrap">
<div id="sidebar">
<h1>Sidebar Menu</h1>
<div class="left-box">
<ul class="sidemenu">
<li><a href="index.php">Home</a></li>
<?php
function category_parse_($_categories,$_nbsp="",$_category_current,$categs_parent_ids)
{
foreach($_categories as $_category)
{?>
<li><?php echo $_nbsp?><a href="catalog.php?categ_id=<?php echo $_category['id']?>" style="<?php echo ($_category['id']==$_category_current )?"font-weight:bold":"";?>" ><?php echo $_category["title"]." (".$_category['subtotal'].")"; ?></a></li>
<?php
if(count($_category['childs']) && count($categs_parent_ids) && in_array($_category["id"],$categs_parent_ids))
category_parse_($_category['childs'],$_nbsp." ",$_category_current,$categs_parent_ids);
}
}
category_parse_($html['categs'],"",$html['categ']['id'],$html["categs_parents_ids"])
?>
</ul>
</div>
<h1>Wise Words</h1>
<div class="left-box">
<p>"To be concious that you are ignorant of the
facts is a great step to knowledge" </p>
<p class="align-right">- Benjamin Disraeli</p>
</div>
<?php if($config["shopcart_is_enabled"]==1){?>
<h1><a href="shopcart.php" >Shopcart</a></h1>
<div class="left-box">
<?php include("shopcart_preview.html") ?>
</div>
<?php } ?>
<h1>Support Styleshout</h1>
<div class="left-box">
<p>If you are interested in supporting my work and would like to contribute, you are
welcome to make a small donation through the
<a href="http://www.styleshout.com/">donate link</a> on my website - it will
be a great help and will surely be appreciated.</p>
</div>
</div>
<div id="main">