From 285b99266112732a161385173f843edba3386609 Mon Sep 17 00:00:00 2001 From: Divyanshu Garg Date: Sat, 5 Oct 2019 14:18:50 +0530 Subject: [PATCH] changes --- config.php | 24 --------------- view.php | 88 ++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 69 insertions(+), 43 deletions(-) diff --git a/config.php b/config.php index db67118..dc41a9a 100644 --- a/config.php +++ b/config.php @@ -123,27 +123,3 @@ function setLive($paperId, $start, $end, $date) } checkQuery($exe, 'Exam Set Live'); } -function getPaperStyle($url) -{ - global $conn; - $qry = "SELECT * FROM onair WHERE url='$url'"; - $exe = mysqli_query($conn, $qry); - $array = array(array()); - $i = 0; - while ($cont = mysqli_fetch_array($exe)) { - for ($j = 0; $j <= 5; $j++) { - $array[$i][$j] = $cont[$j]; - } - $i++; - } - $qry = "SELECT * FROM questions WHERE paper_id='$array[0][1]'"; - $exe = mysqli_query($conn, $qry); - $questions = array(array()); - $i = 0; - while ($cont = mysqli_fetch_array($exe)) { - for ($j = 0; $j <= 5; $j++) { - $questions[$i][$j] = $cont[$j]; - } - $i++; - } -} diff --git a/view.php b/view.php index 6f40ecd..e4cc5e3 100644 --- a/view.php +++ b/view.php @@ -1,5 +1,49 @@ - - -
-

Exam Name

-

Subject Code

-

Computer

+

+

Subject Code:

+

Time Duration: 3 Hours - Max. Marks: 60 + Max. Marks:

INSTRUCTION TO CANDIDATES :
\ No newline at end of file