<?php /* Smarty version Smarty-3.1.11, created on 2017-11-01 14:16:29
         compiled from "application\views\templates\inviteinevent.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1932359a7e26f505274-53020579%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a30d416c090ec4fa06cd845d34a15d7aa33eedfc' => 
    array (
      0 => 'application\\views\\templates\\inviteinevent.tpl',
      1 => 1509430508,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1932359a7e26f505274-53020579',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_59a7e26f622532_99538117',
  'variables' => 
  array (
    'data' => 0,
    'evenininvite' => 0,
    'eventwise' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_59a7e26f622532_99538117')) {function content_59a7e26f622532_99538117($_smarty_tpl) {?><style type="text/css">
	.form-group {
 	   margin-bottom: 2px !important;
	}
	.form-control{
		padding: 0rem 0rem !important;
	}
	}

</style>
<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-info 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">
					<div class="panel panel-default">
	           		  	<div class="panel-heading">                                
							<h3 class="panel-title">
								<h2>
									<span class="fa fa-user"></span>
									EVENT WISE INVITING LIST
								</h2>
							</h3>
	                        <ul class="panel-controls  pull-right">
	                            <a href="<?php echo $_smarty_tpl->tpl_vars['data']->value['base_url'];?>
inviteinevent/create">
	                            	<button class="btn btn-small btn-success">ADD   EVENT WISE INVITING LIST</button>
	                            </a>
	                        </ul>
	                    </div>
	                    <div class="panel-body">
	                    	<!-- <table class="table datatable" id="customers2">
	                        	<thead>
									<tr>
										<th>Event Name</th>
										<th>Adult</th>
										<th>Child</th>
										<th>Total Member</th>
										<th>Action</th>
									</tr>
								</thead>
								<tbody>
									<?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['evenininvite']->value) ? 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']);
?>
									<tr>
										<td><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['evenininvite']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'], 'UTF-8');?>
</td>
										<td>
											<a href="<?php echo $_smarty_tpl->tpl_vars['data']->value['base_url'];?>
inviteinevent/eventwiseview/<?php echo $_smarty_tpl->tpl_vars['evenininvite']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'];?>
">	<span class="btn btn-primary">
													<i class="fa fa-eye"></i> View
												</span>
        									</a>
        									
        									<a href="<?php echo $_smarty_tpl->tpl_vars['data']->value['base_url'];?>
report/invite_report/<?php echo $_smarty_tpl->tpl_vars['evenininvite']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'];?>
/ExportinPDF" target="_blank">	
        										<span class="btn btn-primary">
													<i class="fa fa-file-pdf-o"></i> 
												</span>
        									</a>
        									<a href="<?php echo $_smarty_tpl->tpl_vars['data']->value['base_url'];?>
report/invite_report/<?php echo $_smarty_tpl->tpl_vars['evenininvite']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'];?>
/ExportinExcel" target="_blank">	
        										<span class="btn btn-primary">
													<i class="fa fa-file-excel-o"></i> Export in Excel
												</span>
        									</a>
        									<a href="<?php echo $_smarty_tpl->tpl_vars['data']->value['base_url'];?>
report/invite_report/<?php echo $_smarty_tpl->tpl_vars['evenininvite']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'];?>
/StickerView" target="_blank">	
        										<span class="btn btn-primary">
													<i class="fa fa-print"></i> Sticker View
												</span>
        									</a>
										</td>
									</tr>
									<?php endfor; endif; ?>
								</tbody>
							</table> -->
							<table class="table datatable" id="customers2">
								<thead>
									<tr>
										<th>Event Name</th>
										<th>Adult</th>
										<th>Child</th>
										<th>Total Member</th> 
										<th>Action</th>
									</tr>
								</thead>
								<tbody>
									<?php echo $_smarty_tpl->tpl_vars['eventwise']->value;?>

								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>
 
 

 <?php }} ?>