<?php /* Smarty version 2.6.26, created on 2012-05-28 13:57:29
         compiled from blend/header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'blend/header.tpl', 64, false),)), $this); ?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['charset']; ?>
" />
<title>WHMCS - <?php echo $this->_tpl_vars['pagetitle']; ?>
</title>
<link href="templates/blend/style.css" rel="stylesheet" type="text/css" />
<link href="../includes/jscript/css/ui.all.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../includes/jscript/jquery.js"></script>
<script type="text/javascript" src="../includes/jscript/jqueryui.js"></script>
<script type="text/javascript" src="../includes/jscript/adminsearchbox.js"></script>
<?php echo '<script>
function intellisearch() {
    $("#greyout").fadeIn();
    $("#searchresultsscroller").html(\'<div align="center"><img src="../images/loading.gif"></div>\');
    $("#searchresults").show();
    $("#popupcontainer").slideDown();
    $.post("search.php", { intellisearch: "true", value: $("#intellisearchval").val() },
    function(data){
        $("#searchresultsscroller").html(data);
    });
}
function searchclose() {
    $("#intellisearchval").val("");
    $("#popupcontainer").toggle("slow",function () {
        $("#searchresults").hide();
    });
    $("#greyout").fadeOut();
}
function notesclose(save) {
    $("#popupcontainer").toggle("slow",function () {
        $("#mynotes").hide();
    });
    if (save) $.post("index.php", { action: "savenotes", notes: $("#mynotesbox").val() });
    $("#greyout").fadeOut();
}
$(document).ready(function(){
    $( "button, input:submit, input:button, input:reset" ).button();
    $("#shownotes").click(function () {
        $("#mynotes").show();
        $("#greyout").fadeIn();
        $("#popupcontainer").slideDown();
        return false;
    });
    $(".datepick").datepicker({
        dateFormat: "'; ?>
<?php echo $this->_tpl_vars['datepickerformat']; ?>
<?php echo '",
        showOn: "button",
        buttonImage: "images/showcalendar.gif",
        buttonImageOnly: true,
        showButtonPanel: true,
        showOtherMonths: true,
		selectOtherMonths: true
    });
    '; ?>
<?php echo $this->_tpl_vars['jquerycode']; ?>
<?php echo '
});'; ?>

<?php echo $this->_tpl_vars['jscode']; ?>

</script>
<?php echo $this->_tpl_vars['headoutput']; ?>

</head>
<body>
<?php echo $this->_tpl_vars['headeroutput']; ?>

<div class="topbar">
<div class="left"><a href="index.php"><?php echo $this->_tpl_vars['_ADMINLANG']['home']['title']; ?>
</a> | <a href="../"><?php echo $this->_tpl_vars['_ADMINLANG']['global']['clientarea']; ?>
</a> | <a href="#" id="shownotes"><?php echo $this->_tpl_vars['_ADMINLANG']['global']['mynotes']; ?>
</a> | <a href="myaccount.php"><?php echo $this->_tpl_vars['_ADMINLANG']['global']['myaccount']; ?>
</a> | <a href="logout.php"><?php echo $this->_tpl_vars['_ADMINLANG']['global']['logout']; ?>
</a></div>
<div class="right">
<?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%A, %d %B %Y, %H:%M") : smarty_modifier_date_format($_tmp, "%A, %d %B %Y, %H:%M")); ?>

</div>
</div>

<div class="header">
<div class="logo"><a href="index.php"><img src="templates/blend/logo.gif" border="0" /></a></div>
<div class="stats"><a href="orders.php?status=Pending"><span class="stat"><?php echo $this->_tpl_vars['sidebarstats']['orders']['pending']; ?>
</span> <?php echo $this->_tpl_vars['_ADMINLANG']['stats']['pendingorders']; ?>
</a> | <a href="invoices.php?status=Overdue"><span class="stat"><?php echo $this->_tpl_vars['sidebarstats']['invoices']['overdue']; ?>
</span> <?php echo $this->_tpl_vars['_ADMINLANG']['stats']['overdueinvoices']; ?>
</a> | <a href="supporttickets.php"><span class="stat"><?php echo $this->_tpl_vars['sidebarstats']['tickets']['awaitingreply']; ?>
</span> <?php echo $this->_tpl_vars['_ADMINLANG']['stats']['ticketsawaitingreply']; ?>
</a></div>
</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "blend/menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div class="contentarea">

<?php if ($this->_tpl_vars['helplink']): ?><div class="contexthelp"><a href="http://docs.whmcs.com/<?php echo $this->_tpl_vars['helplink']; ?>
" target="_blank"><img src="images/icons/help.png" border="0" align="absmiddle" /> <?php echo $this->_tpl_vars['_ADMINLANG']['help']['contextlink']; ?>
</a></div><?php endif; ?>

<h1><?php echo $this->_tpl_vars['pagetitle']; ?>
</h1>
