<?php ob_start(); ini_set('display_errors', 1); error_reporting(E_ALL); $path = $_SERVER['DOCUMENT_ROOT'] . "/path.php"; require_once $path; include 'header.php'; require_once $config; include '../classes/login-functions.php'; if (loggedin()) { /*Class file to call the functions*/ $a_username = $_SESSION['username']; $getfunction = new Allfunctions(); $designationid = $getfunction->GetObjectByUsername("id", $a_username); ?> <section class="row"> <div class="container"> <div class="search_bottom"> <h1>Schedulling Post Consultation</h1> <div class="attorney_row"> <div class="messages"> <form name="form2" method="post" action=""> <?php $docmessages = mysql_query("SELECT * FROM `bill_forward_doctor` WHERE `user_id`='{$_REQUEST['uid']}' && `form_id`='{$_REQUEST['fid']}'") or die(mysql_error()); if (mysql_num_rows($docmessages) > 0) { //echo $werrttt = "SELECT * FROM `message_doctor_billing` WHERE `user_id`='$_REQUEST[uid]' && `form_id`='$_REQUEST[fid]' && `id`='$_REQUEST[id]' and `main_id`='$doctor_id'"; $wet = mysql_query("SELECT * FROM `message_doctor_billing` WHERE `user_id`='{$_REQUEST['uid']}' && `form_id`='{$_REQUEST['fid']}'") or die(mysql_error()); while ($message_docs = mysql_fetch_object($wet)) { echo "<b>" . $getfunction->GetObjectById($message_docs->sent_by, "first_name") . ' </b>'; echo "<b>" . $getfunction->GetObjectById($message_docs->sent_by, "last_name") . ' </b><br/>';
<?php ob_start(); ini_set('display_errors', 1); error_reporting(E_ALL); $path = $_SERVER['DOCUMENT_ROOT'] . "/path.php"; require_once $path; include 'header.php'; require_once $config; include '../classes/login-functions.php'; if (loggedin()) { $a_username = $_SESSION['username']; $temp_profile = new Allfunctions(); $designationid = $temp_profile->GetObjectByUsername("id", $a_username); ?> <?php if (isset($_REQUEST['record'])) { switch ($_REQUEST['record']) { case 'updated': $msg = "Reocrd Updated Successfully"; ?> <div class="container"> <div class="search_bottom"> <p><?php echo $msg; ?> </p> <h1>Staff List</h1> <div class="attorney_row"> <div class="attorney_row_heading">