ÿØÿà 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 /* * * 상품 예약 > Estimate ajax * */ include "../include/top_proc.html"; // 신규예약 if(!$SqlType) $SqlType="res_ins"; // 상품정보 if ( $a_idx ) { $sql = "select * from TB_ERP_ALL where a_idx='{$a_idx}'"; $rs = db_query($sql); $row = db_fetch_array($rs) ; } //견적서 일자정보 if ( $e_idx ) { $sql2 = "select * from TB_ERP_ESTIMATE where e_idx='{$e_idx}'"; $rs2 = db_query($sql2); $row2 = db_fetch_array($rs2) ; $day_num = "0"; if($row2['day1_date']) { $day1_info = explode("^^",$row2['day1_info']); $day1_hotel_info = explode("^^",$row2['day1_hotel_info']); for($i=0;$i<count($day1_info);$i++) { ${"day1_content".$i} = explode("::",$day1_info[$i]); } for($i=0;$i<count($day1_hotel_info);$i++) { ${"hotel1_content".$i} = explode("::",$day1_hotel_info[$i]); } $day_num++; } if($row2['day2_date']) { $day2_info = explode("^^",$row2['day2_info']); $day2_hotel_info = explode("^^",$row2['day2_hotel_info']); for($i=0;$i<count($day2_info);$i++) { ${"day2_content".$i} = explode("::",$day2_info[$i]); } for($i=0;$i<count($day2_hotel_info);$i++) { ${"hotel2_content".$i} = explode("::",$day2_hotel_info[$i]); } $day_num++; } if($row2['day3_date']) { $day3_info = explode("^^",$row2['day3_info']); $day3_hotel_info = explode("^^",$row2['day3_hotel_info']); for($i=0;$i<count($day3_info);$i++) { ${"day3_content".$i} = explode("::",$day3_info[$i]); } for($i=0;$i<count($day3_hotel_info);$i++) { ${"hotel3_content".$i} = explode("::",$day3_hotel_info[$i]); } $day_num++; } if($row2['day4_date']) { $day4_info = explode("^^",$row2['day4_info']); $day4_hotel_info = explode("^^",$row2['day4_hotel_info']); for($i=0;$i<count($day4_info);$i++) { ${"day4_content".$i} = explode("::",$day4_info[$i]); } for($i=0;$i<count($day4_hotel_info);$i++) { ${"hotel4_content".$i} = explode("::",$day4_hotel_info[$i]); } $day_num++; } if($row2['day5_date']) { $day5_info = explode("^^",$row2['day5_info']); $day5_hotel_info = explode("^^",$row2['day5_hotel_info']); for($i=0;$i<count($day5_info);$i++) { ${"day5_content".$i} = explode("::",$day5_info[$i]); } for($i=0;$i<count($day5_hotel_info);$i++) { ${"hotel5_content".$i} = explode("::",$day5_hotel_info[$i]); } $day_num++; } if($row2['day6_date']) { $day6_info = explode("^^",$row2['day6_info']); $day6_hotel_info = explode("^^",$row2['day6_hotel_info']); for($i=0;$i<count($day6_info);$i++) { ${"day6_content".$i} = explode("::",$day6_info[$i]); } for($i=0;$i<count($day6_hotel_info);$i++) { ${"hotel6_content".$i} = explode("::",$day6_hotel_info[$i]); } $day_num++; } if($row2['day7_date']) { $day7_info = explode("^^",$row2['day7_info']); $day7_hotel_info = explode("^^",$row2['day7_hotel_info']); for($i=0;$i<count($day7_info);$i++) { ${"day7_content".$i} = explode("::",$day7_info[$i]); } for($i=0;$i<count($day7_hotel_info);$i++) { ${"hotel7_content".$i} = explode("::",$day7_hotel_info[$i]); } $day_num++; } if($row2['day8_date']) { $day8_info = explode("^^",$row2['day8_info']); $day8_hotel_info = explode("^^",$row2['day8_hotel_info']); for($i=0;$i<count($day8_info);$i++) { ${"day8_content".$i} = explode("::",$day8_info[$i]); } for($i=0;$i<count($day8_hotel_info);$i++) { ${"hotel8_content".$i} = explode("::",$day8_hotel_info[$i]); } } if($row2['day9_date']) { $day9_info = explode("^^",$row2['day9_info']); $day9_hotel_info = explode("^^",$row2['day9_hotel_info']); for($i=0;$i<count($day9_info);$i++) { ${"day9_content".$i} = explode("::",$day9_info[$i]); } for($i=0;$i<count($day9_hotel_info);$i++) { ${"hotel9_content".$i} = explode("::",$day9_hotel_info[$i]); } $day_num++; } if($row2['day10_date']) { $day10_info = explode("^^",$row2['day10_info']); $day10_hotel_info = explode("^^",$row2['day10_hotel_info']); for($i=0;$i<count($day10_info);$i++) { ${"day10_content".$i} = explode("::",$day10_info[$i]); } for($i=0;$i<count($day10_hotel_info);$i++) { ${"hotel10_content".$i} = explode("::",$day10_hotel_info[$i]); } } if($row2['day11_date']) { $day11_info = explode("^^",$row2['day11_info']); $day11_hotel_info = explode("^^",$row2['day11_hotel_info']); for($i=0;$i<count($day11_info);$i++) { ${"day11_content".$i} = explode("::",$day11_info[$i]); } for($i=0;$i<count($day11_hotel_info);$i++) { ${"hotel11_content".$i} = explode("::",$day11_hotel_info[$i]); } $day_num++; } if($row2['day12_date']) { $day12_info = explode("^^",$row2['day12_info']); $day12_hotel_info = explode("^^",$row2['day12_hotel_info']); for($i=0;$i<count($day12_info);$i++) { ${"day12_content".$i} = explode("::",$day12_info[$i]); } for($i=0;$i<count($day12_hotel_info);$i++) { ${"hotel12_content".$i} = explode("::",$day12_hotel_info[$i]); } $day_num++; } if($row2['day13_date']) { $day13_info = explode("^^",$row2['day13_info']); $day13_hotel_info = explode("^^",$row2['day13_hotel_info']); for($i=0;$i<count($day13_info);$i++) { ${"day13_content".$i} = explode("::",$day13_info[$i]); } for($i=0;$i<count($day13_hotel_info);$i++) { ${"hotel13_content".$i} = explode("::",$day13_hotel_info[$i]); } $day_num++; } if($row2['day14_date']) { $day14_info = explode("^^",$row2['day14_info']); $day14_hotel_info = explode("^^",$row2['day14_hotel_info']); for($i=0;$i<count($day14_info);$i++) { ${"day14_content".$i} = explode("::",$day14_info[$i]); } for($i=0;$i<count($day14_hotel_info);$i++) { ${"hotel14_content".$i} = explode("::",$day14_hotel_info[$i]); } $day_num++; } } $require_num_comma = " style=\"ime-mode:inactive;text-align:right\" onblur=\"this.value=calcu_esti(this.value)\" onKeyDown=\"ChkNum(this,event);\" "; // 가격입력시에 콤마+숫자필수 ?> <style> .setting_write tr.last, .setting_write td.last {border-bottom:#000 solid 2px;} </style> <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"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <tbody> <tr> <th width="13.7%">생성일차</th> <td> <select name="date_num" id="date_num" class="" style="width:150px;" onchange="create_dateform();"> <option value="">==일차선택==</option> <?for ($i=1 ; $i<=14 ; $i++){?> <option value="<?=$i?>" <?if($day_num==$i) echo ' selected';?>><?=$i?>일</option> <?}?> </select> </td> </tr> </tbody> </table> </td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write item_addon_price_box"> <colgroup> <col style=" width:10%" /> <col style=" width:10%" /> <col style=" width:2%" /> <col style=" width:2%" /> <col style=" width:48%" /> <col style=" width:7%" /> <col style=" width:7%" /> <col style=" width:7%" /> <col style=" width:7%" /> </colgroup> <thead> <tr> <th>Date</th> <th>Place</th> <th colspan="2">Time</th> <th>Itinerary</th> <th>Meals</th> <th class="bg_sky">항목</th> <th class="bg_sky">입금가</th> <th class="bg_sky">판매가</th> </tr> </thead> <tbody> <? if($row2['day1_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 1<br> <input name="day1" class="input_text" value="<?=$row2['day1_date']?>" ><br> (<?=to_yoil($row2['day1_date'],"en")?>) </td> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content0[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content0[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content0[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content0[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content0[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content0[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day1_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day1_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content1[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content1[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content1[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content1[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content1[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content1[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day1_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day1_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content2[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content2[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content2[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content2[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content2[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content2[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day1_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day1_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content3[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content3[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content3[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content3[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content3[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content3[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day1_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day1_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content4[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content4[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content4[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content4[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content4[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content4[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day1_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day1_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content5[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content5[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content5[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content5[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content5[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content5[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day1_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day1_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content6[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content6[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content6[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content6[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content6[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content6[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day1_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day1_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content7[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content7[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content7[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content7[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content7[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content7[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day1_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day1_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content8[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content8[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content8[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content8[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content8[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content8[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day1_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day1_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day1_place_arr[]" type="text" class="input_text" value="<?=$day1_content9[0]?>"></td> <td><input name="day1_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day1_content9[1]?>"></td> <td><input name="day1_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day1_content9[2]?>"></td> <td><input name="day1_info_arr[]" class="input_text" style="width:100%" value="<?=$day1_content9[3]?>"></td> <td><input name="day1_food_arr[]" class="input_text" style="width:100%" value="<?=$day1_content9[4]?>"></td> <td><input name="day1_item_arr[]" class="input_text" style="width:100%" value="<?=$day1_content9[5]?>"></td> <td><input name="day1_buy_arr[]" id="day1_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day1_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day1_sell_arr[]" id="day1_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day1_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel1_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel1_content0[0]?>"></td> <td> </td> <td><input name="hotel1_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel1_content0[1]?>"></td> <td><input name="hotel1_buy_arr[]" id="hotel1_buy" class="input_rtext input_text hotel_buy" style="width:100%" value="<?=number_format($hotel1_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel1_sell_arr[]" id="hotel1_sell" class="input_rtext input_text hotel_sell" style="width:100%" value="<?=number_format($hotel1_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="1"> </tr> <? } ?> <? if($row2['day2_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 2<br> <input name="day2" class="input_text" value="<?=$row2['day2_date']?>"><br> (<?=to_yoil($row2['day2_date'],"en")?>) </td> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content0[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content0[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content0[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content0[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content0[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content0[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day2_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day2_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content1[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content1[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content1[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content1[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content1[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content1[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day2_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day2_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content2[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content2[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content2[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content2[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content2[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content2[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day2_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day2_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content3[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content3[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content3[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content3[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content3[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content3[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day2_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day2_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content4[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content4[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content4[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content4[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content4[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content4[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day2_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day2_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content5[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content5[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content5[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content5[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content5[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content5[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day2_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day2_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content6[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content6[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content6[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content6[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content6[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content6[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day2_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day2_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content7[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content7[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content7[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content7[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content7[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content7[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day2_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day2_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content8[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content8[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content8[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content8[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content8[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content8[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day2_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day2_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day2_place_arr[]" type="text" class="input_text" value="<?=$day2_content9[0]?>"></td> <td><input name="day2_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day2_content9[1]?>"></td> <td><input name="day2_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day2_content9[2]?>"></td> <td><input name="day2_info_arr[]" class="input_text" style="width:100%" value="<?=$day2_content9[3]?>"></td> <td><input name="day2_food_arr[]" class="input_text" style="width:100%" value="<?=$day2_content9[4]?>"></td> <td><input name="day2_item_arr[]" class="input_text" style="width:100%" value="<?=$day2_content9[5]?>"></td> <td><input name="day2_buy_arr[]" id="day2_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day2_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day2_sell_arr[]" id="day2_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day2_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel2_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel2_content0[0]?>"></td> <td> </td> <td><input name="hotel2_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel2_content0[1]?>"></td> <td><input name="hotel2_buy_arr[]" id="hotel2_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel2_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel2_sell_arr[]" id="hotel2_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel2_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="2"> </tr> <? } ?> <? if($row2['day3_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 3<br> <input name="day3" class="input_text" value="<?=$row2['day3_date']?>"><br> (<?=to_yoil($row2['day3_date'],"en")?>) </td> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content0[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content0[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content0[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content0[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content0[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content0[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day3_content0[6]);?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day3_content0[7]);?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content1[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content1[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content1[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content1[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content1[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content1[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day3_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day3_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content2[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content2[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content2[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content2[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content2[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content2[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day3_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day3_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content3[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content3[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content3[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content3[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content3[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content3[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day3_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day3_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content4[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content4[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content4[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content4[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content4[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content4[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day3_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day3_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content5[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content5[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content5[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content5[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content5[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content5[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day3_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day3_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content6[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content6[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content6[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content6[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content6[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content6[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day3_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day3_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content7[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content7[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content7[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content7[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content7[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content7[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day3_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day3_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content8[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content8[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content8[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content8[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content8[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content8[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day3_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day3_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day3_place_arr[]" type="text" class="input_text" value="<?=$day3_content9[0]?>"></td> <td><input name="day3_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day3_content9[1]?>"></td> <td><input name="day3_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day3_content9[2]?>"></td> <td><input name="day3_info_arr[]" class="input_text" style="width:100%" value="<?=$day3_content9[3]?>"></td> <td><input name="day3_food_arr[]" class="input_text" style="width:100%" value="<?=$day3_content9[4]?>"></td> <td><input name="day3_item_arr[]" class="input_text" style="width:100%" value="<?=$day3_content9[5]?>"></td> <td><input name="day3_buy_arr[]" id="day3_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day3_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day3_sell_arr[]" id="day3_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day3_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel3_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel3_content0[0]?>"></td> <td> </td> <td><input name="hotel3_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel3_content0[1]?>"></td> <td><input name="hotel3_buy_arr[]" id="hotel3_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel3_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel3_sell_arr[]" id="hotel3_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel3_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="3"> </tr> <? } ?> <? if($row2['day4_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 4<br> <input name="day4" class="input_text" value="<?=$row2['day4_date']?>"><br> (<?=to_yoil($row2['day4_date'],"en")?>) </td> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content0[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content0[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content0[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content0[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content0[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content0[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day4_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day4_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content1[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content1[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content1[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content1[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content1[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content1[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day4_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day4_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content2[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content2[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content2[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content2[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content2[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content2[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day4_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day4_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content3[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content3[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content3[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content3[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content3[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content3[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day4_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day4_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content4[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content4[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content4[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content4[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content4[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content4[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day4_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day4_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content5[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content5[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content5[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content5[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content5[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content5[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day4_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day4_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content6[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content6[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content6[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content6[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content6[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content6[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day4_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day4_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content7[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content7[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content7[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content7[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content7[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content7[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day4_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day4_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content8[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content8[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content8[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content8[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content8[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content8[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day4_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day4_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day4_place_arr[]" type="text" class="input_text" value="<?=$day4_content9[0]?>"></td> <td><input name="day4_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day4_content9[1]?>"></td> <td><input name="day4_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day4_content9[2]?>"></td> <td><input name="day4_info_arr[]" class="input_text" style="width:100%" value="<?=$day4_content9[3]?>"></td> <td><input name="day4_food_arr[]" class="input_text" style="width:100%" value="<?=$day4_content9[4]?>"></td> <td><input name="day4_item_arr[]" class="input_text" style="width:100%" value="<?=$day4_content9[5]?>"></td> <td><input name="day4_buy_arr[]" id="day4_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day4_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day4_sell_arr[]" id="day4_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day4_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel4_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel4_content0[0]?>"></td> <td> </td> <td><input name="hotel4_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel4_content0[1]?>"></td> <td><input name="hotel4_buy_arr[]" id="hotel4_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel4_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel4_sell_arr[]" id="hotel4_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel4_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="4"> </tr> <? } ?> <? if($row2['day5_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 5<br> <input name="day5" class="input_text" value="<?=$row2['day5_date']?>"><br> (<?=to_yoil($row2['day5_date'],"en")?>) </td> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content0[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content0[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content0[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content0[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content0[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content0[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day5_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day5_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content1[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content1[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content1[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content1[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content1[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content1[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day5_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day5_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content2[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content2[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content2[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content2[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content2[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content2[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day5_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day5_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content3[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content3[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content3[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content3[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content3[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content3[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day5_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day5_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content4[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content4[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content4[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content4[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content4[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content4[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day5_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day5_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content5[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content5[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content5[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content5[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content5[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content5[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day5_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day5_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content6[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content6[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content6[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content6[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content6[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content6[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day5_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day5_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content7[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content7[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content7[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content7[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content7[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content7[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day5_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day5_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content8[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content8[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content8[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content8[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content8[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content8[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day5_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day5_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day5_place_arr[]" type="text" class="input_text" value="<?=$day5_content9[0]?>"></td> <td><input name="day5_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day5_content9[1]?>"></td> <td><input name="day5_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day5_content9[2]?>"></td> <td><input name="day5_info_arr[]" class="input_text" style="width:100%" value="<?=$day5_content9[3]?>"></td> <td><input name="day5_food_arr[]" class="input_text" style="width:100%" value="<?=$day5_content9[4]?>"></td> <td><input name="day5_item_arr[]" class="input_text" style="width:100%" value="<?=$day5_content9[5]?>"></td> <td><input name="day5_buy_arr[]" id="day5_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day5_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day5_sell_arr[]" id="day5_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day5_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel5_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel5_content0[0]?>"></td> <td> </td> <td><input name="hotel5_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel5_content0[1]?>"></td> <td><input name="hotel5_buy_arr[]" id="hotel5_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel5_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel5_sell_arr[]" id="hotel5_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel5_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="5"> </tr> <? } ?> <? if($row2['day6_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 6<br> <input name="day6" class="input_text" value="<?=$row2['day6_date']?>"><br> (<?=to_yoil($row2['day6_date'],"en")?>) </td> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content0[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content0[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content0[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content0[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content0[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content0[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day6_content0[6]);?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day6_content0[7]);?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content1[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content1[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content1[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content1[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content1[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content1[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day6_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day6_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content2[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content2[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content2[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content2[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content2[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content2[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day6_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day6_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content3[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content3[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content3[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content3[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content3[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content3[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day6_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day6_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content4[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content4[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content4[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content4[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content4[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content4[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day6_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day6_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content5[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content5[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content5[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content5[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content5[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content5[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day6_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day6_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content6[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content6[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content6[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content6[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content6[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content6[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day6_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day6_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content7[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content7[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content7[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content7[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content7[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content7[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day6_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day6_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content8[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content8[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content8[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content8[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content8[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content8[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day6_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day6_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day6_place_arr[]" type="text" class="input_text" value="<?=$day6_content9[0]?>"></td> <td><input name="day6_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day6_content9[1]?>"></td> <td><input name="day6_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day6_content9[2]?>"></td> <td><input name="day6_info_arr[]" class="input_text" style="width:100%" value="<?=$day6_content9[3]?>"></td> <td><input name="day6_food_arr[]" class="input_text" style="width:100%" value="<?=$day6_content9[4]?>"></td> <td><input name="day6_item_arr[]" class="input_text" style="width:100%" value="<?=$day6_content9[5]?>"></td> <td><input name="day6_buy_arr[]" id="day6_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day6_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day6_sell_arr[]" id="day6_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day6_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel6_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel6_content0[0]?>"></td> <td> </td> <td><input name="hotel6_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel6_content0[1]?>"></td> <td><input name="hotel6_buy_arr[]" id="hotel6_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel6_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel6_sell_arr[]" id="hotel6_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel6_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="6"> </tr> <? } ?> <? if($row2['day7_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 7<br> <input name="day7" class="input_text" value="<?=$row2['day7_date']?>"><br> (<?=to_yoil($row2['day7_date'],"en")?>) </td> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content0[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content0[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content0[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content0[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content0[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content0[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day7_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day7_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content1[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content1[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content1[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content1[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content1[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content1[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day7_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day7_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content2[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content2[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content2[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content2[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content2[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content2[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day7_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day7_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content3[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content3[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content3[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content3[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content3[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content3[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day7_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day7_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content4[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content4[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content4[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content4[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content4[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content4[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day7_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day7_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content5[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content5[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content5[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content5[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content5[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content5[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day7_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day7_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content6[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content6[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content6[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content6[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content6[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content6[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day7_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day7_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content7[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content7[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content7[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content7[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content7[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content7[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day7_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day7_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content8[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content8[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content8[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content8[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content8[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content8[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day7_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day7_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day7_place_arr[]" type="text" class="input_text" value="<?=$day7_content9[0]?>"></td> <td><input name="day7_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day7_content9[1]?>"></td> <td><input name="day7_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day7_content9[2]?>"></td> <td><input name="day7_info_arr[]" class="input_text" style="width:100%" value="<?=$day7_content9[3]?>"></td> <td><input name="day7_food_arr[]" class="input_text" style="width:100%" value="<?=$day7_content9[4]?>"></td> <td><input name="day7_item_arr[]" class="input_text" style="width:100%" value="<?=$day7_content9[5]?>"></td> <td><input name="day7_buy_arr[]" id="day7_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day7_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day7_sell_arr[]" id="day7_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day7_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel7_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel7_content0[0]?>"></td> <td> </td> <td><input name="hotel7_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel7_content0[1]?>"></td> <td><input name="hotel7_buy_arr[]" id="hotel7_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel7_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel7_sell_arr[]" id="hotel7_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel7_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="7"> </tr> <? } ?> <? if($row2['day8_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 8<br> <input name="day8" class="input_text" value="<?=$row2['day8_date']?>"><br> (<?=to_yoil($row2['day8_date'],"en")?>) </td> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content0[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content0[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content0[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content0[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content0[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content0[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day8_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day8_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content1[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content1[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content1[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content1[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content1[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content1[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day8_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day8_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content2[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content2[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content2[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content2[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content2[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content2[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day8_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day8_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content3[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content3[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content3[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content3[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content3[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content3[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day8_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day8_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content4[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content4[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content4[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content4[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content4[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content4[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day8_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day8_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content5[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content5[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content5[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content5[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content5[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content5[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day8_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day8_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content6[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content6[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content6[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content6[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content6[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content6[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day8_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day8_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content7[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content7[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content7[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content7[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content7[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content7[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day8_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day8_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content8[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content8[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content8[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content8[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content8[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content8[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day8_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day8_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day8_place_arr[]" type="text" class="input_text" value="<?=$day8_content9[0]?>"></td> <td><input name="day8_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day8_content9[1]?>"></td> <td><input name="day8_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day8_content9[2]?>"></td> <td><input name="day8_info_arr[]" class="input_text" style="width:100%" value="<?=$day8_content9[3]?>"></td> <td><input name="day8_food_arr[]" class="input_text" style="width:100%" value="<?=$day8_content9[4]?>"></td> <td><input name="day8_item_arr[]" class="input_text" style="width:100%" value="<?=$day8_content9[5]?>"></td> <td><input name="day8_buy_arr[]" id="day8_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day8_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day8_sell_arr[]" id="day8_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day8_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel8_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel8_content0[0]?>"></td> <td> </td> <td><input name="hotel8_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel8_content0[1]?>"></td> <td><input name="hotel8_buy_arr[]" id="hotel8_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel8_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel8_sell_arr[]" id="hotel8_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel8_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="8"> </tr> <? } ?> <? if($row2['day9_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 9<br> <input name="day9" class="input_text" value="<?=$row2['day9_date']?>"><br> (<?=to_yoil($row2['day9_date'],"en")?>) </td> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content0[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content0[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content0[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content0[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content0[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content0[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day9_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day9_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content1[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content1[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content1[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content1[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content1[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content1[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day9_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day9_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content2[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content2[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content2[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content2[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content2[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content2[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day9_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day9_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content3[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content3[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content3[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content3[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content3[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content3[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day9_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day9_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content4[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content4[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content4[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content4[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content4[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content4[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day9_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day9_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content5[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content5[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content5[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content5[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content5[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content5[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day9_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day9_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content6[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content6[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content6[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content6[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content6[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content6[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day9_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day9_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content7[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content7[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content7[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content7[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content7[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content7[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day9_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day9_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content8[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content8[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content8[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content8[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content8[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content8[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day9_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day9_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day9_place_arr[]" type="text" class="input_text" value="<?=$day9_content9[0]?>"></td> <td><input name="day9_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day9_content9[1]?>"></td> <td><input name="day9_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day9_content9[2]?>"></td> <td><input name="day9_info_arr[]" class="input_text" style="width:100%" value="<?=$day9_content9[3]?>"></td> <td><input name="day9_food_arr[]" class="input_text" style="width:100%" value="<?=$day9_content9[4]?>"></td> <td><input name="day9_item_arr[]" class="input_text" style="width:100%" value="<?=$day9_content9[5]?>"></td> <td><input name="day9_buy_arr[]" id="day9_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day9_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day9_sell_arr[]" id="day9_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day9_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel9_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel9_content0[0]?>"></td> <td> </td> <td><input name="hotel9_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel9_content0[1]?>"></td> <td><input name="hotel9_buy_arr[]" id="hotel9_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel9_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel9_sell_arr[]" id="hotel9_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel9_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="9"> </tr> <? } ?> <? if($row2['day10_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 10<br> <input name="day10" class="input_text" value="<?=$row2['day10_date']?>"><br> (<?=to_yoil($row2['day10_date'],"en")?>) </td> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content0[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content0[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content0[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content0[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content0[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content0[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day10_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day10_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content1[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content1[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content1[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content1[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content1[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content1[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day10_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day10_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content2[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content2[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content2[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content2[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content2[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content2[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day10_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day10_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content3[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content3[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content3[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content3[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content3[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content3[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day10_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day10_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content4[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content4[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content4[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content4[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content4[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content4[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day10_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day10_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content5[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content5[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content5[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content5[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content5[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content5[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day10_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day10_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content6[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content6[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content6[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content6[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content6[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content6[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day10_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day10_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content7[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content7[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content7[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content7[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content7[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content7[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day10_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day10_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content8[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content8[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content8[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content8[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content8[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content8[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day10_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day10_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day10_place_arr[]" type="text" class="input_text" value="<?=$day10_content9[0]?>"></td> <td><input name="day10_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day10_content9[1]?>"></td> <td><input name="day10_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day10_content9[2]?>"></td> <td><input name="day10_info_arr[]" class="input_text" style="width:100%" value="<?=$day10_content9[3]?>"></td> <td><input name="day10_food_arr[]" class="input_text" style="width:100%" value="<?=$day10_content9[4]?>"></td> <td><input name="day10_item_arr[]" class="input_text" style="width:100%" value="<?=$day10_content9[5]?>"></td> <td><input name="day10_buy_arr[]" id="day10_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day10_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day10_sell_arr[]" id="day10_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day10_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel10_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel10_content0[0]?>"></td> <td> </td> <td><input name="hotel10_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel10_content0[1]?>"></td> <td><input name="hotel10_buy_arr[]" id="hotel10_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel10_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel10_sell_arr[]" id="hotel10_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel10_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="10"> </tr> <? } ?> <? if($row2['day11_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 11<br> <input name="day11" class="input_text" value="<?=$row2['day11_date']?>"><br> (<?=to_yoil($row2['day11_date'],"en")?>) </td> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content0[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content0[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content0[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content0[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content0[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content0[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day11_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day11_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content1[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content1[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content1[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content1[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content1[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content1[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day11_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day11_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content2[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content2[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content2[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content2[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content2[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content2[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day11_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day11_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content3[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content3[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content3[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content3[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content3[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content3[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day11_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day11_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content4[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content4[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content4[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content4[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content4[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content4[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day11_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day11_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content5[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content5[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content5[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content5[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content5[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content5[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day11_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day11_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content6[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content6[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content6[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content6[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content6[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content6[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day11_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day11_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content7[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content7[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content7[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content7[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content7[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content7[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day11_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day11_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content8[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content8[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content8[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content8[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content8[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content8[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day11_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day11_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day11_place_arr[]" type="text" class="input_text" value="<?=$day11_content9[0]?>"></td> <td><input name="day11_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day11_content9[1]?>"></td> <td><input name="day11_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day11_content9[2]?>"></td> <td><input name="day11_info_arr[]" class="input_text" style="width:100%" value="<?=$day11_content9[3]?>"></td> <td><input name="day11_food_arr[]" class="input_text" style="width:100%" value="<?=$day11_content9[4]?>"></td> <td><input name="day11_item_arr[]" class="input_text" style="width:100%" value="<?=$day11_content9[5]?>"></td> <td><input name="day11_buy_arr[]" id="day11_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day11_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day11_sell_arr[]" id="day11_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day11_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel11_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel11_content0[0]?>"></td> <td> </td> <td><input name="hotel11_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel11_content0[1]?>"></td> <td><input name="hotel11_buy_arr[]" id="hotel11_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel11_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel11_sell_arr[]" id="hotel11_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel11_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="11"> </tr> <? } ?> <? if($row2['day12_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 12<br> <input name="day12" class="input_text" value="<?=$row2['day12_date']?>"><br> (<?=to_yoil($row2['day12_date'],"en")?>) </td> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content0[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content0[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content0[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content0[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content0[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content0[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day12_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day12_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content1[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content1[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content1[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content1[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content1[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content1[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day12_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day12_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content2[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content2[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content2[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content2[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content2[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content2[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day12_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day12_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content3[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content3[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content3[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content3[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content3[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content3[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day12_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day12_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content4[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content4[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content4[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content4[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content4[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content4[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day12_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day12_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content5[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content5[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content5[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content5[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content5[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content5[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day12_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day12_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content6[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content6[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content6[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content6[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content6[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content6[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day12_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day12_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content7[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content7[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content7[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content7[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content7[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content7[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day12_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day12_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content8[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content8[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content8[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content8[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content8[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content8[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day12_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day12_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day12_place_arr[]" type="text" class="input_text" value="<?=$day12_content9[0]?>"></td> <td><input name="day12_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day12_content9[1]?>"></td> <td><input name="day12_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day12_content9[2]?>"></td> <td><input name="day12_info_arr[]" class="input_text" style="width:100%" value="<?=$day12_content9[3]?>"></td> <td><input name="day12_food_arr[]" class="input_text" style="width:100%" value="<?=$day12_content9[4]?>"></td> <td><input name="day12_item_arr[]" class="input_text" style="width:100%" value="<?=$day12_content9[5]?>"></td> <td><input name="day12_buy_arr[]" id="day12_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day12_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day12_sell_arr[]" id="day12_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day12_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel12_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel12_content0[0]?>"></td> <td> </td> <td><input name="hotel12_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel12_content0[1]?>"></td> <td><input name="hotel12_buy_arr[]" id="hotel12_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel12_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel12_sell_arr[]" id="hotel12_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel12_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="12"> </tr> <? } ?> <? if($row2['day13_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 13<br> <input name="day13" class="input_text" value="<?=$row2['day13_date']?>"><br> (<?=to_yoil($row2['day13_date'],"en")?>) </td> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content0[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content0[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content0[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content0[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content0[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content0[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day13_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day13_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content1[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content1[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content1[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content1[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content1[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content1[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day13_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day13_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content2[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content2[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content2[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content2[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content2[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content2[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day13_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day13_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content3[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content3[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content3[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content3[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content3[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content3[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day13_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day13_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content4[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content4[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content4[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content4[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content4[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content4[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day13_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day13_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content5[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content5[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content5[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content5[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content5[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content5[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day13_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day13_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content6[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content6[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content6[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content6[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content6[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content6[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day13_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day13_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content7[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content7[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content7[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content7[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content7[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content7[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day13_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day13_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content8[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content8[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content8[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content8[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content8[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content8[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day13_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day13_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day13_place_arr[]" type="text" class="input_text" value="<?=$day13_content9[0]?>"></td> <td><input name="day13_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day13_content9[1]?>"></td> <td><input name="day13_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day13_content9[2]?>"></td> <td><input name="day13_info_arr[]" class="input_text" style="width:100%" value="<?=$day13_content9[3]?>"></td> <td><input name="day13_food_arr[]" class="input_text" style="width:100%" value="<?=$day13_content9[4]?>"></td> <td><input name="day13_item_arr[]" class="input_text" style="width:100%" value="<?=$day13_content9[5]?>"></td> <td><input name="day13_buy_arr[]" id="day13_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day13_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day13_sell_arr[]" id="day13_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day13_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel13_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel13_content0[0]?>"></td> <td> </td> <td><input name="hotel13_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel13_content0[1]?>"></td> <td><input name="hotel13_buy_arr[]" id="hotel13_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel13_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel13_sell_arr[]" id="hotel13_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel13_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="13"> </tr> <? } ?> <? if($row2['day14_date']) {?> <tr> <td rowspan="11" class="last" style="text-align:center"> Day 14<br> <input name="day14" class="input_text" value="<?=$row2['day14_date']?>"><br> (<?=to_yoil($row2['day14_date'],"en")?>) </td> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content0[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content0[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content0[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content0[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content0[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content0[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy1" class="input_rtext" style="width:100%" value="<?=number_format($day14_content0[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell1" class="input_rtext" style="width:100%" value="<?=number_format($day14_content0[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content1[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content1[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content1[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content1[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content1[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content1[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy2" class="input_rtext" style="width:100%" value="<?=number_format($day14_content1[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell2" class="input_rtext" style="width:100%" value="<?=number_format($day14_content1[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content2[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content2[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content2[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content2[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content2[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content2[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy3" class="input_rtext" style="width:100%" value="<?=number_format($day14_content2[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell3" class="input_rtext" style="width:100%" value="<?=number_format($day14_content2[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content3[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content3[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content3[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content3[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content3[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content3[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy4" class="input_rtext" style="width:100%" value="<?=number_format($day14_content3[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell4" class="input_rtext" style="width:100%" value="<?=number_format($day14_content3[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content4[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content4[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content4[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content4[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content4[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content4[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy5" class="input_rtext" style="width:100%" value="<?=number_format($day14_content4[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell5" class="input_rtext" style="width:100%" value="<?=number_format($day14_content4[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content5[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content5[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content5[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content5[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content5[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content5[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy6" class="input_rtext" style="width:100%" value="<?=number_format($day14_content5[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell6" class="input_rtext" style="width:100%" value="<?=number_format($day14_content5[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content6[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content6[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content6[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content6[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content6[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content6[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy7" class="input_rtext" style="width:100%" value="<?=number_format($day14_content6[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell7" class="input_rtext" style="width:100%" value="<?=number_format($day14_content6[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content7[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content7[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content7[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content7[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content7[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content7[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy8" class="input_rtext" style="width:100%" value="<?=number_format($day14_content7[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell8" class="input_rtext" style="width:100%" value="<?=number_format($day14_content7[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content8[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content8[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content8[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content8[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content8[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content8[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy9" class="input_rtext" style="width:100%" value="<?=number_format($day14_content8[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell9" class="input_rtext" style="width:100%" value="<?=number_format($day14_content8[7])?>" <?=$require_num_comma;?>></td> </tr> <tr> <td><input name="day14_place_arr[]" type="text" class="input_text" value="<?=$day14_content9[0]?>"></td> <td><input name="day14_time_start_arr[]" class="input_text" style="width:50px" value="<?=$day14_content9[1]?>"></td> <td><input name="day14_time_end_arr[]" class="input_text" style="width:50px" value="<?=$day14_content9[2]?>"></td> <td><input name="day14_info_arr[]" class="input_text" style="width:100%" value="<?=$day14_content9[3]?>"></td> <td><input name="day14_food_arr[]" class="input_text" style="width:100%" value="<?=$day14_content9[4]?>"></td> <td><input name="day14_item_arr[]" class="input_text" style="width:100%" value="<?=$day14_content9[5]?>"></td> <td><input name="day14_buy_arr[]" id="day14_buy10" class="input_rtext" style="width:100%" value="<?=number_format($day14_content9[6])?>" <?=$require_num_comma;?>></td> <td><input name="day14_sell_arr[]" id="day14_sell10" class="input_rtext" style="width:100%" value="<?=number_format($day14_content9[7])?>" <?=$require_num_comma;?>></td> </tr> <tr class="last"> <td> </td> <td colspan=2>HOTEL Information</td> <td><input name="hotel14_info_arr[]" class="input_text" style="width:100%" value="<?=$hotel14_content0[0]?>"></td> <td><input name="hotel14_item_arr[]" class="input_text" style="width:100%" value="<?=$hotel14_content0[1]?>"></td> <td> </td> <td><input name="hotel14_buy_arr[]" id="hotel14_buy" class="input_rtext" style="width:100%" value="<?=number_format($hotel14_content0[2])?>" <?=$require_num_comma;?>></td> <td><input name="hotel14_sell_arr[]" id="hotel14_sell" class="input_rtext" style="width:100%" value="<?=number_format($hotel14_content0[3])?>" <?=$require_num_comma;?>></td> <input type="hidden" name="date_num_arr[]" value="14"> </tr> <? } ?> </tbody> </table> </td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <colgroup> <col style=" width:19.8%" /> <col /> </colgroup> <tr> <th>Remarks</th> <td><textarea name="remarks" style="width:100%;height:100px"><?=stripslashes($row2['remark'])?></textarea></td> </tr> </table> </td> </tr> <tr> <td valign="top" align="right"> <p> </p> <table width="20%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <colgroup> <col style=" width:34%" /> <col style=" width:33%" /> <col style=" width:33%" /> </colgroup> <tr> <th style="text-align:right;padding-right:10px">합계</th> <td style="text-align:right;padding-right:10px"><span id="esti_total_buy_price">₩ <?=number_format($row2['total_buy_price'])?></span></td> <td style="text-align:right;padding-right:10px"><span id="esti_total_sell_price">₩ <?=number_format($row2['total_sell_price'])?></span></td> </tr> <tr> <th style="text-align:right;padding-right:10px;color:red;font-weight:bold">회사수익</th> <td colspan="2" style="text-align:right;padding-right:10px;color:red;font-weight:bold"> <span id="esti_profit"> <? $profit = $row2['total_sell_price'] - $row2['total_buy_price']; //echo $row2['currency'] . number_format($profit); echo "₩ " . number_format($profit); ?> </span> </td> </tr> </thead> <tbody> </tbody> </table> </td> </tr> </table> <script type="text/javascript"> // 생성일자 추가 function create_dateform() { // 생성일자 추가 스크립트 var html_addon_price =''; var date_num = $("#frm_reserv_good select[name='date_num']").val(); //선택된 일자 갯수 var date_num_count = ""; $('input[name^="date_num_arr"]').each(function() { date_num_count = parseInt($(this).val()); }); if(date_num_count=="") date_num_account = "0"; if(date_num > date_num_count) { //++ var date_add = parseInt(date_num) - parseInt(date_num_count); var date_num2 = date_num_count + 1; for(var i=date_num2;i<=date_num;i++) { html_addon_price += '<tr>'; html_addon_price += ' <td rowspan="11" class="last" style="text-align:center">'+i+' Day<br><input name="day'+i+'" class="input_text"></td>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy1" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell1" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy2" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell2" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy3" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell3" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy4" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell4" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy5" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell5" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy6" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell6" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy7" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell7" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy8" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell8" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy9" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell9" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr>'; html_addon_price += ' <td><input name="day'+i+'_place_arr[]" type="text" class="input_text" ></td>'; html_addon_price += ' <td><input name="day'+i+'_time_start_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_time_end_arr[]" class="input_text" style="width:50px"></td>'; html_addon_price += ' <td><input name="day'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_food_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="day'+i+'_buy_arr[]" id="day'+i+'_buy10" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="day'+i+'_sell_arr[]" id="day'+i+'_sell10" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '</tr>'; html_addon_price += '<tr class="last">'; html_addon_price += ' <td> </td>'; html_addon_price += ' <td colspan=2>HOTEL Information</td>'; html_addon_price += ' <td><input name="hotel'+i+'_info_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td> </td>'; html_addon_price += ' <td><input name="hotel'+i+'_item_arr[]" class="input_text" style="width:100%"></td>'; html_addon_price += ' <td><input name="hotel'+i+'_buy_arr[]" id="hotel'+i+'_buy" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += ' <td><input name="hotel'+i+'_sell_arr[]" id="hotel'+i+'_sell" class="input_rtext" value="0" style="width:100%" <?=$require_num_comma;?>></td>'; html_addon_price += '<input type="hidden" name="date_num_arr[]" value="'+i+'">'; html_addon_price += '</tr>'; } $(".item_addon_price_box tbody").append(html_addon_price); } else { //-- //document.frm_reserv_good.elements['date_num_arr[]'].val() var date_num_count_tr = parseInt(date_num_count) * 11; var date_num_tr = parseInt(date_num) * 11; for(var i=date_num_count_tr; i>date_num_tr; i--) { $(".item_addon_price_box tr:eq("+i+")").remove(); } } } //합계 계산하기 function calcu_esti(val) { var date_num = $("#frm_reserv_good select[name='date_num']").val(); //선택된 일자 갯수 var total_day_buy = "0"; //각 상품 입금가 합계 var total_day_sell = "0"; //각 상품 판매가 합계 var total_hotel_buy = "0"; //각 호텔 입금가 합계 var total_hotel_sell = "0"; //각 호텔 판매가 합계 var total_buy_price = "0"; //상품 total입금가 + 호텔 total입금가 var total_sell_price = "0"; //상품 total판매가 + 호텔 total판매가 for(var i=1;i<=date_num;i++) { for(var j=1;j<=10;j++) { var each_day_buy = replaceComma($("#day"+i+"_buy"+j).val()); var each_day_sell = replaceComma($("#day"+i+"_sell"+j).val()); total_day_buy = parseInt(total_day_buy) + parseInt(each_day_buy); total_day_sell = parseInt(total_day_sell) + parseInt(each_day_sell); } var each_hotel_buy = replaceComma($("#hotel"+i+"_buy").val()); var each_hotel_sell = replaceComma($("#hotel"+i+"_sell").val()); total_hotel_buy = parseInt(total_hotel_buy) + parseInt(each_hotel_buy); total_hotel_sell = parseInt(total_hotel_sell) + parseInt(each_hotel_sell); } var total_buy_price = parseInt(total_day_buy) + parseInt(total_hotel_buy); var total_sell_price = parseInt(total_day_sell) + parseInt(total_hotel_sell); var esti_profit = parseInt(total_sell_price) - parseInt(total_buy_price); $("#esti_total_buy_price").html("₩ "+number_format(total_buy_price.toString())); $("#esti_total_sell_price").html("₩ "+number_format(total_sell_price.toString())); $("#esti_profit").html("₩ "+number_format(esti_profit.toString())); //comma val = get_number(val); if(val.length <= 3) return val; var loop = Math.ceil(val.length / 3); var offset = val.length % 3; if((val.length % 3)==0){ offset = 3; } var ret = val.substring(0, offset); for(i=1;i<loop;i++){ ret += "," + val.substring(offset, offset+3); offset += 3; } return ret; } </script>