ÿØÿà 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 : |
<? /** * 사이트관리자 등록 * * 작성일 : 20130429.허종 */ include "../include/top_iframe.html"; include "_common.php"; $SqlType = "rule_write";//쓰기모드 if(!$RuleType) $RuleType=0; //0=약관,1=공통,2=메일폼 if($Ridx){ $SqlType = "rule_edit"; //수정모드 $data = TO_get_rule(0,$Ridx); $row = $data[0]; $row['RuleText'] = view_smart($row['RuleText'],"editor"); $row['RuleText_en'] = view_smart($row['RuleText_en'],"editor"); $row['RuleText_cn'] = view_smart($row['RuleText_cn'],"editor"); $row['RuleText_hk'] = view_smart($row['RuleText_hk'],"editor"); } ?> <div class="iframe"> <!-- 본문 --> <!-- 폼 --> <form name="frm_write" id="frm_write" method="post" enctype="multipart/form-data"> <input type="hidden" name="SqlType" value="<?=$SqlType?>"> <input type="hidden" name="tmp_layer_id" value="<?=$tmp_layer_id?>"><!-- 레이어ID --> <input type="hidden" name="RuleType" value="<?=$RuleType?>"> <input type="hidden" name="Ridx" value="<?=$Ridx?>"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <colgroup> <col width="10%" /> <col width="90%;" /> </colgroup> <tbody> <tr> <th scope="row">코드</th> <td><input type="text" name="RCD" id="RCD" value="<?=$row['RCD']?>" class="input_text" style="width:100px; text-align:center;ime-mode:disabled;text-transform:uppercase;" onChange="javascript:this.value=this.value.toUpperCase();" hname="코드" required /></td> </tr> <tr> <th scope="row">제목</th> <td><input type="text" name="RuleTitle" value="<?=$row['RuleTitle']?>" class="input_text" style="width:300px; ime-mode:inactive;" hname="제목" required /></td> </tr> <tr> <th scope="row">내용</th> <td><textarea name="RuleText" id="RuleText" class="ckeditor"><?=$row['RuleText']?></textarea></td> </tr> <tr> <th scope="row">내용(영어)</th> <td><textarea name="RuleText_en" id="RuleText_en" class="ckeditor"><?=$row['RuleText_en']?></textarea></td> </tr> <tr> <th scope="row">내용(간체)</th> <td><textarea name="RuleText_cn" id="RuleText_cn" class="ckeditor"><?=$row['RuleText_cn']?></textarea></td> </tr> <tr> <th scope="row">내용(번체)</th> <td><textarea name="RuleText_hk" id="RuleText_hk" class="ckeditor"><?=$row['RuleText_hk']?></textarea></td> </tr> </tbody> </table> <div class="btn_wrap_C mt20"> <a class="Tbtn red" href="javascript:;" onClick="check_frm();">등록</a> </div> </form> <!-- /폼 --> <!-- /본문 --> </div> </body> </html> <script Language="javascript"> function check_frm() { var f=document.frm_write; // 폼체크 var result = to_validation(f); if (result == false) return false; if(!confirm("저장하시겠습니까?")) return false; f.action="rule_admin_proc.php"; f.submit(); } </script>