<?php
ob_start();
$path = $_SERVER['DOCUMENT_ROOT']."/path.php";
require_once($path);
include($config);
include '../functions.php';
$classfile = $_SERVER['DOCUMENT_ROOT']."/classes/functions.php";
include($classfile);
include('header.php');

if(loggedin())
{
	$desg  = new Allfunctions();
?>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<section class="row">		
	<div class="container">
		<div class="form_section_content">
			<?php
			if(isset($_POST['add-role']))
			{
				$data      = array('name_email'=>$_POST['name_email'],'email_format'=>$_POST['email_format']);
				$tablename = "email_formats";
				$desg->INSERT($data,$tablename);
				if($desg)
				{
					echo "CPT Code Added Successfully";
				}
			}
			?>
		</div>
<?php

require_once '../../includes/functions.php';
$path = $_SERVER['DOCUMENT_ROOT'] . "/path.php";
require_once $path;
include $config;
$functions = $_SERVER['DOCUMENT_ROOT'] . "/classes/functions.php";
require_once $functions;
$functions = new Allfunctions();
$desg = $_REQUEST['designation'];
$query = "select * from `members` where `activated`='1' && designation!=5 and designation!=8";
$designation = isset($_REQUEST["designation"]) ? $_REQUEST["designation"] : '';
$fname = isset($_REQUEST["fname"]) ? $_REQUEST["fname"] : '';
$lname = isset($_REQUEST["lname"]) ? $_REQUEST["lname"] : '';
$email = isset($_REQUEST["email"]) ? $_REQUEST["email"] : '';
if ($_REQUEST['fname'] != "") {
    $query .= "&& `first_name` LIKE '%" . $fname . "%'";
}
if ($_REQUEST['lname'] != "") {
    $query .= "&& `last_name` LIKE '%" . $lname . "%'";
}
if ($designation != "") {
    $query .= "&& `designation`='{$desg}'";
}
if ($email != "") {
    $query .= "&& `email_id`='{$_REQUEST['email']}' ";
}
?>
<div class="view_log_details">
	<div class="log_heading">
		<div class="serial_no">Name</div>
<?php

echo $path = $_SERVER['DOCUMENT_ROOT'] . "/path.php";
echo require_once $path;
echo include $config;
$functions = $_SERVER['DOCUMENT_ROOT'] . "/classes/functions.php";
require_once $functions;
$getinformation = new Allfunctions();
echo $user_id = $_POST['id'];
$query = mysql_query("UPDATE `members` set `activated`='1' where `id` = '{$user_id}'");
$user_email_id = $getinformation->GetObjectById($user_id, "email_id");
$designation = $getinformation->GetObjectById($user_id, "designation");
if ($designation == 1 || $designation == 2 || $designation == 3 || $designation == 4 || $designation == 6 || $designation == 7) {
    $subject = "Welcome to Mayo Surgical";
    $message = "Your Account is Activated";
    $extravalues = array("Welcome" => "Welcome to Mayo Surgical. For On-line Update please Logged In your Account for further Updates", "Note" => "This is the Autogenerated Email. Please Don't Reply");
    $getinformation->SendEmail($user_email_id, $subject, $message, $extravalues);
}
echo "Updated";
<?php

ob_start();
require_once '../../includes/functions.php';
$path = $_SERVER['DOCUMENT_ROOT'] . "/path.php";
require_once $path;
include $config;
include '../functions.php';
$classfile = $_SERVER['DOCUMENT_ROOT'] . "/classes/functions.php";
include $classfile;
include 'header.php';
if (loggedin()) {
    $desg = new Allfunctions();
    ?>
<section class="row">
	<div class="container">
		<div class="form_section_content">
		<h1 class="add_user">Add Subroles</h1>
<form name="userinfo" method="post" action="" id="regform">
	<ul>
		<li>
			<span class="form_label">	
				<label>Designation</label>
			</span>
			<span class="form_input">
				<?php 
    $var = "designation";
    echo $desg->GetRoles($var);
    ?>
				<span class="error"></span>
			</span>
<?php

ob_start();
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once '../../../includes/functions.php';
$path = $_SERVER['DOCUMENT_ROOT'] . "/rao/path.php";
require_once $path;
include $config;
include '../../functions.php';
include '../classes/Cases.php';
$desg = new Cases();
$functions = $_SERVER['DOCUMENT_ROOT'] . "/rao/classes/functions.php";
require_once $functions;
$getinformation = new Allfunctions();
?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> 
<script language="javascript" type="text/javascript">
function getXMLHTTP() { 
		var xmlhttp=false;	
		try{
			xmlhttp=new XMLHttpRequest();
		}
		catch(e)	{		
			try{			
				xmlhttp= new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch(e){
				try{
				xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
				}
<?php

ob_start();
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once '../../includes/functions.php';
$path = $_SERVER['DOCUMENT_ROOT'] . "/path.php";
require_once $path;
include $config;
include '../functions.php';
$functions = $pathofmayo . "/classes/functions.php";
include $functions;
$getdata = new Allfunctions();
?>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> 
<?php 
if (loggedin()) {
    include 'header.php';
    $form_id = $_REQUEST['fid'];
    ?>
<script type="text/javascript">

var tableToExcel = (function() {

  var uri = 'data:application/vnd.ms-excel;base64,'

    , template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body><table>{table}</table></body></html>'

    , base64 = function(s) { return window.btoa(unescape(encodeURIComponent(s))) }

    , format = function(s, c) { return s.replace(/{(\w+)}/g, function(m, p) { return c[p]; }) }
<?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") . '&nbsp</b>';
            echo "<b>" . $getfunction->GetObjectById($message_docs->sent_by, "last_name") . '&nbsp</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">
<?php

ob_start();
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once '../../includes/functions.php';
$path = $_SERVER['DOCUMENT_ROOT'] . "/path.php";
require_once $path;
include $config;
include '../functions.php';
$classfile = $pathofmayo . "/classes/functions.php";
include $classfile;
include 'header.php';
if (loggedin()) {
    $desg = new Allfunctions();
    ?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script language="javascript" type="text/javascript">
function getXMLHTTP() { 
		var xmlhttp=false;	
		try{
			xmlhttp=new XMLHttpRequest();
		}
		catch(e)	{		
			try{			
				xmlhttp= new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch(e){
				try{
				xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
				}
Exemple #10
0
<?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</h1>
			<div class="attorney_row">
				<div class="attorney_row_heading">
					<div class="attorney_client_1">Client No.</div>
					<div class="attorney_client_2">Client Name</div>
					<div class="attorney_client_3">Contact No.</div>
					<div class="attorney_client_4">Email-Address</div>
					<div class="attorney_client_4">Date of Birth</div>
					<div class="attorney_client_5">Date</div>
					<div class="attorney_client_6">Action</div>
				</div>
				<?php 
Exemple #11
0
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*/
include('../attorney/classes/meshed.php');
$functions = $_SERVER['DOCUMENT_ROOT']."/classes/functions.php";
require_once($functions);
$myobj = new Meshed();
$a_username    = $_SESSION['username'];
		
$getfunction   = new Allfunctions();
$designationid = $getfunction->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><?=$msg?></p>
				<h1>Client List</h1>
				<div class="attorney_row">
					<div class="attorney_row_heading">
Exemple #12
0
<?php

ob_start();
require_once '../../includes/functions.php';
$path = $_SERVER['DOCUMENT_ROOT'] . "/path.php";
require_once $path;
include $config;
include '../functions.php';
$classfile = $_SERVER['DOCUMENT_ROOT'] . "/classes/functions.php";
include $classfile;
include 'header.php';
if (loggedin()) {
    $desg = new Allfunctions();
    if (isset($_POST['updates']) && isset($_REQUEST['data'])) {
        $id = $_REQUEST['data'];
        $first_name = $_POST['first_name'];
        $last_name = $_POST['last_name'];
        $state = $_POST['state'];
        $city = $_POST['city'];
        $address = $_POST['address'];
        $zip_code = $_POST['zip_code'];
        $contact_number = $_POST['contact_number'];
        $upqry = "UPDATE `members` SET first_name = '" . $first_name . "', last_name = '" . $last_name . "', state = '" . $state . "', city = '" . $city . "',\n\t\taddress = '" . $address . "', zip_code = '" . $zip_code . "', contact_number = '" . $contact_number . "' WHERE id = {$id} ";
        $uqry = mysql_query($upqry) or die(mysql_error());
        if (mysql_affected_rows() == 1) {
            $msg = "<div class='thank_message'>Profile Updated Successfully.</div>";
        } else {
            $msg = "Mysql Error! Please check query again.";
        }
    }
    if (isset($_POST['updateemail']) && isset($_REQUEST['data'])) {
<?php
ob_start();
require_once('../../includes/functions.php');
$path = $_SERVER['DOCUMENT_ROOT']."/path.php";

require_once($path);
include($config);
include '../functions.php';
$classfile = $_SERVER['DOCUMENT_ROOT']."/classes/functions.php";
include($classfile);
include('header.php');
if(loggedin())
{
	$desg  = new Allfunctions();
?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script language="javascript" type="text/javascript">

// Roshan's Ajax dropdown code with php

// This notice must stay intact for legal use

// Copyright reserved to Roshan Bhattarai - nepaliboy007@yahoo.com

// If you have any problem contact me at http://roshanbh.com.np

function getXMLHTTP() { //fuction to return the xml http object
		var xmlhttp=false;	
		try{
			xmlhttp=new XMLHttpRequest();
		}
<?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>
				<div class="back_btn_area">
<a href="index.php"><input name="" type="button" class="back_btn" value="<<Back"/></a>
</div>
<?php

ob_start();
require_once '../../includes/functions.php';
$path = $_SERVER['DOCUMENT_ROOT'] . "/path.php";
require_once $path;
include $config;
include '../functions.php';
$classfile = $_SERVER['DOCUMENT_ROOT'] . "/classes/functions.php";
include $classfile;
include 'header.php';
if (loggedin()) {
    $desg = new Allfunctions();
    ?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script language="javascript" type="text/javascript">

// Roshan's Ajax dropdown code with php

// This notice must stay intact for legal use

// Copyright reserved to Roshan Bhattarai - nepaliboy007@yahoo.com

// If you have any problem contact me at http://roshanbh.com.np

function getXMLHTTP() { //fuction to return the xml http object
		var xmlhttp=false;	
		try{
			xmlhttp=new XMLHttpRequest();
		}
		catch(e)	{		
<?php

ob_start();
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once '../../../includes/functions.php';
$path = $_SERVER['DOCUMENT_ROOT'] . "/rao/path.php";
require_once $path;
include $config;
include '../../functions.php';
include '../classes/Cases.php';
$functions = $_SERVER['DOCUMENT_ROOT'] . "/rao/classes/functions.php";
require_once $functions;
$getinformation = new Allfunctions();
if (loggedin()) {
    $header_admin = $_SERVER['DOCUMENT_ROOT'] . "/rao/mayo-admin/welcome/header.php";
    require_once $header_admin;
    ?>
<div class="container dashboard_bg tabber" id="tab1">
		<div class="tabbertab">
			<h2><a name="tab1">View Application</a></h2>
			<div class="view_application">
				<div class="client_1">
					<div class="view_client_row">
						<h1>Plantiff Information</h1>
					</div>
					<?php 
    $qry = "SELECT a . *, b . * , c . * FROM plantiff_information AS a, plantiff_case_type_info AS b, members AS c\nWHERE a.form_id ='" . $_GET['id'] . "' && b.form_id = '" . $_GET['id'] . "' && a.id = c.id && b.id = c.id";
    $sql = mysql_query($qry) or die(mysql_error());
    $row = mysql_fetch_array($sql);
    ?>