Location: PHPKode > projects > Katyshop > katyshop_ro_0.3.2.1/web/includes/header.php
<?php
/**
 * Product: Katyshop
 * @version 0.3.2.1
 * @author Catalin Hulea - hide@address.com
 * @copyright Copyright (C) 2007 Catalin Hulea
 * @license GNU General Public License version 3
 * 			You can find a copy of GNU GPL v3 at this path: /docs/LICENSE
 * @link https://sourceforge.net/projects/katyshop
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

?>
<div id="header">
<a href="index.php"><img src="img/design/logo.jpg" id="logo"></a>
<img src="img/design/slogan.gif" id="slogan">
<a href="index.php"><img src="img/design/company_name.gif" id="img_company_name"></a>
<form id="logout_form" action="formparser/user.php?action=logout" method="post" style="display: none; ">
<input type="hidden" name="logout" value="1">
</form>
</div>

<div id="menu">
<ul>
<li><a href="index.php" class="left_item">Prima pagina</a></li>
<li><a href="how_to_buy.php">Cum cumpar</a></li>
<li><a href="payment_and_delivery.php">Plata</a></li>
<li><a href="contact.php">Contact</a></li>
<?php
$user = Application::getUser();
if($user->isAdminLoggedIn())
{
	?><li><a href="admin/index.php">Admin</a></li><?php
}
if($user->isUserLoggedIn())
{
	?>
	<li><a href="profile.php">Profil</a></li>
	<?php
	if(!$user->isAdminLoggedIn())
	{
		?><li><a href="address.php">Adresele mele</a></li><?php
	}
	?>
	<li><a href="javascript:logout(); " class="right_item">Logout</a></li>
	<?php
}
else
{
	?>
	<li><a href="register.php">Cont nou</a></li>
	<li><a href="activate.php">Activati</a></li>
	<li><a href="login.php" class="right_item">Login</a></li>
	<?php
}
?>
</ul>

<form action="formparser/order.php?action=remove_product" method="post" id="frm_remove_product">
<input type="hidden" name="line_number" value="0">
</form>

</div>
Return current item: Katyshop