@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/join02.htm
<? if($mem_mode == "modify"){ if(!$MEMBER_ID) $lib->alert_back("ȸ¿ø ·Î±×ÀÎ Á¤º¸°¡ ¾ø½À´Ï´Ù."); $modify = $mysql->row("adw_member", "*", "where userid='$MEMBER_ID'", 1); $tel = explode("-", $modify[tel]); $hp = explode("-", $modify[hp]); $zip = explode("-", $modify[zip]); } echo" <html> <head> <title>ȸ¿ø°¡ÀÔ</title> <link href='/_member/basic.css' rel='stylesheet' type='text/css'> <script language='JavaScript'> self.resizeTo(670,650); function valcheck(obj, focus, msg){ if(!obj.value){ alert(msg); if(focus) obj.focus(); } else return true; } function ZipWindow(ref,what) { var window_left = (screen.width-640)/2; var window_top = (screen.height-480)/2; ref = ref + '?what=' + what; window.open(ref,'zipWin','width=550,height=200,status=no,top=' + window_top + ',left=' + window_left + ''); } function Check_ID(ref){ var window_left = (screen.width-640)/2; var window_top = (screen.height-480)/2; if(document.orderform.userid.value) ref = ref + '?userid=' + document.orderform.userid.value; window.open(ref,'CHECK_ID','width=260,height=180,status=no,top=' + window_top + ',left=' + window_left + ''); } function checkit() { var f = document.orderform; "; $res = $mysql->res("adw_member_form", "*", "where state='Y' order by step asc"); while($row = mysql_fetch_array($res)){ switch($row[colm]){ case"userid": echo" if(f.type.value == 'join2'){ if(!valcheck(f.userid, 1, '¾ÆÀ̵𸦠ÀÔ·ÂÇϼ¼¿ä')) return false; if(f.userid.value.length < 4){ alert('¾ÆÀ̵ð´Â 4~12ÀÚ·Î ÀÔ·ÂÇϼ¼¿ä'); f.userid.focus(); return false; } } "; break; case"pass": echo" if(f.type.value == 'join2'){ if(!valcheck(f.pass1, 1, 'ÆÐ½º¿öµå¸¦ ÀÔ·ÂÇϼ¼¿ä')) return false; if(f.pass1.value.length < 4){ alert('ÆÐ½º¿öµå´Â 4~12ÀÚ·Î ÀÔ·ÂÇϼ¼¿ä'); f.pass1.focus(); return false; } if(!valcheck(f.pass2, 1, 'ÆÐ½º¿öµå È®ÀÎÀ» ÀÔ·ÂÇϼ¼¿ä')) return false; if(f.pass1.value != f.pass2.value) { alert('ÆÐ½º¿öµå¿Í ÆÐ½º¿öµåÈ®ÀÎÀÌ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù.'); f.pass2.focus(); return; } } else { if(f.pass1.value){ if(f.pass1.value.length < 4){ alert('ÆÐ½º¿öµå´Â 4~12ÀÚ·Î ÀÔ·ÂÇϼ¼¿ä'); f.pass1.focus(); return false; } if(!valcheck(f.pass2, 1, 'ÆÐ½º¿öµå È®ÀÎÀ» ÀÔ·ÂÇϼ¼¿ä')) return false; if(f.pass1.value != f.pass2.value) { alert('ÆÐ½º¿öµå¿Í ÆÐ½º¿öµåÈ®ÀÎÀÌ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù.'); f.pass2.focus(); return; } } } "; break; case"name": echo" if(f.type.value == 'join2'){ if(!valcheck(f.name, 1, 'À̸§À» ÀÔ·ÂÇϼ¼¿ä')) return false; } "; break; case"jumin": echo" if(f.type.value == 'join2'){ if(!valcheck(f.jumin1, 1, 'ÁֹιøÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä')) return false; if(f.jumin1.value.length != 6){ alert('ÁֹιøÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä'); f.jumin1.focus(); return false; } if(!valcheck(f.jumin2, 1, 'ÁֹιøÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä')) return false; if(f.jumin2.value.length != 7){ alert('ÁֹιøÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä'); f.jumin2.focus(); return false; } } "; break; case"tel": if($row[input] == "Y"){ echo" if(!valcheck(f.tel1, 1, 'ÀüȹøÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä')) return false; if(!valcheck(f.tel2, 1, 'ÀüȹøÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä')) return false; if(!valcheck(f.tel3, 1, 'ÀüȹøÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä')) return false; "; } break; case"hp": if($row[input] == "Y"){ echo" if(!valcheck(f.hp1, 1, 'ÈÞ´ëÀüȸ¦ ÀÔ·ÂÇϼ¼¿ä')) return false; if(!valcheck(f.hp2, 1, 'ÈÞ´ëÀüȸ¦ ÀÔ·ÂÇϼ¼¿ä')) return false; if(!valcheck(f.hp3, 1, 'ÈÞ´ëÀüȸ¦ ÀÔ·ÂÇϼ¼¿ä')) return false; "; } break; case"addr": if($row[input] == "Y"){ echo" if(!valcheck(f.zip1, 0, 'ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä')) return false; if(!valcheck(f.zip2, 0, 'ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä')) return false; if(!valcheck(f.addr, 0, 'ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä')) return false; "; } break; case"email": echo" if(!valcheck(f.email, 1, 'À̸ÞÀÏÀ» ÀÔ·ÂÇϼ¼¿ä')) return false; "; break; default: if($row[input] != "Y") continue; switch($row[type]){ case"radio": echo" var {$row[colm]}_sel = false; for(i=0; i<f.$row[colm].length; i++){ if(f.{$row[colm]}[i].checked == true) {$row[colm]}_sel = true; } if({$row[colm]}_sel == false){ alert('$row[name]À» ¼±ÅÃÇØ ÁÖ¼¼¿ä'); f.{$row[colm]}[0].focus(); return false; } "; break; default: echo" if(!valcheck(f.$row[colm], 1, '$row[name]À» ÀÔ·ÂÇϼ¼¿ä')) return false; "; break; } break; } // end switch } // end while echo" f.submit(); } </script> <style> body, table, td, select {font-size:12px;} </style> </head> <body> <table width=620 cellpadding=0 cellspacing=0 border=0 align='center'> <form name='orderform' METHOD='POST' ACTION='/_member/insert.php' onsubmit='return checkit()'> <input type='hidden' name='ref' value='open'> <input type='hidden' name='type' value='$mem_mode'> <tr height=30> <td style=padding-left:10px colspan='2'><IMG SRC='/_member/img/title_join.gif' BORDER='0'></td> </tr> <tr height='30'> <td CLASS=td3 style='font-size:10pt; font-weight:bold'><font color='#FF0000'>*</font> Ç¥½Ã´Â ¹Ýµå½Ã ÀÔ·ÂÇØ¾ßÇÏ´Â Ç׸ñÀÔ´Ï´Ù.</td> </tr> <tr> <td align=center> <TABLE width=100% cellpadding=1 cellspacing=1 border=0 align='center'> <col bgcolor=#F0EDE0 align=left width=20% style='padding-left:10px'> <col bgcolor=#ffffff width=80% style='padding-left:10px'> <tr> <td colspan=2 height=1 bgcolor=#E0DED0></td> </tr>"; $res = $mysql->res("adw_member_form", "*", "where state='Y' order by step asc"); while($row = mysql_fetch_array($res)){ $in_icon = ($row[input] == "Y") ? "<font color='#FF0000'>*</font>" : ""; switch($row[colm]){ case"userid": echo" <tr height=30> <th>$in_icon $row[name]</th>"; if($mem_mode == "modify"){ echo" <input type='hidden' name='userid' value='$modify[userid]'> <td>$modify[userid]</td>"; } else { echo" <td><input TYPE='text' name='userid' class=input maxlength='12' style='ime-mode:disabled'> <a href=\"javascript:Check_ID('/_member/id_check.php');\"><img src='/_member/img/btn_mem_OverLapConfirm.gif' BORDER='0' align=absmiddle></a> ¿µ¹®, ¼ýÀÚ Á¶ÇÕ 4~12 ÀÚ¸®</td>"; } echo" </tr>"; break; case"pass": echo" <tr height=30> <th>$in_icon $row[name]</th> <td><input TYPE='password' name='pass1' class=input maxlength='12'> ¿µ¹®, ¼ýÀÚ Á¶ÇÕ 4~12 ÀÚ¸®"; if($mem_mode == "modify") echo" (¼öÁ¤½Ã¸¸ ÀÔ·ÂÇØ ÁÖ¼¼¿ä)"; echo" </td> </tr> <tr height=1> <td colspan=2 bgcolor=#E0DED0></td> </tr> <tr height=30> <th>$in_icon $row[name] È®ÀÎ</th> <td><input TYPE='password' name='pass2' class=input maxlength='12'> </td> </tr>"; break; case"name": echo" <tr height=30> <th>$in_icon $row[name]</th> <td>"; if($mem_mode == "modify"){ echo"$modify[name]"; } else { echo"<input type='text' name='name' class='input' size='20'>"; } echo" </td> </tr>"; break; case"jumin": echo" <tr height=30> <th>$in_icon $row[name]</th> <td>"; if($mem_mode == "modify"){ echo"$modify[jumin]"; } else { echo" <input TYPE='text' name='jumin1' class='input' size='8' maxlength='6'> - <input TYPE='text' name='jumin2' class='input' size='8' maxlength='7'>"; } echo" </td> </tr>"; break; case"tel": echo" <tr height=30> <th>$in_icon $row[name]</th> <td> <select name='tel1' class=select> <option value=''>¼±ÅÃ</option> <option value='02' "; if($tel[0] == "02") echo"selected"; echo">02</option> <option value='031' "; if($tel[0] == "031") echo"selected"; echo">031</option> <option value='032' "; if($tel[0] == "032") echo"selected"; echo">032</option> <option value='033' "; if($tel[0] == "033") echo"selected"; echo">033</option> <option value='041' "; if($tel[0] == "041") echo"selected"; echo">041</option> <option value='042' "; if($tel[0] == "042") echo"selected"; echo">042</option> <option value='043' "; if($tel[0] == "043") echo"selected"; echo">043</option> <option value='051' "; if($tel[0] == "051") echo"selected"; echo">051</option> <option value='052' "; if($tel[0] == "052") echo"selected"; echo">052</option> <option value='053' "; if($tel[0] == "053") echo"selected"; echo">053</option> <option value='054' "; if($tel[0] == "054") echo"selected"; echo">054</option> <option value='055' "; if($tel[0] == "055") echo"selected"; echo">055</option> <option value='061' "; if($tel[0] == "061") echo"selected"; echo">061</option> <option value='062' "; if($tel[0] == "062") echo"selected"; echo">062</option> <option value='063' "; if($tel[0] == "063") echo"selected"; echo">063</option> <option value='064' "; if($tel[0] == "064") echo"selected"; echo">064</option> <option value='0505' "; if($tel[0] == "0505") echo"selected"; echo">0505</option> <option value='0506' "; if($tel[0] == "0506") echo"selected"; echo">0506</option> <option value='070' "; if($tel[0] == "070") echo"selected"; echo">070</option> <option value='080' "; if($tel[0] == "080") echo"selected"; echo">080</option> </select> - <input type='text' name='tel2' value='$tel[1]' size='6' maxlength='4' class=input> - <input type='text' name='tel3' value='$tel[2]' size='6' maxlength='4' class=input> </td> </tr>"; break; case"hp": echo" <tr height=30> <th>$in_icon $row[name]</th> <td> <select name='hp1'class=select> <option value='' selected>¼±ÅÃ</option> <option value='010' "; if($hp[0] == "010") echo"selected"; echo">010</option> <option value='011' "; if($hp[0] == "011") echo"selected"; echo">011</option> <option value='016' "; if($hp[0] == "016") echo"selected"; echo">016</option> <option value='017' "; if($hp[0] == "017") echo"selected"; echo">017</option> <option value='018' "; if($hp[0] == "018") echo"selected"; echo">018</option> <option value='019' "; if($hp[0] == "019") echo"selected"; echo">019</option> </select> - <input type='text' name='hp2' value='$hp[1]' size='6' maxlength='4' class=input> - <input type='text' name='hp3' value='$hp[2]' size='6' maxlength='4' class=input> </td> </tr>"; break; case"addr": echo" <tr height=30> <th rowspan=3>$in_icon $row[name]</th> <td><input type='text' name='zip1' value='$zip[0]' maxlength='3' class=input size=4> - <input type='text' name='zip2' value='$zip[1]' maxlength='3' class=input size=4> <a href=\"javascript:ZipWindow('/zipcode/zipsearch.html', 1);\" ><img SRC='/_member/img/btn_mem_postNum.gif' border='0' align=absmiddle></a> </td> </tr> <tr height=1> <td colspan=2 bgcolor=#E0DED0></td> </tr> <tr height=30> <td><input type='text' name='addr' value='$modify[addr]' class=input size=65></td> </tr>"; break; case"email": echo" <tr> <th>$in_icon $row[name]</th> <td style='padding-top:4px; padding-bottom:4px'><input type='text' name='email' value='$modify[email]' size='35' class='input2'><br> ºñ¹Ð¹øÈ£Á¶È¸µî¿¡ »ç¿ëµÉ ¸ÞÀÏÀÌ´Ï Á¤È®È÷ ±âÀÔÇØ ÁÖ¼¼¿ä.</td> </tr> <tr height=1> <td colspan=2 bgcolor=#E0DED0></td> </tr> <tr height='30'> <th>$in_icon ´º½º·¹ÅÍ</th> <td><input type='radio' name='remail' value='Y' checked> ¼ö½Å <input type='radio' name='remail' value='N' "; if($modify[remail] == "N") echo"checked"; echo"> ¼ö½Å¾ÈÇÔ </td> </tr>"; break; case"content": echo" <tr height=90> <th>$in_icon $row[name]</th> <td><textarea name='content' class='input' style='width:90%; height:80'>$modify[content]</textarea></td> </tr>"; break; default: echo" <tr height=30> <th>$in_icon $row[name]</th> <td style='padding-top:4px; padding-bottom:4px'>"; switch($row[type]){ case"input": echo" <input type='text' name='$row[colm]' value='".$modify[$row[colm]]."' class=input>"; break; case"password": echo" <input type='password' name='$row[colm]' value='".$modify[$row[colm]]."' class=input>"; break; case"select": $sel_val = explode(",", $row[type_value]); echo" <select name='$row[colm]'> <option value=''>:: ¼±ÅÃÇϼ¼¿ä ::</option>"; while(@list($key, $val) = @each($sel_val)){ echo"<option value='$val' "; if($modify[$row[colm]] == $val) echo"selected"; echo">$val</option>"; } echo" </select>"; break; case"radio": $sel_val = explode(",", $row[type_value]); while(@list($key, $val) = @each($sel_val)){ echo"<input type='radio' name='$row[colm]' value='$val' "; if($modify[$row[colm]] == $val) echo"checked"; echo"> $val "; } break; case"textarea": echo" <textarea name='$row[colm]' class='input' style='width:90%; height:80'>".$modify[$row[colm]]."</textarea>"; break; } echo" </td> </tr>"; break; } echo" <tr height=1> <td colspan=2 bgcolor=#E0DED0></td> </tr>"; } echo" </table> </td> </tr> <tr> <td colspan=2> </td> </tr> <tr align=center> <td colspan='2'><input type='image' src='/_member/img/btn_mem_ok.gif' BORDER='0'></a></td> </tr> <tr> <td height=50> </td> </tr> </form> </table> </body> </html>"; ?>