<?php session_start(); include('classes/login-functions.php'); $path = $_SERVER['DOCUMENT_ROOT']."/path.php"; include($path); $username = $_SESSION['username']; $functionsfile = $pathofmayo."/classes/functions.php"; include($functionsfile); //$functions = new AllFunctions(); include('../allpanels/allpanels.php'); //class file calling from attorney panel $functions = new AllPanels(); $doctor_id = $functions->GetDetailsByUsername($username,"id"); $temp_uploads = mysql_query("SELECT a . * , b . * , c.id AS hi_id FROM plantiff_information AS a, plantiff_case_type_info AS b, hire_staff AS c WHERE a.id = b.id && a.form_id = b.form_id && a.id = c.user_id && a.id = c.user_id && b.id = c.user_id && hire_id ='$doctor_id' && a.form_id='$_REQUEST[fid]' && b.form_id='$_REQUEST[fid]' && b.case_closed=0") or die(mysql_error()); if(mysql_num_rows($temp_uploads)>0) { function output_file($file, $name, $mime_type='') { /* This function takes a path to a file to output ($file), the filename that the browser will see ($name) and the MIME type of the file ($mime_type, optional). */ //Check the file premission if(!is_readable($file)) die('File not found or inaccessible!'); $size = filesize($file); $name = rawurldecode($name);
require_once $path; if ($_SESSION['designation'] !== "3") { ?> <script>window.location="<?php echo $sitepath; ?> "</script> <?php } $username = $_SESSION['username']; $functionsfile = $pathofmayo . "/classes/functions.php"; include $functionsfile; //$functions = new AllFunctions(); include '../allpanels/allpanels.php'; //class file calling from attorney panel $functions = new AllPanels(); $doctor_id = $functions->GetDetailsByUsername($username, "id"); $d_f_name = $functions->GetDetailsByUsername($username, "first_name"); $d_l_name = $functions->GetDetailsByUsername($username, "last_name"); $contactn = $functions->GetDetailsByUsername($username, "contact_number"); ?> <!doctype html> <html class="no-js" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <?php $title = $_SERVER['REQUEST_URI']; ?> <title> <?php
<?php ini_set('display_errors', 1); error_reporting(E_ALL); $path = $_SERVER['DOCUMENT_ROOT'] . "/path.php"; require_once $path; include $config; include '../functions.php'; $functions = $pathofmayo . "/classes/functions.php"; include $functions; $username = $_SESSION['username']; //$functions = new AllFunctions(); include '../../allpanels/allpanels.php'; //class file calling from attorney panel $functions = new AllPanels(); $doctor_id = $functions->GetObjectByUsername("id", $username); if (loggedin()) { include 'header.php'; ?> <link rel="stylesheet" href="admin-style.css" type="text/css"> <section class="row"> <div class="container"> <div class="form_section_content"> <h1 class="add_user">Re-Schedule</h1> <?php if (isset($_POST['delete'])) { $form_id = $_REQUEST['fid']; $frm_id = $_REQUEST['fid']; $m_u_n = $_SESSION['username']; $appType = $functions->getInfoAppointment("app_type", $_REQUEST['id']); $p_name = $functions->GetInfoPlantiffInformation("plantiff_name", $_REQUEST['fid']);
<?php ob_start(); ini_set('display_errors', 1); error_reporting(E_ALL); $path = $_SERVER['DOCUMENT_ROOT'] . "/path.php"; require_once $path; require_once $config; if (@$_REQUEST['doctor_id'] != "") { @($doctor_id = $_REQUEST['doctor_id']); $functionsfile = $pathofmayo . "/classes/functions.php"; include $functionsfile; //$functions = new AllFunctions(); include '../allpanels/allpanels.php'; //class file calling from attorney panel $functions = new AllPanels(); } else { $doctor_id; } ?> <div class="dr_message_side_bg"> <h1>Latest Message</h1> <?php $temp_message = mysql_query("SELECT * FROM `message_sent` WHERE find_in_set('{$doctor_id}',main_user_id) order by message_id desc limit 0,6") or die(mysql_error()); if (mysql_num_rows($temp_message) > 0) { while ($message = mysql_fetch_object($temp_message)) { $getall_id = $message->main_user_id; $getalldeta = explode(",", $getall_id); ?> <div class="dr_message_side_row"> <div class="dr_message_side_left">