Ejemplo n.º 1
0
<?php

ob_start();
session_start();
$path = $_SERVER['DOCUMENT_ROOT'] . "/path.php";
require_once $path;
$header = $pathofmayo . "/case-manager/header.php";
require $header;
require_once $config;
include '../../classes/login-functions.php';
$data1 = $_SESSION['email'];
if (loggedin()) {
    $a = $_SESSION['username'];
    $meshednew = new Meshed();
    $att_id = $meshednew->getIdByUname();
    $form_id = $meshednew->getFormId($data1);
    $user_id = $meshednew->UserId($data1);
    ?>

<style type="text/css">
	.error{
		color: #ff0000;
		font: 12px/3 open_sansregular;
	}
</style>
<!-- jQuery Form Validation code -->
<section class="row">
	<div class="container client_application">
	<?php 
    if (isset($_REQUEST['submit'])) {
        $meshednew->um_uim_o = mysql_real_escape_string($_REQUEST['um_uim']);
require $header;
require_once $config;
include '../../classes/login-functions.php';
@($emails = $_SESSION['email']);
if (!isset($emails)) {
    ?>
<script>window.location="index.php";</script>
<?php 
}
if (loggedin()) {
    if (isset($_SESSION['username'])) {
        $a = $_SESSION['username'];
    }
    $meshednew = new Meshed();
    $att_id = $meshednew->getIdByUname();
    $form_id = $meshednew->getFormId($emails);
    $user_id = $meshednew->UserId($emails);
    ?>
<!-- validation end -->
<style type="text/css">
.error
{
	color: #ff0000;
	font: 12px/4 open_sansregular;
	margin: 0 !important;
}
</style>
<section class="row">
	<div class="container client_application">
<?php 
    if (isset($_REQUEST['send'])) {