ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/admin/erp_231024/ |
Upload File : |
<?php /* * * 상품 예약 > voucher ajax * */ include "../include/top_proc.html"; $upload = "/FileData/good/"; $upload_thum = "/FileData/good_thum/"; // 신규예약 if(!$SqlType) $SqlType="voucher_update"; // 기존 예약정보 if($v_idx){ $sql4 = "select * from TB_ERP_VOUCHER where v_idx='{$v_idx}'"; $rs4 = db_query($sql4); $row4 = db_fetch_array($rs4) ; $row4['img_src'] = $upload . $row4['meeting_place']; $code_count = "0"; if($row4['code1']) { //array('voucher code','person name','persons','person nationality') $code1 = explode("::",$row4['code1']); $code_count++; } if($row4['code2']) { $code2 = explode("::",$row4['code2']); $code_count++; } if($row4['code3']) { $code3 = explode("::",$row4['code3']); $code_count++; } if($row4['code4']) { $code4 = explode("::",$row4['code4']); $code_count++; } if($row4['code5']) { $code5 = explode("::",$row4['code5']); $code_count++; } if($row4['code6']) { $code6 = explode("::",$row4['code6']); $code_count++; } if($row4['code7']) { $code7 = explode("::",$row4['code7']); $code_count++; } if($row4['code8']) { $code8 = explode("::",$row4['code8']); $code_count++; } if($row4['code9']) { $code9 = explode("::",$row4['code9']); $code_count++; } if($row4['code10']) { $code10 = explode("::",$row4['code10']); $code_count++; } if($row4['code11']) { $code11 = explode("::",$row4['code11']); $code_count++; } if($row4['code12']) { $code12 = explode("::",$row4['code12']); $code_count++; } if($row4['code13']) { $code13 = explode("::",$row4['code13']); $code_count++; } if($row4['code14']) { $code14 = explode("::",$row4['code14']); $code_count++; } if($row4['code15']) { $code15 = explode("::",$row4['code15']); $code_count++; } if($row4['code16']) { $code16 = explode("::",$row4['code16']); $code_count++; } if($row4['code17']) { $code17 = explode("::",$row4['code17']); $code_count++; } if($row4['code18']) { $code18 = explode("::",$row4['code18']); $code_count++; } if($row4['code19']) { $code19 = explode("::",$row4['code19']); $code_count++; } if($row4['code20']) { $code20 = explode("::",$row4['code20']); $code_count++; } if($row4['code21']) { $code21 = explode("::",$row4['code21']); $code_count++; } if($row4['code22']) { $code22 = explode("::",$row4['code22']); $code_count++; } if($row4['code23']) { $code23 = explode("::",$row4['code23']); $code_count++; } if($row4['code24']) { $code24 = explode("::",$row4['code24']); $code_count++; } if($row4['code25']) { $code25 = explode("::",$row4['code25']); $code_count++; } if($row4['code26']) { $code26 = explode("::",$row4['code26']); $code_count++; } if($row4['code27']) { $code27 = explode("::",$row4['code27']); $code_count++; } if($row4['code28']) { $code28 = explode("::",$row4['code28']); $code_count++; } if($row4['code29']) { $code29 = explode("::",$row4['code29']); $code_count++; } if($row4['code30']) { $code30 = explode("::",$row4['code30']); $code_count++; } if($row4['code31']) { $code31 = explode("::",$row4['code31']); $code_count++; } if($row4['code32']) { $code32 = explode("::",$row4['code32']); $code_count++; } if($row4['code33']) { $code33 = explode("::",$row4['code33']); $code_count++; } if($row4['code34']) { $code34 = explode("::",$row4['code34']); $code_count++; } if($row4['code35']) { $code35 = explode("::",$row4['code35']); $code_count++; } if($row4['code36']) { $code36 = explode("::",$row4['code36']); $code_count++; } if($row4['code37']) { $code37 = explode("::",$row4['code37']); $code_count++; } if($row4['code38']) { $code38 = explode("::",$row4['code38']); $code_count++; } if($row4['code39']) { $code39 = explode("::",$row4['code39']); $code_count++; } if($row4['code40']) { $code40 = explode("::",$row4['code40']); $code_count++; } if($row4['code41']) { $code41 = explode("::",$row4['code41']); $code_count++; } if($row4['code42']) { $code42 = explode("::",$row4['code42']); $code_count++; } if($row4['code43']) { $code43 = explode("::",$row4['code43']); $code_count++; } if($row4['code44']) { $code44 = explode("::",$row4['code44']); $code_count++; } if($row4['code45']) { $code45 = explode("::",$row4['code45']); $code_count++; } if($row4['code46']) { $code46 = explode("::",$row4['code46']); $code_count++; } if($row4['code47']) { $code47 = explode("::",$row4['code47']); $code_count++; } if($row4['code48']) { $code48 = explode("::",$row4['code48']); $code_count++; } if($row4['code49']) { $code49 = explode("::",$row4['code49']); $code_count++; } if($row4['code50']) { $code50 = explode("::",$row4['code50']); $code_count++; } //사용방법 $use_method = explode("::",$row4['use_method']); } ?> <style> .qrcode { cursor:pointer;width:100px;height:auto;display:inline; margin-right:10px; padding:10px; border: #000 solid 2px; background: #fff; } </style> <!-- invoice 정보 --> <input type="hidden" name="SqlType" value="voucher_update"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> <div class="pop_title"><div class="lo_left">VOUCHER 정보</div> </td> </tr> <tr> <td valign="top" width="100%"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <colgroup> <col style=" width:10%" /> <col style=" width:90%" /> </colgroup> <tbody> <tr> <th>코드타입</th> <td> <input type="radio" name="code_type" value="voucher" <?if($row4['code_type']=='voucher') echo ' checked'; ?> > Voucher Number <input type="radio" name="code_type" value="qrcode" <?if($row4['code_type']=='qrcode') echo ' checked'; ?> > QRCODE Number </td> </tr> <input id="old_code_type" type="hidden" name="old_code_type" value="<?=$row4['code_type']?>"> </tbody> </table> </td> </tr> </table> <p> </p> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> <div class="pop_title"><div class="lo_left">코드항목 수량</div> </td> </tr> <tr> <td valign="top" colspan="3"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <tbody> <tr> <th width="10%">코드항목</th> <td> <select name="code_num" id="code_num" class="" style="width:150px;" onchange="create_codeform();"> <option value="">==수량선택==</option> <?for ($i=1 ; $i<=50 ; $i++){?> <option value="<?=$i?>" <?if($code_count==$i) echo " selected";?> ><?=$i?>개</option> <?}?> </select> </td> </tr> </tbody> </table> </td> </tr> <tr id="voucher_row"> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <colgroup> <col style=" width:10%" /> <col style=" width:90%" /> </colgroup> <tr> <th>세부항목<br>Details</th> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="item_addon_code_box"> <tbody> <? if($row4['code1']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code1[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="1"> </tr> <? } ?> <? if($row4['code2']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code2[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="2"> </tr> <? } ?> <? if($row4['code3']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code3[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="3"> </tr> <? } ?> <? if($row4['code4']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code4[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="4"> </tr> <? } ?> <? if($row4['code5']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code5[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="5"> </tr> <? } ?> <? if($row4['code6']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code6[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="6"> </tr> <? } ?> <? if($row4['code7']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code7[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="7"> </tr> <? } ?> <? if($row4['code8']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code8[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="8"> </tr> <? } ?> <? if($row4['code9']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code9[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="9"> </tr> <? } ?> <? if($row4['code10']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code10[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="10"> </tr> <? } ?> <? if($row4['code11']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code11[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="11"> </tr> <? } ?> <? if($row4['code12']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code12[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="12"> </tr> <? } ?> <? if($row4['code13']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code13[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="13"> </tr> <? } ?> <? if($row4['code14']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code14[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="14"> </tr> <? } ?> <? if($row4['code15']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code15[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="15"> </tr> <? } ?> <? if($row4['code16']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code16[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="16"> </tr> <? } ?> <? if($row4['code17']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code17[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="17"> </tr> <? } ?> <? if($row4['code18']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code18[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="18"> </tr> <? } ?> <? if($row4['code19']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code19[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="19"> </tr> <? } ?> <? if($row4['code20']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code20[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="20"> </tr> <? } ?> <? if($row4['code21']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code21[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="21"> </tr> <? } ?> <? if($row4['code22']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code22[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="22"> </tr> <? } ?> <? if($row4['code23']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code23[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="23"> </tr> <? } ?> <? if($row4['code24']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code24[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="24"> </tr> <? } ?> <? if($row4['code25']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code25[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="25"> </tr> <? } ?> <? if($row4['code26']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code26[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="26"> </tr> <? } ?> <? if($row4['code27']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code27[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="27"> </tr> <? } ?> <? if($row4['code28']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code28[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="28"> </tr> <? } ?> <? if($row4['code29']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code29[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="29"> </tr> <? } ?> <? if($row4['code30']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code30[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="30"> </tr> <? } ?> <? if($row4['code31']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code31[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="31"> </tr> <? } ?> <? if($row4['code32']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code32[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="32"> </tr> <? } ?> <? if($row4['code33']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code33[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="33"> </tr> <? } ?> <? if($row4['code34']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code34[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="34"> </tr> <? } ?> <? if($row4['code35']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code35[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="35"> </tr> <? } ?> <? if($row4['code36']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code36[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="36"> </tr> <? } ?> <? if($row4['code37']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code37[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="37"> </tr> <? } ?> <? if($row4['code38']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code38[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="38"> </tr> <? } ?> <? if($row4['code39']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code39[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="39"> </tr> <? } ?> <? if($row4['code40']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code40[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="40"> </tr> <? } ?> <? if($row4['code41']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code41[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="41"> </tr> <? } ?> <? if($row4['code42']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code42[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="42"> </tr> <? } ?> <? if($row4['code43']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code43[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="43"> </tr> <? } ?> <? if($row4['code44']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code44[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="44"> </tr> <? } ?> <? if($row4['code45']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code45[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="45"> </tr> <? } ?> <? if($row4['code46']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code46[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="46"> </tr> <? } ?> <? if($row4['code47']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code47[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="47"> </tr> <? } ?> <? if($row4['code48']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code48[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="48"> </tr> <? } ?> <? if($row4['code49']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code49[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="49"> </tr> <? } ?> <? if($row4['code50']) {?> <tr> <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%" value="<?=$code50[0]?>"></td> <input type="hidden" id="item_count" name="code_count" value="50"> </tr> <? } ?> </tbody> </table> </td> </tr> </table> </td> </tr> <tr id="qrcode_row"> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <colgroup> <col style=" width:10%" /> <col style=" width:90%" /> </colgroup> <tr> <th>세부항목<br>Details</th> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="item_addon_code_box2"> <tbody> <? if($row4['code1']) {?> <tr> <td> <?if($code1[0]){?><img src="<?=$upload?><?=$code1[0]?>" alt="qrcode" class="qrcode" /><?}?> <input name="code_file_arr[]" type="file" class="input_text" style="width:40%;display:inline"> </td> <input type="hidden" name="qrcode[]" value="<?=$code1[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="1"> </tr> <? } ?> <? if($row4['code2']) {?> <tr> <td><?if($code2[0]){?><img src="<?=$upload?><?=$code2[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%"></td> <input type="hidden" name="qrcode[]" value="<?=$code2[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="2"> </tr> <? } ?> <? if($row4['code3']) {?> <tr> <td><?if($code3[0]){?><img src="<?=$upload?><?=$code3[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%"></td> <input type="hidden" name="qrcode[]" value="<?=$code3[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="3"> </tr> <? } ?> <? if($row4['code4']) {?> <tr> <td><?if($code4[0]){?><img src="<?=$upload?><?=$code4[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code4[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="4"> </tr> <? } ?> <? if($row4['code5']) {?> <tr> <td><?if($code5[0]){?><img src="<?=$upload?><?=$code5[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%"></td> <input type="hidden" name="qrcode[]" value="<?=$code5[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="5"> </tr> <? } ?> <? if($row4['code6']) {?> <tr> <td><?if($code6[0]){?><img src="<?=$upload?><?=$code6[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code6[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="6"> </tr> <? } ?> <? if($row4['code7']) {?> <tr> <td><?if($code7[0]){?><img src="<?=$upload?><?=$code7[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code7[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="7"> </tr> <? } ?> <? if($row4['code8']) {?> <tr> <td><?if($code8[0]){?><img src="<?=$upload?><?=$code8[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code8[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="8"> </tr> <? } ?> <? if($row4['code9']) {?> <tr> <td><?if($code9[0]){?><img src="<?=$upload?><?=$code9[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code9[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="9"> </tr> <? } ?> <? if($row4['code10']) {?> <tr> <td><?if($code10[0]){?><img src="<?=$upload?><?=$code10[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code10[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="10"> </tr> <? } ?> <? if($row4['code11']) {?> <tr> <td><?if($code11[0]){?><img src="<?=$upload?><?=$code11[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code11[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="11"> </tr> <? } ?> <? if($row4['code12']) {?> <tr> <td><?if($code12[0]){?><img src="<?=$upload?><?=$code12[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code12[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="12"> </tr> <? } ?> <? if($row4['code13']) {?> <tr> <td><?if($code13[0]){?><img src="<?=$upload?><?=$code13[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code13[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="13"> </tr> <? } ?> <? if($row4['code14']) {?> <tr> <td><?if($code14[0]){?><img src="<?=$upload?><?=$code14[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code14[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="14"> </tr> <? } ?> <? if($row4['code15']) {?> <tr> <td><?if($code15[0]){?><img src="<?=$upload?><?=$code15[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code15[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="15"> </tr> <? } ?> <? if($row4['code16']) {?> <tr> <td><?if($code16[0]){?><img src="<?=$upload?><?=$code16[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code16[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="16"> </tr> <? } ?> <? if($row4['code17']) {?> <tr> <td><?if($code17[0]){?><img src="<?=$upload?><?=$code17[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code17[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="17"> </tr> <? } ?> <? if($row4['code18']) {?> <tr> <td><?if($code18[0]){?><img src="<?=$upload?><?=$code18[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code18[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="18"> </tr> <? } ?> <? if($row4['code19']) {?> <tr> <td><?if($code19[0]){?><img src="<?=$upload?><?=$code19[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code19[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="19"> </tr> <? } ?> <? if($row4['code20']) {?> <tr> <td><?if($code20[0]){?><img src="<?=$upload?><?=$code20[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code20[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="20"> </tr> <? } ?> <? if($row4['code21']) {?> <tr> <td><?if($code21[0]){?><img src="<?=$upload?><?=$code21[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code21[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="21"> </tr> <? } ?> <? if($row4['code22']) {?> <tr> <td><?if($code22[0]){?><img src="<?=$upload?><?=$code22[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code22[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="22"> </tr> <? } ?> <? if($row4['code23']) {?> <tr> <td><?if($code23[0]){?><img src="<?=$upload?><?=$code23[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code23[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="23"> </tr> <? } ?> <? if($row4['code24']) {?> <tr> <td><?if($code24[0]){?><img src="<?=$upload?><?=$code24[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%"></td> <input type="hidden" name="qrcode[]" value="<?=$code24[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="24"> </tr> <? } ?> <? if($row4['code25']) {?> <tr> <td><?if($code25[0]){?><img src="<?=$upload?><?=$code25[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code25[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="25"> </tr> <? } ?> <? if($row4['code26']) {?> <tr> <td><?if($code26[0]){?><img src="<?=$upload?><?=$code26[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code26[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="26"> </tr> <? } ?> <? if($row4['code27']) {?> <tr> <td><?if($code27[0]){?><img src="<?=$upload?><?=$code27[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code27[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="27"> </tr> <? } ?> <? if($row4['code28']) {?> <tr> <td><?if($code28[0]){?><img src="<?=$upload?><?=$code28[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code28[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="28"> </tr> <? } ?> <? if($row4['code29']) {?> <tr> <td><?if($code29[0]){?><img src="<?=$upload?><?=$code29[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code29[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="29"> </tr> <? } ?> <? if($row4['code30']) {?> <tr> <td><?if($code30[0]){?><img src="<?=$upload?><?=$code30[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code30[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="30"> </tr> <? } ?> <? if($row4['code31']) {?> <tr> <td><?if($code31[0]){?><img src="<?=$upload?><?=$code31[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code31[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="31"> </tr> <? } ?> <? if($row4['code32']) {?> <tr> <td><?if($code32[0]){?><img src="<?=$upload?><?=$code32[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code32[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="32"> </tr> <? } ?> <? if($row4['code33']) {?> <tr> <td><?if($code33[0]){?><img src="<?=$upload?><?=$code33[0]?>" alt="qrcode" class="qrcode" /><?}?>c<input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code33[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="33"> </tr> <? } ?> <? if($row4['code34']) {?> <tr> <td><?if($code34[0]){?><img src="<?=$upload?><?=$code34[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code34[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="34"> </tr> <? } ?> <? if($row4['code35']) {?> <tr> <td><?if($code35[0]){?><img src="<?=$upload?><?=$code35[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code35[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="35"> </tr> <? } ?> <? if($row4['code36']) {?> <tr> <td><?if($code36[0]){?><img src="<?=$upload?><?=$code36[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code36[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="36"> </tr> <? } ?> <? if($row4['code37']) {?> <tr> <td><?if($code37[0]){?><img src="<?=$upload?><?=$code37[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code37[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="37"> </tr> <? } ?> <? if($row4['code38']) {?> <tr> <td><?if($code38[0]){?><img src="<?=$upload?><?=$code38[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code38[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="38"> </tr> <? } ?> <? if($row4['code39']) {?> <tr> <td><?if($code39[0]){?><img src="<?=$upload?><?=$code39[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code39[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="39"> </tr> <? } ?> <? if($row4['code40']) {?> <tr> <td><?if($code40[0]){?><img src="<?=$upload?><?=$code40[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code40[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="40"> </tr> <? } ?> <? if($row4['code41']) {?> <tr> <td><?if($code41[0]){?><img src="<?=$upload?><?=$code41[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code41[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="41"> </tr> <? } ?> <? if($row4['code42']) {?> <tr> <td><?if($code42[0]){?><img src="<?=$upload?><?=$code42[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code42[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="42"> </tr> <? } ?> <? if($row4['code43']) {?> <tr> <td><?if($code43[0]){?><img src="<?=$upload?><?=$code43[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code43[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="43"> </tr> <? } ?> <? if($row4['code44']) {?> <tr> <td><?if($code44[0]){?><img src="<?=$upload?><?=$code44[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code44[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="44"> </tr> <? } ?> <? if($row4['code45']) {?> <tr> <td><?if($code45[0]){?><img src="<?=$upload?><?=$code45[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code45[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="45"> </tr> <? } ?> <? if($row4['code46']) {?> <tr> <td><?if($code46[0]){?><img src="<?=$upload?><?=$code46[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code46[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="46"> </tr> <? } ?> <? if($row4['code47']) {?> <tr> <td><?if($code47[0]){?><img src="<?=$upload?><?=$code47[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code47[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="47"> </tr> <? } ?> <? if($row4['code48']) {?> <tr> <td><?if($code48[0]){?><img src="<?=$upload?><?=$code48[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%"></td> <input type="hidden" name="qrcode[]" value="<?=$code48[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="48"> </tr> <? } ?> <? if($row4['code49']) {?> <tr> <td><?if($code49[0]){?><img src="<?=$upload?><?=$code49[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%" ></td> <input type="hidden" name="qrcode[]" value="<?=$code49[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="49"> </tr> <? } ?> <? if($row4['code50']) {?> <tr> <td><?if($code50[0]){?><img src="<?=$upload?><?=$code50[0]?>" alt="qrcode" class="qrcode" /><?}?><input name="code_file_arr[]" type="file" class="input_text" style="width:40%"></td> <input type="hidden" name="qrcode[]" value="<?=$code50[0]?>"> <input type="hidden" id="qr_count" name="code_count" value="50"> </tr> <? } ?> </tbody> </table> </td> </tr> </table> </td> </tr> <tr> <td height="20"> </td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <colgroup> <col style=" width:10%" /> <col style=" width:90%" /> </colgroup> <tr> <th>Guest<br>Details</th> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="item_addon_guest_box"> <thead> <tr> <th>Name</th> <th>Persons</th> <th>Nationality</th> </tr> </thead> <tbody> <? if($row4['code1']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code1[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code1[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code1[3]?>"></td> </tr> <? } ?> <? if($row4['code2']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code2[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code2[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code2[3]?>"></td> </tr> <? } ?> <? if($row4['code3']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code3[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code3[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code3[3]?>"></td> </tr> <? } ?> <? if($row4['code4']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code4[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code4[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code4[3]?>"></td> </tr> <? } ?> <? if($row4['code5']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code5[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code5[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code5[3]?>"></td> </tr> <? } ?> <? if($row4['code6']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code6[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code6[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code6[3]?>"></td> </tr> <? } ?> <? if($row4['code7']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code7[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code7[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code7[3]?>"></td> </tr> <? } ?> <? if($row4['code8']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code8[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code8[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code8[3]?>"></td> </tr> <? } ?> <? if($row4['code9']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code9[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code9[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code9[3]?>"></td> </tr> <? } ?> <? if($row4['code10']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code10[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code10[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code10[3]?>"></td> </tr> <? } ?> <? if($row4['code11']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code11[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code11[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code11[3]?>"></td> </tr> <? } ?> <? if($row4['code12']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code12[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code12[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code12[3]?>"></td> </tr> <? } ?> <? if($row4['code13']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code13[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code13[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code13[3]?>"></td> </tr> <? } ?> <? if($row4['code14']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code14[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code14[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code14[3]?>"></td> </tr> <? } ?> <? if($row4['code15']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code15[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code15[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code15[3]?>"></td> </tr> <? } ?> <? if($row4['code16']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code16[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code16[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code16[3]?>"></td> </tr> <? } ?> <? if($row4['code17']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code17[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code17[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code17[3]?>"></td> </tr> <? } ?> <? if($row4['code18']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code18[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code18[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code18[3]?>"></td> </tr> <? } ?> <? if($row4['code19']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code19[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code19[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code19[3]?>"></td> </tr> <? } ?> <? if($row4['code20']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code20[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code20[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code20[3]?>"></td> </tr> <? } ?> <? if($row4['code21']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code21[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code21[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code21[3]?>"></td> </tr> <? } ?> <? if($row4['code22']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code22[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code22[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code22[3]?>"></td> </tr> <? } ?> <? if($row4['code23']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code23[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code23[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code23[3]?>"></td> </tr> <? } ?> <? if($row4['code24']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code24[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code24[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code24[3]?>"></td> </tr> <? } ?> <? if($row4['code25']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code25[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code25[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code25[3]?>"></td> </tr> <? } ?> <? if($row4['code26']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code26[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code26[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code26[3]?>"></td> </tr> <? } ?> <? if($row4['code27']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code27[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code27[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code27[3]?>"></td> </tr> <? } ?> <? if($row4['code28']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code28[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code28[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code28[3]?>"></td> </tr> <? } ?> <? if($row4['code29']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code29[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code29[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code29[3]?>"></td> </tr> <? } ?> <? if($row4['code30']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code30[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code30[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code30[3]?>"></td> </tr> <? } ?> <? if($row4['code31']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code31[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code31[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code31[3]?>"></td> </tr> <? } ?> <? if($row4['code32']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code32[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code32[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code32[3]?>"></td> </tr> <? } ?> <? if($row4['code33']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code33[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code33[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code33[3]?>"></td> </tr> <? } ?> <? if($row4['code34']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code34[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code34[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code34[3]?>"></td> </tr> <? } ?> <? if($row4['code35']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code35[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code35[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code35[3]?>"></td> </tr> <? } ?> <? if($row4['code36']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code36[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code36[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code36[3]?>"></td> </tr> <? } ?> <? if($row4['code37']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code37[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code37[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code37[3]?>"></td> </tr> <? } ?> <? if($row4['code38']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code38[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code38[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code38[3]?>"></td> </tr> <? } ?> <? if($row4['code39']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code39[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code39[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code39[3]?>"></td> </tr> <? } ?> <? if($row4['code40']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code40[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code40[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code40[3]?>"></td> </tr> <? } ?> <? if($row4['code41']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code41[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code41[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code41[3]?>"></td> </tr> <? } ?> <? if($row4['code42']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code42[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code42[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code42[3]?>"></td> </tr> <? } ?> <? if($row4['code43']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code43[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code43[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code43[3]?>"></td> </tr> <? } ?> <? if($row4['code44']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code44[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code44[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code44[3]?>"></td> </tr> <? } ?> <? if($row4['code45']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code45[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code45[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code45[3]?>"></td> </tr> <? } ?> <? if($row4['code46']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code46[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code46[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code46[3]?>"></td> </tr> <? } ?> <? if($row4['code47']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code47[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code47[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code47[3]?>"></td> </tr> <? } ?> <? if($row4['code48']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code48[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code48[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code48[3]?>"></td> </tr> <? } ?> <? if($row4['code49']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code49[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code49[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code49[3]?>"></td> </tr> <? } ?> <? if($row4['code50']) {?> <tr> <td><input name="guest_name_arr[]" type="text" value="<?=$code50[1]?>"></td> <td><input name="guest_person_arr[]" type="text" value="<?=$code50[2]?>"></td> <td><input name="guest_nationality_arr[]" type="text" value="<?=$code50[3]?>"></td> </tr> <? } ?> </tbody> </table> </td> </tr> </table> </td> </tr> </table> <p> </p> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <colgroup> <col style=" width:10%" /> <col style=" width:90%" /> </colgroup> <tr> <th>VOUCHER<br>사용방법</th> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="setting_write_meeting"> <tbody> <tr> <th style="width:15%">No.</th> <th style="width:80%">내용</th> <th style="width:5%"> </th> </tr> <? for($i=0,$j=1 ; $i<count($use_method)-1 ; $i++,$j++){ ?> <tr> <td><?=$j?></td> <td><input type="text" name="use_arr[]" class="input_text" style="width:80%" value="<?=$use_method[$i]?>"></td> <td><span onclick="useMethod('add');" style="cursor:pointer;">╂</span><!-- <span onclick="useMethod(\'del\',$(this));" style="cursor:pointer;">─</span>--></td> </tr> <? } ?> </tbody> </table> </td> </tr> <tr> <th>미팅장소 및 교환장소<br>(700 * 345px)</th> <td> <input type="file" name="meeting_place" class="input_text" style="width:80%"> <?if($row4['meeting_place']){?><div style="margin-top:10px"><img src="<?=$row4['img_src']?>" alt="미팅장소이미지" style="cursor:pointer;width:300px;height:auto" onClick="to_dialog.image(this.src,'미팅장소이미지')" /></div><?}?> </td> </tr> <tr> <th>Contact Us</th> <td> <textarea name="contact_us" style="width:90%;min-height:100px"><?=stripslashes($row4['contact_us'])?></textarea> </td> </tr> </table> </td> </tr> </table> <script type="text/javascript"> $(function(){ var code_type = $("input[name='code_type']:checked").val(); if(code_type=='voucher') { $("#voucher_row").show(); $("#qrcode_row").hide(); } else if(code_type=='qrcode') { $("#voucher_row").hide(); $("#qrcode_row").show(); } }); // voucher code 추가 function create_codeform() { // voucher code 스크립트 var html_addon_code =''; var code_num = $("#frm_voucher select[name='code_num']").val(); //선택한 vouncher 갯수 var old_code_type = $("#frm_voucher input[name='old_code_type']").val(); //기존 code type var code_type = $("input[name='code_type']:checked").val(); //새로 선택된 code type $("#frm_voucher input[name='old_code_type']").val(code_type); var html_addon_guest =''; if(code_type=='voucher') { $("#voucher_row").show(); $("#qrcode_row").hide(); for(var i=1; i<=code_num; i++) { if(code_type == "voucher") { //code type 변화 무 html_addon_code += '<tr>'; html_addon_code += ' <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%"></td>'; html_addon_code += '</tr>'; } else { //code type 변화 유 html_addon_code += '<tr>'; html_addon_code += ' <td><input name="code_file_arr[]" type="file" style="width:80%"></td>'; html_addon_code += '</tr>'; } html_addon_code += '<input type="hidden" name="code_count" value="'+code_num+'">'; html_addon_guest += '<tr>'; html_addon_guest += ' <td><input name="guest_name_arr[]" type="text"></td>'; html_addon_guest += ' <td><input name="guest_person_arr[]" type="text"></td>'; html_addon_guest += ' <td><input name="guest_nationality_arr[]" type="text"></td>'; html_addon_guest += '</tr>'; } //end for $(".item_addon_code_box tbody").html(html_addon_code); $(".item_addon_guest_box tbody").html(html_addon_guest); } else if(code_type=='qrcode') { $("#voucher_row").hide(); $("#qrcode_row").show(); for(var i=1; i<=code_num; i++) { if(code_type == "qrcode") { //code type 변화 무 html_addon_code += '<tr>'; html_addon_code += ' <td><input name="code_file_arr[]" type="file" style="width:80%"></td>'; html_addon_code += '</tr>'; } else { //code type 변화 유 html_addon_code += '<tr>'; html_addon_code += ' <td><input name="code_item_arr[]" type="text" class="input_text" style="width:80%"></td>'; html_addon_code += '</tr>'; } html_addon_code += '<input type="hidden" name="code_count" value="'+code_num+'">'; html_addon_guest += '<tr>'; html_addon_guest += ' <td><input name="guest_name_arr[]" type="text"></td>'; html_addon_guest += ' <td><input name="guest_person_arr[]" type="text"></td>'; html_addon_guest += ' <td><input name="guest_nationality_arr[]" type="text"></td>'; html_addon_guest += '</tr>'; } //end for $(".item_addon_code_box2 tbody").html(html_addon_code); $(".item_addon_guest_box tbody").html(html_addon_guest); } //end voucher or qrcode } //end function function useMethod(_m,$o) { var str; var trNum = $("#setting_write_meeting tbody tr").length; str= '<tr>'+ '<td>'+trNum+'</td>'+ '<td><input type="text" class="input_text" name="use_arr[]" value="" style="width:80%"></td>'+ '<td><span onclick="useMethod(\'add\');" style="cursor:pointer;">╂</span> <span onclick="useMethod(\'del\',$(this));" style="cursor:pointer;">─</span></td>'+ '</tr>'; switch(_m){ case "add": $("#setting_write_meeting tbody").append(str); break; case "del": $o.parent().parent("tr").remove(); break; } } </script> <!-- //invoice 정보 -->