<?php
/* Smarty version 3.1.30, created on 2023-03-07 17:19:38
  from "/home/vithprat/leadspro.co.in/templates/party.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_640724d24adbc0_20658151',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '7c1ea19deb078f27220e2029364dd326d18e20bf' => 
    array (
      0 => '/home/vithprat/leadspro.co.in/templates/party.tpl',
      1 => 1522045912,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_640724d24adbc0_20658151 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_function_html_options')) require_once '/home/vithprat/leadspro.co.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_1859088129640724d24853d9_14875052', 'head');
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_392260150640724d24aa855_15623105', '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_1859088129640724d24853d9_14875052 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_392260150640724d24aa855_15623105 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'} */
}
