@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
/
_member
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/_member/point_pop.php
<? session_start(); include"../board/inc/config.php"; include"../board/inc/db.class.php"; if($mode == "point_modify"){ $db->update("member_point", $_POST, "where num='$num'"); echo"<script> opener.location.reload(); self.close(); </script>"; exit; } if($mode == "point_insert"){ $_POST[result] = "2"; $db->insert("member_point", $_POST); echo"<script> opener.location.reload(); self.close(); </script>"; exit; } if($num){ $sql = "select * from member_point where num='$num' "; $row = mysql_fetch_array(mysql_query($sql)); } ?> <html> <head> <title>::: °ü¸®ÀÚ :::</title> </head> <meta http-equiv="content-type" content="text/html; charset=euc-kr"> <style type="text/css"> <!-- table {font-size:9pt;} a:link {text-decoration:none;color:black;} a:visited{text-decoration:none;color:black;} a:hover{text-decoration:none;color:silver;} ---> </style> <script> function Check_Text(){ var f = document.form; if(!f.member_id.value){ alert("¾ÆÀ̵𸦠ÀÔ·ÂÇϼ¼¿ä."); f.member_id.focus(); return false; } if(!f.title.value){ alert("¸¶Àϸ®Áö³»¿ëÀ» ÀÔ·ÂÇϼ¼¿ä."); f.title.focus(); return false; } if(!f.point.value){ alert("¸¶Àϸ®Áö¸¦ ÀÔ·ÂÇϼ¼¿ä."); f.point.focus(); return false; } f.submit(); } </script> <body topmargin=0 leftmargin=0> <table width=98% align=center> <tr HEIGHT='35'> <td style="padding-top:5;" width=98%> <a name="#write"> <table cellpadding=0 cellspacing=0 width=100% border=0> <tr> <td width=*><b>¸¶Àϸ®Áö Áö±Þ&¼öÁ¤</td> <td align=right width=50%></td> <td align=right></td> <td align=right><a href="#none" onclick="self.close();">CLOSE</a></td> </tr> </table> </td> </tr> <tr> <td colspan=2 height=4 bgcolor="#000000"></td> </tr> </table> <table width=98% border=0 align=center> <form name=form method=post action="?mode=end" onSubmit="return Check_Text();"> <input type=hidden name=mode value="<?=$type?>"> <input type=hidden name=num value="<?=$num?>"> <tr height=23> <td width=25% align=right>¾ÆÀ̵ð : </td> <td width=75%> <input type=text name=member_id value="<?=$row[member_id]?>" > </td> </tr> <tr><td></td><td height=1 bgcolor=efefef></td></tr> <tr height=23> <td align=right>¸¶Àϸ®Áö ŸÀÔ : </td> <td> <select name="type" class="select" style="width:130;"> <option value="+" <? if($row[type] == "+") echo"selected"; ?> >¸¶Àϸ®Áö ´õÇϱâ(+)</option> <option value="-" <? if($row[type] == "-") echo"selected"; ?> >¸¶Àϸ®Áö »©±â(-)</option> </select> </td> </tr> <tr><td></td><td height=1 bgcolor=efefef></td></tr> <tr height=23> <td align=right>¸¶Àϸ®Áö ³»¿ë : </td> <td> <input type=text name=title value="<?=$row[title]?>" style="width:94%;"> </td> </tr> <tr><td></td><td height=1 bgcolor=efefef></td></tr> <tr height=23> <td align=right>¸¶Àϸ®Áö : </td> <td> <input type=text name=point size=10 value="<?=$row[point]?>"> ¿ø <font color=#999999>¡ç ½°Ç¥¾øÀÌ ¼ýÀÚ¸¸ ÀÔ·ÂÇϼ¼¿ä.</td> </tr> <tr><td></td><td height=1 bgcolor=efefef></td></tr> <tr height=5> <td width=100% colspan=2></td> </tr> </table> <br> <center> <input type="button" type=image value=" ÀúÀåÇϱâ " onclick="Check_Text()"> <br></form> </body> </html>