? 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/Payment.php

<? include("header.php");?>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <!-- fwtable fwsrc="Untitled" fwbase="home.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <tr>
   <td><img src="images/spacer.gif" width="423" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="16" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="225" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="315" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="21" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
  </tr>

  
  <tr>
    <td colspan="5" bgcolor="#FFFFFF"><div align="center"> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr valign="top"> 
            <td width="190"><table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr>
                  <td><div align="center"> <? echo "$showmember"; ?></div></td>
                </tr>
                <tr> 
                  <td><img src="images/index_09.jpg" width="224" height="41" 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/bullet/bt03.gif" width="14" height="14"><? 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>
                <tr> 
                  <td>&nbsp;</td>
                </tr>
              </table></td>
            <td width="482"><table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr> 
                  <td><img src="images/h_pay.jpg" width="121" height="29"></td>
                </tr>
                <tr> 
                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr class="jobscss"> 
                        <td bgcolor="#FFFFFF"><div align="center"><br>
                            <br>
                            ท่านสามารถเลือกการชำระเงินโดยผ่านบัญชีธนาคารด้านล่างนี้ได้ทันทีค่ะ 
                            <br>
                            <br>
                             </div></td>
                      </tr>
                      <tr class="jobscss"> 
                        <td bgcolor="#FFFFFF"> 
                          <?
$page = $_GET['page'];

$select_type="select * from bank  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 bank  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 bank  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'];
$accname  =$rows['accname'];
$bankname = $rows['bankname'];
$accno = $rows['accno'];
$branch = $rows['branch'];
$acctype = $rows['acctype'];
$bgcount=$bgcount+1;
$bgmod=$bgcount%2;
if($bgmod==0){
	$bgcolor="#E9E9E8";
}else{
	$bgcolor="#FFFFFF";
}
	?>
                          <table width="431" border="0" align="center" cellpadding="1" cellspacing="1">
                            <tr valign="top"> 
                              <td width="109" bgcolor="#FFCCFF"> <div align="right"><strong>ชื่อบัญชี 
                                  : </strong></div></td>
                              <td width="315" bgcolor="#FFFFFF"><? echo "$accname"; ?></td>
                            </tr>
                            <tr valign="top"> 
                              <td bgcolor="#FFCCFF"> <div align="right"><strong>เลขที่บัญชี 
                                  :</strong></div></td>
                              <td bgcolor="#FFFFFF"><? echo "$accno"; ?></td>
                            </tr>
                            <tr valign="top"> 
                              <td bgcolor="#FFCCFF"> <div align="right"><strong>ธนาคาร 
                                  :</strong></div></td>
                              <td bgcolor="#FFFFFF"><? echo "$bankname"; ?></td>
                            </tr>
                            <tr valign="top"> 
                              <td bgcolor="#FFCCFF"> <div align="right"><strong>สาขา 
                                  :</strong></div></td>
                              <td bgcolor="#FFFFFF"><? echo "$branch"; ?></td>
                            </tr>
                            <tr valign="top"> 
                              <td bgcolor="#FFCCFF"> <div align="right"><strong>ประเภท 
                                  :</strong></div></td>
                              <td bgcolor="#FFFFFF"><? echo "$acctype"; ?></td>
                            </tr>
                          </table>
                          <br> 
                          <?
}
}
?>                        </td>
                      </tr>
                      <tr class="jobscss"> 
                        <td height="19" bgcolor="#FFFFFF"><div align="center"><br>
                            </div></td>
                      </tr>
                      <tr class="jobscss"> 
                        <td bgcolor="#FFFFFF"><span class="maekhawtom"> 
                          </span></td>
                      </tr>
                      <tr> 
                        <td bgcolor="#FFFFFF"> <div align="center"><br>
                            <br>
                            <br>
                          </div></td>
                      </tr>
                    </table></td>
                </tr>
              </table></td>
            <td width="244"><table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr> 
                  <td><table width="100%" border="0" cellspacing="1" cellpadding="1">
                      <tr> 
                        <td><img src="images/hr1.jpg" width="197" height="23"></td>
                      </tr>
                      <tr> 
                        <td><table width="100%" border="0" cellspacing="1" cellpadding="1">
                            <tr> 
                              <td> <img src="images/arrow.gif" width="7" height="8"> 
                                <a href="ReviewProducts.php">สินค้าโปรโมชั่น</a> 
                                <img src="images/gif_new.gif" width="26" height="12">                                </td>
                            </tr>
                            <tr> 
                              <td><img src="images/arrow.gif" width="7" height="8"> 
                                ค้นหาสินค้าที่ต้องการ                                </td>
                            </tr>
                            <tr> 
                              <td> <script language="JavaScript">
function checksearch()
{
      var s1 = document.webFormSearch.txtsearch.value;

  if( s1.length ==0)
           {
           alert("กรุณาใส่คำที่ค้นหาด้วยค่ะ");
           document.webFormSearch.txtsearch.focus();           
           return false;
           }
         else
           return true;
}
</script> <table width="100%" border="0" cellspacing="1" cellpadding="1">
                                  <form method="post" action="Search.php" name="webFormSearch" onSubmit="return checksearch()">
                                    <tr> 
                                      <td width="87%"> <div align="right"> 
                                          <input name="txtsearch" type="text" class="inputxx" id="txtsearch8" onClick="this.value='';" value="ค้นหาสินค้า" maxlength="15" />
                                        </div></td>
                                      <td width="13%"><input name="image" type=image src="images/icon_search.jpg" width="23" height="23" scr=images/icon_search.jpg></td>
                                    </tr>
                                    <tr> 
                                      <td><div align="right">  
                                          <input name="typesearch" type="radio" value="productscode" checked>
                                          รหัสสินค้า 
                                          <input type="radio" name="typesearch" value="productsname">
                                          ชื่อสินค้า </div></td>
                                      <td>&nbsp;</td>
                                    </tr>
                                  </form>
                                </table></td>
                            </tr>
                            <tr> 
                              <td><img src="images/arrow.gif" width="7" height="8"> 
                                <a href="ConfirmPayment.php">แจ้งการชำระเงินได้ที่นี่</a></td>
                            </tr>
                          </table></td>
                      </tr>
                      
                  </table></td>
                </tr>
              </table></td>
          </tr>
        </table>
      </div></td>
   <td><img src="images/spacer.gif" width="1" height="25" border="0" alt=""></td>
  </tr>
</table><? include("footer.php");?>

</body>
</html>

T1KUS90T
  root-grov@210.1.60.28:~$