<?php /* Smarty version Smarty-3.1.11, created on 2017-11-02 11:38:41
         compiled from "application\views\templates\contact_create.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2133059dcd1859be563-01133099%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '048bae06693457c7abd2ffb7879c578066cd2f50' => 
    array (
      0 => 'application\\views\\templates\\contact_create.tpl',
      1 => 1509362326,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2133059dcd1859be563-01133099',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_59dcd185bcdb64_19294536',
  'variables' => 
  array (
    'data' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_59dcd185bcdb64_19294536')) {function content_59dcd185bcdb64_19294536($_smarty_tpl) {?><link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['data']->value['base_url'];?>
assets/ui/jquery-ui.css">
<section id="main" class="container-fluid" style="padding-top: 3px;">
	<div class="row">
		<section id="content-wrapper" class="form-elements">
			
		</section>
	 	<div class="content" >
	 		<div class="row">
	 		<?php if ($_smarty_tpl->tpl_vars['data']->value['message']!=''){?>
	 		<div class="col-sm-12">
	            <div class="alert alert-success alert-dismissible fade in" role="alert">
					<button type="button" class="close" data-dismiss="alert" aria-label="Close">
						<span aria-hidden="true">×</span>
					</button>
					<strong><?php echo $_smarty_tpl->tpl_vars['data']->value['message'];?>
.</strong>
				</div>
			</div>
            <?php }?>
				<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12">	
					<?php if ($_smarty_tpl->tpl_vars['data']->value['contact_details']==''){?>
						<h2>New Contact</h2>
						<form class="form-horizontal" name="services-form" id="services-form" enctype="multipart/form-data" method="post" action="<?php echo $_smarty_tpl->tpl_vars['data']->value['base_url'];?>
contact/create">
							<div class="panel panel-default">
								<div class="col-sm-6">
									<div class="panel-heading">
				                        <h3 class="panel-title">
				                        	<b>PERSONAL DETAILS</b>
				                        </h3>
				                    </div>
				                    <div class="panel-body">
			                        	<div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">CATEGORY <span>*</span></label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<select class="form-control select" name="categoryid[]" id="categoryid"  multiple="">
														<option value="">Select Category Name</option>
														<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['data']->value['category']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
															<option value="<?php echo $_smarty_tpl->tpl_vars['data']->value['category'][$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'];?>
" data-tokens="<?php echo $_smarty_tpl->tpl_vars['data']->value['category'][$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
" ><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['data']->value['category'][$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'], 'UTF-8');?>
</option>
														<?php endfor; endif; ?>
												</select>
			                                	
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">NAME <span>*</span></label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		<input  class="form-control" type="text" id="contactname" name="data[name]" maxlength="100"  required onblur="return detailsfill(this.value);">
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">ADDRESS <span>*</span></label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		 <textarea  class="form-control" id="address" name="data[address]"  required required=""></textarea>
			                                	</div>
			                                </div>
			                            </div>
			                            
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">CITY <span>*</span></label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		 <input  class="form-control" type="text" id="city" name="data[city]" maxlength="100">
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">MOBILE <span>*</span></label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		  
			                                   		  <input  class="form-control" type="text" id="mobile" name="data[mobile]"  >
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">EMAIL</label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		  <input  class="form-control" type="email"   id="email" name="data[email]" >
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">IS MULTIPLE</label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<input type="checkbox"   
			                                    	id="is_multiple" name="data[is_multiple]" value="1" > Yes
			                                	</div>
			                                </div>
			                            </div>
			                        </div>
			                    </div>
			                    <div class="col-sm-6">
									<div class="panel-heading">
				                        <h3 class="panel-title">
				                        	<b>BUSINESS DETAILS</b>
				                        </h3>
				                    </div>
				                    <div class="panel-body">
			                        	
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">FIRM NAME </label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		<input  class="form-control" type="text" id="bname" name="data[bname]" maxlength="100" >
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">PHONE (O) </label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		 <input  class="form-control" type="number" id="bphone" name="data[bphone]" maxlength="15">
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">FAX NO <span>*</span></label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		 <input  class="form-control" type="text" id="bfaxno" name="data[bfaxno]" maxlength="15">
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">WEBSITE <span>*</span></label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		  <input  class="form-control" type="text" id="bwebsite" name="data[bwebsite]" maxlength="100" >
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">EMAIL</label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		 <input  class="form-control" type="email" id="bemail" name="data[bemail]" maxlength="100" >
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
				                            <div class=" col-sm-12">
												<b>BANK DETAILS</b>
											</div>
										</div>
										<div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">BANK NAME </label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		<input  class="form-control" type="text" id="bbankname" name="data[bbankname]" maxlength="100" >
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">BANK ACC NO</label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		<input  class="form-control" type="number" id="bbankaccno" name="data[bbankaccno]" maxlength="55">
			                                	</div>
			                                </div>
			                            </div>
			                            <div class="form-group">
			                        	 	<label class="col-sm-3 col-xs-12 control-label">IFSC CODE</label>
			                        	 	<div class="col-sm-9 col-xs-12"> 
			                        	 		<div class="input-group">
			                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
			                                   		<input  class="form-control" type="text" id="bbankifsc" name="data[bbankifsc]" maxlength="15">
			                                	</div>
			                                </div>
			                            </div>
			                        </div>
			                    </div>
			                    <div class="panel-footer">
			                        <input type="submit" class="btn btn-primary pull-right" value="Save" name="contact">
			                    </div>
								
							</div>
						</form>
		                
	                <?php }else{ ?>
	                <form class="form-horizontal" name="services-form" id="services-form" enctype="multipart/form-data" method="post" action="<?php echo $_smarty_tpl->tpl_vars['data']->value['base_url'];?>
contact/update">
	                <input type="hidden" id="id" name="data[id]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['id'];?>
">
						<div class="panel panel-default">
							<div class="col-sm-6">
								<div class="panel-heading">
			                        <h3 class="panel-title">
			                        	<b>Edit Contact Details</b>
			                        </h3>
			                    </div>
			                    <div class="panel-body">
		                        	<div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">CATEGORY<span>*</span></label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<select class="form-control select" name="categoryid[]" id="categoryid" multiple="">
													<option value="">Select Category Name</option>
													<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['data']->value['category']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
														<option value="<?php echo $_smarty_tpl->tpl_vars['data']->value['category'][$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'];?>
" data-tokens="<?php echo $_smarty_tpl->tpl_vars['data']->value['category'][$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
 " 
														<?php if (in_array($_smarty_tpl->tpl_vars['data']->value['category'][$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'],$_smarty_tpl->tpl_vars['data']->value['cat_select'])){?>
														selected=""
														<?php }?>><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['data']->value['category'][$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'], 'UTF-8');?>
</option>
													<?php endfor; endif; ?>
											</select>
		                                	
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">NAME <span>*</span></label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		<input  class="form-control" type="text" id="name" name="data[name]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['name'];?>
" maxlength="100"  required>
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">ADDRESS <span>*</span></label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		 <textarea  class="form-control" id="address" name="data[address]"  required required=""><?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['address'];?>
</textarea>
		                                	</div>
		                                </div>
		                            </div>
		                            
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">CITY <span>*</span></label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		 <input  class="form-control" type="text" id="city" name="data[city]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['city'];?>
" maxlength="100">
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">MOBILE <span>*</span></label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		  <input  class="form-control" type="text" id="mobile" name="data[mobile]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['mobile'];?>
">
		                                   		  
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">EMAIL</label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		  <input  class="form-control" type="email"   id="email" name="data[email]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['email'];?>
" >
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">IS MULTIPLE</label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<input type="checkbox"   
		                                    	id="is_multiple" <?php if ($_smarty_tpl->tpl_vars['data']->value['contact_details']['is_multiple']=='1'){?> checked="" <?php }?> name="data[is_multiple]" value="1" > Yes
		                                	</div>
		                                </div>
		                            </div>
		                        </div>
		                    </div>
		                    <div class="col-sm-6">
								<div class="panel-heading">
			                        <h3 class="panel-title">
			                        	<b>BUSINESS DETAILS</b>
			                        </h3>
			                    </div>
			                    <div class="panel-body">
		                        	
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">FIRM NAME </label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		<input  class="form-control" type="text" id="bname" name="data[bname]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['bname'];?>
" maxlength="100" >
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">PHONE (O) </label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		 <input  class="form-control" type="number" id="bphone" name="data[bphone]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['bphone'];?>
" maxlength="15">
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">FAX NO <span>*</span></label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		 <input  class="form-control" type="text" id="bfaxno" name="data[bfaxno]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['bfaxno'];?>
" maxlength="15">
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">WEBSITE <span>*</span></label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		  <input  class="form-control" type="text" id="bwebsite" name="data[bwebsite]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['bwebsite'];?>
" maxlength="100" >
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">EMAIL</label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		 <input  class="form-control" type="email" id="bemail" name="data[bemail]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['bemail'];?>
" maxlength="100" >
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
			                            <div class=" col-sm-12">
											<b>BANK DETAILS</b>
										</div>
									</div>
									<div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">BANK NAME </label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		<input  class="form-control" type="text" id="bbankname" name="data[bbankname]" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['bbankname'];?>
" maxlength="100" >
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">BANK ACC NO</label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		<input  class="form-control" type="number" id="bbankaccno" name="data[bbankaccno]" maxlength="55" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['bbankaccno'];?>
">
		                                	</div>
		                                </div>
		                            </div>
		                            <div class="form-group">
		                        	 	<label class="col-sm-3 col-xs-12 control-label">IFSC CODE</label>
		                        	 	<div class="col-sm-9 col-xs-12"> 
		                        	 		<div class="input-group">
		                                    	<span class="input-group-addon"><span class="fa fa-pencil"></span></span>
		                                   		<input  class="form-control" type="text" id="bbankifsc" name="data[bbankifsc]" maxlength="15" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['contact_details']['bbankifsc'];?>
">
		                                	</div>
		                                </div>
		                            </div>
		                        </div>
		                    </div>
		                    <div class="panel-footer">
		                        <input type="submit" class="btn btn-primary pull-right" value="Save" name="contact">
		                    </div>
							
						</div>
					</form>
	                	
		                
	                <?php }?>
	            </div>
	           	
			</div>
		</div>
	</div>
	 
<?php }} ?>