ÿØÿà 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/toadmin/design/ |
Upload File : |
<? /** * * * 작성일 : 20130429.허종 * 수정 : 20150326 박건호 상품검색해서 상품번호로도 연결시킬 수 있도록수정* */ include "../include/top_iframe.html"; include "_common.php"; $data = getYoutubeData($ytid); //p($data); $submitWord = "저장"; if($ytid){ $submitWord = "수정"; } ?> <div class="iframe ma0"> <div class="popbox"> <!-- 본문 --> <!-- 폼 --> <form name="frm_write" id="frm_write" method="post" enctype="multipart/form-data"> <input type="hidden" name="SqlType" value="<?=(($ytid) ? 'youtube_edit' : 'youtube_ins')?>"> <?php if($ytid){ ?> <input type="hidden" name="ytid" value="<?=$ytid?>" /> <?php } ?> <input type="hidden" name="position" value="main"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <tbody> <tr> <th width="20%" scope="row">제목*</th> <td><input type="text" name="title" id="title" value="<?=$data['title']?>" style="width:95%;" class="input_text" hname="제목" required /></td> </tr> <tr> <th>썸네일 이미지*</th> <td> <input type="file" name="img" id="img" value="" class="input_text" <?=(($ytid) ? '' : 'required')?> /> <?php // if($data['img']){ ?> <!-- <img src="/FileData/youtube/--><?//=$data['img']?><!--" width="300" style="display:none"/>--> <?php // } ?> </td> </tr> <tr> <th scope="row">URL*</th> <td><input type="url" name="url" id="url" value="<?=$data['url']?>" class="input_text" style="width:490px" required/></td> </tr> </tbody> </table> <div class="btn_wrap_C mt30 mb30"> <a href="javascript:;" class="Bbtn red" onClick="check_frm();"><?=$submitWord?></a> </div> </form> <!-- /폼 --> <!-- /본문 --> </div> </div> <script Language="javascript"> function check_frm() { var f=document.frm_write; // 폼체크 var result = to_validation(f); if (result == false) return false; if(!confirm("<?=$submitWord?>하시겠습니까?")) return false; f.action="youtube_main_reg_proc.html"; f.submit(); } </script> <?include "../include/footer_iframe.html";?>