ÿØÿà 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/setting/ |
Upload File : |
<? include "../include/top_proc.html"; //공통파일 인클루드 include "_common.php"; // 2차카테고리코드 $data = TO_get_mc($b_uid); // 도움말 $tooltip_data = toad_help(" and scr_id='setting_categorysetting' "); ?> <!-- 폼 --> <form name="frm_write_b" id="frm_write_b" method="post"> <input type="hidden" name="SqlType" value="mc_ins"> <input type="hidden" name="b_uid" value="<?=$b_uid?>"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_s_register "> <thead> </thead> <tbody> <tr> <th width="25%" scope="row"><label for="CdName">2차분류</label></th> <td><input name="m_name" type="text" style="width:75%;" class="input_text" onKeyDown="if(event.keyCode==13){form_ins('frm_write_b');}" hname="제목" required /> <input type="button" class="Table_btn gray" value="등록" tabIndex="12" onClick="form_ins('frm_write_b');" /></td> </tr> <tr> </tbody> </table> </form> <!-- /폼 --> <!-- 폼 --> <form name="frm_list_b" id="frm_list_b" method="post"> <input type="hidden" name="SqlType" value="mc_ordernum"> <input type="hidden" name="b_uid" value="<?=$b_uid?>"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_list"> <colgroup> <col style=" width:40px" /> <col style=" width:35px" /> <col /> <col style=" width:40px" /> <col style=" width:50px" /> <col style=" width:40px" /> </colgroup> <thead> <tr> <th scope="col" class="">사용</th> <th scope="col"><a href="#" onClick="change_ordernum('frm_list_b');">순서</a></th> <th scope="col">제목</th> <th scope="col">3차</th> <th scope="col">상품</th> <th scope="col" class="addon_item2">-</th> </tr> </thead> <tbody> <? for($i=0; $i<count($data) ; $i++){ $arr = $data[$i]; ?> <tr> <td> <span id="flag_m_<?=$arr['m_uid']?>"><img src="<?=$arr['DelFlag_icon']?>" onClick="ajax_obj_loader('category_setting_proc.html?SqlType=mc_delflag&b_uid=<?=$b_uid?>&m_uid=<?=$arr['m_uid']?>&DelFlag=<?=$arr['DelFlag_opp']?>','flag_m_<?=$arr['m_uid']?>');" style="cursor:pointer;" /></span> </td><!-- 사용/중지 --> <td> <input name="m_no_arr[]" type="text" value="<?=$arr['m_no']?>" class="t_no" maxlength="2" style="text-align:center;ime-mode:inactive;ime-mode:disabled" onKeyDown="ChkNum(this,event);" autocomplete='off'/> <input type="hidden" name="m_uid_arr[]" value="<?=$arr['m_uid']?>"> </td><!-- 순서 --> <td class="t_title"> <span id="mc_title_<?=$arr['m_uid']?>"><a href="javascript:;" onClick="jquery_updater('ajax_category_sc','category_sc_ajax.html?b_uid=<?=$arr['b_uid']?>&m_uid=<?=$arr['m_uid']?>');"><?=$arr['m_name']?></a></span><span class="drag_show">(<?=$arr['m_uid']?>)</span> </td><!-- 제목 --> <td><?=$arr['sc_cnt']?></td><!-- 하위 분류 개수 --> <td><?=$arr['good_cnt']?></td><!-- 상품 개수 --> <td class="addon_item2"> <img src="../image/btn/icon_write.gif" align="top" alt="수정" onClick="to_dialog.ajax('category_mc_edit.html?b_uid=<?=$b_uid?>&m_uid=<?=$arr['m_uid']?>','2차분류 수정','400','360',true,true)" style="cursor:pointer;" /> <img src="../image/btn/icon_del.gif" align="top" alt="삭제" onClick="<?if($arr['sc_cnt']==0 and $arr['good_cnt']==0){?>if(!confirm('정말삭제하시겠습니까?'))return;ajax_loader('category_setting_proc.html?SqlType=mc_delete&b_uid=<?=$b_uid?>&m_uid=<?=$arr['m_uid']?>');<?}?>" style="<?if($arr['sc_cnt']==0 and $arr['good_cnt']==0){?> cursor:pointer; <?}else{?>opacity:0.2; <?}?>" /> </td><!-- 수정 --> </tr> <?}?> </tbody> </table> </form> <!-- /폼 --> <style type="text/css"> <!-- .drag_show { clear:both;font-weight:normal;color:#ffffff;} --> </style> <script type="text/javascript"> if (buid) { $('#bc_title_'+buid).removeClass(); } buid = '<?=$b_uid?>'; $('#bc_title_'+buid).addClass('title_on'); </script> <? include "../include/footer_proc.html"; ?>