<?php
  /**
   * Header
   *
   * @package Advanced Login System
   * @author wojoscripts.com
   * @copyright 2010
   * @version $Id: header.php, v2.00 2011-07-10 10:12:05 gewa Exp $
   */
  
  if (!defined("_VALID_PHP"))
      die('Direct access to this location is not allowed.');
	  
	  //$news = $core->renderNews();
?>
<!DOCTYPE html>
<!-- 
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.4
Version: 4.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
-->
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8"/>
<title>BALKANBET - HELPdesk system</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta content="" name="description"/>
<meta content="" name="author"/>
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
<link href="smart/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="smart/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
<link href="smart/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="smart/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<link href="smart/assets/global/plugins/select2/select2.css" rel="stylesheet" type="text/css"/>
<link href="smart/assets/admin/pages/css/login3.css" rel="stylesheet" type="text/css"/>
<!-- END PAGE LEVEL SCRIPTS -->
<!-- BEGIN THEME STYLES -->
<link href="smart/assets/global/css/components.css" id="style_components" rel="stylesheet" type="text/css"/>
<link href="smart/assets/global/css/plugins.css" rel="stylesheet" type="text/css"/>
<link href="smart/assets/admin/layout/css/layout.css" rel="stylesheet" type="text/css"/>
<link href="smart/assets/admin/layout/css/themes/darkblue.css" rel="stylesheet" type="text/css" id="style_color"/>
<link href="smart/assets/admin/layout/css/custom.css" rel="stylesheet" type="text/css"/>
<!-- END THEME STYLES -->
<link rel="shortcut icon" href="favicon.ico"/>
</head>
<body class="login">
<div id="loader" style="display:none"></div>
<div class="logo" id="logo"><a href="../index.php"><?php echo ($core->logo) ? '<img src="'.SITEURL.'/uploads/'.$core->logo.'" alt="'.$core->site_name.'" class="logo"/>': $core->site_name;?></a></div>
<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
<div class="menu-toggler sidebar-toggler">
</div>
<!-- END SIDEBAR TOGGLER BUTTON -->
<div class="col grid_16">
  <div id="usermenu" class="flright">
    <?php if($user->logged_in):?>
    <a href="logout.php"><i class="icon-off"></i> Log Off</a>
    <?php endif;?>
    <?php if($user->is_Admin()):?>
    <a href="admin/index.php"><i class="icon-gear"></i> Admin Panel</a>
    <?php endif;?>
  </div>
 </div>
  <?php if($user->logged_in):?>
  <?php if($news):?>
  <div id="news-slide" class="pagetip">
    <div id="news"><i class="icon-microphone icon-3x pull-left"></i><?php echo $news->cdate.' <strong>'.$news->title.'</strong>';?> <?php echo cleanOut($news->body);?> </div>
  </div>
  <?php endif;?>
  <?php endif;?>
  <!--<div id="msgholder" class="alert alert-danger display-hide"></div>-->