-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccount_username.php
89 lines (74 loc) · 2.11 KB
/
account_username.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php
session_start();
error_reporting (0);
include_once('classes/config.php');
include_once('classes/sessions.php');
include_once('classes/tbs_class_php5.php');
include_once('lang/en.php');
include_once('side_nav.php');
include_once('configData.php');
include_once('classes/validation.php');
include_once('models/CI_model.php');
include_once('models/CI_model_TBS.php');
include_once('models/CI_model_search_engine.php');
include_once('classes/random_code.php');
if(isset($_GET['get_note'])&&isset($_SESSION['patient_id']))
{
if($_GET['get_note']=="username")
{
$template = "views/account_username_edited.html";
$TBS = new clsTinyButStrong;
$TBS->NoErr = true;
$TBS->LoadTemplate("$template");
$TBS->Render = TBS_OUTPUT;
$TBS->Show();
@mysql_close();
die();
}
else if($_GET['get_note']=="password")
{
$template = "views/account_password_edited.html";
$TBS = new clsTinyButStrong;
$TBS->NoErr = true;
$TBS->LoadTemplate("$template");
$TBS->Render = TBS_OUTPUT;
$TBS->Show();
@mysql_close();
die();
}
else
{
}
}
else if(isset($_GET['get_note'])&&isset($_SESSION['physician_id']))
{
if($_GET['get_note']=="username")
{
$template = "views/account_username_edited.html";
$TBS = new clsTinyButStrong;
$TBS->NoErr = true;
$TBS->LoadTemplate("$template");
$TBS->Render = TBS_OUTPUT;
$TBS->Show();
@mysql_close();
die();
}
else if($_GET['get_note']=="password")
{
$template = "views/account_password_edited.html";
$TBS = new clsTinyButStrong;
$TBS->NoErr = true;
$TBS->LoadTemplate("$template");
$TBS->Render = TBS_OUTPUT;
$TBS->Show();
@mysql_close();
die();
}
else
{
}
}
else
{
}
?>