?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Policies/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Policies/createdeclaration.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loaddeclaration('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <link rel="stylesheet" href="<?=base_url()?>/assets/css/ui.all.css" type="text/css" /> <script type="text/javascript" src="<?=base_url()?>/assets/js/ui.core.js"></script> <script type="text/javascript" src="<?=base_url()?>/assets/js/ui.sortable.js"></script> <script type="text/javascript" src="<?=base_url()?>/assets/js/ui.draggable.js"></script> <style type="text/css"> #sortable { list-style-type: none; margin: 0; padding: 0; width: 100%; } #sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; height: 18px; cursor: move; } #sortable li span { position: absolute; margin-left: -1.3em; } #sortable label:hover {background: #FFFFED; border:1px dotted #aaa; } #draggable { cursor: move;} #draggable1 { cursor: move;} #draggable2 { cursor: move;} #templateform li{cursor: move;} #templateform li label{cursor: move;} #extratemplateform li{cursor: move;} #extratemplateform li label{cursor: move;} </style> <script type="text/javascript"> $(function() { //$("#sortable").sortable(); //$("#sortable").disableSelection(); $("#draggable").draggable(); $("#draggable1").draggable(); $("#draggable2").draggable(); $("#templateform").sortable(); $("#templateform").disableSelection(); $("#extratemplateform").sortable(); $("#extratemplateform").disableSelection(); $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); }); </script> <script type="text/javascript" src="<?=base_url()?>/assets/js/jquery.form.js"></script> <?php $attributes = array('id' => 'customForm','class' => 'new1'); echo form_open_multipart('policies/adddeclaration',$attributes);?> <fieldset> <ul> <li><table><tr><td>Choose Policy No</td><td><img id="inliexample2" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage" onclick="showpolicynodiv()" /></td> <td>Choose Template</td><td><img id="inliexample3" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage" onclick="searchtemplate(document.getElementById('coverid_hidden').value)"/></td> </tr></table> </li> <div id="rendet" > </div> </ul> </fieldset> <fieldset><legend> Declaration Contents</legend> <ul id="sortable" > <li style="margin-left: 330px; height: 30px;" > <input type="text" name="template_header" value="Header Of The Template" style="width:250px;"/> <!--label id="headerlabel" ondblclick="updateheader('headerlabel')"> Header of the template</label--> </li> <li style="float:right;"><label style="width:60px; ">Date</label> <input type="text" name="declarationdate" style="background-image: url(../../../../assets/images/datefocus.gif);" class="one" id="declarationdate" value="<?php echo date("d-m-Y");?>" readonly></li> <input type="hidden" name="custid" id="custid"> <input type="hidden" name="quotation_ref" id="quotation_ref"> <input type="hidden" name="cover" id="cover_hidden"> <input type="hidden" name="coverid" id="coverid_hidden"> <input type="hidden" name="insured" id="insured_hidden"> <input type="hidden" name="policyno" id="policyno_hidden"> <input type="hidden" name="policyid" id="policyid_hidden"> <input type="hidden" name="fdatepolicyperiod" id="fdatepolicyperiod"> <input type="hidden" name="todatepolicyperiod" id="todatepolicyperiod"> <input type="hidden" name="policyperiodid" id="policyperiodid"> <input type="hidden" name="estsuminsured_hidden" id="estsuminsured_hidden"> <input type="hidden" name="insurance_company_id" id="insurance_company_id"> <input type="hidden" name="brokerage_policy" id="brokerage_policy"> <div id="templateform"> </div> <div id="extratemplateform"> </div> <input type="hidden" name="isnewadded" id="isnewadded" value=""/> </ul> <li> <button type="submit" id="submit" class="clickimage" onclick="return vali();">Save</button> </li> </fieldset> <?php echo form_close();?> <div class="cssbox" id="draggable"> <div class="cssbox_head"> <h2>Form Tools</h2></div> <div class="cssbox_body"> <fieldset> <ul> <li onClick="addAllInputs('extratemplateform','text');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Text Box</span></li> <li onClick="addAllInputs('extratemplateform','textarea');"><img alt="" src="<?=base_url()?>/assets/images/textarea.png" align="left"><span>Text Area</span></li> <li onClick="addAllInputs('extratemplateform','combobox');"><img alt="" src="<?=base_url()?>/assets/images/dropdown.png" align="left"><span>Drop Down</span></li> </ul> </fieldset> </div> </div> <div class="cssbox" id="draggable1"> <div class="cssbox_head"> <h2>Form Tools</h2></div> <div class="cssbox_body"> <fieldset> <ul> <li onClick="addstaticfield('templateform','Interest & Sum Insured','suminsured');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>I & S.Insured</span></li> <li onClick="addstaticfield('templateform','Insured','insured');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Insured</span></li> <li onClick="addstaticfield('templateform','Business','business');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Business</span></li> <li onClick="addstaticfield('templateform','Premium','premium');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Premium</span></li> <li onClick="addstaticfield('templateform','Brokerage','brokerage');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Brokerage</span></li> <li onClick="addstaticfield('templateform','Policy Fees','policyfees');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Policy Fees</span></li> <li onClick="addstaticfield('templateform','Rate','rate');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Rate</span></li> <li onClick="addstaticfield('templateform','Period Of Insurance','periodofinsurance');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>P.Insurance</span></li> </ul> </fieldset> </div> </div> <div class="cssbox" id="draggable2" > <div class="cssbox_head"> <h2>Form Tools</h2></div> <div class="cssbox_body"> <fieldset> <ul> <li onClick="addstaticfield('templateform','Mode Of Conveyance','modeofconveyance');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>M.f.Convey</span></li> <li onClick="addstaticfield('templateform','Voyage','voyage');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Voyage</span></li> <li onClick="addstaticfield('templateform','Certificate Reference No','certificaterefno');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Cert.Ref:No</span></li> <li onClick="addstaticfield('templateform','Certificate No','certificateno');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Certificate NO</span></li> <li onClick="addstaticfield('templateform','Project Period','projectperiod');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Project Period</span></li> <li onClick="addstaticfield('templateform','Policy No','policyno');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Policy No</span></li> <li onClick="addstaticfield('templateform','Cover','cover');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Cover</span></li> <li onClick="addstaticfield('templateform','Policy Period','policyperiod');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Policy Period</span></li> <li onClick="addstaticfield('templateform','Estimated Annual Sum Insured','estimatedsuminsured');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Est.Ann.S.Insured</span></li> <li onClick="addstaticfield('templateform','Estimated Annual Turn Over','estimatedturnover');"><img alt="" src="<?=base_url()?>/assets/images/textbox.png" align="left"><span>Est.Ann.Turnover</span></li> </ul> </fieldset> </div></div>