ÿØÿà 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/res_good/ |
Upload File : |
<? include "../include/top_iframe.html"; /* * 대리점 공지 메모 * 회원정보에 추가 */ if(empty($agent_id)) return; $row = get_member($agent_id); // 대리점 상세 정보 ?> <div class="iframe"> <!-- 본문 --> <form name="form2" id="form2" method="post" enctype="multipart/form-data" autocomplete="off"> <input type="hidden" name="sqlType" value="save"> <input type="hidden" id="agent_id" name="agent_id" value="<?=$agent_id?>"> <table border="0" cellspacing="0" cellpadding="0" class="setting_write2" width="100%"> <colgroup> <col style=" width:100px" /> <col /> </colgroup> <tbody> <tr> <th>내용</th> <td style="text-align:left"><textarea class="input_text" id="ag_memo" name="ag_memo" style="width:360px;height:170px" hname="내용" required><?=$row['ag_memo']?></textarea></td> </tr> <? for($f=1; $f<=2; $f++) { ?> <tr> <th scope="row"> <img src="/admin/image/cal_file_icon.gif" align="top" alt="파일첨부" width="25"/>#<?=$f?> </th> <td> <input type="hidden" name="ag_file<?=$f?>" value="<?=$row["ag_file0".$f]?>" /> <?if($row["ag_file".$f]){?> <img src="../../image/board/bullet_disk.gif" align="top" /> <a href="../lib/Download.php?Type=MEMBER&FileName=<?=$row["ag_file".$f]?>&FileNameOrg=<?=urlencode($row["ag_file".$f."_org"])?>"><span class="style_3"><?=$row["ag_file".$f."_org"]?></span></a> <img src="../image/btn/btn_delete.gif" align="top" style="cursor:pointer" alt="삭제" onclick="fnc_ImageDel('mb_id','<?=$agent_id?>','TB_MEMBER','ag_file<?=$f?>','<?=$row["ag_file".$f]?>','/FileData/member/');" /> <br /> <?}?> <input type="file" name="T_UserFile<?=$f?>" class="input_file input_text" size="50" style="height:18px;" /> </td> </tr> <? } ?> </tbody> </table> </form> <div style="margin-top:15px;text-align:center"> <a class="Bbtn red btnSave" href="javascript:;">저장</a> </div> <!-- /본문 --> </div> <iframe name="IMGIF" id="IMGIF" width="0" height="0" style="display:none;"></iframe> <script> $(function() { $('.btnSave').click(notice_save); }); function notice_save(){ var f=document.form2; var result = to_validation(f); if (result==false) return false; if(!confirm('저장하시겠습니까?')) return false; //var q = $('#form2').serialize(); // Get form var form = $('#form2')[0]; var data = new FormData(form); $.ajax({ type: "POST", enctype: 'multipart/form-data', url: "b2b_notice_proc.html", data: data, processData: false, contentType: false, cache: false, timeout: 600000, success: function (data) { parent.to_dialog.close('<?=$tmp_layer_id?>'); }, error: function (e) { alert("fail"); } }); } // 첨부파일 삭제 함수 (20090820 ) function fnc_ImageDel(IDX_NM, MSEQ, TB_NM, FL_NM, IMG_NM, IMG_PATH) { if (confirm('정말 삭제하시겠습니까?')) { var Url = "../intra/ImgDel.php?IDX_NM=" + IDX_NM + "&MSEQ=" + MSEQ + "&TB_NM=" + TB_NM + "&FL_NM=" + FL_NM + "&IMG_NM=" + IMG_NM + "&IMG_PATH=" + IMG_PATH; IMGIF.location.href = Url; } } </script> <? include "../include/footer_iframe.html"; ?>