Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2925 → Rev 2926

/web/acc/manager/htdocs/accounting.php
7,23 → 7,8
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php"))
include_once("../lib/sql/drivers/$config[sql_type]/functions.php");
else{
echo <<<EOM
<title>$l_title</title>
<link rel="stylesheet" href="/css/acc.css">
</head>
<body>
<center>
<b>Could not include SQL library functions. Aborting</b>
</body>
</html>
EOM;
exit();
}
#choice of language
$Language = 'en';
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
59,6 → 44,21
$l_edit_user = "Edit user :";
}
 
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php"))
include_once("../lib/sql/drivers/$config[sql_type]/functions.php");
else{
echo <<<EOM
<title>$l_title</title>
<link rel="stylesheet" href="/css/acc.css">
</head>
<body>
<center>
<b>Could not include SQL library functions. Aborting</b>
</body>
</html>
EOM;
exit();
}
$operators=array( '=','<', '>', '<=', '>=', 'regexp', 'like' );
if ($config['sql_type'] == 'pg'){
$operators=array( '=','<', '>', '<=', '>=', '~', 'like', '~*', '~~*', '<<=' );
/web/acc/manager/html/stats.html.php
1,7 → 1,7
<form action="stats.php" method="get">
<div class="panel">
<div class="panel-header"><?= $l_title ?></div>
<div class="panel-row">
<form action="stats.php" method="get">
<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tr>
<td colspan="2" align=center>
56,20 → 56,14
</td>
</tr>
</table>
</form>
<hr size=1 noshade>
<table border=0 width="100%">
<tr>
<td align="center">
<center>
<?php
if ($login == '') echo $l_stat_for_all;
else echo "$l_stat_for_user <b><font color=\"darkblue\">$login</font></b>"
?>
</td>
</tr>
</table>
</div>
<div class="panel-header"><?= $l_title ?></div>
<div class="panel-row">
</center>
<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tbody style='font-family: "DejaVu Sans";font-size: small;color: #666666;'>
<tr bgcolor="#d0ddb0">
162,9 → 156,8
</tr>
EOM;
?>
</table>
</table>
</div>
</div>
</div>
</form>
</body>
</html>