<?php /* Smarty version Smarty-3.1.15, created on 2015-04-27 20:09:52
         compiled from "/home/hushdogcafe/public_html/cube/admin/skins/default/templates/main.php" */ ?>
<?php /*%%SmartyHeaderCode:1342444384553e27102d4172-18361712%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2575d0459390d1e74e69f1f6bb7e2ca706923ddd' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/admin/skins/default/templates/main.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1342444384553e27102d4172-18361712',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'LANG' => 0,
    'STORE_URL' => 0,
    'SKIN_VARS' => 0,
    'VERSION_HASH' => 0,
    'JQUERY_STYLES' => 0,
    'style' => 0,
    'ADMIN_UID' => 0,
    'ADMIN_USER' => 0,
    'TABS' => 0,
    'tab' => 0,
    'DISPLAY_CONTENT' => 0,
    'ADMIN_USER_FIRST_NAME' => 0,
    'TOUR_AUTO_START' => 0,
    'CLOSE_WINDOW' => 0,
    'EXTRA_JS' => 0,
    'js_src' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553e271043b4d8_15845257',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553e271043b4d8_15845257')) {function content_553e271043b4d8_15845257($_smarty_tpl) {?><!DOCTYPE html>
<html class="no-js" xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="utf-8">
   <head>
      <meta charset="utf-8">
      <title><?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['title_admin_cp'];?>
</title>
      <link rel="shortcut icon" href="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/favicon.ico" type="image/x-icon">
      <link href='//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' rel='stylesheet' type='text/css'>
      <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/styles/layout.css?<?php echo $_smarty_tpl->tpl_vars['VERSION_HASH']->value;?>
" media="screen">
      <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/styles/font-awesome.min.css?<?php echo $_smarty_tpl->tpl_vars['VERSION_HASH']->value;?>
">
      <?php if (isset($_smarty_tpl->tpl_vars['JQUERY_STYLES']->value)) {?>
      <?php  $_smarty_tpl->tpl_vars['style'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['style']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['JQUERY_STYLES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['style']->key => $_smarty_tpl->tpl_vars['style']->value) {
$_smarty_tpl->tpl_vars['style']->_loop = true;
?>
      <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['style']->value;?>
?<?php echo $_smarty_tpl->tpl_vars['VERSION_HASH']->value;?>
" media="screen">
      <?php } ?>
      <?php }?>
      <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/js/styles/styles.php?<?php echo $_smarty_tpl->tpl_vars['VERSION_HASH']->value;?>
" media="screen">
   </head>
   <body>
      <div id="header">
         <a href="?"><img src="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/images/logo.cubecart.png" width="158" height="30" id="logo"></a>
         <span class="user_info"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['settings']['title_welcome_back'];?>
 <a href="?_g=settings&node=admins&action=edit&admin_id=<?php echo $_smarty_tpl->tpl_vars['ADMIN_UID']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['ADMIN_USER']->value;?>
</a> - <a href="?_g=logout"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['logout'];?>
 <i class="fa fa-sign-out"></i></a></span>
      </div>
      <div id="wrapper">
         <div id="navigation">
            <?php echo $_smarty_tpl->getSubTemplate ('templates/common.search.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

            <?php echo $_smarty_tpl->getSubTemplate ('templates/common.navigation.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

         </div>
         <?php echo $_smarty_tpl->getSubTemplate ('templates/common.breadcrumb.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

         <div id="content">
            <div id="tab_control">
               <?php if (isset($_smarty_tpl->tpl_vars['TABS']->value)) {?>
               <?php  $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tab']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['TABS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tab']->key => $_smarty_tpl->tpl_vars['tab']->value) {
$_smarty_tpl->tpl_vars['tab']->_loop = true;
?>
               <div <?php if (!empty($_smarty_tpl->tpl_vars['tab']->value['tab_id'])) {?>id="<?php echo $_smarty_tpl->tpl_vars['tab']->value['tab_id'];?>
" <?php }?>class="tab">
               <?php if (!empty($_smarty_tpl->tpl_vars['tab']->value['notify'])) {?><span class="tab_notify"><?php echo $_smarty_tpl->tpl_vars['tab']->value['notify'];?>
</span><?php }?>
               <a href="<?php echo $_smarty_tpl->tpl_vars['tab']->value['url'];?>
<?php echo $_smarty_tpl->tpl_vars['tab']->value['target'];?>
" accesskey="<?php echo $_smarty_tpl->tpl_vars['tab']->value['accesskey'];?>
" target="<?php echo $_smarty_tpl->tpl_vars['tab']->value['a_target'];?>
"><?php echo $_smarty_tpl->tpl_vars['tab']->value['name'];?>
</a>
            </div>
            <?php } ?>
            <?php }?>
         </div>
         <div id="content_body">
            <?php echo $_smarty_tpl->getSubTemplate ('templates/common.gui_message.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

            <div id="page_content">
               <noscript>
                  <p class="warnText"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['settings']['error_js_required'];?>
</p>
               </noscript>
               <div id="loading_content"><i class="fa fa-spinner fa-pulse"></i></div>
               <?php echo $_smarty_tpl->tpl_vars['DISPLAY_CONTENT']->value;?>

            </div>
         </div>
         <?php echo $_smarty_tpl->getSubTemplate ('templates/ccpower.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

      </div>
      </div>
      <div style="display: none" id="val_admin_folder"><?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
</div>
      <div style="display: none" id="val_admin_file"><?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_file'];?>
</div>
      <div style="display: none" id="val_skin_folder"><?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
</div>
      <ol id="joyrideTour" style="display: none">
         <li data-button="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['ok_go'];?>
">
            <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['hi_casual'];?>
 <?php echo $_smarty_tpl->tpl_vars['ADMIN_USER_FIRST_NAME']->value;?>
!</h2>
            <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['tour_welcome'];?>
</p>
         </li>
         <li data-id="nav_settings">
            <h2>1. <?php echo $_smarty_tpl->tpl_vars['LANG']->value['navigation']['nav_settings_store'];?>
</h2>
            <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['tour_1'];?>
</p>
         </li>
         <li data-id="nav_categories">
            <h2>2. <?php echo $_smarty_tpl->tpl_vars['LANG']->value['navigation']['nav_categories'];?>
</h2>
            <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['tour_2'];?>
</p>
         </li>
         <li data-id="nav_products">
            <h2>3. <?php echo $_smarty_tpl->tpl_vars['LANG']->value['navigation']['nav_products'];?>
</h2>
            <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['tour_3'];?>
</p>
         </li>
         <li data-id="nav_marketplace">
            <h2>4. <?php echo $_smarty_tpl->tpl_vars['LANG']->value['navigation']['nav_marketplace'];?>
</h2>
            <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['tour_4'];?>
</p>
         </li>
         <li data-id="nav_plugins">
            <h2>5. <?php echo $_smarty_tpl->tpl_vars['LANG']->value['navigation']['nav_plugins'];?>
</h2>
            <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['tour_5'];?>
</p>
         </li>
         <li data-id="nav_docs">
            <h2>6. <?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['tour_6_title'];?>
</h2>
            <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['tour_6'];?>
</p>
         </li>
         <li class="joyride_tour_end" data-button="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['close'];?>
">
            <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['thats_it'];?>
</h2>
            <?php echo $_smarty_tpl->tpl_vars['LANG']->value['dashboard']['tour_end'];?>

         </li>
      </ol>
      <script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/js/jquery-1.11.2.min.js"></script>
      <script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/js/jquery-ui-1.11.2.min.js"></script>
      <script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/js/plugins.php?<?php echo $_smarty_tpl->tpl_vars['VERSION_HASH']->value;?>
"></script>
      <!-- Include CKEditor -->
      <script type="text/javascript" src="includes/ckeditor/ckeditor.js"></script>
      <script type="text/javascript" src="includes/ckeditor/adapters/jquery.js"></script>
      <script>
         
         $(window).load(function() {
           $("#joyrideTour").joyride({
             autoStart: <?php echo $_smarty_tpl->tpl_vars['TOUR_AUTO_START']->value;?>
,
             postStepCallback: function (index, tip) {
               if (index == 6) {
                  $('<p><iframe src="//player.vimeo.com/video/118638908" width="500" height="313" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></p>').insertAfter($(".joyride_tour_end p").last());
               }
             },
             postRideCallback: function (){
              $.ajax({url: "<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_file'];?>
?_g=settings&node=admins&tour_shown=<?php echo $_smarty_tpl->tpl_vars['ADMIN_UID']->value;?>
"});
             },
           });
         });
         
      </script>
      <script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/js/admin.min.js?<?php echo $_smarty_tpl->tpl_vars['VERSION_HASH']->value;?>
"></script>
      <?php if (isset($_smarty_tpl->tpl_vars['CLOSE_WINDOW']->value)) {?>
      <script type="text/javascript">
         $(document).ready(function () {
          setInterval(function() { window.close(); }, 1000);
         });
      </script>
      <?php }?>
      <?php if (is_array($_smarty_tpl->tpl_vars['EXTRA_JS']->value)) {?>
      <?php  $_smarty_tpl->tpl_vars['js_src'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['js_src']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['EXTRA_JS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['js_src']->key => $_smarty_tpl->tpl_vars['js_src']->value) {
$_smarty_tpl->tpl_vars['js_src']->_loop = true;
?>
      <script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['js_src']->value;?>
"></script>
      <?php } ?>
      <?php }?>
   </body>
</html><?php }} ?>
