<?php
/* Smarty version 3.1.30, created on 2023-03-07 20:22:53
  from "/home/vithprat/leadspro.co.in/templates/partyList.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_64074fc537dc76_63743073',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '37367df09e5a72f8d332ae0f9260a7c0100b2c6d' => 
    array (
      0 => '/home/vithprat/leadspro.co.in/templates/partyList.tpl',
      1 => 1522045912,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_64074fc537dc76_63743073 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_17333189564074fc52d3032_87432606', 'head');
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_158070872764074fc5377e31_65332215', 'body');
$_smarty_tpl->inheritance->endChild();
$_smarty_tpl->_subTemplateRender("file:./main.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 2, false);
}
/* {block 'head'} */
class Block_17333189564074fc52d3032_87432606 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<?php
}
}
/* {/block 'head'} */
/* {block 'body'} */
class Block_158070872764074fc5377e31_65332215 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<form action="partyList.php" method="POST">
<table border="1" align="center" cellspacing="0"  width="100%">
	<h2 align="center">Party List</h2>
<thead>
	<tr>
		<th class="table1">&nbsp;</th>
		<th class="table1">&nbsp;</th>
		<th class="table1">Party Name</th>
		<th class="table1">Address</th>
		<th class="table1">Mobile</th>
		<th class="table1">Narration</th>
		<th class="table1">Party Type</th>
		<th class="table1">Fine</th>
		<th class="table1">Amount</th>
		<th class="table1">Delete All</th>
  </tr>
</thead>
<tbody>
  <?php
$__section_sec_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec'] : false;
$__section_sec_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['partyListArray']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec_0_total = $__section_sec_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = new Smarty_Variable(array());
if ($__section_sec_0_total != 0) {
for ($__section_sec_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] = 0; $__section_sec_0_iteration <= $__section_sec_0_total; $__section_sec_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']++){
?>
  <tr>
  	<td class="table1" align="center"><a href="party.php?partyId=<?php echo $_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyId'];?>
" style="text-decoration:none;" class="link">Edit</a></td>
  	<td class="table1" align="center"><a href="partyDelete.php?partyId=<?php echo $_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')"; class="link"><img src="img/delete.png"></a></td>
  	<td class="table1" align="center"><?php echo $_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyName'];?>
</td>
  	<td class="table1" align="center"><?php echo $_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['address'];?>
</td>
  	<td class="table1" align="center"><?php echo $_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['mobile'];?>
</td>
  	<td class="table1" align="center"><?php echo $_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['otherInfo'];?>
</td>
	<?php if ($_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyType'] == 'V') {?>
	  <td class="table1" align="center">Vepari</td>
	<?php } else { ?>
	  <td class="table1" align="center">Client</td>
	<?php }?>
	<td class="table1" align="center"><?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['totoKg']);?>
</td>
	<td class="table1" align="center"><?php echo sprintf("%.3f",$_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['totAmt']);?>
</td>
	<td class="table1" align="center"><a href="clientdeleteNew.php?partyId=<?php echo $_smarty_tpl->tpl_vars['partyListArray']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')"; class="link"><img src="img/delete.png"></a></td>
  </tr>
  <?php
}
}
if ($__section_sec_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = $__section_sec_0_saved;
}
?>
</tbody>
</table>
</form>
<?php
}
}
/* {/block 'body'} */
}
