-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_ajmod.php
executable file
·58 lines (40 loc) · 1.04 KB
/
_ajmod.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
<?php require_once("inc/conn.inc");
$dir = @$_REQUEST['fcall'];
$parent_id = @$_REQUEST['p_id'];
$opts = "";
$out = '';
function modHeader($title){
return '<div id="myModalB" class="modal fade" role="dialog"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><h4 class="modal-title">'.$title.'</h4></div><div class="modal-body">';
}
function modFooter(){
return '</div></div></div></div>';
}
//displayArray($_REQUEST);
//echobr($dir);
if($dir <> '') {
switch($dir)
{
case "servreg_fu":
echo modHeader('Follow Up');
include("inc/frm_serviceregister_followup.php");
echo modFooter();
break;
case "servreg_form":
//echo modHeader('Follow Up');
include("inc/frm_serviceregister_followup.php");
//echo modFooter();
break;
default:
echo modHeader('Error');
echo 'Incomplete request!';
echo modFooter();
break;
}
}
else
{
echo modHeader('Error');
echo 'Incomplete request!';
echo modFooter();
}
?>