Пример #1
0
    system("echo '?>'>> ../setting.php");
    //}
    //echo "/****************<br>This is writing event <br>*********/";
}
include "../setting.php";
$aligncenter = " style='text-align:center' ";
$allowbrowsertext = "array(";
$i = 0;
foreach ($allowbrowser as $ab) {
    $allowbrowsertext .= '"' . $ab . '",';
    $i++;
}
if ($i > 0) {
    $allowbrowsertext = substr($allowbrowsertext, 0, -1);
}
$approve_ctrl = $ctrl->getSelectWorkflowStatus($approve_id, 'Y');
$allowbrowsertext .= ")";
$b = $_SERVER['HTTP_USER_AGENT'];
echo <<<EOF
\t<A href='index.php'>Back To This Module Administration Menu</A>
<table border='1'>
<form method="POST" onsubmit="return confirm('Change setting? It will effect the refresh time and email services in SIMEDU.')">
<tr><th style='text-align:center'>Parameter</th><th style='text-align:center'>Value</th></tr>
<tr><td class='head' {$aligncenter}>Report Organization Name</td>
\t<td class='odd' {$aligncenter}><input name="report_organizationname" value="{$report_organizationname}" size="70"></td></tr>
<tr><td class='head' {$aligncenter}>Report Organization Address</td>
\t<td class='odd' {$aligncenter}><input name="report_organizationaddress" value="{$report_organizationaddress}" size="70"></td></tr>
<tr><td class='head' {$aligncenter}>Report Organization Contacts</td>
\t<td class='odd' {$aligncenter}><input name="report_organizationcontacts" value="{$report_organizationcontacts}" size="70"></td></tr>
<tr><td class='head' {$aligncenter}>SMTP Server:Port</td>
\t<td class='odd' {$aligncenter}><input name="smtpserver" value="{$smtpserver}" size="70"></td></tr>