@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
/
_popup
/
pediter
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_popup/pediter/img_edit.php
<html> <head> <title>À̹ÌÁö¼öÁ¤</title> <meta http-equiv="Content-Type" content="text/html; charset=euc-kr"> <script language="javascript"> <!-- function defaultSet() { var getValue = window.dialogArguments; if (getValue) { if (getValue.width) { Img_form.Chwidth.value = getValue.width; } if (getValue.height) { Img_form.Chheight.value = getValue.height; } setAlign(getValue.align); if (getValue.src) { Img_form.Chsrc.value = getValue.src; } if (getValue.alt) { Img_form.Chalt.value = getValue.alt; } if (getValue.border) { Img_form.Chborder.value = getValue.border; } if (getValue.hspace) { Img_form.Chhspace.value = getValue.hspace; } if (getValue.vspace) { Img_form.Chvspace.value = getValue.vspace; } } } function valuesCheck() { if(isNaN(parseInt(Img_form.Chwidth.value)) && Img_form.Chwidth.value.length != 0) { alert('Width°ªÀÌ Á¤¼ö°¡ ¾Æ´Õ´Ï´Ù. '); Img_form.Chwidth.focus(); return false; } if(isNaN(parseInt(Img_form.Chheight.value)) && Img_form.Chheight.value.length != 0) { alert('Height°ªÀÌ Á¤¼ö°¡ ¾Æ´Õ´Ï´Ù. '); Img_form.Chheight.focus(); return false; } if(isNaN(parseInt(Img_form.Chborder.value)) && Img_form.Chborder.value.length != 0) { alert('Border°ªÀÌ Á¤¼ö°¡ ¾Æ´Õ´Ï´Ù. '); Img_form.Chborder.focus(); return false; } /** if(isNaN(parseInt(Img_form.Chhspace.value)) && Img_form.Chhspace.value.length != 0) { alert('Horizontal space °ªÀÌ Á¤¼ö°¡ ¾Æ´Õ´Ï´Ù. '); Img_form.Chhspace.focus(); return false; } if(isNaN(parseInt(Img_form.Chvspace.value)) && Img_form.Chvspace.value != '') { alert('Vertical space °ªÀÌ Á¤¼ö°¡ ¾Æ´Õ´Ï´Ù. '); Img_form.Chvspace.focus(); return false; } **/ return true; } function okClick() { if(valuesCheck()) { var iProps = {}; // °´Ã¼ ¼±¾ð // //function inputValue(src,alt,width,height,border,align,hspace,vspace) function inputValue(src, alt, width, height, border, align) { this.src = src; this.alt = alt; this.width = width; this.height = height; this.border = border; this.align = align; //this.hspace = hspace; //this.vspace = vspace; } var changeImg = new inputValue(); changeImg.align = Img_form.Chalign.value; changeImg.width = Img_form.Chwidth.value; changeImg.height = Img_form.Chheight.value; changeImg.border = Img_form.Chborder.value; changeImg.src = Img_form.Chsrc.value; changeImg.alt = Img_form.Chalt.value; //changeImg.hspace = Img_form.Chhspace.value; //changeImg.vspace = Img_form.Chvspace.value; window.returnValue = changeImg; window.close(); } } function setAlign(alignment) { for (i=0; i<Img_form.Chalign.options.length; i++) { al = Img_form.Chalign.options.item(i); if (al.value == alignment.toLowerCase()) { Img_form.Chalign.selectedIndex = al.index; } } } //--> </script> <style> table, tr, td, input, select {font-size:9pt} .box { border-top:1px solid #808080; border-bottom:1px solid #FFFFFF; border-left:1px solid #808080; border-right:1px solid #FFFFFF; } .box2 { border-top:1px solid #FFFFFF; border-bottom:1px solid #808080; border-left:1px solid #FFFFFF; border-right:1px solid #808080; } </style> </head> <body topmargin="20" leftmargin="15" onLoad="defaultSet()" bgColor="buttonface"> <div style='position:absolute; top:15; left:20; width:76'> <table width='100%' cellpadding='0' cellspacing='0' bgcolor='buttonface'> <tr align='center'> <td>À̹ÌÁö Á¤º¸</td> </tr> </table> </div> <table border="0" align='center' cellspacing="0" cellpadding="0" width="100%"> <form name="Img_form"> <tr valign='top'> <td><table width='100%' cellpadding='0' cellspacing='0' class='box'> <tr> <td><table width='100%' cellpadding='0' cellspacing='0' class='box2' border='0'> <tr height='10'> <td></td> </tr> <tr height='30'> <td> URL :</td> <td colspan="3"><input type="text" name="Chsrc" size="38"></td> </tr> <tr height='30'> <td> ±×¸²¼³¸í : </td> <td colspan="3"><input type="text" name="Chalt" size="38"></td> </tr> <tr height='30'> <td> Á¤·Ä :</td> <td align="left"> <select name="Chalign" size="1" class="input"> <option value=""></option> <option value="left">left</option> <option value="right">right</option> <option value="top">top</option> <option value="middle">middle</option> <option value="bottom">bottom</option> <option value="absmiddle">absmiddle</option> <option value="texttop">texttop</option> <option value="baseline">baseline</option> </select> </td> <td> Å׵θ®:</td> <td align="left"><input type="text" name="Chborder" size="4"></td> </tr> <tr height='30'> <td width='75'> ³ÐÀÌ:</td> <td width='90'><input type="text" name="Chwidth" size="4" maxlength="3"></td> <td width='70'> ³ôÀÌ:</td> <td><input type="text" name="Chheight" size="4" maxlength="3"></td> </tr> <!-- <tr> <td>Hor. space:</td> <td><input type="text" name="Chhspace" size="3" maxlength="3"></td> <td>Vert. space:</td> <td><input type="text" name="Chvspace" size="3" maxlength="3"></td> </tr> --> <tr height='5'> <td></td> </tr> </table></td> </tr> </table></td> <td width='15'></td> <td width='84'><table width='100%' cellpadding='0' cellspacing='0'> <tr> <td><input type="button" value=" ¼ö Á¤ " onClick="okClick()" style='width:84; height:22'> </tr> <tr height='8'> <td></td> </tr> <tr> <td><input type="button" value=" Ãë ¼Ò " onClick="window.close()" style='width:84; height:22'></td> </tr> </table></td> </tr> </form> </table> </body> </html>