-{config_load file=bacula.conf}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
-{*{popup_init src="js/overlib.js"}*}
+<title>bacula-web</title>
+<link rel="stylesheet" type="text/css" href="style/default.css">
{literal}
<script type="text/javascript">
function OpenWin(URL,wid,hei) {
}
</script>
{/literal}
-<link rel="stylesheet" type="text/css" href="style/default.css" />
-<title>bacula-web</title>
+
</head>
<body>
+{popup_init src='./js/overlib.js'}
{include file=header.tpl}
<div id="main_left">
-{include file=generaldata.tpl}
-<br />
{include file=volumes.tpl}
</div>
<div id="main_right">
- {if !#IndexReport#}
- {include file=last_run_report.tpl}
- {else}
- {include file=report_select.tpl}
- {/if}
-<!-- <table class=genmed cellspacing="1" cellpadding="3" border=0 align="center">
+ <!-- General information -->
+ <div class="box">
+ <p class="title">General informations</p>
+ <table>
+ <tr>
+ <td class="label">{t}Clients{/t}</td> <td>{$clientes_totales}</td>
+ </tr>
+ <tr>
+ <td class="label">{t}Total bytes stored{/t}:</td> <td>{$bytes_stored}</td>
+ </tr>
+ <tr>
+ <td class="label">{t}Total files:{/t}</td> <td>{$files_totales}</td>
+ </tr>
+ <tr>
+ <td class="label">{t}Database size{/t}:</td> <td>{$database_size}</td>
+ </tr>
+ <tr>
+ <td colspan=2 align=center>
+ <a href="javascript:OpenWin('index.php?pop_graph1=yes','600','400')">{t}Last month, bytes transferred{/t}</a>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=2 align=center>
+ <a href="javascript:OpenWin('index.php?pop.graph2=yes','600','400')">{t}Last month, bytes transferred (pie){/t}</a>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ {include file="$last_report"}
+
+ <div class="box">
+ <p class="title">General report</p>
+ {if $server==""}
+ <img src="stats.php?server={$server}&tipo_dato=69&title=General%20report&modo_graph=bars&sizex=420&sizey=250&MBottom=20&legend=1" alt="" />
+ {else}
+ <img src="stats.php?server={$server}&tipo_dato=3&title={$server}&modo_graph=bars" alt="" />
+ {/if}
+ </div> <!-- end div box -->
- <tr>
- <td>
--->
- <div class="box">
- <p class="title">General report</p>
- {if $server==""}
- <img src="stats.php?server={$server}&tipo_dato=69&title=General%20report&modo_graph=bars&sizex=420&sizey=250&MBottom=20&legend=1" />
- {else}
- <img src="stats.php?server={$server}&tipo_dato=3&title={$server}&modo_graph=bars" />
- {/if}
- </div> <!-- end div box -->
-<!--
- </td>
- </tr>
- </table>
--->
-</div>
+</div> <!-- end div main_right -->
{include file="footer.tpl"}
\ No newline at end of file