2007-06-13 Raul Mateos <raulofpandora@gmail.com>
* godmode/menu.php, operation/menu.php, include/pandora.css, include/op.css, include/god.css: Updated with styles to avoid top and bottom border. * godmode/groups/group_list.php, godmode/users/*.php, operation/users/*.php, godmode/servers/*.php, operation/snmpconsole/snmp_alert.php, godmode/reporting/map_builder.php, operation/messages/message.php: Removed old raya style and changed to new style. * include/languages/language_en.php: Changed some typing error. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
139460946e
commit
6ee4f1ec09
|
@ -1,6 +1,18 @@
|
||||||
|
2007-06-13 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
|
* godmode/menu.php, operation/menu.php, include/pandora.css, include/op.css,
|
||||||
|
include/god.css: Updated with styles to avoid top and bottom border.
|
||||||
|
|
||||||
|
* godmode/groups/group_list.php, godmode/users/*.php, operation/users/*.php,
|
||||||
|
godmode/servers/*.php, operation/snmpconsole/snmp_alert.php,
|
||||||
|
godmode/reporting/map_builder.php, operation/messages/message.php:
|
||||||
|
Removed old raya style and changed to new style.
|
||||||
|
|
||||||
|
* include/languages/language_en.php: Changed some typing error.
|
||||||
|
|
||||||
2007-06-12 Sancho Lerena <slerena@artica.es>
|
2007-06-12 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* operation/reporting/reporting_viewer.php: Solved problems with ACL.
|
* operation/reporting/reporting_viewer.php: Solved problems with ACL.
|
||||||
|
|
||||||
* operation/reporting/graph_viewer.php: ACL to delete graph
|
* operation/reporting/graph_viewer.php: ACL to delete graph
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ if (comprueba_login() == 0)
|
||||||
<span>".$lang_label["help"]."</span></a>
|
<span>".$lang_label["help"]."</span></a>
|
||||||
</h2>";
|
</h2>";
|
||||||
|
|
||||||
echo "<table cellpadding=3 cellspacing=3 width=400>";
|
echo "<table cellpadding=4 cellspacing=4 width='400' class='databox'>";
|
||||||
echo "<th>".$lang_label["icon"]."</th>";
|
echo "<th>".$lang_label["icon"]."</th>";
|
||||||
echo "<th>".$lang_label["group_name"]."</th>";
|
echo "<th>".$lang_label["group_name"]."</th>";
|
||||||
echo "<th>".$lang_label["parent"]."</th>";
|
echo "<th>".$lang_label["parent"]."</th>";
|
||||||
|
@ -120,8 +120,9 @@ if (comprueba_login() == 0)
|
||||||
echo "<img border='0' src='images/cross.png'></a></td></tr>";
|
echo "<img border='0' src='images/cross.png'></a></td></tr>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "<tr><td colspan='5'><div class='raya'></div></td></tr>";
|
echo "</table>";
|
||||||
echo "<tr><td colspan='5' align='right'>";
|
echo "<table cellpadding=4 cellspacing=4 width='400'>";
|
||||||
|
echo "<tr><td align='right'>";
|
||||||
echo "<form method=post action='index.php?sec=gagente&
|
echo "<form method=post action='index.php?sec=gagente&
|
||||||
sec2=godmode/groups/configure_group&create_g=1'>";
|
sec2=godmode/groups/configure_group&create_g=1'>";
|
||||||
echo "<input type='submit' class='sub next' name='crt' value='".$lang_label["create_group"]."'>";
|
echo "<input type='submit' class='sub next' name='crt' value='".$lang_label["create_group"]."'>";
|
||||||
|
|
|
@ -37,7 +37,7 @@ if (comprueba_login() == 0){
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
echo '<div id="god1">';
|
echo '<div id="god1">';
|
||||||
echo '<ul class="mn"><li><a href="index.php?sec=gagente&sec2=godmode/agentes/modificar_agente" class="mn">'.$lang_label["manage_agents"].'</a></li></ul></div>';
|
echo '<ul class="mn"><li class="bt0"><a href="index.php?sec=gagente&sec2=godmode/agentes/modificar_agente" class="mn">'.$lang_label["manage_agents"].'</a></li></ul></div>';
|
||||||
|
|
||||||
if (isset($_GET["sec"]) && $_GET["sec"] == "gagente"){
|
if (isset($_GET["sec"]) && $_GET["sec"] == "gagente"){
|
||||||
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/agentes/manage_config"){
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/agentes/manage_config"){
|
||||||
|
@ -202,40 +202,49 @@ if (comprueba_login() == 0){
|
||||||
if ((give_acl($id_user, 0, "DM")==1)){
|
if ((give_acl($id_user, 0, "DM")==1)){
|
||||||
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_main"){
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_main"){
|
||||||
echo '<div id="god8s">';
|
echo '<div id="god8s">';
|
||||||
|
} else
|
||||||
|
echo '<div id="god8">';
|
||||||
|
echo '<ul class="mn">';
|
||||||
|
if (isset($_GET["sec"]) && $_GET["sec"] == "gdbman" &&
|
||||||
|
isset($_GET["sec2"]) && $_GET["sec2"] != "godmode/db/db_main"){
|
||||||
|
echo '<li>';
|
||||||
|
} else {
|
||||||
|
echo '<li class="bb0">';
|
||||||
}
|
}
|
||||||
else echo '<div id="god8">';
|
echo '<a href="index.php?sec=gdbman&sec2=godmode/db/db_main" class="mn">'.$lang_label["db_maintenance"].'</a></li></ul></div>';
|
||||||
echo '<ul class="mn"><li><a href="index.php?sec=gdbman&sec2=godmode/db/db_main" class="mn">'.$lang_label["db_maintenance"].'</a></li></ul></div>';
|
|
||||||
|
|
||||||
if (isset($_GET["sec"]) && $_GET["sec"] == "gdbman"){
|
if (isset($_GET["sec"]) && $_GET["sec"] == "gdbman"){
|
||||||
|
|
||||||
|
|
||||||
if (isset($_GET["sec2"]) && ($_GET["sec2"] == "godmode/db/db_info" || $_GET["sec2"] == "godmode/db/db_info_data")){
|
if (isset($_GET["sec2"]) && ($_GET["sec2"] == "godmode/db/db_info" || $_GET["sec2"] == "godmode/db/db_info_data")){
|
||||||
echo "<div class='arrowgs'>";
|
echo "<div class='arrowgs'>";
|
||||||
}
|
} else
|
||||||
else echo "<div class='arrowg'>";
|
echo "<div class='arrowg'>";
|
||||||
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_info' class='mn'>".$lang_label["db_info"]."</a></li></ul></div>";
|
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_info' class='mn'>".$lang_label["db_info"]."</a></li></ul></div>";
|
||||||
|
|
||||||
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_purge"){
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_purge"){
|
||||||
echo "<div class='arrowgs'>";
|
echo "<div class='arrowgs'>";
|
||||||
}
|
} else
|
||||||
else echo "<div class='arrowg'>";
|
echo "<div class='arrowg'>";
|
||||||
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_purge' class='mn'>".$lang_label["db_purge"]."</a></li></ul></div>";
|
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_purge' class='mn'>".$lang_label["db_purge"]."</a></li></ul></div>";
|
||||||
|
|
||||||
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_refine"){
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_refine"){
|
||||||
echo "<div class='arrowgs'>";
|
echo "<div class='arrowgs'>";
|
||||||
}
|
} else
|
||||||
else echo "<div class='arrowg'>";
|
echo "<div class='arrowg'>";
|
||||||
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_refine' class='mn'>".$lang_label["db_refine"]."</a></li></ul></div>";
|
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_refine' class='mn'>".$lang_label["db_refine"]."</a></li></ul></div>";
|
||||||
|
|
||||||
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_audit"){
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_audit"){
|
||||||
echo "<div class='arrowgs'>";
|
echo "<div class='arrowgs'>";
|
||||||
}
|
} else
|
||||||
else echo "<div class='arrowg'>";
|
echo "<div class='arrowg'>";
|
||||||
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_audit' class='mn'>".$lang_label["db_audit"]."</a></li></ul></div>";
|
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_audit' class='mn'>".$lang_label["db_audit"]."</a></li></ul></div>";
|
||||||
|
|
||||||
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_event"){
|
if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_event"){
|
||||||
echo "<div class='arrowgs'>";
|
echo "<div id='arrowgls'>";
|
||||||
}
|
} else
|
||||||
else echo "<div class='arrowg'>";
|
echo "<div id='arrowgl'>";
|
||||||
echo "<ul class='mn'><li><a href='index.php?sec=gdbman&sec2=godmode/db/db_event' class='mn'>".$lang_label["db_event"]."</a></li></ul></div>";
|
echo "<ul class='mn'><li class='bb0'><a href='index.php?sec=gdbman&sec2=godmode/db/db_event' class='mn'>".$lang_label["db_event"]."</a></li></ul></div>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -165,8 +165,9 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
$form_id_user = $id_user;
|
$form_id_user = $id_user;
|
||||||
$createmode = 1;
|
$createmode = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<h1>".$lang_label["custom_reporting_builder"]."</h1>";
|
echo "<h2>".$lang_label["reporting"]." > ";
|
||||||
|
echo $lang_label["custom_reporting_builder"]."</h2>";
|
||||||
echo "<form method='post' action='index.php?sec=greporting&sec2=godmode/reporting/reporting_builder'>";
|
echo "<form method='post' action='index.php?sec=greporting&sec2=godmode/reporting/reporting_builder'>";
|
||||||
echo "<input type='hidden' name=createmode value='$createmode'>";
|
echo "<input type='hidden' name=createmode value='$createmode'>";
|
||||||
if ($createmode == 0){
|
if ($createmode == 0){
|
||||||
|
@ -181,7 +182,7 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
|
|
||||||
echo "<tr><td class='datos'>";
|
echo "<tr><td class='datos'>";
|
||||||
echo $lang_label["private"];
|
echo $lang_label["private"];
|
||||||
echo "<td class='datos'>";
|
echo "</td><td class='datos'>";
|
||||||
if ($form_report_private == 1)
|
if ($form_report_private == 1)
|
||||||
echo "<input type=checkbox name='report_private' value=1 CHECKED>";
|
echo "<input type=checkbox name='report_private' value=1 CHECKED>";
|
||||||
else
|
else
|
||||||
|
@ -189,7 +190,7 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
|
|
||||||
echo "<tr><td class='datos2' valign='top'>";
|
echo "<tr><td class='datos2' valign='top'>";
|
||||||
echo $lang_label["description"];
|
echo $lang_label["description"];
|
||||||
echo "<td class='datos2'>";
|
echo "</td><td class='datos2'>";
|
||||||
echo "<textarea name='report_description' cols=40 rows=3>";
|
echo "<textarea name='report_description' cols=40 rows=3>";
|
||||||
echo $form_report_description;
|
echo $form_report_description;
|
||||||
echo "</textarea>";
|
echo "</textarea>";
|
||||||
|
@ -203,7 +204,7 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
echo "<input type='submit' class='sub next' value='".$lang_label["update"]."'>";
|
echo "<input type='submit' class='sub next' value='".$lang_label["update"]."'>";
|
||||||
else
|
else
|
||||||
echo "<input type='submit' class='sub wand' value='".$lang_label["create"]."'>";
|
echo "<input type='submit' class='sub wand' value='".$lang_label["create"]."'>";
|
||||||
echo "</table>";
|
echo "</td></tr></table>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
if ($createmode == 0){
|
if ($createmode == 0){
|
||||||
|
@ -220,8 +221,8 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
echo "<input type='hidden' name=id_report value='$id_report'>";
|
echo "<input type='hidden' name=id_report value='$id_report'>";
|
||||||
|
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td class='datos'><b>".$lang_label["source_agent"];
|
echo "<td class='datos'><b>".$lang_label["source_agent"]."</b>";
|
||||||
echo "</b>";
|
echo "</td>";
|
||||||
echo "<td class='datos' colspan=2><select name='id_agent' style='width:180px;'>";
|
echo "<td class='datos' colspan=2><select name='id_agent' style='width:180px;'>";
|
||||||
if ($id_agent != 0)
|
if ($id_agent != 0)
|
||||||
echo "<option value='$id_agent'>".dame_nombre_agente($id_agent);
|
echo "<option value='$id_agent'>".dame_nombre_agente($id_agent);
|
||||||
|
@ -229,7 +230,7 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
$result=mysql_query($sql1);
|
$result=mysql_query($sql1);
|
||||||
while ($row=mysql_fetch_array($result)){
|
while ($row=mysql_fetch_array($result)){
|
||||||
if ( $id_agent != $row["id_agente"])
|
if ( $id_agent != $row["id_agente"])
|
||||||
echo "<option value=".$row["id_agente"].">".$row["nombre"];
|
echo "<option value=".$row["id_agente"].">".$row["nombre"]."</option>";
|
||||||
}
|
}
|
||||||
echo '</select>';
|
echo '</select>';
|
||||||
|
|
||||||
|
@ -248,13 +249,13 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
echo "<b>".$lang_label["modules"]."</b>";
|
echo "<b>".$lang_label["modules"]."</b>";
|
||||||
echo "<td class='datos2' colspan=3>";
|
echo "<td class='datos2' colspan=3>";
|
||||||
echo "<select name='id_module' size=1 style='width:180px;'>";
|
echo "<select name='id_module' size=1 style='width:180px;'>";
|
||||||
echo "<option value=-1> --";
|
echo "<option value=-1> -- </option>";
|
||||||
if ($id_agent != 0){
|
if ($id_agent != 0){
|
||||||
// Populate Module/Agent combo
|
// Populate Module/Agent combo
|
||||||
$sql1="SELECT * FROM tagente_modulo WHERE id_agente = ".$id_agent. " order by nombre";
|
$sql1="SELECT * FROM tagente_modulo WHERE id_agente = ".$id_agent. " order by nombre";
|
||||||
$result = mysql_query($sql1);
|
$result = mysql_query($sql1);
|
||||||
while ($row=mysql_fetch_array($result)){
|
while ($row=mysql_fetch_array($result)){
|
||||||
echo "<option value=".$row["id_agente_modulo"].">".$row["nombre"];
|
echo "<option value=".$row["id_agente_modulo"].">".$row["nombre"]."</option>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
@ -264,15 +265,15 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
echo "<b>".$lang_label["reporting_type"]."</b>";
|
echo "<b>".$lang_label["reporting_type"]."</b>";
|
||||||
echo "<td class='datos' colspan=3>";
|
echo "<td class='datos' colspan=3>";
|
||||||
echo "<select name='type' size=1 style='width:180px;'>";
|
echo "<select name='type' size=1 style='width:180px;'>";
|
||||||
echo "<option value=0>".$lang_label["simple_graph"];
|
echo "<option value=0>".$lang_label["simple_graph"]."</option>";
|
||||||
echo "<option value=1>".$lang_label["custom_graph"];
|
echo "<option value=1>".$lang_label["custom_graph"]."</option>";
|
||||||
echo "<option value=2>".$lang_label["SLA"];
|
echo "<option value=2>".$lang_label["SLA"]."</option>";
|
||||||
echo "<option value=3>".$lang_label["event_report"];
|
echo "<option value=3>".$lang_label["event_report"]."</option>";
|
||||||
echo "<option value=4>".$lang_label["alert_report"];
|
echo "<option value=4>".$lang_label["alert_report"]."</option>";
|
||||||
echo "<option value=5>".$lang_label["monitor_report"];
|
echo "<option value=5>".$lang_label["monitor_report"]."</option>";
|
||||||
echo "<option value=6>".$lang_label["avg_value"];
|
echo "<option value=6>".$lang_label["avg_value"]."</option>";
|
||||||
echo "<option value=7>".$lang_label["max_value"];
|
echo "<option value=7>".$lang_label["max_value"]."</option>";
|
||||||
echo "<option value=8>".$lang_label["min_value"];
|
echo "<option value=8>".$lang_label["min_value"]."</option>";
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
|
||||||
// Custom graph
|
// Custom graph
|
||||||
|
@ -284,7 +285,7 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
$sql1="SELECT * FROM tgraph";
|
$sql1="SELECT * FROM tgraph";
|
||||||
$result = mysql_query($sql1);
|
$result = mysql_query($sql1);
|
||||||
while ($row=mysql_fetch_array($result)){
|
while ($row=mysql_fetch_array($result)){
|
||||||
echo "<option value=".$row["id_graph"].">".$row["name"];
|
echo "<option value=".$row["id_graph"].">".$row["name"]."</option>";
|
||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
|
||||||
|
@ -294,42 +295,42 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
echo "<b>".$lang_label["period"]."</b>";
|
echo "<b>".$lang_label["period"]."</b>";
|
||||||
echo "<td class='datos' colspan=3>";
|
echo "<td class='datos' colspan=3>";
|
||||||
echo "<select name='period'>";
|
echo "<select name='period'>";
|
||||||
echo "<option value=3600>"."Hour";
|
echo "<option value=3600>"."Hour"."</option>";
|
||||||
echo "<option value=7200>"."2 Hours";
|
echo "<option value=7200>"."2 Hours"."</option>";
|
||||||
echo "<option value=10800>"."3 Hours";
|
echo "<option value=10800>"."3 Hours"."</option>";
|
||||||
echo "<option value=21600>"."6 Hours";
|
echo "<option value=21600>"."6 Hours"."</option>";
|
||||||
echo "<option value=43200>"."12 Hours";
|
echo "<option value=43200>"."12 Hours"."</option>";
|
||||||
echo "<option value=86400>"."Last day";
|
echo "<option value=86400>"."Last day"."</option>";
|
||||||
echo "<option value=172800>"."Two days";
|
echo "<option value=172800>"."Two days"."</option>";
|
||||||
echo "<option value=604800>"."Last Week";
|
echo "<option value=604800>"."Last Week"."</option>";
|
||||||
echo "<option value=1296000>"."15 days";
|
echo "<option value=1296000>"."15 days"."</option>";
|
||||||
echo "<option value=2592000>"."Last Month";
|
echo "<option value=2592000>"."Last Month"."</option>";
|
||||||
echo "<option value=5184000>"."Two Month";
|
echo "<option value=5184000>"."Two Month"."</option>";
|
||||||
echo "<option value=15552000>"."Six Months";
|
echo "<option value=15552000>"."Six Months"."</option>";
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
|
||||||
// SLA Max
|
// SLA Max
|
||||||
echo "<tr><td class='datos2'>";
|
echo "<tr><td class='datos2'>";
|
||||||
echo "<b>".$lang_label["sla_max"]."</b>";
|
echo "<b>".$lang_label["sla_max"]."</b></td>";
|
||||||
echo "<td class='datos2'>";
|
echo "<td class='datos2'>";
|
||||||
echo "<input type=text size=6 name='sla_max'>";
|
echo "<input type=text size=6 name='sla_max'>";
|
||||||
// SLA Min
|
// SLA Min
|
||||||
echo "<td class='datos2'>";
|
echo "<td class='datos2'>";
|
||||||
echo "<b>".$lang_label["sla_min"]."</b>";
|
echo "<b>".$lang_label["sla_min"]."</b></td>";
|
||||||
echo "<td class='datos2'>";
|
echo "<td class='datos2'>";
|
||||||
echo "<input type=text size=6 name='sla_min'>";
|
echo "<input type=text size=6 name='sla_min'>";
|
||||||
|
|
||||||
// SLA limit
|
// SLA limit
|
||||||
echo "<tr><td class='datos'>";
|
echo "<tr><td class='datos'>";
|
||||||
echo "<b>".$lang_label["sla_limit"]."</b>";
|
echo "<b>".$lang_label["sla_limit"]."</b></td>";
|
||||||
echo "<td class='datos'>";
|
echo "<td class='datos'>";
|
||||||
echo "<input type=text size=6 name='sla_limit'>";
|
echo "<input type=text size=6 name='sla_limit'>";
|
||||||
echo "</table>";
|
echo "</td></tr></table>";
|
||||||
|
|
||||||
echo "<table width=500 cellspacing=4 cellpading=4'>";
|
echo "<table width=500 cellspacing=4 cellpading=4'>";
|
||||||
echo "<tr><td align='right'>";
|
echo "<tr><td align='right'>";
|
||||||
echo "<input type='submit' class='sub wand' value='".$lang_label["add"]."'>";
|
echo "<input type='submit' class='sub wand' value='".$lang_label["add"]."'>";
|
||||||
echo "</table>";
|
echo "</td></tr></table>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
|
|
||||||
|
@ -338,7 +339,12 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
|
|
||||||
echo "<h2>".$lang_label["report_items"]."</h2>";
|
echo "<h2>".$lang_label["report_items"]."</h2>";
|
||||||
echo "<table width=500 cellspacing=4 cellpadding=4 class='databox'>";
|
echo "<table width=500 cellspacing=4 cellpadding=4 class='databox'>";
|
||||||
echo "<tr><th>".$lang_label["type"]."<th>".$lang_label["agent_name"]."<th>".$lang_label["module_name"]."<th>".$lang_label["period"]."<th>".$lang_label["delete"];
|
echo "<tr><th>".$lang_label["type"]."</th>
|
||||||
|
<th>".$lang_label["agent_name"]."</th>
|
||||||
|
<th>".$lang_label["module_name"]."</th>
|
||||||
|
<th>".$lang_label["period"]."</th>
|
||||||
|
<th>".$lang_label["delete"]."</th>
|
||||||
|
</tr>";
|
||||||
$sql = "SELECT * FROM treport_content WHERE id_report = $id_report";
|
$sql = "SELECT * FROM treport_content WHERE id_report = $id_report";
|
||||||
$res=mysql_query($sql);
|
$res=mysql_query($sql);
|
||||||
$color = 0;
|
$color = 0;
|
||||||
|
@ -374,23 +380,29 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
$module_name = dame_nombre_modulo_agentemodulo ($id_am);
|
$module_name = dame_nombre_modulo_agentemodulo ($id_am);
|
||||||
}
|
}
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td class='$tdcolor'>".$type_desc;
|
echo "<td class='$tdcolor'>".$type_desc."</td>";
|
||||||
echo "<td class='$tdcolor'>".$agent_name;
|
echo "<td class='$tdcolor'>".$agent_name."</td>";
|
||||||
echo "<td class='$tdcolor'>".$module_name;
|
echo "<td class='$tdcolor'>".$module_name."</td>";
|
||||||
echo "<td class='$tdcolor'>".$period;
|
echo "<td class='$tdcolor'>".$period."</td>";
|
||||||
echo "<td class='$tdcolor' align='center'>";
|
echo "<td class='$tdcolor' align='center'>";
|
||||||
if ($form_id_user == $id_user){
|
if ($form_id_user == $id_user){
|
||||||
echo "<a href='index.php?sec=greporting&sec2=godmode/reporting/reporting_builder&id=1&delete=$id_rc'><img src='images/cancel.gif'></A>";
|
echo "<a href='index.php?sec=greporting&sec2=godmode/reporting/reporting_builder&id=1&delete=$id_rc'><img src='images/cancel.gif'></a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Map LIST Selecteion screen
|
// Map LIST Selection screen
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
echo "<h3>".$lang_label["map_builder"]."</h3>";
|
echo "<h2>".$lang_label["reporting"]." > ";
|
||||||
|
echo $lang_label["map_builder"]."</h2>";
|
||||||
echo "<table width='500' cellpadding=4 cellpadding=4 class='databox'>";
|
echo "<table width='500' cellpadding=4 cellpadding=4 class='databox'>";
|
||||||
echo "<tr><th>".$lang_label["map_name"]."<th>".$lang_label["description"]."<th>".$lang_label["Manage"]."<th>".$lang_label["delete"];
|
echo "<tr>
|
||||||
|
<th>".$lang_label["map_name"]."</th>
|
||||||
|
<th>".$lang_label["description"]."</th>
|
||||||
|
<th>".$lang_label["Manage"]."</th>
|
||||||
|
<th>".$lang_label["delete"]."</th>
|
||||||
|
</tr>";
|
||||||
$color=1;
|
$color=1;
|
||||||
$sql="SELECT * FROM tgraph";
|
$sql="SELECT * FROM tgraph";
|
||||||
$res=mysql_query($sql);
|
$res=mysql_query($sql);
|
||||||
|
@ -406,18 +418,18 @@ if ($createmode==2 OR isset($_GET["id"]) OR (isset($_POST["id_report"]))) {
|
||||||
$color = 1;
|
$color = 1;
|
||||||
}
|
}
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td valign='top' class='$tdcolor'>".$row["name"];
|
echo "<td valign='top' class='$tdcolor'>".$row["name"]."</td>";
|
||||||
echo "<td class='$tdcolor'>".$row["description"];
|
echo "<td class='$tdcolor'>".$row["description"]."</td>";
|
||||||
$id_graph = $row["id_graph"];
|
$id_graph = $row["id_graph"];
|
||||||
echo "<td valign='middle' class='$tdcolor' align='center'><a href='index.php?sec=greporting&sec2=godmode/reporting/map_builder&id=$id_graph'><img src='images/setup.png'></A>";
|
echo "<td valign='middle' class='$tdcolor' align='center'><a href='index.php?sec=greporting&sec2=godmode/reporting/map_builder&id=$id_graph'><img src='images/setup.png'></a>";
|
||||||
echo "<td valign='middle' class='$tdcolor' align='center'><a href='index.php?sec=greporting&sec2=godmode/reporting/map_builder&delete_graph=$id_graph'><img src='images/cancel.gif'></A>";
|
echo "<td valign='middle' class='$tdcolor' align='center'><a href='index.php?sec=greporting&sec2=godmode/reporting/map_builder&delete_graph=$id_graph'><img src='images/cancel.gif'></a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "<table width=500 cellpadding=4 cellpadding=4>";
|
echo "<table width=500 cellpadding=4 cellpadding=4>";
|
||||||
echo "<form method=post action='index.php?sec=greporting&sec2=godmode/reporting/map_builder&create_graph=1'>";
|
echo "<form method=post action='index.php?sec=greporting&sec2=godmode/reporting/map_builder&create_graph=1'>";
|
||||||
echo "<tr><td align='right'>";
|
echo "<tr><td align='right'>";
|
||||||
echo "<input type=submit class='sub wizard' value='".$lang_label["add"]."'>";
|
echo "<input type=submit class='sub next' value='".$lang_label["add"]."'>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,17 +57,15 @@ if (isset($_GET["update"])){ // Edit mode
|
||||||
}
|
}
|
||||||
echo "<h2>".$lang_label["view_servers"]." > ";
|
echo "<h2>".$lang_label["view_servers"]." > ";
|
||||||
echo $lang_label["manage_recontask"]."</h2>";
|
echo $lang_label["manage_recontask"]."</h2>";
|
||||||
echo '<table width="700" cellspacing="4" cellpadding="4">';
|
echo '<table width="700" cellspacing="4" cellpadding="4" class="databox_color">';
|
||||||
|
|
||||||
// Different Form url if it's a create or if it's a update form
|
// Different Form url if it's a create or if it's a update form
|
||||||
if ($id_rt != -1)
|
if ($id_rt != -1)
|
||||||
echo "<form name='modulo' method='post' action='index.php?sec=gservers&sec2=godmode/servers/manage_recontask&update=$id_rt'>";
|
echo "<form name='modulo' method='post' action='index.php?sec=gservers&sec2=godmode/servers/manage_recontask&update=$id_rt'>";
|
||||||
else
|
else
|
||||||
echo "<form name='modulo' method='post' action='index.php?sec=gservers&sec2=godmode/servers/manage_recontask&create=1'>";
|
echo "<form name='modulo' method='post' action='index.php?sec=gservers&sec2=godmode/servers/manage_recontask&create=1'>";
|
||||||
echo "<tr><td class='lb' rowspan='8' width='5'>";
|
|
||||||
|
|
||||||
//name
|
//name
|
||||||
echo "<tr>";
|
|
||||||
echo '<tr><td class="datos2">'.$lang_label["task_name"];
|
echo '<tr><td class="datos2">'.$lang_label["task_name"];
|
||||||
echo "<td class='datos2'><input type='text' name='name' size='25' value='$name'>";
|
echo "<td class='datos2'><input type='text' name='name' size='25' value='$name'>";
|
||||||
//-- Recon server
|
//-- Recon server
|
||||||
|
@ -79,47 +77,47 @@ echo "<option value='$id_network_server'>". give_server_name($id_network_server)
|
||||||
$sql1="SELECT id_server, name FROM tserver WHERE recon_server = 1 ORDER BY name ";
|
$sql1="SELECT id_server, name FROM tserver WHERE recon_server = 1 ORDER BY name ";
|
||||||
$result=mysql_query($sql1);
|
$result=mysql_query($sql1);
|
||||||
while ($row=mysql_fetch_array($result)){
|
while ($row=mysql_fetch_array($result)){
|
||||||
echo "<option value='".$row["id_server"]."'>".$row["name"];
|
echo "<option value='".$row["id_server"]."'>".$row["name"]."</option>";
|
||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
|
||||||
// Network
|
// Network
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo '<td class="datos">'.$lang_label["network"];
|
echo '<td class="datos">'.$lang_label["network"].'</td>';
|
||||||
echo '<td class="datos">';
|
echo '<td class="datos">';
|
||||||
echo '<input type="text" name="network" size="25" value="'.$network.'">';
|
echo '<input type="text" name="network" size="25" value="'.$network.'"></td>';
|
||||||
// Interval
|
// Interval
|
||||||
echo '<td class="datos">'.$lang_label["interval"];
|
echo '<td class="datos">'.$lang_label["interval"].'</td>';
|
||||||
echo '<td class="datos">';
|
echo '<td class="datos">';
|
||||||
echo "<select name='interval'>";
|
echo "<select name='interval'>";
|
||||||
if ($interval != 0){
|
if ($interval != 0){
|
||||||
if ($interval < 43200)
|
if ($interval < 43200)
|
||||||
echo "<option value='$interval'>".($interval / 3600).$lang_label["hours"];
|
echo "<option value='$interval'>".($interval / 3600).$lang_label["hours"]."</option>";
|
||||||
else
|
else
|
||||||
echo "<option value='$interval'>".($interval / 86400).$lang_label["days"];
|
echo "<option value='$interval'>".($interval / 86400).$lang_label["days"]."</option>";
|
||||||
}
|
}
|
||||||
echo "<option value='3600'>1 ".$lang_label["hour"];
|
echo "<option value='3600'>1 ".$lang_label["hour"]."</option>";
|
||||||
echo "<option value='7200'>2 ".$lang_label["hours"];
|
echo "<option value='7200'>2 ".$lang_label["hours"]."</option>";
|
||||||
echo "<option value='21600'>6 ".$lang_label["hours"];
|
echo "<option value='21600'>6 ".$lang_label["hours"]."</option>";
|
||||||
echo "<option value='43200'>1/2 ".$lang_label["day"];
|
echo "<option value='43200'>1/2 ".$lang_label["day"]."</option>";
|
||||||
echo "<option value='86400'>1 ".$lang_label["day"];
|
echo "<option value='86400'>1 ".$lang_label["day"]."</option>";
|
||||||
echo "<option value='432000'>5 ".$lang_label["days"];
|
echo "<option value='432000'>5 ".$lang_label["days"]."</option>";
|
||||||
echo "<option value='604800'>1 ".$lang_label["week"];
|
echo "<option value='604800'>1 ".$lang_label["week"]."</option>";
|
||||||
echo "<option value='1209600'>2 ".$lang_label["week"];
|
echo "<option value='1209600'>2 ".$lang_label["week"]."</option>";
|
||||||
echo "<option value='2592000'>1 ".$lang_label["month"];
|
echo "<option value='2592000'>1 ".$lang_label["month"]."</option>";
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
|
||||||
// Network profile
|
// Network profile
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td class='datos2'>".$lang_label["network_profile"];
|
echo "<td class='datos2'>".$lang_label["network_profile"]."</td>";
|
||||||
echo "<td class='datos2'>";
|
echo "<td class='datos2'>";
|
||||||
echo "<select name='id_network_profile'>";
|
echo "<select name='id_network_profile'>";
|
||||||
echo "<option value='$id_network_profile'>".give_network_profile_name($id_network_profile);
|
echo "<option value='$id_network_profile'>".give_network_profile_name($id_network_profile);
|
||||||
$sql1 = "SELECT * FROM tnetwork_profile where id_np != '$id_network_profile'";
|
$sql1 = "SELECT * FROM tnetwork_profile where id_np != '$id_network_profile'";
|
||||||
$result=mysql_query($sql1);
|
$result=mysql_query($sql1);
|
||||||
while ($row=mysql_fetch_array($result))
|
while ($row=mysql_fetch_array($result))
|
||||||
echo "<option value='".$row["id_np"]."'>".$row["name"];
|
echo "<option value='".$row["id_np"]."'>".$row["name"]."</option>";
|
||||||
echo "</select>";
|
echo "</select></td>";
|
||||||
//-- Network server
|
//-- Network server
|
||||||
echo "<td class='datos2'>".$lang_label["network_server"];
|
echo "<td class='datos2'>".$lang_label["network_server"];
|
||||||
echo "<td class='datos2'>";
|
echo "<td class='datos2'>";
|
||||||
|
@ -128,42 +126,43 @@ $sql1="SELECT id_server, name FROM tserver WHERE network_server = 1 ORDER BY nam
|
||||||
$result=mysql_query($sql1);
|
$result=mysql_query($sql1);
|
||||||
echo "<option value='$id_network_server_assigned'>". give_server_name($id_network_server_assigned);
|
echo "<option value='$id_network_server_assigned'>". give_server_name($id_network_server_assigned);
|
||||||
while ($row=mysql_fetch_array($result)){
|
while ($row=mysql_fetch_array($result)){
|
||||||
echo "<option value='".$row["id_server"]."'>".$row["name"];
|
echo "<option value='".$row["id_server"]."'>".$row["name"]."</option>";
|
||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
|
||||||
// Group
|
// Group
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td class='datos'>".$lang_label["group"];
|
echo "<td class='datos'>".$lang_label["group"]."</td>";
|
||||||
echo "<td class='datos'>";
|
echo "<td class='datos'>";
|
||||||
echo "<select name='id_group'>";
|
echo "<select name='id_group'>";
|
||||||
echo "<option value='$id_group'>".dame_nombre_grupo($id_group);
|
echo "<option value='$id_group'>".dame_nombre_grupo($id_group)."</option>";
|
||||||
$sql1 = "SELECT * FROM tgrupo where id_grupo != $id_group";
|
$sql1 = "SELECT * FROM tgrupo where id_grupo != $id_group";
|
||||||
$result=mysql_query($sql1);
|
$result=mysql_query($sql1);
|
||||||
while ($row=mysql_fetch_array($result))
|
while ($row=mysql_fetch_array($result))
|
||||||
echo "<option value='".$row["id_grupo"]."'>".$row["nombre"];
|
echo "<option value='".$row["id_grupo"]."'>".$row["nombre"]."</option>";
|
||||||
echo "</select>";
|
echo "</select></td>";
|
||||||
|
|
||||||
// TYPE
|
// TYPE
|
||||||
echo "<td class='datos'>".$lang_label["type"];
|
echo "<td class='datos'>".$lang_label["type"];
|
||||||
echo "<td class='datos'>";
|
echo "<td class='datos'>";
|
||||||
echo "<select name='type'>";
|
echo "<select name='type'>";
|
||||||
echo "<option value='1'>ICMP";
|
echo "<option value='1'>ICMP</option>";
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
|
||||||
// Incident
|
// Incident
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td class='datos2'>".$lang_label["incident"];
|
echo "<td class='datos2'>".$lang_label["incident"]."</td>";
|
||||||
|
echo "<td class='datos2'>";
|
||||||
echo "<select name='create_incident'>";
|
echo "<select name='create_incident'>";
|
||||||
if ($type == 1){
|
if ($type == 1){
|
||||||
echo "<option value='1'>".$lang_label["yes"];
|
echo "<option value='1'>".$lang_label["yes"]."</option>";
|
||||||
echo "<option value='0'>".$lang_label["no"];
|
echo "<option value='0'>".$lang_label["no"]."</option>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo "<option value='0'>".$lang_label["no"];
|
echo "<option value='0'>".$lang_label["no"]."</option>";
|
||||||
echo "<option value='1'>".$lang_label["yes"];
|
echo "<option value='1'>".$lang_label["yes"]."</option>";
|
||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select></td>";
|
||||||
echo "<td class='datos2' colspan=2> </td></tr>";
|
echo "<td class='datos2' colspan=2> </td></tr>";
|
||||||
|
|
||||||
echo '<tr><td class="datost">'.$lang_label["comments"];
|
echo '<tr><td class="datost">'.$lang_label["comments"];
|
||||||
|
@ -171,10 +170,11 @@ echo '<td class="datos" colspan=3>';
|
||||||
echo '<textarea name="description" cols=70 rows=2>';
|
echo '<textarea name="description" cols=70 rows=2>';
|
||||||
echo $description;
|
echo $description;
|
||||||
echo "</textarea>";
|
echo "</textarea>";
|
||||||
echo "<tr><td colspan='5'><div class='raya'></div></td></tr>";
|
echo "</td></tr>";
|
||||||
echo "<tr>";
|
echo "</table>";
|
||||||
|
|
||||||
echo "<td colspan=5 align='right'>";
|
echo "<table cellpadding='4' cellspacing='4' width='700'>";
|
||||||
|
echo "<td align='right'>";
|
||||||
if ($id_rt != "-1")
|
if ($id_rt != "-1")
|
||||||
echo '<input name="updbutton" type="submit" class="sub upd" value="'.$lang_label["update"].'">';
|
echo '<input name="updbutton" type="submit" class="sub upd" value="'.$lang_label["update"].'">';
|
||||||
else
|
else
|
||||||
|
|
|
@ -67,8 +67,8 @@ if (comprueba_login() == 0) {
|
||||||
$checksum = $row["checksum"];
|
$checksum = $row["checksum"];
|
||||||
$description = $row["description"];
|
$description = $row["description"];
|
||||||
echo '<form name="servers" method="POST" action="index.php?sec=gserver&sec2=godmode/servers/modificar_server&update=1">';
|
echo '<form name="servers" method="POST" action="index.php?sec=gserver&sec2=godmode/servers/modificar_server&update=1">';
|
||||||
echo "<table cellpadding='3' cellspacing='3' width='450'>";
|
echo "<table cellpadding='4' cellspacing='4' width='450' class='databox'>";
|
||||||
echo "<tr><td class='lb' rowspan='3' width='5'>";
|
echo "<tr>";
|
||||||
echo "<td class='datos'>".$lang_label["name"]."</td><td class='datos'><input type='text' name='name' value='".$name."' width='200px'>";
|
echo "<td class='datos'>".$lang_label["name"]."</td><td class='datos'><input type='text' name='name' value='".$name."' width='200px'>";
|
||||||
echo "<tr><td class='datos2'>".$lang_label['ip_address']."</td><td class='datos2'><input type='text' name='address' value='".$address."' width='200px'>";
|
echo "<tr><td class='datos2'>".$lang_label['ip_address']."</td><td class='datos2'><input type='text' name='address' value='".$address."' width='200px'>";
|
||||||
echo "<tr><td class='datos'>".$lang_label['description']."<td class='datos'><input type='text' name='description' value='".$description."'><input type='hidden' name='server' value='".entrada_limpia($_GET["server"])."'></input>";
|
echo "<tr><td class='datos'>".$lang_label['description']."<td class='datos'><input type='text' name='description' value='".$description."'><input type='hidden' name='server' value='".entrada_limpia($_GET["server"])."'></input>";
|
||||||
|
@ -76,9 +76,10 @@ if (comprueba_login() == 0) {
|
||||||
else {
|
else {
|
||||||
echo "<div class='nf'>".$lang_label["no_server"]."</div>";
|
echo "<div class='nf'>".$lang_label["no_server"]."</div>";
|
||||||
}
|
}
|
||||||
echo '<tr><td colspan="3"><div class="raya"></div></td></tr>';
|
echo '</table>';
|
||||||
echo '<tr><td colspan="3" align="right">';
|
echo '<table cellpadding="4" cellspacing="4" width="450">';
|
||||||
echo '<input type="submit" class="sub" value="'.$lang_label["update"].'"></table>';
|
echo '<tr><td align="right">';
|
||||||
|
echo '<input type="submit" class="sub upd" value="'.$lang_label["update"].'"></table>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -156,7 +156,7 @@ if (comprueba_login() == 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<table width='500' cellpadding='4' cellspacing='4' class='databox'>
|
<table width='500' cellpadding='4' cellspacing='4' class='databox_color'>
|
||||||
<?php
|
<?php
|
||||||
if (isset($_GET["alta"]))
|
if (isset($_GET["alta"]))
|
||||||
echo '<form name="new_user" method="post" action="index.php?sec=gusuarios&sec2=godmode/users/configure_user&nuevo_usuario=1">';
|
echo '<form name="new_user" method="post" action="index.php?sec=gusuarios&sec2=godmode/users/configure_user&nuevo_usuario=1">';
|
||||||
|
|
|
@ -580,7 +580,7 @@ $lang_label["send_mes"]="Send message";
|
||||||
$lang_label["m_from"]="From"; //from in messages
|
$lang_label["m_from"]="From"; //from in messages
|
||||||
$lang_label["m_to"]="To"; //to in messages
|
$lang_label["m_to"]="To"; //to in messages
|
||||||
$lang_label["sender"]="Sender";
|
$lang_label["sender"]="Sender";
|
||||||
$lang_label["message_ok"]="Message successfully sended";
|
$lang_label["message_ok"]="Message successfully sent";
|
||||||
$lang_label["message_no"]="There was a problem sending message";
|
$lang_label["message_no"]="There was a problem sending message";
|
||||||
$lang_label["no_messages"]="There are no messages";
|
$lang_label["no_messages"]="There are no messages";
|
||||||
$lang_label["new_message_bra"]="You have ";
|
$lang_label["new_message_bra"]="You have ";
|
||||||
|
|
|
@ -14,12 +14,12 @@ div.menug {
|
||||||
border: 1px solid #dadbdc;
|
border: 1px solid #dadbdc;
|
||||||
width: 155px;
|
width: 155px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
#god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god51 li, #god6 li, #god7 li, #god8 li, #god1s li, #god2s li, #god3s li, #god4s li, #god5s li, #god51s li, #god6s li, #god7s li, #god8s li, #god_module li, #god_module_sel li {
|
#god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god51 li, #god6 li, #god7 li, #god8 li, #god1s li, #god2s li, #god3s li, #god4s li, #god5s li, #god51s li, #god6s li, #god7s li, #god8s li, #god_module li, #god_module_sel li {
|
||||||
padding: 0px 0px 0px 30px;
|
padding: 0px 0px 0px 30px;
|
||||||
}
|
}
|
||||||
div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god51>ul, div#god6>ul, div#god7>ul, div#god8>ul, div#god1s>ul, div#god2s>ul, div#god3s>ul, div#god4s>ul, div#god5s>ul, div#god51s>ul, div#god6s>ul, div#god7s>ul, div#god8s>ul, div#god_module>ul, div#god_module_sel>ul {
|
div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god51>ul, div#god6>ul, div#god7>ul, div#god8>ul, div#god1s>ul, div#god2s>ul, div#god3s>ul, div#god4s>ul, div#god5s>ul, div#god51s>ul, div#god6s>ul, div#god7s>ul, div#god8s>ul, div#god_module>ul, div#god_module_sel>ul {
|
||||||
width: 124px;
|
width: 126px;
|
||||||
}
|
}
|
||||||
#god1 li, #god1 li:hover, #god1s li {
|
#god1 li, #god1 li:hover, #god1s li {
|
||||||
background: url(../../images/god1.gif) no-repeat 4px 2px;
|
background: url(../../images/god1.gif) no-repeat 4px 2px;
|
||||||
|
@ -51,10 +51,10 @@ div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god51>ul, d
|
||||||
#god_module li, #god_module li:hover, #god_module_sel li {
|
#god_module li, #god_module li:hover, #god_module_sel li {
|
||||||
background: url(../../images/brick.png) no-repeat 6px 4px;
|
background: url(../../images/brick.png) no-repeat 6px 4px;
|
||||||
}
|
}
|
||||||
div.arrowg>ul, div.arrowgs>ul {
|
div.arrowg>ul, div.arrowgs>ul, div#arrowgl>ul, div#arrowgls>ul {
|
||||||
width: 74%;
|
width: 75%;
|
||||||
}
|
}
|
||||||
.arrowg li, .arrowg li:hover, .arrowgs li {
|
.arrowg li, .arrowg li:hover, .arrowgs li, #arrowgl li, #arrowgl li:hover, #arrowgls li {
|
||||||
background: url(../../images/arrow.gif) no-repeat 2px 4px;
|
background: url(../../images/arrow.gif) no-repeat 2px 4px;
|
||||||
margin-left: 26px;
|
margin-left: 26px;
|
||||||
padding: 0px 0px 0px 14px;
|
padding: 0px 0px 0px 14px;
|
||||||
|
@ -63,8 +63,14 @@ div.arrowg>ul, div.arrowgs>ul {
|
||||||
#god1 li:hover, #god1s li, #god2 li:hover, #god2s li, #god3 li:hover, #god3s li,
|
#god1 li:hover, #god1s li, #god2 li:hover, #god2s li, #god3 li:hover, #god3s li,
|
||||||
#god4 li:hover, #god4s li, #god5 li:hover, #god5s li, #god6 li:hover, #god6s li,
|
#god4 li:hover, #god4s li, #god5 li:hover, #god5s li, #god6 li:hover, #god6s li,
|
||||||
#god7 li:hover, #god7s li, #god8 li:hover, #god8s li,
|
#god7 li:hover, #god7s li, #god8 li:hover, #god8s li,
|
||||||
#god_module li:hover, #god_module_sel li, #god51 li:hover, #god51s li,
|
#god_module li:hover, #god_module_sel li, #god51 li:hover, #god51s li,
|
||||||
.arrowg li:hover, .arrowgs li
|
.arrowg li:hover, .arrowgs li, #arrowgl li:hover, #arrowgls li
|
||||||
{
|
{
|
||||||
background-color: #efefbd;
|
background-color: #efefbd;
|
||||||
|
}
|
||||||
|
#arrowgl li.bb0, #arrowgls li.bb0, #god8 li.bb0 {
|
||||||
|
border-bottom: 0px;
|
||||||
|
}
|
||||||
|
#god1 li.bt0, #god1s li.bt0 {
|
||||||
|
border-top: 0px;
|
||||||
}
|
}
|
|
@ -14,7 +14,7 @@ div.menuop {
|
||||||
border: 1px solid #dadbdb;
|
border: 1px solid #dadbdb;
|
||||||
width: 155px;
|
width: 155px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
#op1 li, #op2 li, #op3 li, #op4 li, #op5 li, #op6 li, #op7 li, #op8 li, #op9 li,
|
#op1 li, #op2 li, #op3 li, #op4 li, #op5 li, #op6 li, #op7 li, #op8 li, #op9 li,
|
||||||
#op1s li, #op2s li, #op3s li, #op4s li, #op5s li, #op6s li, #op7s li, #op8s li, #op9s li {
|
#op1s li, #op2s li, #op3s li, #op4s li, #op5s li, #op6s li, #op7s li, #op8s li, #op9s li {
|
||||||
padding: 0px 0px 0px 28px;
|
padding: 0px 0px 0px 28px;
|
||||||
|
@ -22,7 +22,7 @@ div.menuop {
|
||||||
div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7>ul,
|
div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7>ul,
|
||||||
div#op8>ul, div#op9>ul, div#op1s>ul, div#op2s>ul, div#op3s>ul, div#op4s>ul, div#op5s>ul, div#op6s>ul,
|
div#op8>ul, div#op9>ul, div#op1s>ul, div#op2s>ul, div#op3s>ul, div#op4s>ul, div#op5s>ul, div#op6s>ul,
|
||||||
div#op7s>ul, div#op8s>ul, div#op9s>ul {
|
div#op7s>ul, div#op8s>ul, div#op9s>ul {
|
||||||
width: 126px;
|
width: 127px;
|
||||||
}
|
}
|
||||||
#op1 li , #op1 li:hover, #op1s li {
|
#op1 li , #op1 li:hover, #op1s li {
|
||||||
background: url(../../images/bricks.png) no-repeat 4px 3px;
|
background: url(../../images/bricks.png) no-repeat 4px 3px;
|
||||||
|
@ -53,10 +53,10 @@ div#op7s>ul, div#op8s>ul, div#op9s>ul {
|
||||||
#op9 li, #op9 li:hover, #op9s li {
|
#op9 li, #op9 li:hover, #op9s li {
|
||||||
background: url(../../images/op9.gif) no-repeat 4px 3px;
|
background: url(../../images/op9.gif) no-repeat 4px 3px;
|
||||||
}
|
}
|
||||||
div.arrow>ul, div.arrows>ul {
|
div.arrow>ul, div.arrows>ul, div#arrowl>ul, div#arrowls>ul {
|
||||||
width: 74%;
|
width: 75%;
|
||||||
}
|
}
|
||||||
.arrow li, .arrow li:hover, .arrows li {
|
.arrow li, .arrow li:hover, .arrows li, #arrowl li, #arrowl li:hover, #arrowls li {
|
||||||
background: url(../../images/arrow.gif) no-repeat 2px 4px;
|
background: url(../../images/arrow.gif) no-repeat 2px 4px;
|
||||||
margin-left: 26px;
|
margin-left: 26px;
|
||||||
padding: 0px 0px 0px 14px;
|
padding: 0px 0px 0px 14px;
|
||||||
|
@ -66,7 +66,13 @@ div.arrow>ul, div.arrows>ul {
|
||||||
#op1 li:hover, #op1s li , #op2 li:hover, #op2s li , #op3 li:hover, #op3s li ,
|
#op1 li:hover, #op1s li , #op2 li:hover, #op2s li , #op3 li:hover, #op3s li ,
|
||||||
#op4 li:hover, #op4s li , #op5 li:hover, #op5s li , #op6 li:hover, #op6s li ,
|
#op4 li:hover, #op4s li , #op5 li:hover, #op5s li , #op6 li:hover, #op6s li ,
|
||||||
#op7 li:hover, #op7s li , #op8 li:hover, #op8s li, #op9 li:hover, #op9s li,
|
#op7 li:hover, #op7s li , #op8 li:hover, #op8s li, #op9 li:hover, #op9s li,
|
||||||
.arrow li:hover, .arrows li
|
.arrow li:hover, .arrows li, #arrowl li:hover, #arrowls li
|
||||||
{
|
{
|
||||||
background-color: #d4ddc6;
|
background-color: #d4ddc6;
|
||||||
}
|
}
|
||||||
|
#arrowl li.bb0, #arrowls li.bb0, #op8 li.bb0 {
|
||||||
|
border-bottom: 0px;
|
||||||
|
}
|
||||||
|
#op1 li.bt0, #op1s li.bt0 {
|
||||||
|
border-top: 0px;
|
||||||
|
}
|
|
@ -344,6 +344,11 @@ td.datos_jus, td.datos2_jus {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.suc {
|
||||||
|
color: #5a8629;
|
||||||
|
background: url(../../images/suc.gif) no-repeat 1px;
|
||||||
|
padding: 4px 1px 6px 30px;
|
||||||
|
}
|
||||||
.error {
|
.error {
|
||||||
background: url(../../images/error.gif) no-repeat;
|
background: url(../../images/error.gif) no-repeat;
|
||||||
padding: 4px 1px 6px 30px;
|
padding: 4px 1px 6px 30px;
|
||||||
|
@ -356,11 +361,7 @@ td.datos_jus, td.datos2_jus {
|
||||||
border-bottom: 1px solid #708090;
|
border-bottom: 1px solid #708090;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.suc {
|
|
||||||
color: #5a8629;
|
|
||||||
background: url(../../images/suc.gif) no-repeat 1px;
|
|
||||||
padding: 4px 1px 6px 30px;
|
|
||||||
}
|
|
||||||
.green {
|
.green {
|
||||||
color: #5a8629;
|
color: #5a8629;
|
||||||
}
|
}
|
||||||
|
@ -563,7 +564,6 @@ span.master, span.snmp, span.binary, span.recon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding-top: 7px;
|
padding-top: 7px;
|
||||||
padding-left: 210px;
|
padding-left: 210px;
|
||||||
|
|
||||||
}
|
}
|
||||||
span#logo_text1 {
|
span#logo_text1 {
|
||||||
font: bolder 3em Arial, Sans-serif;
|
font: bolder 3em Arial, Sans-serif;
|
||||||
|
@ -575,3 +575,9 @@ span#logo_text2 {
|
||||||
letter-spacing: -2px;
|
letter-spacing: -2px;
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
}
|
}
|
||||||
|
.bb0 {
|
||||||
|
border-bottom: 0px;
|
||||||
|
}
|
||||||
|
.bt0 {
|
||||||
|
border-top: 0px;
|
||||||
|
}
|
|
@ -244,7 +244,15 @@ if (give_acl($_SESSION["id_usuario"], 0, "AR")==1) {
|
||||||
} else {
|
} else {
|
||||||
echo '<div id="op8">';
|
echo '<div id="op8">';
|
||||||
}
|
}
|
||||||
echo '<ul class="mn"><li><a href="index.php?sec=reporting&sec2=operation/reporting/graph_viewer" class="mn">'. $lang_label["reporting"].'</a></li></ul></div>';
|
echo '<ul class="mn">';
|
||||||
|
|
||||||
|
if (isset($_GET["sec"]) && $_GET["sec"] == "reporting" &&
|
||||||
|
isset($_GET["sec2"]) && $_GET["sec2"] != "operation/reporting/reporting"){
|
||||||
|
echo '<li>';
|
||||||
|
} else {
|
||||||
|
echo '<li class="bb0">';
|
||||||
|
}
|
||||||
|
echo '<a href="index.php?sec=reporting&sec2=operation/reporting/graph_viewer" class="mn">'. $lang_label["reporting"].'</a></li></ul></div>';
|
||||||
|
|
||||||
// Custom reporting
|
// Custom reporting
|
||||||
if (isset($_GET["sec"]) && $_GET["sec"] == "reporting"){
|
if (isset($_GET["sec"]) && $_GET["sec"] == "reporting"){
|
||||||
|
@ -263,7 +271,7 @@ if (give_acl($_SESSION["id_usuario"], 0, "AR")==1) {
|
||||||
} else {
|
} else {
|
||||||
echo "<div class='arrow'>";
|
echo "<div class='arrow'>";
|
||||||
}
|
}
|
||||||
echo "<ul class='mn'><li><a href='index.php?sec=reporting&sec2=operation/reporting/graph_viewer' class='mn'>".$lang_label["custom_graphs"]."</a></li></ul></div>";
|
echo "<ul class='mn'><li class='bb0'><a href='index.php?sec=reporting&sec2=operation/reporting/graph_viewer' class='mn'>".$lang_label["custom_graphs"]."</a></li></ul></div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,7 @@ $resultado2=mysql_query($sql2);
|
||||||
$row2=mysql_fetch_array($resultado2);
|
$row2=mysql_fetch_array($resultado2);
|
||||||
$sql3='SELECT * FROM tgrupo';
|
$sql3='SELECT * FROM tgrupo';
|
||||||
$resultado3=mysql_query($sql3);
|
$resultado3=mysql_query($sql3);
|
||||||
|
|
||||||
if (isset($_GET["nuevo_mensaje"])){
|
if (isset($_GET["nuevo_mensaje"])){
|
||||||
// Create message
|
// Create message
|
||||||
$usuario_destino = give_parameter_post ("u_destino");
|
$usuario_destino = give_parameter_post ("u_destino");
|
||||||
|
@ -78,23 +78,32 @@ if (isset($_GET["nuevo_mensaje_g"])){
|
||||||
while ($row=mysql_fetch_array($result)){
|
while ($row=mysql_fetch_array($result)){
|
||||||
$error=create_message_g($iduser, $row["id_usuario"], $subject, $mensaje);
|
$error=create_message_g($iduser, $row["id_usuario"], $subject, $mensaje);
|
||||||
}
|
}
|
||||||
if ($error==0) echo "<h3 class='suc'>".$lang_label["message_ok"]."</h3>";
|
if ($error==0)
|
||||||
else echo "<h3 class='error'>".$lang_label["message_no"]."</h3>";
|
echo "<h3 class='suc'>".$lang_label["message_ok"]."</h3>";
|
||||||
|
else
|
||||||
|
echo "<h3 class='error'>".$lang_label["message_no"]."</h3>";
|
||||||
|
} else {
|
||||||
|
echo "<h3 class='error'>".$lang_label["message_no"]."</h3>";
|
||||||
}
|
}
|
||||||
else {echo "<h3 class='error'>".$lang_label["message_no"]."</h3>";}
|
|
||||||
}
|
}
|
||||||
|
echo "<h2>".$lang_label["messages"]." > ";
|
||||||
|
|
||||||
if (isset($_GET["nuevo"]) || isset($_GET["nuevo_g"])){
|
if (isset($_GET["nuevo"]) || isset($_GET["nuevo_g"])){
|
||||||
if (isset($_GET["nuevo"])){ //create message
|
if (isset($_GET["nuevo"])){ //create message
|
||||||
echo '<h2>'.$lang_label["new_message"].'</h2>';
|
echo $lang_label["new_message"].'</h2>';
|
||||||
echo '
|
echo '
|
||||||
<form name="new_mes" method="POST" action="index.php?sec=messages&sec2=operation/messages/message&nuevo_mensaje=1">
|
<form name="new_mes" method="POST" action="index.php?sec=messages&sec2=operation/messages/message&nuevo_mensaje=1">
|
||||||
<table width=600 class="databox_color" cellpadding=4 cellspacing=4>
|
<table width=600 class="databox_color" cellpadding=4 cellspacing=4>
|
||||||
<tr><td class="datos">'.$lang_label["m_from"].':</td><td class="datos"><b>'.$iduser.'</b></td></tr>
|
<tr>
|
||||||
<tr><td class="datos2">'.$lang_label["m_to"].':</td><td>';
|
<td class="datos">'.$lang_label["m_from"].':</td>
|
||||||
|
<td class="datos"><b>'.$iduser.'</b></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="datos2">'.$lang_label["m_to"].':</td>
|
||||||
|
<td class="datos2">';
|
||||||
if (isset($_POST["u_destino"])) {
|
if (isset($_POST["u_destino"])) {
|
||||||
echo '<b>'.$_POST["u_destino"].'</b><input type="hidden" name="u_destino" value='.$_POST["u_destino"].'>';
|
echo '<b>'.$_POST["u_destino"].'</b>
|
||||||
}
|
<input type="hidden" name="u_destino" value='.$_POST["u_destino"].'>';
|
||||||
else{
|
} else {
|
||||||
echo '<select name="u_destino" width="120">';
|
echo '<select name="u_destino" width="120">';
|
||||||
|
|
||||||
$sql_1="SELECT * FROM tusuario_perfil WHERE id_usuario = '$iduser'";
|
$sql_1="SELECT * FROM tusuario_perfil WHERE id_usuario = '$iduser'";
|
||||||
|
@ -104,65 +113,77 @@ if (isset($_GET["nuevo"]) || isset($_GET["nuevo_g"])){
|
||||||
$result_2=mysql_query($sql_2);
|
$result_2=mysql_query($sql_2);
|
||||||
while ($row_2=mysql_fetch_array($result_2)){
|
while ($row_2=mysql_fetch_array($result_2)){
|
||||||
if (give_acl($row_2["id_usuario"], $row_2["id_grupo"], "IR")==1)
|
if (give_acl($row_2["id_usuario"], $row_2["id_grupo"], "IR")==1)
|
||||||
echo "<option value='".$row_2["id_usuario"]."'>".$row_2["id_usuario"]." ";
|
echo "<option value='".$row_2["id_usuario"]."'>".$row_2["id_usuario"]."</option>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo '</select>';
|
echo '</select>';
|
||||||
}
|
}
|
||||||
echo '</td></tr>
|
echo '</td></tr>
|
||||||
<tr><td class="datos">'.$lang_label["subject"].':</td><td class="datos">';
|
<tr><td class="datos">'.$lang_label["subject"].':</td>
|
||||||
|
<td class="datos">';
|
||||||
if (isset($_POST["subject"]))
|
if (isset($_POST["subject"]))
|
||||||
echo '</b><input name="subject" value="'.$_POST["subject"].'" size=70>';
|
echo '</b><input name="subject" value="'.$_POST["subject"].'" size=70>';
|
||||||
else
|
else
|
||||||
echo '<input name="subject" size=60>';
|
echo '<input name="subject" size=60>';
|
||||||
echo '</td></tr>
|
echo '</td></tr>
|
||||||
<tr><td class="datos2">'.$lang_label["message"].':</td>
|
<tr>
|
||||||
|
<td class="datos2">'.$lang_label["message"].':</td>
|
||||||
<td class="datos2"><textarea name="mensaje" rows="15" cols=70 >';
|
<td class="datos2"><textarea name="mensaje" rows="15" cols=70 >';
|
||||||
if (isset($_POST["mensaje"])) {
|
if (isset($_POST["mensaje"])) {
|
||||||
echo $_POST["mensaje"];
|
echo $_POST["mensaje"];
|
||||||
}
|
}
|
||||||
echo '</textarea></td></tr>
|
echo '</textarea></td>
|
||||||
</table>
|
</tr></table>
|
||||||
<table width=600 cellspacing=4 cellpadding=4><tr><td align=right>
|
<table width=600 cellspacing=4 cellpadding=4><tr><td align=right>
|
||||||
<input type="submit" class="sub next" name="send_mes" value="'.$lang_label["send_mes"].'"></form></table>';
|
<input type="submit" class="sub wand" name="send_mes" value="'.$lang_label["send_mes"].'"></form></td></tr></table>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_GET["nuevo_g"])){
|
if (isset($_GET["nuevo_g"])){
|
||||||
echo '<h2>'.$lang_label["new_message_g"].'<a href="help/'.$help_code.'/chap2.php#251" target="_help" class="help"> <span>'.$lang_label["help"].'</span></a></h2>';
|
echo $lang_label["new_message_g"].'<a href="help/'.$help_code.'/chap2.php#251" target="_help" class="help"> <span>'.$lang_label["help"].'</span></a></h2>';
|
||||||
echo '
|
echo '
|
||||||
<form name="new_mes" method="post" action="index.php?sec=messages&sec2=operation/messages/message&nuevo_mensaje_g=1">
|
<form name="new_mes" method="post" action="index.php?sec=messages&sec2=operation/messages/message&nuevo_mensaje_g=1">
|
||||||
<table class="databox_color" cellpadding=4 cellspacing=4>
|
<table width=600 class="databox_color" cellpadding=4 cellspacing=4>
|
||||||
<tr><td class="datos">'.$lang_label["m_from"].':</td><td class="datos"><b>'.$iduser.'</b></td></tr>
|
<tr>
|
||||||
<tr><td class="datos2">'.$lang_label["m_to"].':</td><td class="datos2">';
|
<td class="datos">'.$lang_label["m_from"].':</td>
|
||||||
|
<td class="datos"><b>'.$iduser.'</b></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="datos2">'.$lang_label["m_to"].':</td>
|
||||||
|
<td class="datos2">';
|
||||||
echo '<select name="g_destino" class="w130">';
|
echo '<select name="g_destino" class="w130">';
|
||||||
|
|
||||||
$sql_1="SELECT id_grupo FROM tusuario_perfil WHERE id_usuario = '$iduser'";
|
$sql_1="SELECT id_grupo FROM tusuario_perfil WHERE id_usuario = '$iduser'";
|
||||||
$result_1=mysql_query($sql_1);
|
$result_1=mysql_query($sql_1);
|
||||||
while ($row_1=mysql_fetch_array($result_1)){
|
while ($row_1=mysql_fetch_array($result_1)){
|
||||||
echo "<option value=".$row_1["id_grupo"].">".dame_nombre_grupo($row_1["id_grupo"]);
|
echo "<option value=".$row_1["id_grupo"].">".dame_nombre_grupo($row_1["id_grupo"])."</option>";
|
||||||
|
|
||||||
}
|
}
|
||||||
echo '</select>';
|
echo '</select>';
|
||||||
echo '</td></tr>
|
echo '</td></tr>
|
||||||
<tr><td class="datos">'.$lang_label["subject"].':</td><td class="datos"><input name="subject" size=60></td></tr>
|
<tr><td class="datos">'.$lang_label["subject"].':</td><td class="datos"><input name="subject" size=60></td></tr>
|
||||||
<tr><td class="datos2">'.$lang_label["message"].':</td>
|
<tr>
|
||||||
<td class="datos"><textarea name="mensaje" rows="12" cols=60></textarea></td></tr>
|
<td class="datos2">'.$lang_label["message"].':</td>
|
||||||
|
<td class="datos"><textarea name="mensaje" rows="12" cols=60></textarea></td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<input type="submit" class="sub create" name="send_mes" value="'.$lang_label["send_mes"].'"></form>';
|
<table width=600 cellspacing=4 cellpadding=4><tr><td align=right>
|
||||||
|
<input type="submit" class="sub wand" name="send_mes" value="'.$lang_label["send_mes"].'"></form>
|
||||||
|
</td></tr></table>';
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
|
|
||||||
|
echo $lang_label["read_mes"]."</h2>";
|
||||||
// Get list of messages for this user
|
// Get list of messages for this user
|
||||||
if (isset($_GET["borrar"])){
|
if (isset($_GET["borrar"])){
|
||||||
$id_mensaje = $_GET["id_mensaje"];
|
$id_mensaje = $_GET["id_mensaje"];
|
||||||
$sql5='DELETE FROM tmensajes WHERE id_usuario_destino="'.$iduser.'" AND id_mensaje="'.$id_mensaje.'"';
|
$sql5='DELETE FROM tmensajes WHERE id_usuario_destino="'.$iduser.'" AND id_mensaje="'.$id_mensaje.'"';
|
||||||
$resultado5=mysql_query($sql5);
|
$resultado5=mysql_query($sql5);
|
||||||
if ($resultado5) {echo "<h3 class='suc'>".$lang_label["del_message_ok"]."</h3>";}
|
if ($resultado5) {
|
||||||
else {echo "<h3 class='suc'>".$lang_label["del_message_no"]."</h3>";}
|
echo "<h3 class='suc'>".$lang_label["del_message_ok"]."</h3>";
|
||||||
}
|
} else {
|
||||||
|
echo "<h3 class='error'>".$lang_label["del_message_no"]."</h3>";
|
||||||
echo "<h2>".$lang_label["read_mes"]."</h2>";
|
}
|
||||||
|
}
|
||||||
if ($row2["COUNT(*)"]!=0){
|
if ($row2["COUNT(*)"]!=0){
|
||||||
echo "<p>";
|
echo "<p>";
|
||||||
echo $lang_label["new_message_bra"]."<b> ".$row2["COUNT(*)"]."</b> <img src='images/mail.gif'>".$lang_label["new_message_ket"]."</p>";
|
echo $lang_label["new_message_bra"]."<b> ".$row2["COUNT(*)"]."</b> <img src='images/mail.gif'>".$lang_label["new_message_ket"]."</p>";
|
||||||
|
@ -171,7 +192,13 @@ else {
|
||||||
$resultado3=mysql_query($sql3);
|
$resultado3=mysql_query($sql3);
|
||||||
$color=1;
|
$color=1;
|
||||||
if (mysql_num_rows($resultado3)) {
|
if (mysql_num_rows($resultado3)) {
|
||||||
echo "<table width=650 class='databox' cellpadding=4 cellspacing=4><tr><th>".$lang_label["read"]."</th><th>".$lang_label["sender"]."</th><th>".$lang_label["subject"]."</th><th>".$lang_label["timestamp"]."</th><th>".$lang_label["delete"]."</th></tr>";
|
echo "<table width=650 class='databox' cellpadding=4 cellspacing=4><tr>
|
||||||
|
<th>".$lang_label["read"]."</th>
|
||||||
|
<th>".$lang_label["sender"]."</th>
|
||||||
|
<th>".$lang_label["subject"]."</th>
|
||||||
|
<th>".$lang_label["timestamp"]."</th>
|
||||||
|
<th>".$lang_label["delete"]."</th>
|
||||||
|
</tr>";
|
||||||
while ($row3=mysql_fetch_array($resultado3)){
|
while ($row3=mysql_fetch_array($resultado3)){
|
||||||
if ($color == 1){
|
if ($color == 1){
|
||||||
$tdcolor = "datos";
|
$tdcolor = "datos";
|
||||||
|
@ -182,26 +209,28 @@ else {
|
||||||
$color = 1;
|
$color = 1;
|
||||||
}
|
}
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
if ($row3["estado"]==1)
|
echo "<td align='center' class='$tdcolor'>";
|
||||||
echo "<td align='center' class='$tdcolor'><img src='images/email_open.png' border=0></td>";
|
if ($row3["estado"]==1)
|
||||||
|
echo "<img src='images/email_open.png' border=0>";
|
||||||
else
|
else
|
||||||
echo "<td align='center' class='$tdcolor'><img src='images/email_go.png' border=0></td>";
|
echo "<img src='images/email_go.png' border=0>";
|
||||||
|
echo "</td>";
|
||||||
echo "<td class='$tdcolor'>";
|
echo "<td class='$tdcolor'>";
|
||||||
echo "<a href=index.php?sec=usuarios&sec2=operation/users/user_edit&ver=".$row3["id_usuario_origen"].">".$row3["id_usuario_origen"]."</td><td class='".$tdcolor."'><a href='index.php?sec=messages&sec2=operation/messages/message&leer=1&id_mensaje=".$row3["id_mensaje"]."'>";
|
echo "<a href=index.php?sec=usuarios&sec2=operation/users/user_edit&ver=".$row3["id_usuario_origen"].">".$row3["id_usuario_origen"]."</td><td class='".$tdcolor."'><a href='index.php?sec=messages&sec2=operation/messages/message&leer=1&id_mensaje=".$row3["id_mensaje"]."'><b>";
|
||||||
|
|
||||||
if ($row3["subject"])
|
if ($row3["subject"])
|
||||||
echo "<b>".$row3["subject"]."</b></a>";
|
echo $row3["subject"];
|
||||||
else
|
else
|
||||||
echo "<b>".$lang_label["no_subject"]."</b></a>";
|
echo $lang_label["no_subject"];
|
||||||
|
|
||||||
echo "</a></td><td class='".$tdcolor."'>".$row3["timestamp"]."</td>";
|
echo "</b></a></td>
|
||||||
|
<td class='".$tdcolor."'>".$row3["timestamp"]."</td>";
|
||||||
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=messages&sec2=operation/messages/message&borrar=1&id_mensaje=".$row3["id_mensaje"]."'><img src='images/cross.png' border='0'></a></td></tr>";
|
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=messages&sec2=operation/messages/message&borrar=1&id_mensaje=".$row3["id_mensaje"]."'><img src='images/cross.png' border='0'></a></td></tr>";
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
} else {
|
||||||
|
echo "<div class='nf'>".$lang_label["no_messages"]."</div>"; //no messages
|
||||||
}
|
}
|
||||||
else
|
|
||||||
echo "<p>".$lang_label["no_messages"]."</p>"; //no messages
|
|
||||||
|
|
||||||
// Read message
|
// Read message
|
||||||
if (isset($_GET["leer"])){
|
if (isset($_GET["leer"])){
|
||||||
|
@ -213,32 +242,41 @@ else {
|
||||||
$resultado41=mysql_query($sql41);
|
$resultado41=mysql_query($sql41);
|
||||||
echo '<table class="databox_color" width=650 cellpadding=4 cellspacing=4>';
|
echo '<table class="databox_color" width=650 cellpadding=4 cellspacing=4>';
|
||||||
echo '<form method="post" name="reply_mes" action="index.php?sec=messages&sec2=operation/messages/message&nuevo">';
|
echo '<form method="post" name="reply_mes" action="index.php?sec=messages&sec2=operation/messages/message&nuevo">';
|
||||||
echo '<tr><td class="datos">'.$lang_label["from"].':</td><td class="datos"><b>'.$row4["id_usuario_origen"].'</b></td></tr>';
|
echo '<tr>
|
||||||
|
<td class="datos">'.$lang_label["from"].':</td>
|
||||||
|
<td class="datos"><b>'.$row4["id_usuario_origen"].'</b></td>
|
||||||
|
</tr>';
|
||||||
// Subject
|
// Subject
|
||||||
echo '<tr><td class="datos2">'.$lang_label["subject"].':</td><td class="datos2" valign="top"><b>'.$row4["subject"].'</b></td></tr>';
|
echo '<tr>
|
||||||
|
<td class="datos2">'.$lang_label["subject"].':</td>
|
||||||
|
<td class="datos2" valign="top"><b>'.$row4["subject"].'</b></td>
|
||||||
|
</tr>';
|
||||||
// text
|
// text
|
||||||
echo '<tr><td class="datos" valign="top">'.$lang_label["message"].':</td>
|
echo '<tr><td class="datos" valign="top">'.$lang_label["message"].':</td>
|
||||||
<td class="datos"><textarea name="mensaje" rows="15" cols=70 readonly>'.$row4["mensaje"].'</textarea></td></tr>
|
<td class="datos"><textarea name="mensaje" rows="15" cols=70 readonly>'.$row4["mensaje"].'</textarea></td></tr>
|
||||||
</table>';
|
</table>
|
||||||
echo '
|
|
||||||
<input type="hidden" name="u_destino" value="'.$row4["id_usuario_origen"].'">
|
<input type="hidden" name="u_destino" value="'.$row4["id_usuario_origen"].'">
|
||||||
<input type="hidden" name="subject" value="Re: '.$row4["subject"].'">
|
<input type="hidden" name="subject" value="Re: '.$row4["subject"].'">
|
||||||
<input type="hidden" name="mensaje" value="'.$row4["id_usuario_origen"].$lang_label["wrote"].': '.$row4["mensaje"].'">';
|
<input type="hidden" name="mensaje" value="'.$row4["id_usuario_origen"].$lang_label["wrote"].': '.$row4["mensaje"].'">';
|
||||||
echo "</table>";
|
|
||||||
echo '<table width=650 cellpadding=4 cellspacing=4>';
|
echo '<table width=650 cellpadding=4 cellspacing=4>';
|
||||||
echo "<tr><td colspan=2 align=right>";
|
echo "<tr><td align=right>";
|
||||||
echo '<input type="submit" class="sub create" name="send_mes" value="'.$lang_label["reply"].'">';
|
echo '<input type="submit" class="sub next" name="send_mes" value="'.$lang_label["reply"].'">';
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
echo "</table>";
|
echo "</td></tr></table>";
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
echo '</table>';
|
echo '</table>';
|
||||||
echo '<table width=650 cellpadding=4 cellspacing=4>
|
echo '<table width=650 cellpadding=4 cellspacing=4>
|
||||||
<tr><td colspan=2 align=right>
|
<tr>';
|
||||||
|
if (mysql_num_rows($resultado3)) {
|
||||||
|
echo '<td align="right">';
|
||||||
|
} else {
|
||||||
|
echo '<td>';
|
||||||
|
}
|
||||||
|
echo '
|
||||||
<form method="post" name="new_mes" action="index.php?sec=messages&sec2=operation/messages/message&nuevo">
|
<form method="post" name="new_mes" action="index.php?sec=messages&sec2=operation/messages/message&nuevo">
|
||||||
<input type="submit" class="sub next" name="send_mes" value="'.$lang_label["new_message"].'"></form>
|
<input type="submit" class="sub next" name="send_mes" value="'.$lang_label["new_message"].'"></form>
|
||||||
</td></tr></table>';
|
</td></tr></table>';
|
||||||
}
|
}
|
||||||
echo "<br><br>";
|
echo "<br><br>";
|
||||||
echo "<table>";
|
echo "<table>";
|
||||||
echo "<tr><td><img src='images/email_open.png'> Message already opened";
|
echo "<tr><td><img src='images/email_open.png'> Message already opened";
|
||||||
|
|
|
@ -129,8 +129,7 @@ if (give_acl($id_user, 0, "LW")==1) {
|
||||||
}
|
}
|
||||||
echo '<form name="agente" method="post" action="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_alert&submit=1">';
|
echo '<form name="agente" method="post" action="index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_alert&submit=1">';
|
||||||
echo '<input type="hidden" name="id_as" value="'.$id_as.'">'; // if known, if add will be undetermined (0).
|
echo '<input type="hidden" name="id_as" value="'.$id_as.'">'; // if known, if add will be undetermined (0).
|
||||||
echo '<table cellpadding="3" cellspacing="3" width="650" class="fon">';
|
echo '<table cellpadding="4" cellspacing="4" width="650" class="databox_color">';
|
||||||
echo '<tr><td class="lb" rowspan="13" width=5>';
|
|
||||||
// Alert
|
// Alert
|
||||||
echo '<tr><td class=datos>'.$lang_label["alert"].'<td class=datos><select name="alert_id">';
|
echo '<tr><td class=datos>'.$lang_label["alert"].'<td class=datos><select name="alert_id">';
|
||||||
if ($alert_update != 0) { // calculate first item
|
if ($alert_update != 0) { // calculate first item
|
||||||
|
@ -156,49 +155,54 @@ if (give_acl($id_user, 0, "LW")==1) {
|
||||||
echo '<option value=2>SNMPAgent<option value=0>OID<option value=1>CustomOID/Value</select>';
|
echo '<option value=2>SNMPAgent<option value=0>OID<option value=1>CustomOID/Value</select>';
|
||||||
}
|
}
|
||||||
// Description
|
// Description
|
||||||
echo '<tr><td class=datos>'.$lang_label["description"];
|
echo '<tr><td class=datos>'.$lang_label["description"].'</td>';
|
||||||
echo '<td class=datos><input type="text" size=60 name="description" value="'.$description.'">';
|
echo '<td class=datos><input type="text" size=60 name="description" value="'.$description.'">';
|
||||||
|
|
||||||
// OID
|
// OID
|
||||||
echo '<tr><td class="datos2">'.$lang_label["OID"];
|
echo '<tr><td class="datos2">'.$lang_label["OID"].'</td>';
|
||||||
echo '<td class="datos2"><input type="text" size=30 name="oid" value="'.$oid.'">';
|
echo '<td class="datos2"><input type="text" size=30 name="oid" value="'.$oid.'">';
|
||||||
|
|
||||||
// OID Custom
|
// OID Custom
|
||||||
echo '<tr><td class=datos>'.$lang_label["customvalue"];
|
echo '<tr><td class=datos>'.$lang_label["customvalue"].'</td>';
|
||||||
echo '<td class=datos><input type="text" size=30 name="custom" value="'.$custom_oid.'">';
|
echo '<td class=datos><input type="text" size=30 name="custom" value="'.$custom_oid.'">';
|
||||||
|
|
||||||
// SNMP Agent
|
// SNMP Agent
|
||||||
echo '<tr><td class="datos2">'.$lang_label["SNMP_agent"]." IP";
|
echo '<tr><td class="datos2">'.$lang_label["SNMP_agent"].' IP</td>';
|
||||||
echo '<td class="datos2"><input type="text" size=30 name="agent" value="'.$agent.'">';
|
echo '<td class="datos2"><input type="text" size=30 name="agent" value="'.$agent.'">';
|
||||||
|
|
||||||
// Alert fields
|
// Alert fields
|
||||||
echo '<tr><td class=datos>'.$lang_label["field1"];
|
echo '<tr><td class=datos>'.$lang_label["field1"].'</td>';
|
||||||
echo '<td class=datos><input type="text" size=30 name="field1" value="'.$al_field1.'">';
|
echo '<td class=datos><input type="text" size=30 name="field1" value="'.$al_field1.'"></td>';
|
||||||
echo '<tr><td class="datos2">'.$lang_label["field2"];
|
echo '<tr><td class="datos2">'.$lang_label["field2"].'</td>';
|
||||||
echo '<td class="datos2"><input type="text" size=40 name="field2" value="'.$al_field2.'">';
|
echo '<td class="datos2"><input type="text" size=40 name="field2" value="'.$al_field2.'"></td>';
|
||||||
echo '<tr><td class=datos>'.$lang_label["field3"];
|
echo '<tr><td class=datos>'.$lang_label["field3"];
|
||||||
echo '<td class=datos><input type="text" size=60 name="field3" value="'.$al_field3.'">';
|
echo '<td class=datos><input type="text" size=60 name="field3" value="'.$al_field3.'"></td>';
|
||||||
|
|
||||||
// max & min alerts, time threshold
|
// max & min alerts, time threshold
|
||||||
echo '<tr><td class="datos2">'.$lang_label["min_alerts"];
|
echo '<tr>
|
||||||
echo '<td class="datos2"><input type="text" size=3 name="min" value="'.$min_alerts.'">';
|
<td class="datos2">'.$lang_label["min_alerts"].'</td>';
|
||||||
echo '<tr><td class=datos>'.$lang_label["max_alerts"];
|
echo '<td class="datos2"><input type="text" size=3 name="min" value="'.$min_alerts.'"></td>';
|
||||||
echo '<td class=datos><input type="text" size=3 name="max" value="'.$max_alerts.'">';
|
echo '<tr>
|
||||||
echo '<tr><td class="datos2">'.$lang_label["time_threshold"];
|
<td class="datos">'.$lang_label["max_alerts"].'</td>';
|
||||||
echo '<td class="datos2"><input type="text" size=3 name="time" value="'.$time_threshold.'">';
|
echo '<td class=datos><input type="text" size=3 name="max" value="'.$max_alerts.'"></td>';
|
||||||
echo '<tr><td colspan="3"><div class="raya"></div></td></tr>';
|
echo '<tr>
|
||||||
|
<td class="datos2">'.$lang_label["time_threshold"].'</td>';
|
||||||
|
echo '<td class="datos2"><input type="text" size=3 name="time" value="'.$time_threshold.'"></td>';
|
||||||
|
echo '</tr></table>';
|
||||||
|
echo '<table cellpadding="4" cellspacing="4" width="650">
|
||||||
|
<tr><td align="right">';
|
||||||
// Update or Add button
|
// Update or Add button
|
||||||
if ($alert_update != 0) {
|
if ($alert_update != 0) {
|
||||||
echo '<tr><td colspan="3" align="right"><input name="uptbutton" type="submit" class="sub upd" value="'.$lang_label["update"].'">';
|
echo '<input name="uptbutton" type="submit" class="sub upd" value="'.$lang_label["update"].'">';
|
||||||
echo "<input type='hidden' name='update' value='1'>";
|
echo "<input type='hidden' name='update' value='1'>";
|
||||||
echo "<input type='hidden' name='create' value='0'>";
|
echo "<input type='hidden' name='create' value='0'>";
|
||||||
} else {
|
} else {
|
||||||
echo '<tr><td colspan="3" align="right"><input name="createbutton" type="submit" class="sub next" value="'.$lang_label["create"].'">';
|
echo '<input name="createbutton" type="submit" class="sub next" value="'.$lang_label["create"].'">';
|
||||||
echo "<input type='hidden' name='update' value='0'>";
|
echo "<input type='hidden' name='update' value='0'>";
|
||||||
echo "<input type='hidden' name='create' value='1'>";
|
echo "<input type='hidden' name='create' value='1'>";
|
||||||
}
|
}
|
||||||
// Endtable
|
// Endtable
|
||||||
echo "</table>";
|
echo "</td></tr></table>";
|
||||||
$view_alert =0; // Do not show alert list
|
$view_alert =0; // Do not show alert list
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,62 +99,70 @@ if (comprueba_login() == 0) {
|
||||||
$nombre_real=$rowdup["nombre_real"];
|
$nombre_real=$rowdup["nombre_real"];
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<table cellpadding="3" cellspacing="3" class="fon" width="500px">
|
<table cellpadding="4" cellspacing="4" class="databox_color" width="500px">
|
||||||
<?php
|
<?php
|
||||||
if ($view_mode == 0)
|
if ($view_mode == 0)
|
||||||
echo '<form name="user_mod" method="post" action="index.php?sec=usuarios&sec2=operation/users/user_edit&ver='.$id_usuario.'&modificado=1">';
|
echo '<form name="user_mod" method="post" action="index.php?sec=usuarios&sec2=operation/users/user_edit&ver='.$id_usuario.'&modificado=1">';
|
||||||
else
|
else
|
||||||
echo '<form name="user_mod" method="post" action="">';
|
echo '<form name="user_mod" method="post" action="">';
|
||||||
?>
|
?>
|
||||||
<tr><td class="lb" rowspan="8" width="5"><td class="datos"><?php echo $lang_label["id_user"] ?>
|
<tr>
|
||||||
<td class="datos"><input class=input type="text" name="nombre" value="<?php echo $nombre ?>" disabled>
|
<td class="datos"><?php echo $lang_label["id_user"] ?></td>
|
||||||
<tr><td class="datos2"><?php echo $lang_label["real_name"] ?>
|
<td class="datos"><input class=input type="text" name="nombre" value="<?php echo $nombre ?>" disabled></td>
|
||||||
<td class="dato2s"><input class=input type="text" name="nombre_real" value="<?php echo $nombre_real ?>">
|
<tr>
|
||||||
<tr><td class="datos"><?php echo $lang_label["password"] ?>
|
<td class="datos2"><?php echo $lang_label["real_name"] ?></td>
|
||||||
<td class="datos"><input class=input type="password" name="pass1" value="<?php echo $password ?>">
|
<td class="datos2">
|
||||||
<tr><td class="datos2"><?php echo $lang_label["password"]; echo " ".$lang_label["confirmation"]?>
|
<input class=input type="text" name="nombre_real" value="<?php echo $nombre_real ?>"></td>
|
||||||
<td class="datos2"><input class=input type="password" name="pass2" value="<?php echo $password ?>">
|
<tr><td class="datos"><?php echo $lang_label["password"] ?></td>
|
||||||
<tr><td class="datos">E-Mail
|
<td class="datos">
|
||||||
<td class="datos"><input class=input type="text" name="direccion" size="40" value="<?php echo $direccion ?>">
|
<input class=input type="password" name="pass1" value="<?php echo $password ?>"></td>
|
||||||
<tr><td class="datos2"><?php echo $lang_label["telefono"] ?>
|
<tr><td class="datos2">
|
||||||
|
<?php echo $lang_label["password"]; echo " ".$lang_label["confirmation"]?>
|
||||||
|
<td class="datos2">
|
||||||
|
<input class=input type="password" name="pass2" value="<?php echo $password ?>"></td>
|
||||||
|
<tr>
|
||||||
|
<td class="datos">E-Mail
|
||||||
|
<td class="datos">
|
||||||
|
<input class=input type="text" name="direccion" size="40" value="<?php echo $direccion ?>">
|
||||||
|
<tr>
|
||||||
|
<td class="datos2"><?php echo $lang_label["telefono"] ?>
|
||||||
<td class="datos2"><input class=input type="text" name="telefono" value="<?php echo $telefono ?>">
|
<td class="datos2"><input class=input type="text" name="telefono" value="<?php echo $telefono ?>">
|
||||||
<tr><td class="datos" colspan="2"><?php echo $lang_label["comments"] ?>
|
<tr><td class="datos" colspan="2"><?php echo $lang_label["comments"] ?>
|
||||||
<tr><td class="datos2" colspan="2"><textarea name="comentarios" cols="55" rows="4"><?php echo $comentarios ?></textarea>
|
<tr><td class="datos2" colspan="2"><textarea name="comentarios" cols="55" rows="4"><?php echo $comentarios ?></textarea>
|
||||||
<tr><td colspan='3'><div class='raya'></div></td></tr>
|
</table>
|
||||||
|
<table cellpadding="4" cellspacing="4" width="500px">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Don't delete this!!
|
// Don't delete this!!
|
||||||
if ($view_mode ==0){
|
if ($view_mode ==0){
|
||||||
echo '<tr><td colspan="3" align="right">';
|
echo '<tr><td colspan="3" align="right">';
|
||||||
echo "<input name='uptbutton' type='submit' class='sub' value='".$lang_label["update"]."'></td></tr>";
|
echo "<input name='uptbutton' type='submit' class='sub upd' value='".$lang_label["update"]."'></td></tr>";
|
||||||
}
|
}
|
||||||
echo '</table><br>';
|
echo '</table></form><br>';
|
||||||
echo '<h3>'.$lang_label["listGroupUser"].'<a href="help/'.$help_code.'/chap2.php#22" target="_help" class="help"> <span>'.$lang_label["help"].'</span></a></h3>';
|
echo '<h3>'.$lang_label["listGroupUser"].'<a href="help/'.$help_code.'/chap2.php#22" target="_help" class="help"> <span>'.$lang_label["help"].'</span></a></h3>';
|
||||||
echo "<table width='500' cellpadding='3' cellspacing='3' class='fon'>";
|
echo "<table width='500' cellpadding='4' cellspacing='4' class='databox'>";
|
||||||
$sql1='SELECT * FROM tusuario_perfil WHERE id_usuario = "'.$nombre.'"';
|
$sql1='SELECT * FROM tusuario_perfil WHERE id_usuario = "'.$nombre.'"';
|
||||||
$result=mysql_query($sql1);
|
$result=mysql_query($sql1);
|
||||||
if (mysql_num_rows($result)){
|
if (mysql_num_rows($result)){
|
||||||
echo '<tr><td class="lb" rowspan="'.mysql_num_rows($result).'" width="5">';
|
echo '<tr>';
|
||||||
$color=1;
|
$color=1;
|
||||||
while ($row=mysql_fetch_array($result)){
|
while ($row=mysql_fetch_array($result)){
|
||||||
if ($color == 1){
|
if ($color == 1){
|
||||||
$tdcolor = "datos";
|
$tdcolor = "datos2";
|
||||||
$color = 0;
|
$color = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$tdcolor = "datos2";
|
$tdcolor = "datos";
|
||||||
$color = 1;
|
$color = 1;
|
||||||
}
|
}
|
||||||
echo '<td class="'.$tdcolor.'">';
|
echo '<td class="'.$tdcolor.'">';
|
||||||
echo "<b>".dame_perfil($row["id_perfil"])."</b> / ";
|
echo "<b>".dame_perfil($row["id_perfil"])."</b> / ";
|
||||||
echo "<b>".dame_grupo($row["id_grupo"])."</b><tr>";
|
echo "<b>".dame_grupo($row["id_grupo"])."</b><tr>";
|
||||||
}
|
}
|
||||||
echo "<tr><td colspan='3'><div class='raya'></div></td></tr>";
|
} else {
|
||||||
|
echo '<div class="nf">'.$lang_label["no_profile"].'</div>';
|
||||||
}
|
}
|
||||||
else { echo '<tr><td class="red" colspan="3">'.$lang_label["no_profile"]; }
|
echo '</table>';
|
||||||
|
|
||||||
echo '</form></td></tr></table> ';
|
|
||||||
|
|
||||||
} // fin pagina
|
} // fin pagina
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue