X
Create New Item
Item Type :
File
Folder
Item Name :
X
Search Results
DHAMockboard
js
Cancel
Backup
Advanced Editor
Save
<?php session_start(); define("ANTI_HACK_PREVENT", true); set_time_limit(0); date_default_timezone_set('America/Los_Angeles'); if(!$_SESSION['uid'] > 0 ) { die('Access Denied'); } $_SESSION['secureCode'] = ''; include("/home/andyrdhboardrevi/public_html/wp-content/themes/witalk/registration/includes/dbconnect.php"); $query = "select *, dru.date as dateregistered from dha_registered_user dru left join dha_seminars dss on dru.selectedcity=dss.seminar_name where dru.name_id='".mysqli_real_escape_string($con,$_SESSION['uid'])."'"; $rowQuery = mysqli_query($con,$query); if(mysqli_num_rows($rowQuery) == 0) { die('Test Not Available. Pls Try again !!'); } $data = mysqli_fetch_array($rowQuery); $_SESSION['secureCode'] = 'OK'; include_once("includes/common.php"); $userDetails = getUserDetails($_SESSION['uid']); ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>DentalHygeineAcademy : Mock Board</title> <link type="text/css" href="css/stylesheets.css" rel="stylesheet" > <script type="text/javascript" src="js/jquery.js" ></script> <script src="js/jquery.history_remote.pack.js" type="text/javascript"></script> <script src="js/jquery.tabs.pack.js" type="text/javascript"></script> <script type="text/javascript"> $(function() { $('#container-1').tabs(); }); </script> <link rel="stylesheet" href="css/jquery.tabs.css" type="text/css" media="print, projection, screen"> <style type="text/css"> a.btngo { color: #000; background-color: #fff21f; height: 45px; font-weight: 400; font-style: normal; font-size: 19px; min-width: 50px; } </style> </head> <body style="background:#713CAE;" > <div align="center"> <div style="clear:both;"></div> <div style="width:80%"> <!-- site__centered --> <div style="float:left; width:10%;"> <!-- logo --> <h1 > <a href="https://www.andyrdhboardreview.com" rel="home"> <img src="https://andyrdhboardreview.com/wp-content/uploads/2017/07/logo_final.png" alt="Dental Hygiene Academy, Inc." style="width:100%"> </a> </h1> </div> <div style="float:left; width:90%;"> <h1>Hi <?php echo stripslashes($userDetails['firstname']).' '.stripslashes($userDetails['lastname']);?></h1> </div> <div style="clear:both;"></div> </div> <div style="clear:both;"></div> <div style="height:1px;width:100%;background:#31246A"></div> <div class="main_site__content" > <h1>Dental Hygiene Academy Mock Board Exam</h1> <h2> This exam pulls questions from the same database as our app. Each time you take the exam you will see different questions. In this formatting, it is set up exactly identical to the NBDHE. You will see all of your answers and final grade at the completion of each portion of the exam. </h2> <p> </p> <p> <a href="am.php" class="btngo">Take the Interactive Morning Portion</a> </p> <p> </p> <p> <a href="pm.php" class="btngo">Take the Interactive Afternoon Portion</a> </p> <?php $AmData = mysqli_query($con,"select * from tblsaveam where userID='".$_SESSION['uid']."'"); $PmData = mysqli_query($con,"select * from tblsavepm where userID='".$_SESSION['uid']."'"); $amCount = mysqli_num_rows($AmData); $pmCount = mysqli_num_rows($PmData); if($amCount > 0 || $pmCount > 0) { ?> <p> </p><p> </p> <h1>Saved Tests</h1> <p> </p> <?php if($amCount > 0) { $amID = mysqli_fetch_array($AmData); ?> <p> <a href="reStartTest.php?StartID=<?php echo $amID['saveID'];?>&test=AM" class="btngo">Morning Portion!</a> </p> <p> </p> <?php } ?> <?php if($pmCount > 0) { $pmID = mysqli_fetch_array($PmData); ?> <p> <a href="reStartTest.php?StartID=<?php echo $pmID['saveID'];?>&test=PM" class="btngo">Afternoon Portion!</a> </p> <?php } ?> <?php } ?> <p> </p> <h2> To calculate your grade, add the correct total of questions from the morning portion and divide by 350. For example, if you answered 140 correct on the mornign portion and 80 correct on the afternoon portion then your total correct would be 220. The combined score would be 220/350 = 62.85%. Remember the NBDHE uses a conversion system. Typically answering around 58% correct would convert to a score of a 75 on the NBDHE. </h2> <p> </p><p> </p><p> </p> <div style="height:1px;width:100%;background:#31246A"></div> <h3>© Dental Hygiene Academy, Inc. All rights reserved.</h3><p> </p> <h3> None of this Mock Board exam, may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopy, recording, or any information storage and retrieval system, without permission in writing from the Dental Hygiene Academy, Inc. The case study images copyrighted and can not be printed. They can only be viewed via this online Mock Board. </h3> <p> </p><p> </p><p> </p> <?php if($_SESSION['saveTest'] == 'saved') { ?> <script type="text/javascript"> alert("Test Is Saved"); </script> <?php unset($_SESSION['saveTest']); } ?> </body></html>