<?php
/* Smarty version 3.1.30, created on 2025-05-14 23:43:22
  from "/home/hgsonsc1/raajaram.co.in/templates/client_open.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_6824dd42c0d028_39638895',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '4be5f4739b5bcf1447d11ffc98ccf58902fdab50' => 
    array (
      0 => '/home/hgsonsc1/raajaram.co.in/templates/client_open.tpl',
      1 => 1747246392,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_6824dd42c0d028_39638895 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>

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

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_13724956566824dd42c0b6c4_37105612', '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_6011640136824dd42b6c275_34323940 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

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

<form name="partyForm"action="<?php echo $_SERVER['PHP_SELF'];?>
" method="POST">
	<table align="center" border="1" width="70%">
		 
		<tr>
			<td>Edit</td>
			<td>Delete</td>
			<td>Party Name</td>
			<td>Particular</td>
			<td>Type</td>
			<td>Date</td>
			<td>K.G.</td>
			<td>Total Amount</td>
		</tr>

	  <?php
$__section_sec1_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1'] : false;
$__section_sec1_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['clientDetail']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_sec1_0_total = $__section_sec1_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_sec1'] = new Smarty_Variable(array());
if ($__section_sec1_0_total != 0) {
for ($__section_sec1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] = 0; $__section_sec1_0_iteration <= $__section_sec1_0_total; $__section_sec1_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']++){
?>
	   <tr>
		<td><a href="cliententry.php?clientId=<?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['clientId'];?>
"><img src="img/edit.png"></a></td>
		<td><a href="mcxdelete.php?clientId=<?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['clientId'];?>
" onclick="return confirm('DO You Want To Delete !!!!!')";><img src="img/delete.png"></a></td>
		 <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['partyName'];?>
</td>
		 <?php if ($_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['cliTransType'] == 'J') {?>
			<td>Javak</td>
		 <?php } else { ?>
			<td>Aavak</td>
		 <?php }?>
		 <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['particular'];?>
</td>
		 <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['cDate'];?>
</td>
		 <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['kg'];?>
</td>
		 <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec1']->value['index'] : null)]['totalAmt'];?>
</td>
	  </tr>
	  <?php
}
}
if ($__section_sec1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec1'] = $__section_sec1_0_saved;
}
?>
	</table>
</form>
<?php
}
}
/* {/block 'body'} */
}
