<?php
/* Smarty version 3.1.30, created on 2022-05-13 16:28:59
  from "/home/vithprat/paribombay.co.in/templates/mcxAll.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_627e39f33a2263_03928308',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '034be2e6a318b398d30021eda2193cf1b49102c7' => 
    array (
      0 => '/home/vithprat/paribombay.co.in/templates/mcxAll.tpl',
      1 => 1490146616,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_627e39f33a2263_03928308 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_function_html_select_date')) require_once '/home/vithprat/paribombay.co.in/include/smarty/libs/plugins/function.html_select_date.php';
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>

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

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

<?php echo '<script'; ?>
 type="text/javascript">
function myFunction()
{
	if(confirm("Are You Sure To Delete")== true)
	{
		return true;
	}
	else
	{
		return false;
	}
}
<?php echo '</script'; ?>
>
<style>
td{
  text-align: center;
  font-weight: bold;
}
.main{
  border:none;
}
</style>
<?php
}
}
/* {/block 'head'} */
/* {block 'body'} */
class Block_350374715627e39f339d6d7_51152541 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<form name="partyForm"action="<?php echo $_SERVER['PHP_SELF'];?>
" method="POST">
<h1 align="center"><font size="5px">Mcx All List</font></h1>
<table cellpadding="3" cellspacing="0" border="" align="center" width=90<?php echo '%>';?>
	<tr>
	<td class="main">To
	  <?php echo smarty_function_html_select_date(array('prefix'=>"toDt",'start_year'=>"-1",'end_year'=>"+0",'day_value_format'=>"%02d",'field_order'=>"DMY"),$_smarty_tpl);?>

	</td>
	<td class="main">From
	  <?php echo smarty_function_html_select_date(array('prefix'=>"fromDt",'start_year'=>"-1",'end_year'=>"+0",'day_value_format'=>"%02d",'field_order'=>"DMY"),$_smarty_tpl);?>

	</td>
	<td class="main">
	  <input type="submit" name="submit" value="Submit">
	</td>
  </tr>
  </table>
<br><br>
<table cellpadding="3" cellspacing="0" border="" align="center" width=90<?php echo '%>';?>
  <tr>
    <td>Type</td>
    <td>Date</td>
    <td>Name</td>
    <td>Rate</td>
    <td>K.G.</td>
  </tr>
  <?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['clientDetail']->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']++){
?>
   <?php if ($_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['transType'] == 'A') {?>
   <tr style="color:Green;">
     <td>Aavak</td>
     <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['transDate'];?>
</td>
     <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyName'];?>
</td>
     <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rate'];?>
</td>
     <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['kg'];?>
</td>
  </tr>
  <?php } else { ?>
     <tr style="color:Red;">
		 <td>Javak</td>
		 <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['transDate'];?>
</td>
		 <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['partyName'];?>
</td>
		 <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['rate'];?>
</td>
		 <td><?php echo $_smarty_tpl->tpl_vars['clientDetail']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_sec']->value['index'] : null)]['kg'];?>
</td>
     </tr>
  <?php }?>
  <?php
}
}
if ($__section_sec_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_sec'] = $__section_sec_0_saved;
}
?>
</table>
<?php
}
}
/* {/block 'body'} */
}
