<?php /* Smarty version Smarty-3.1.8, created on 2019-11-25 09:33:12
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/ServicecenterList.tpl" */ ?>
<?php /*%%SmartyHeaderCode:6993411925da85fda09fef5-09756163%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b1cfc0b673350f5494c29668dcc8df9f76e2b24c' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/ServicecenterList.tpl',
      1 => 1574165223,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6993411925da85fda09fef5-09756163',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da85fda154587_61402407',
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'view_javascript' => 0,
    'listBrand' => 0,
    'listServices' => 0,
    'editPrivilege' => 0,
    'deletePrivilege' => 0,
    'service' => 0,
    'classes' => 0,
    'serviceID' => 0,
    'statusoptions' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da85fda154587_61402407')) {function content_5da85fda154587_61402407($_smarty_tpl) {?><!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['lblManageServiceCenters'];?>
</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 ('CommonCustomStyles.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 rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/grid_listing.css" />
			<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/right-menu.css" />
			<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/table.plugin.js"></script>
			</head><body>
			<div class="outer_container"> <?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_container2 clearfix">
				<div class="right-sidebar">
				  <div class="side_wrapper"> 
				   <ul>
					   <li>
					   <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('priv_href'=>"servicecenter/new/",'href'=>"servicecenter/new/",'class'=>"custom-btnt",'content'=>" <strong><span class='add'></span>".($_smarty_tpl->tpl_vars['language']->value['lblAddNewServiceCenters'])."</strong>",'title'=>($_smarty_tpl->tpl_vars['language']->value['lblAddNewServiceCenters'])." "),$_smarty_tpl);?>

					   </li>
						<li>
							<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('priv_href'=>"servicecenter/index/",'href'=>"servicecenter/index/",'class'=>"side_menu_a",'content'=>"<strong>".($_smarty_tpl->tpl_vars['language']->value['lblManageServiceCenters'])."</strong> <br><span>".($_smarty_tpl->tpl_vars['language']->value['lblManageServiceCenters'])."</span>"),$_smarty_tpl);?>

						</li>
						 </ul>
				  </div>
				</div>
				<!--End: Right Block-->
				<div class="left_wrapper">
				  <div class="content_wrapper">
					<h2><?php echo $_smarty_tpl->tpl_vars['language']->value['lblManageServiceCenters'];?>
</h2>
					<div class="inner_content_wrapper"> 
					  <div id="common_message"></div>
					  
					  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formSearch",'action'=>'','method'=>"post",'enctype'=>"multipart/form-data"),$_smarty_tpl);?>

						<div class="search_container">
						  <div class="inner single-box">
							<ul class="clearfix">	
								<li class="column">
									<p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblName'];?>
</p>
									<span class="form-field01">
										<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('class'=>"select-box",'name'=>"searchName"),$_smarty_tpl);?>
 			                 
										</span>
								</li>
								<li class="column">
									<p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEmailID'];?>
</p>
									<span class="form-field01">
										<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('class'=>"select-box",'name'=>"searchEmail"),$_smarty_tpl);?>
 			                 
										</span>
								</li>	
								<li class="column">
									<p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuBrands'];?>
</p>
									<span class="form-field01">
										<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('class'=>"select-box",'name'=>"brandID",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'options'=>$_smarty_tpl->tpl_vars['listBrand']->value),$_smarty_tpl);?>
			                 
										</span>
								</li>
								<li class="column">
									<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"search",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSearch']),'class'=>"button01 margin-r-10"),$_smarty_tpl);?>
 
									<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/servicecenter/index/",'class'=>"action-link",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblListAll'])),$_smarty_tpl);?>

								</li>
							   </ul>
						  </div>
						</div>
						
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

						<?php if ($_smarty_tpl->tpl_vars['listServices']->value){?>
						<?php echo $_smarty_tpl->getSubTemplate ('ContentLanguageOptions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

						<div class="clear"></div>
						<?php }?>
		
					  <?php if ($_smarty_tpl->tpl_vars['listServices']->value){?>
					  <div class="grid_table00"> 
					   <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formList",'action'=>'','method'=>"post",'enctype'=>"multipart/form-data"),$_smarty_tpl);?>
 
					   <table width="100%" border="0" cellspacing="0" cellpadding="0"   >
						  <tr>
						  

							<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?><th align="left" valign="middle"  class="checkbox_column" width="5%"> <div class="chekingdiv">
								<ul>
								  <li> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>"ListStatusLinkCheckbox",'id'=>"ListStatusLinkCheckbox",'class'=>"fixing_left",'value'=>''),$_smarty_tpl);?>

									<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','id'=>"ListStatusLink",'class'=>"status-arw fixing_left",'alt'=>"down arrow"),$_smarty_tpl);?>

									<ul id="ListStatusSelection"  class="check_status">
									  <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','rel'=>"ListActive",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblActive']),$_smarty_tpl);?>
</li>
									  <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','rel'=>"ListInactive",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblInactive']),$_smarty_tpl);?>
</li>
									  <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','rel'=>"ListAll",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblSelectAll']),$_smarty_tpl);?>
</li>
									</ul>
								  </li>
								</ul>
							  </div></th><?php }?>

							  
							<th  align="left" valign="middle"  width="20%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblName'];?>
</th>
							<th  align="left" valign="middle"  width="20%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuBrands'];?>
</th>
							<th  align="left" valign="middle"  width="20%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEmailID'];?>
</th>
							<th  align="left" valign="middle"  width="20%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPhone'];?>
</th>
							

							<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
							<th width="10%" align="left" valign="middle" > </th>
							<?php }?>
						  </tr>
		
						  <?php  $_smarty_tpl->tpl_vars['service'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['service']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['listServices']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['service']->key => $_smarty_tpl->tpl_vars['service']->value){
$_smarty_tpl->tpl_vars['service']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['service']->key;
?>
						  <?php $_smarty_tpl->tpl_vars["serviceID"] = new Smarty_variable($_smarty_tpl->tpl_vars['service']->value['serviceID'], null, 0);?>
						
						  <tr class="shade01">
								
								<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
									<?php if ($_smarty_tpl->tpl_vars['service']->value['status']=="A"){?>
										<?php $_smarty_tpl->tpl_vars["classes"] = new Smarty_variable("ListActive", null, 0);?>
									<?php }elseif($_smarty_tpl->tpl_vars['service']->value['status']=="I"){?>
										<?php $_smarty_tpl->tpl_vars["classes"] = new Smarty_variable("ListInactive", null, 0);?>
									<?php }?>
									<td align="left" valign="middle" class="checkbox_column">
										  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>"serviceID[]",'class'=>"adminUserBulkStatus checkbox01 ListAll 
											List ".($_smarty_tpl->tpl_vars['classes']->value)." ",'options'=>'','value'=>$_smarty_tpl->tpl_vars['serviceID']->value),$_smarty_tpl);?>
										
									</td>
									
								<?php }?>
								<td align="left" valign="middle">
									<?php echo $_smarty_tpl->tpl_vars['service']->value['name'];?>

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

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

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

								</td>		
								
							<?php if ($_smarty_tpl->tpl_vars['deletePrivilege']->value||$_smarty_tpl->tpl_vars['editPrivilege']->value){?>
							<td align="left" valign="top">
								<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>
									<?php if ($_smarty_tpl->tpl_vars['service']->value['status']=="A"){?>
										<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('title'=>"Change Status",'class'=>"changeStatus status-active icon-set",'id'=>($_smarty_tpl->tpl_vars['serviceID']->value),'rel'=>"I"),$_smarty_tpl);?>
  
									<?php }elseif($_smarty_tpl->tpl_vars['service']->value['status']=="I"){?>
										<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('title'=>"Change Status",'class'=>"changeStatus status-inactive icon-set",'id'=>($_smarty_tpl->tpl_vars['serviceID']->value),'rel'=>"A"),$_smarty_tpl);?>

									<?php }?>

									<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"servicecenter/edit/id/".($_smarty_tpl->tpl_vars['serviceID']->value)."/",'class'=>"edit02 icon-set",'title'=>"Edit",'caption'=>'','history'=>"yes"),$_smarty_tpl);?>

								<?php }?>
								<?php if ($_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
									<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('confirm'=>($_smarty_tpl->tpl_vars['language']->value['msgDeleteItem']),'confirm_head'=>$_smarty_tpl->tpl_vars['language']->value['lblDelete'],'href'=>"servicecenter/destroy/id/".($_smarty_tpl->tpl_vars['serviceID']->value)."/",'title'=>($_smarty_tpl->tpl_vars['language']->value['lblDelete']),'class'=>"delete02 icon-set",'serviceID'=>($_smarty_tpl->tpl_vars['serviceID']->value)),$_smarty_tpl);?>

								<?php }?> 
							</td>
							<?php }?>
						  </tr>
						  <?php } ?>
						 
						</table>
						</div>
			
						<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
							<?php if ($_smarty_tpl->tpl_vars['deletePrivilege']->value&&$_smarty_tpl->tpl_vars['editPrivilege']->value){?>
							<?php $_smarty_tpl->tpl_vars["statusoptions"] = new Smarty_variable("->".($_smarty_tpl->tpl_vars['language']->value['lblDonotchange'])."~*A->".($_smarty_tpl->tpl_vars['language']->value['lblActivate'])."~*I->".($_smarty_tpl->tpl_vars['language']->value['lblInactivate'])."~*D->".($_smarty_tpl->tpl_vars['language']->value['lblDelete']), null, 0);?>
							<?php }elseif($_smarty_tpl->tpl_vars['deletePrivilege']->value&&(!$_smarty_tpl->tpl_vars['editPrivilege']->value)){?> 
							<?php $_smarty_tpl->tpl_vars["statusoptions"] = new Smarty_variable("->".($_smarty_tpl->tpl_vars['language']->value['lblDonotchange'])."~*D->".($_smarty_tpl->tpl_vars['language']->value['lblDelete']), null, 0);?> 
							<?php }elseif((!$_smarty_tpl->tpl_vars['deletePrivilege']->value)&&$_smarty_tpl->tpl_vars['editPrivilege']->value){?> 
							<?php $_smarty_tpl->tpl_vars["statusoptions"] = new Smarty_variable("->".($_smarty_tpl->tpl_vars['language']->value['lblDonotchange'])."~*A->".($_smarty_tpl->tpl_vars['language']->value['lblActivate'])."~*I->".($_smarty_tpl->tpl_vars['language']->value['lblInactivate']), null, 0);?> 
					  <?php }?> 
						
						<div class="action_box">
							<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"select_Status",'class'=>"select-box width-auto",'options'=>$_smarty_tpl->tpl_vars['statusoptions']->value,'value'=>''),$_smarty_tpl);?>

							<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"changeStatus",'id'=>"submitBulkStatus",'class'=>"button04",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblUpdate'])),$_smarty_tpl);?>

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

						<div class="fixing_right pagination_outer" ><?php echo $_smarty_tpl->smarty->registered_objects['paginate'][0]->layout(array('key'=>"page",'label_record'=>($_smarty_tpl->tpl_vars['language']->value['lblRecorsFound']),'label_pages'=>($_smarty_tpl->tpl_vars['language']->value['lblPages'])),$_smarty_tpl);?>
 </div>
						<div class="clear"></div>
						<?php }else{ ?>
						<div class="message_info" id="common_message"><?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div>
						<?php }?>
					  <!--End:From Listing--> 
					</div>
					<!--End:Border 3--> 
				  </div>
				  <!--End:Border 2--> 
				</div>
				<!--End: left Block-->
				<div class="clear"></div>
			  </div>
			  <!--End: Content--> 
	
			  <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 </div>
			<!--***********************************************************************END CONTAINER SECTION******************************************************--> 
			<!--End:Content Container--> 
			<!--End:Outer Container--> 
			<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
			
			<script type="text/javascript">
			var msgDeleteItem	= "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgDeleteItem'];?>
";
			var msgSelectItem	= "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectItem'];?>
";
			var lblSelectAction			= "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectAction'];?>
";
			var lblSelectItem			= "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectItem'];?>
";
			var msgSelectSearchCriteria	= "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectSearchCriteria'];?>
";
			</script>
			<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/servicecenterList.page.js"></script> 
			<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

			</body>
			</html>

		<?php }} ?>