<?php
/* Smarty version 3.1.29, created on 2021-09-05 21:45:43
  from "/home/achahost/public_html/account/modules/addons/ProductDescriptionForInvoicesFree/resources/views/adminarea/header.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_61353a8744ebe8_44526513',
  'file_dependency' => 
  array (
    '7c2861b955e6fad92b576b1fcaf1dbb2dc138b91' => 
    array (
      0 => '/home/achahost/public_html/account/modules/addons/ProductDescriptionForInvoicesFree/resources/views/adminarea/header.tpl',
      1 => 1588900212,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_61353a8744ebe8_44526513 ($_smarty_tpl) {
?>
<div class="md-wrapper body" data-target=".body" data-spy="scroll" data-twttr-rendered="true">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600&subset=all" rel="stylesheet" type="text/css"/> 
    <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/css/vendor/simple-line-icons.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/css/vendor/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/css/vendor/uniform.default.css" rel="stylesheet">

    <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/css/vendor/jquery-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/css/vendor/icheck/all.css"> 
    <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/css/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/css/ca_style.css" rel="stylesheet">

    <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/css/style.css">


    <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/js/mdLibs.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/js/base.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/js/form.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/js/jquery.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/js/vendor/validator.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/js/vendor/bootstrap.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/js/vendor/bootsrap.tooltip.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/js/vendor/bootstrap-hover-dropdown.min.js"><?php echo '</script'; ?>
>

    <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/js/vendor/icheck.min.js"><?php echo '</script'; ?>
>
  

 <?php echo '<script'; ?>
 data-cfasync="false" type="text/javascript">
        JSONParser.create('<?php echo $_smarty_tpl->tpl_vars['JSONCurrentUrl']->value;?>
');
        
            jQuery(document).ready(function(){
               
                $(".md-wrapper [title]").bstooltip();

                //used to change positioning inside of module navbar
                var navbar_in_two_lines    = false;                
                var navbar_width_hide_names    = 0;
                var resized_logo    = false;
                var web_frigate_logo         = jQuery('.logo-default').attr( "src" );
                var web_frigate_logo     = web_frigate_logo.replace("web_frigate_logo.png","web_frigate_logo-cog.png");

                function NavigationSet() {
                    var navbar_height = jQuery('.page-header').height();

                    if(jQuery('.page-header').width()<=(jQuery('.nav-menu').width()+jQuery('.modulename-logo').width()+jQuery('.modulename > a').width()+40) && !navbar_in_two_lines) {
                        jQuery('.page-container').addClass('centered');
                        navbar_in_two_lines = true;
                    }
                    else if (jQuery('.page-header').width()>(jQuery('.nav-menu').width()+jQuery('.modulename-logo').width()+jQuery('.modulename > a').width()+40) && navbar_in_two_lines && !navbar_width_hide_names && !resized_logo) {
                        jQuery('.page-container').removeClass('centered');
                        navbar_in_two_lines=false; 
                    }

                    //check if short logo should be shown
                    if(jQuery('.line-separator').width()<=(jQuery('.nav-menu').width()+jQuery('.modulename-logo').width())&&!resized_logo && !navbar_width_hide_names ){
                        jQuery('.logo-default').attr( "src", web_frigate_logo );
                        resized_logo=true;
                        //switch back logo to its full form
                    }else if(jQuery('.line-separator').width()>(jQuery('.nav-menu').width()+159)&&resized_logo && !navbar_width_hide_names  ){
                        jQuery('.logo-default').attr( "src", web_frigate_logo ) ;
                        resized_logo=false;
                    }

                    //  hide page names from navigation bar
                    if(jQuery('.line-separator').width()<=(jQuery('.nav-menu').width()+jQuery('.modulename-logo').width())&&resized_logo ){
                        navbar_width_hide_names = jQuery('.page-header').width();
                        jQuery('.navbar-nav').addClass('short');
                        //  show page names from navigation bar                        
                    } else  if(navbar_width_hide_names < jQuery('.page-header').width() && navbar_width_hide_names!=0){
                        jQuery('.navbar-nav').removeClass('short');
                        navbar_width_hide_names = 0;
                    }
                }

                $(document).ready(NavigationSet);
                $(window).resize(NavigationSet);
            });
        
    <?php echo '</script'; ?>
>
    <div id='rockSolidSoftware-addon-content' style='position: relative'>
        <div class='addon-menu clearfix'>
            <div class='logo'>
                <a href="" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['assetsURL']->value;?>
/img/logo.png" alt="logo" class="logo-default"></a>

                <h2 class='addon-name'><?php echo $_smarty_tpl->tpl_vars['mainName']->value;?>
</h2>
            </div>
            <div class='menu'>
                <ul class='clearfix'>
                    <?php
$_from = $_smarty_tpl->tpl_vars['menu']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_item_0_saved_item = isset($_smarty_tpl->tpl_vars['item']) ? $_smarty_tpl->tpl_vars['item'] : false;
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_0_saved_local_item = $_smarty_tpl->tpl_vars['item'];
?>
                        <li class='active'>
                            <a href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
">
                                <span class='icon'></span>
                                <span class='item-label'><?php echo $_smarty_tpl->tpl_vars['item']->value;?>
</span>
                            </a>
                        </li>
                    <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_0_saved_local_item;
}
if ($__foreach_item_0_saved_item) {
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_0_saved_item;
}
?>
                </ul>
            </div>
        </div>
                 <div class="clearfix"></div>              
        <div class="page-container">
            <div class="row-fluid" id="MDAlerts">
                <?php if ($_smarty_tpl->tpl_vars['error']->value) {?>
                    <div class="alert alert-danger">                    
                        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only"></span></button>
                        <p><strong><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
</strong></p>
                    </div>
                <?php }?>   
                <?php if ($_smarty_tpl->tpl_vars['success']->value) {?>
                    <div class="alert alert-danger">
                        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only"></span></button>
                        <p><strong><?php echo $_smarty_tpl->tpl_vars['success']->value;?>
</strong></p>
                    </div>
                <?php }?>
                <div style="display:none;" data-prototype="error">
                    <div class="note note-danger alert alert-danger">
                        <button type="button" class="close" data-dismiss="alert"></button>
                        <strong></strong>
                        <a style="display:none;" class="errorID" href=""></a>
                    </div>
                </div>
                <div style="display:none;" data-prototype="success">
                    <div class="note note-success alert alert-success">
                        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only"></span></button>
                        <strong></strong>
                    </div>
                </div>
            </div>
            <div id="MDModal">

            </div> 
            <div id="MDConfirmationModal" class="modal" style="z-index: 1055; margin: 30vh auto;">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only"><?php echo $_smarty_tpl->tpl_vars['MDLANG']->value->translate('confirmation_close');?>
</span></button>
                            <h4 class="modal-title"></h4>
                            <span style="display: none" class="default-title"><?php echo $_smarty_tpl->tpl_vars['MDLANG']->value->translate('confirmation_default_title');?>
</span>
                        </div>
                        <div class="modal-body">
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo $_smarty_tpl->tpl_vars['MDLANG']->value->translate('confirmation_close');?>
</button>
                            <button type="button" class="btn btn-danger btn-inverse" data-dismiss="modal" data-confirm=""><?php echo $_smarty_tpl->tpl_vars['MDLANG']->value->translate('confirmation_confirm');?>
</button>
                        </div>
                    </div><!-- /.modal-content -->
                </div><!-- /.modal-dialog -->
            </div> 
                        </div> 
            <div class="page-content" id="MDPage<?php echo $_smarty_tpl->tpl_vars['currentPageName']->value;?>
">
                <div class="container-fluid" id="md-container" >

                    <?php echo '<script'; ?>
>
                        
    $(document).ready(function () {
        $('#MDAlerts .close').on('click', function () {
            $('#MDAlerts').find('[data-prototype=success]').hide();
        });

    });
                        
                    <?php echo '</script'; ?>
><?php }
}
