<?php /* Smarty version Smarty-3.1.8, created on 2019-12-24 15:33:31
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/Index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:13068758535da6e8678bd289-34245711%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4040348fffe0a6654ab3a5c3c5397579abfaef71' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/Index.tpl',
      1 => 1577180533,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '13068758535da6e8678bd289-34245711',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da6e867995c25_55182871',
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'productPrivilege' => 0,
    'resDashboard' => 0,
    'autolineUpdate' => 0,
    'orderPrivilege' => 0,
    'orderCount' => 0,
    'monthCount' => 0,
    'orderTotalCount' => 0,
    'no_cursor' => 0,
    'resListUserOrders' => 0,
    'listUserOrders' => 0,
    'ordershowPrivilege' => 0,
    'date_format' => 0,
    'time_format' => 0,
    'view_images' => 0,
    'common_js' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da6e867995c25_55182871')) {function content_5da6e867995c25_55182871($_smarty_tpl) {?><?php if (!is_callable('smarty_mb_wordwrap')) include '/home/stg70/public_html/agmc-v2/library/template/plugins/shared.mb_wordwrap.php';
if (!is_callable('smarty_modifier_date_format')) include '/home/stg70/public_html/agmc-v2/library/template/plugins/modifier.date_format.php';
?><!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=utf-8" />
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblDashboard'];?>
</title>
<?php echo $_smarty_tpl->getSubTemplate ('CommonStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<link href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/jquery-ui-1.8.19.custom.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/ui.daterangepicker.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/dashboard.css" />
<?php echo $_smarty_tpl->getSubTemplate ('CommonCustomStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

</head><body>
<div class="outer_container dashboard">
   <?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

  <!--End:Header Container-->
  <!--***********************************************************************START CONTAINER SECTION******************************************************-->
  <div class="content_container">
    <div class="content_wrapper clearfix">
    <noscript>
    <div class="message_info"> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblJsEnable'];?>
 !!</div>
    </noscript>
    <h2><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDashboard'];?>
</h2>
    <div class="business-summary">
        <div class="row clearfix">
            <div class="col-6">
                <div class="bg-white">
                    <h4><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductInfo'];?>
</h4>
                    <div class="sumry-tble vehicle-info clearfix">
                        <?php if ($_smarty_tpl->tpl_vars['productPrivilege']->value){?>
                        <div class="sumry-item">
                            <strong>
                            
                            <?php echo $_smarty_tpl->tpl_vars['resDashboard']->value['upcoming'];?>

                            </strong>
                            <span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblActive'];?>

                            <?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartProducts'];?>
</span>
                        </div>
                        <div class="sumry-item">
                            <strong>
                                
                                <?php echo $_smarty_tpl->tpl_vars['resDashboard']->value['review'];?>

                                </strong>
                            <span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartProducts'];?>

                            <?php echo $_smarty_tpl->tpl_vars['language']->value['lblUnderReview'];?>
</span>
                        </div>	
                        <?php }?>
                        <div class="sumry-item">
                            <span>Autoline Last Update</span>
							<strong>
									<?php echo $_smarty_tpl->tpl_vars['autolineUpdate']->value;?>

							</strong>
							
						</div>
                    </div>
                </div>
            </div>
            <div class="col-6">
                <div class="bg-white">
                    <h4><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBookingInfo'];?>
</h4>
                    <div class="sumry-tble booking-info clearfix">
                        <?php if ($_smarty_tpl->tpl_vars['orderPrivilege']->value){?>
                        <div class="sumry-item">
                            <div>
                                <strong><?php echo $_smarty_tpl->tpl_vars['orderCount']->value;?>
</strong>
                                <span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTodays'];?>
 <?php echo $_smarty_tpl->tpl_vars['language']->value['lblMultipleBookings'];?>
</span>
                            </div>
                        </div>
                        <div class="sumry-item">
                            <div class="border-left">
                                <strong><?php echo $_smarty_tpl->tpl_vars['monthCount']->value;?>
</strong>
                                <span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblThisMonth'];?>
 <?php echo $_smarty_tpl->tpl_vars['language']->value['lblMultipleBookings'];?>
</span>
                            </div>
                        </div>
                        <div class="sumry-item">
                            <div class="border-left">
                                <strong><?php echo $_smarty_tpl->tpl_vars['orderTotalCount']->value;?>
</strong>
                                <span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTotal'];?>
 <?php echo $_smarty_tpl->tpl_vars['language']->value['lblMultipleBookings'];?>
</span>
                            </div>
                        </div>
                        <?php }?>
                    </div>
                </div>
            </div>
        </div>
    </div>
		  
		<?php $_smarty_tpl->tpl_vars["no_cursor"] = new Smarty_variable("0", null, 0);?>
         <?php if ($_smarty_tpl->tpl_vars['orderPrivilege']->value){?>
		 <?php if ($_smarty_tpl->tpl_vars['orderPrivilege']->value){?>
		 <?php $_smarty_tpl->tpl_vars["no_cursor"] = new Smarty_variable(1, null, 0);?>
		 <?php }?>
         <?php if ($_smarty_tpl->tpl_vars['no_cursor']->value>1){?>
		 <?php $_smarty_tpl->tpl_vars["no_cursor"] = new Smarty_variable('', null, 0);?>
		 <?php }else{ ?>
			<?php $_smarty_tpl->tpl_vars["no_cursor"] = new Smarty_variable("no_cursor", null, 0);?>
		 <?php }?>
         <div class="business-summary bg-white"> 
          <!-- Latest product orders starts-->
          <div class="recent_head ">
            
            <h4 class="clearfix">
                <?php echo $_smarty_tpl->tpl_vars['language']->value['lblRecentActivity'];?>
 <?php if ($_smarty_tpl->tpl_vars['orderPrivilege']->value){?> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','class'=>"tabLink ".($_smarty_tpl->tpl_vars['no_cursor']->value),'content'=>$_smarty_tpl->tpl_vars['language']->value['lblBookings']),$_smarty_tpl);?>
 <?php }?>
            </h4>
          </div>
          <!-- Orders starts-->   
          <div class="grid_table00">
          <?php if ($_smarty_tpl->tpl_vars['orderPrivilege']->value){?>       
           <table width="100%" cellspacing="0" cellpadding="0" border="0" class="tabLinkBlock hide">
            <?php if ($_smarty_tpl->tpl_vars['resListUserOrders']->value){?>
           <thead>
              <tr>
                <th  valign="middle" align="left" class="bg_grey"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderID'];?>
</th>
                <th valign="middle" align="left" class="bg_grey"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCustomerName'];?>
</th>
                <th valign="middle" align="left" class="bg_grey"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCustomerPhone'];?>
</th>
                <th valign="middle" align="left" class="bg_grey"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCustomerEmail'];?>
</th>
                <th valign="middle" align="left" class="bg_grey"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProduct'];?>
</th>
                <th valign="middle" align="left" class="bg_grey" width="135"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDashPurchaseDate'];?>
</th>
              </tr>
            </thead>
           <?php }?>
            <tbody>
             <?php  $_smarty_tpl->tpl_vars["listUserOrders"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["listUserOrders"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resListUserOrders']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["listUserOrders"]->key => $_smarty_tpl->tpl_vars["listUserOrders"]->value){
$_smarty_tpl->tpl_vars["listUserOrders"]->_loop = true;
?>
                <?php $_smarty_tpl->tpl_vars["curr_morderID"] = new Smarty_variable($_smarty_tpl->tpl_vars['listUserOrders']->value['masterOrderID'], null, 0);?>
              <tr>
                <td valign="middle" align="left">
                <?php if ($_smarty_tpl->tpl_vars['ordershowPrivilege']->value!=''){?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('history'=>"yes",'href'=>"order/show/id/".($_smarty_tpl->tpl_vars['curr_morderID']->value)."/",'class'=>"order",'content'=>$_smarty_tpl->tpl_vars['listUserOrders']->value['orderNumber']),$_smarty_tpl);?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['listUserOrders']->value['orderNumber'];?>
<?php }?></td>
                <td valign="middle" align="left">
                    <?php echo $_smarty_tpl->tpl_vars['listUserOrders']->value['subtitle'];?>
<?php echo strip_tags(smarty_mb_wordwrap($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['listUserOrders']->value['billingFirstName']),23,"\n",false));?>

                    
				</td> 
				 <td valign="middle" align="left">
					
                    <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['listUserOrders']->value['billingPhone']);?>

				</td>   
				 <td valign="middle" align="left" class="email">
                    <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['listUserOrders']->value['customer_email']);?>

				</td>  
				<td valign="middle" align="left">
                    <?php echo $_smarty_tpl->tpl_vars['listUserOrders']->value['productTitle'];?>

				</td>  				
                <td valign="middle" align="left"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['listUserOrders']->value['orderCreatedDate'],$_smarty_tpl->tpl_vars['date_format']->value);?>
&nbsp;
                    
                    <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['listUserOrders']->value['orderCreatedDate'],$_smarty_tpl->tpl_vars['time_format']->value);?>
</td>
                
              </tr>
               <?php }
if (!$_smarty_tpl->tpl_vars["listUserOrders"]->_loop) {
?>
                <tr>
                  <td colspan="6"><div class="message_info"> <?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div></td>
                </tr>
                <?php } ?>
              </tbody>
              <tfoot>
              	<td colspan="6" align="left" valign="middle"><?php if ($_smarty_tpl->tpl_vars['resListUserOrders']->value){?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"order/index/",'class'=>"fixing_right",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblDashViewAll']),$_smarty_tpl);?>
<?php }?></td>
              </tfoot>
              </table>
               <?php }?> 
              
              </div>
              </div>
       <?php }?>       
      <!--End:Left Block-->
     
      <!--End:Right Block-->
    
    <!--End:Dash Boaddiv-->
  </div>
  </div>
  <!--***********************************************************************END CONTAINER SECTION******************************************************-->
  <!--End:Content Container-->
      <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>


</div>
<!--End:Outer Container-->
<div style="height:25px;"></div>
 <div   id="blockUILoader" style="display:none;">
<img alt="Loading...." src="<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
/spinner-big.gif">
</div>
<!--End:Outer Container-->
<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->rootpath_script(array(),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->basepath_script(array(),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/jquery-ui-1.10.2.custom.min.js"></script>
<script type="text/javascript" >
var errDate	=	"<?php echo $_smarty_tpl->tpl_vars['language']->value['errDate'];?>
";
</script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/date.js"></script>
<script type="text/javascript" defer="defer" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/daterangepicker.jQuery.js"></script>
<script type="text/javascript" defer="defer" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.multiselect.widget.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/index.page.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.blockUI.js"></script>
</body>
</html>
<?php }} ?>