?> '> </td> </tr> <tr> <td align="right" align="center" > Engine Type: </td> <td align="left" align="center" > <input type=hidden name='fee_id' value=<?php echo $fee_id; ?> >   <?php echo get_select_data($dbLink, 'boat_type', 'ebpls_engine_type', 'engine_type_id', 'engine_type_desc', $boat_type, 'false', '', ''); ?> <input type=hidden name =boat_type1 value="<?php echo $boat_type; ?> " > <input type=submit name='searchfee' value="Search" > </td> </tr> <tr> <td align="right" valign="center" > Number Of Range: </td>
} ?> <body onload="alert('Copy Completed!'); opener.location.reload(true); window.close();"></body> <?php } ?> <form name=_FRM action=''> <input type=hidden name=natureid value="<?php echo $natureid; ?> "> <table border =0 width=60% align=center><Br><br> <tr> <td> Copy from Line of Business </td> <td align=center ><?php echo get_select_data($dbLink, "fromnat", "ebpls_buss_nature", "natureid", "naturedesc", $fromnat, "true", "naturestatus='A' and natureid<>'{$natureid}' order by naturedesc", "onchange='_FRM.submit();'"); ?> </td> </tr> </table> <table border =0 width=70% align=center><Br> <?php $ic = 0; $col1 = 0; $getreq = SelectDataWhere($dbtype, $dbLink, "ebpls_buss_taxfeeother a, ebpls_buss_tfo b", "where a.tfo_id=b.tfoid and a.natureid='{$fromnat}' order by a.mode"); $gt = NumRows($dbtype, $getreq); while ($ic < $gt) { while ($s = FetchArray($dbtype, $getreq)) { $ic++; if ($col1 == 0) { include 'tablecolor-inc.php';
<td align="right" valign="top" class='normal'> <font color="#FF0000"> </font>District : </td> <td align="left" valign="top" class='normal'> <?php echo get_select_data($dbLink, 'owner_district_code', 'ebpls_district', 'district_code', 'district_desc', $owner_datarow[OWNER_DISTRICT_CODE]); ?> </td> <td align="right" valign="top" class='normal'>   </td> <td align="left" valign="top" class='normal'> </td> </tr> <tr> <td align="right" valign="top" class='normal'> <font color="#FF0000"> </font>Province : </td> <td align="left" valign="top" class='normal'> <?php echo get_select_data($dbLink, 'owner_province_code', 'ebpls_province', 'province_code', 'province_desc', $owner_datarow[OWNER_PROVINCE_CODE]); ?> </td> <td align="right" valign="top" class='normal'>   <td align="left" valign="top" class='normal'> </td> </tr> <tr> <td align="center" valign="top" class='normal' colspan=4> </td> </tr> -->
<?php echo get_select_data($dbLink, 'business_main_offc_barangay_code', 'ebpls_barangay', 'barangay_code', 'barangay_desc', $datarow[35]); ?> </td> <td align="right" valign="top" class='normal' > Main Office Phone Number : </td> <td align="left" valign="top" class='normal'> <input type='text' name='business_phone_no' maxlength=255 class='text180' value="<?php echo $datarow[20]; ?> "> </td> </tr> <tr> <td align="right" valign="top" class='normal'> Main Office Zone : </td> <td align="left" valign="top" class='normal'> <?php echo get_select_data($dbLink, 'business_main_offc_zone_code', 'ebpls_zone', 'zone_code', 'zone_desc', $datarow[36]); ?> </td> <td align="right" valign="top" class='normal' > </td> <td align="left" valign="top" class='normal'> </td> </tr> <td colspan="4" align="right" valign="top" class='normal'> </td> </tr> <tr> <td align="center" valign="top" class='subtitleblue' colspan=4 > <img src='images/spacer.gif' height=10 width=10></tr> <tr> <td align="center" valign="top" class='normal' colspan=4> <input type='button' name='_ADDNEW' value='S A V E' onClick='javascript:validate_add_new_business_application();'> <input type='reset' name='_RESET' onClick='' value='R E S E T' >
<tr><td align="center" valign="center" class='titleblue' width='750'> Business Enterprise Permit Application</td></tr> <tr><td align="center" valign="center" class='normal' height=10> </td></tr> <tr> <td align="center" valign="center" class='title'> <form name="_FRM" method="POST" action="" onSubmit=""> <table border=1 cellspacing=1 cellpadding=1 width='520'> <tr><td align="center" valign="top" class='subtitleblue' colspan=4 > Line of Business</td></tr> <tr> <td align="right" valign="top" class='normal' colspan=1> Business Nature : </td> <td align="left" valign="top" class='normal' colspan=3> <?php if (!strcasecmp($mode, 'add')) { echo get_select_data($dbLink, 'business_nature', 'ebpls_business_nature', 'business_nature_code', 'business_nature_desc', ''); } if (!strcasecmp($mode, 'edit')) { list($kud, $nim) = @split(':', $rad_business_nature); echo strtoupper($nim); } ?> <input type='hidden' name='line_bussiness_code_selected' class='text180' value="<?php echo $kud; ?> "> <input type='hidden' name='line_bussiness_name_selected' class='text180' value="<?php echo $nim; ?> ">
</td> </tr> <tr> <td align="right" > <?php echo $htag; ?> Type: </td> <td width=200 align="left" valign="center" > <input type=hidden name='culture_id' value=<?php echo $rr[0]; ?> >   <?php echo get_select_data($dbLink, 'culture_type', 'ebpls_fish_description', 'fish_id', 'fish_desc', $rr[1], 'false', '', ''); ?> </td> <td width=200><input type=submit name='searchfee' value="Search" > </td> </tr> <?php if ($updateit != 1 || $ftag == 'Save') { if ($fee_type == 3) { $f3 = 'selected'; } elseif ($fee_type == 2) { $f2 = 'selected'; } else { $f1 = 'selected'; } ?>
?> <input type=hidden name=compid[<?php echo $varme; ?> ] value=<?php echo $comp_tfo[compid]; ?> > <?php } $staxfee = SelectMultiTable($dbtype, $dbLink, "ebpls_buss_preference", "sassess", ""); $prefset = FetchArray($dbtype, $staxfee); $sassess = $prefset['sassess']; // per estab if ($sassess == 1) { echo get_select_data($dbLink, 'complex_tfo[' . $varme . ']', 'ebpls_buss_tfo a, ebpls_buss_taxfeeother b', 'taxfeeid', 'tfodesc', $complex_tfo[$varme], 'true', "a.tfoid= b.tfo_id and b.natureid={$natureid} and a.tfostatus='A' and b.taxtype={$TaxType} order by taxfeeid", ''); } else { echo get_select_complex_reg($dbLink, 'complex_tfo[' . $varme . ']', 'ebpls_buss_tfo a, ebpls_buss_taxfeeother b', 'taxfeeid', 'tfodesc', $complex_tfo[$varme], 'true', "a.tfoid= b.tfo_id and b.natureid={$natureid} and a.tfostatus='A' and b.taxtype={$TaxType} order by taxfeeid", ''); } ?> </td> </tr> <?php } if ($complex_formula == '') { $complex_formula = "X0"; } ?> <tr><td>Formula</td> <td><input type=text name=complex_formula value="<?php
echo $datarow['paidemp']; ?> ' onchange='javascript:flagchange(changeondin);'></td> </tr> <tr> <td align=right size=10 class=normal>Economic Organization :</td> <td align=left> <?php echo get_select_data($dbLink, 'ecoorg', 'ebpls_economic_org', 'economic_org_id', 'economic_org_desc', $datarow['ecoorg'], 'true', '', "onchange='javascript:flagchange(changeondin);'"); ?> </td> <td align=right size=5 class=normal>Economic Area :</td> <td align=left> <?php echo get_select_data($dbLink, 'ecoarea', 'ebpls_economic_area', 'economic_area_id', 'economic_area_desc', $datarow['ecoarea'], 'true', '', "onchange='javascript:flagchange(changeondin);'"); ?> </select> </td> </tr> <tr> <td align=right size=10 class=normal>Business Type :</td> <td align=left> <select name=biztype class=select100 onchange='javascript:flagchange(changeondin);_FRM.submit();'> <option value='Main' <?php echo $mtag; ?> >Main</option> <option value='Franchise' <?php echo $ftag;