<?php
/* Smarty version 3.1.30, created on 2021-07-09 18:54:13
  from "/home/patelin/vedantrey.in/templates/party.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_60e84dfd1d18d9_98633394',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'c203cdd0df555fd9a92883e59da079f690344fc9' => 
    array (
      0 => '/home/patelin/vedantrey.in/templates/party.tpl',
      1 => 1490146616,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_60e84dfd1d18d9_98633394 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_function_html_options')) require_once '/home/patelin/vedantrey.in/include/smarty/libs/plugins/function.html_options.php';
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>

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

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

<?php echo '<script'; ?>
 type="text/javascript">
$(document).ready(function() {
  $('#partyName').focus();
});
function myFunction()
{
	if(confirm("Are You Sure To Delete")== true)
	{
		return true;
	}
	else
	{
		return false;
	}
}
<?php echo '</script'; ?>
>
<?php
}
}
/* {/block 'head'} */
/* {block 'body'} */
class Block_189388651660e84dfd1cc9d9_91092855 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<form name="partyForm"action="<?php echo $_SERVER['PHP_SELF'];?>
" method="POST" onsubmit="return confirm('DO You Want To Submit !!!!!')";>
<input type="hidden" name="partyId" value="<?php echo $_smarty_tpl->tpl_vars['partyId']->value;?>
">
<table cellpadding="2" cellspacing="0" border="" align="center">
  <tr>
    <td colspan="2" align="center">
      <h1><font size="5px">Party Entry</font></h1>
    </td>
  </tr>
   <tr>
    <th align="right">Party Type :</th>
    <td>
	  <select name="partyType" required>
	     <option value="">Select Party Type</option>
	    <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['partyTypeValue']->value,'output'=>$_smarty_tpl->tpl_vars['partyTypeOutput']->value,'selected'=>$_smarty_tpl->tpl_vars['partyType']->value),$_smarty_tpl);?>

	  </select>
	</td>
  </tr>
  <tr>
    <th align="right">Party Name :</th>
    <td><input type="text" name="partyName" id="partyName" size="24" REQUIRED value="<?php echo $_smarty_tpl->tpl_vars['partyName']->value;?>
"/></td>
  </tr>
  <tr>
    <th align="right" valign="top">Address :</th>
    <td><textarea cols="19" name="address" rows="6"><?php echo $_smarty_tpl->tpl_vars['address']->value;?>
</textarea></td>
  </tr>
  <tr>
    <th align="right">Mobile :</th>
    <td><input type="text" name="mobile" size="24" value="<?php echo $_smarty_tpl->tpl_vars['mobile']->value;?>
"></td>
  </tr>
  <tr>
    <th align="right"  valign="top" >Other Information :</th>
    <td>
      <textarea cols="19" name="otherInfo" rows="6"></textarea>  	
    </td>
  </tr>
  <tr>
  	<td colspan="2" align="center"><input type="submit" value="Submit" name="submit" class="btn"></td>
  </tr>
</table>
</form>
<?php
}
}
/* {/block 'body'} */
}
