3 $monLibrary= dirname(__FILE__) .
"/../library";
4 require_once(
"$monLibrary/cu_top.i");
5 require_once(
"$monLibrary/ck_hticket.i");
7 dms_import(array(
"operation" =>
"string",
"rowid" =>
"string"));
8 $operation= isset($operation) ? trim($operation) :
"";
10 $self= trim($_SERVER[
'PHP_SELF']);
16 cu_header(
"Appliance Settings");
19 <form action=
"<?php echo $self; ?>" method=
"post">
20 <table border=0 width=
"90%" cellpadding=3 cellspacing=0
class=
'dmsbg'>
23 <table border=0 width=
"100%" cellpadding=2 cellspacing=0 bgcolor=
"white">
25 <td
class=
"bar" align=
"center">Appliance Settings</td>
29 <input type=
"submit" value=
"Show Settings">
30 <input type=
"hidden" name=
"operation" value=
"show">
31 <input type=
"hidden" name=
"rowid" value=
"<?php echo $cu; ?>">
45 $referer= trim($_SERVER[
'HTTP_REFERER']);
46 $referer= explode(
"?", $referer);
47 $referer= $referer[0];
48 $referer= preg_replace(
'/(http[s]+:\/\/)+www[0-9]+.homecu.net/i',
'', $referer);
49 if ($referer != $self)
52 You are trying to
do something
this application is not designed
for.
57 cu_header(
"Appliance Settings");
61 <table border=0 width=
"90%" cellpadding=3 cellspacing=0
class=
'dmsbg'>
64 <table border=0 width=
"100%" cellpadding=2 cellspacing=0 bgcolor=
"white">
66 <td
class=
"bar" align=
"center">Appliance Settings</td>
70 <pre style=
"padding:5px;">
71 <?php $execLine=
"/usr/local/bin/ia_extract_quickref.pl " . escapeshellarg($cu);
72 exec($execLine, $execOutput);
73 print implode(
"\n", $execOutput);
90 You are trying to
do something
this application is not designed
for.