MENGONTOL SHELL
:
3.145.156.17
:
170.10.163.183 / aifatradebd.com
:
Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
:
/
home1
/
bdapparelinfo
/
www
/
Upload File:
files >> //home1/bdapparelinfo/www/cat_list.php
<?php /** * @link: http://www.Awcore.com/dev */ //connect to the database include('paginator.class.php'); include_once ('config.php'); $sq=$_REQUEST["sq"]; $query = "SELECT COUNT(*) FROM categories_list WHERE title like '$sq%' ORDER BY `title` ASC"; $result = mysql_query($query) or die(mysql_error()); $num_rows = mysql_fetch_row($result); $pages = new Paginator; $pages->items_total = $num_rows[0]; $pages->mid_range = 3; // Number of pages to display. Must be odd and > 3 $pages->paginate(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Garments Machinery, Textile Machinery, Sewing Machine, Garments Industry, Textiles Mills, Garments Accessories, Yellow Pages of Bangladesh</title> <meta name="keywords" content="Bdtrade" /> <meta name="description" content="Bdtrade" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <!--================pasignation===================--> <link href="pasignation/pagination.css" rel="stylesheet" type="text/css" /> <link href="pasignation/B_blue.css" rel="stylesheet" type="text/css" /> <!--================end link pasignation===================--> </head> <body> <div id="top"> <div class="cont"> </div><!--end cont--> </div><!--end top--> <?php //include 'top.php';?> <?php include 'header.php';?> <div id="main"> <?php include 'left_menu.php';?> <div id="content"> <div class="conL" style="border:1px solid #D0DBED;"> <h5> Quick Index : Showing By <b> <?php echo "$sq" ;?> Categories Name</b> <?php echo "<span class=\"per_pages\">".$pages->display_jump_menu().$pages->display_items_per_page()."</span>";?></h5> <?php //echo "<span class=\"per_pages\">".$pages->display_pages()."</span>"; $query = "SELECT categories_list.id, categories_list.title FROM categories_list WHERE title like '$sq%' ORDER BY `title` ASC $pages->limit"; $result = mysql_query($query) or die(mysql_error()); $check = mysql_num_rows($result); $error = 0; if($check == 0) { $error = 1; echo "<h3>Sorry Here Was The Empty List.Check Later !</h5>"; } else { //echo "<tr><th>company name</th><th>details</th><th> categories name</th><th>Continent</th><th>Region</th></tr>"; while($row = mysql_fetch_row($result)) { echo "<div class='item_box'>"; echo "<ul> <li class='even'><a href='sub_page.php?sq=$row[0]'>$row[1]</a></li>\n"; echo "</ul></div>"; }///while }////if //echo "<p class=\"paginate\">Page: $pages->current_page of $pages->num_pages</p>\n"; //echo "<span class=\"per_pages\" style=''>".$pages->display_pages()."</span> <br> "; ?> <?php echo "<p class=\"paginate\">Page: $pages->current_page of $pages->num_pages</p>\n"; echo "<span class=\"per_pages\" style=''>".$pages->display_pages()."</span> <br>";?> </div> <!--end conL--><!--end conL--> <?php include 'right.php';?> </div><!--end content--> </div> <!--end main--> <?php include 'footer.php';?>
Copyright © Reserved.