<td height="24" align="right" class="b1">confirm password *** </td> <td align="left"><input name="chkpass" type="password" id="chkpass" size="30" /></td> </tr> <tr> <td height="24" align="right" class="b1"> full name *** </td> <td align="left"><input name="name" type="text" id="name" value="<?=$name?>" size="35" /></td>
<script language="javascript"> function chk(){ if(document.form1.chkpass.value==""){ ชุดนี้ทำงาน alert('คุณยังไม่ได้ใส่ยืนยัน password'); document.form1.chkpass.focus(); return false; } var=pass(document.form1.pass.value); ชุดนี้ไม่ทำงานครับ var=chkpass(document.form1.chkpass.value); if(pass != chkpass){ alert('รหัสผ่านไม่ตรงกันตรวจสอบอีกครั้ง'); document.form1.chkpass.focus(); return false; } } document.form1.submit(); </script>
<? session_start(); include "connect.php"; $rid=$_SESSION['rid']; if($rid==""){ echo"<script>alert('คุณยังไม่ได้ login กรุณาทำการ login ก่อนน่ะครับ');window.location='member_login.php';</script>"; } $sql="select * from register where r_id='$rid' order by r_id desc "; $result=mysql_query($sql); $rs=mysql_fetch_array($result); $name=$rs['r_name']; $user=$rs['r_user']; $pass=$rs['r_pass']; $email=$rs['r_email']; $facebook=$rs['r_facebook']; $photo=$rs['r_photo']; ?> <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>:: Register by 3 Club ::</title> <style type="text/css"> body { background-image: url(bg/bg.jpg); background-repeat: repeat; text-align: center; } .normal { font-family: sans-serif; font-size: 11px; color: #FFF; } .a { font-family: sans-serif; font-size: 12px; color: #09F; } .normal { color: #FF9; } .b { font-family: sans-serif; font-size: 11px; color: #FFF; } .c { font-family: Tahoma; font-size: 14px; font-weight: bold; color: #000; } .style2 { font-family: Tahoma; font-size: 15px; color: #0000FF; } .style5 {color: #FFFF00} .style7 { font-size: 10px; color: #FFFFFF; font-family: sans-serif; } a:visited { text-decoration: none; color: #000000; } a:hover { color: #000000; text-decoration: none; } a:link { text-decoration: none; } a:active { text-decoration: none; } .style14 {font-size: 14px; color: #000; font-family: Tahoma;} .style15 {font-size: 12px} .style16 {font-size: 11px} .style17 {color: #FF0000} .b1 { font-family: Tahoma; font-size: 11px; color: #FFF; } .d { font-family: Tahoma; font-size: 12px; color: #FFFFFF; } .e { font-family: Tahoma; font-size: 11px; color: #FF0000; } .style12 {color: #000000} .style20 {font-family: Tahoma; font-size: 11px; color: #000000; } .style21 {font-size: 13px} .style23 {font-size: 11px; color: #666666; } </style> </head> <body> <table width="1018" height="436" align="center"> <tr> <td height="17" align="left" valign="middle" bgcolor="#FFFFFF" class="a"><span class="style14"><span class="style15">ยินดีต้อนรับคุณ </span> </span><span class="c"> <span class="style16"> <span class="style17"> <?=$name?> </span><span class="style17"> </span></span><span class="style16"> <img src="bg/useronline.gif" width="15" height="15" align="texttop" /><a href="profile.php">หน้าหลักสมาชิก</a> <img src="bg/icon_write.gif" width="23" height="18" align="absmiddle" /><a href="logout.php" onclick="return confirm('ยืนยันการออกจากระบบ')">ออกจากระบบ</a> <a href="add_post.php" ><img src="bg/icon_write.gif" width="23" height="18" border="0" align="absmiddle" /> <span class="style16">เริ่มการเขียนกระทู้ใหม</span></a></span></span></td> <tr> <td width="1010" height="128" align="left" valign="baseline" background="bg/bg4.jpg" class="normal"><h2 class="a"><span class="style2"><span class="style5">Registered ::<br /> <br /> <span class="style7">Development by webmaster Thaiclubcom point bank </span></span></span><br /> <br /> <img src="bg/PB_rate15_18up.gif" width="115" height="60" /><br /> </h2> </td> <tr> <td height="274" align="center" valign="top" class="b"><a href="add_post.php" ></a> <form name="form1" method="post" action="script_edit.php" enctype="multipart/form-data" onsubmit="javascript:return chk()"> <table width="590" height="532" align="center"> <tr> <td height="48" colspan="2" align="center" background="bg/bar.png" class="d style12"> !!! <strong>Change profile </strong> !!! </td> </tr> <tr> <td height="24" colspan="2" align="center" class="b1"> </td> </tr> <tr> <td width="183" height="24" align="right" class="b1"> username *** </td> <td width="395" align="left"><input name="user" type="text" id="user" value="<?=$user?>" size="35" /> <span class="e">Thai / English **** </span></td> </tr> <tr> <td height="24" align="right" class="b1"> password *** </td> <td align="left"><input name="pass" type="text" id="pass" value="<?=$pass?>" size="30" /> <span class="e">4 - 10 charector </span></td> </tr> <tr> <td height="24" align="right" class="b1">confirm password *** </td> <td align="left"><input name="chkpass" type="password" id="chkpass" size="30" /></td> </tr> <tr> <td height="24" align="right" class="b1"> full name *** </td> <td align="left"><input name="name" type="text" id="name" value="<?=$name?>" size="35" /></td> </tr> <tr> <td height="24" align="right" class="b1"> email *** </td> <td align="left"><input name="email" type="text" id="email" value="<?=$email?>" size="35" /></td> </tr> <tr> <td height="24" align="right" class="b1"> confirm email *** </td> <td align="left"><input name="chkemail" type="text" id="chkemail" size="35" /></td> </tr> <tr> <td height="24" colspan="2" align="center" class="b1"> </td> </tr> <tr> <td height="52" colspan="2" align="center" background="bg/topBG_03.png" class="c style21">!! Change profile !! </td> </tr> <tr> <td height="24" align="right" class="b1"> my picture *** </td> <td height="24" align="left" class="b1"><img src="mypic/<?=$photo?>" width="100" height="100" /> <span class="style12">120 x 120 px</span> </td> </tr> <tr> <td height="24" align="right" class="b1"> </td> <td height="24" align="left" class="b1"><input name="filUpload" type="file" id="filUpload" /></td> </tr> <tr> <td height="24" align="right" class="b1"><img src="bg/facebook.png" width="24" height="24" /></td> <td height="24" align="left" class="b1"><input name="facebook" type="text" id="facebook" value="<?=$facebook?>" size="35" /></td> </tr> <tr> <td height="24" colspan="2" align="right" class="b1"> </td> </tr> <tr> <td height="24" colspan="2" align="center" class="b1"><input name="submit" type="submit" id="submit" value="ยืนยันการเปลี่ยน profile" /></td> </tr> </table> </form> </td> </table> <br /> <table width="765" height="29" align="center"> <tr> <td width="757" height="23" align="center" class="style20 style15"><img src="bg/switch.png" width="90" height="21" align="absmiddle" /><span class="style23"> Copyright <strong>©</strong> 2011 webmaster team speak . All rights reserved.</span> <img src="bg/switch.png" width="90" height="21" align="absmiddle" /></td> </tr> </table> <script language="javascript"> function chk(){ if(document.form1.chkpass.value==""){ alert('คุณยังไม่ได้ใส่ยืนยัน password'); document.form1.chkpass.focus(); return false; } var=pass(document.form1.pass.value); var=chkpass(document.form1.chkpass.value); if( pass!= chkpass){ alert('รหัสผ่านไม่ตรงกันตรวจสอบอีกครั้ง'); document.form1.chkpass.focus(); return false; } } document.form1.submit(); </script> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง