2006-11-17 Raul Mateos <raulofpandora@gmail.com>

* operation/agentes/estado_generalagente.php: Clear code, small adapt to
	guidelines. Add code for showing 'Never' if there wasn't a previous contact
	of the agent.
	
	* include/styles/pandora.css, god.css, link.css, op.css, tip.css: Style
	correction. Add border: 0px to tables and images. With this change, all the
	tables and images shouln't have the "border=0" parameter.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2006-11-17 22:56:50 +00:00
parent 94d886c6b4
commit ca71bd8b53
7 changed files with 800 additions and 200 deletions

View File

@ -1,3 +1,13 @@
2006-11-17 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/estado_generalagente.php: Clear code, small adapt to
guidelines. Add code for showing 'Never' if there wasn't a previous contact
of the agent.
* include/styles/pandora.css, god.css, link.css, op.css, tip.css: Style
correction. Add border: 0px to tables and images. With this change, all the
tables and images shouln't have the "border=0" parameter.
2006-11-14 Raul Mateos <raulofpandora@gmail.com> 2006-11-14 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css: Change some styles. * include/styles/pandora.css: Change some styles.

View File

@ -1,26 +1,113 @@
#god a {display: block; color: #000; text-decoration: none;} #god a {
#god a:hover {background-color: #efefbd;} display: block;
#god li {padding: 2px 0px 2px 30px; position:relative; left: 1px; width:99%; border-bottom: 1px solid #d4d4d4; border-top: 1px solid #ffffff;} color: #000;
#god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god6 li, #god7 li, #god8 li, #god1s li, #god2s li, #god3s li, #god4s li, #god5s li, #god6s li, #god7s li, #god8s li {padding-top: 0px; padding-bottom: 0px; padding-right: 0px;} text-decoration: none;
div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>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#god6s>ul, div#god7s>ul, div#god8s>ul {width:124px;} }
#god1 li {background: url(../../images/god1.gif) no-repeat; background-position: 4px 2px;} #god a:hover {
#god2 li {background: url(../../images/god2.gif) no-repeat; background-position: 4px 3px;} background-color: #efefbd;
#god3 li {background: url(../../images/god3.gif) no-repeat; background-position: 5px 2px;} }
#god4 li {background: url(../../images/god4.gif) no-repeat; background-position: 5px 4px;} #god li {
#god5 li {background: url(../../images/god5.gif) no-repeat; background-position: 3px 3px;} padding: 2px 0px 2px 30px;
#god6 li {background: url(../../images/god6.gif) no-repeat; background-position: 4px 3px;} position: relative;
#god7 li {background: url(../../images/god7.gif) no-repeat; background-position: 4px 3px;} left: 1px;
#god8 li {background: url(../../images/god8.gif) no-repeat; background-position: 5px 3px;} width: 99%;
#god1 li:hover, #god1s li {background: #efefbd url(../../images/god1.gif) no-repeat; background-position: 4px 2px;} border-bottom: 1px solid #d4d4d4;
#god2 li:hover, #god2s li {background: #efefbd url(../../images/god2.gif) no-repeat; background-position: 4px 3px;} border-top: 1px solid #ffffff;
#god3 li:hover, #god3s li {background: #efefbd url(../../images/god3.gif) no-repeat; background-position: 5px 2px;} }
#god4 li:hover, #god4s li {background: #efefbd url(../../images/god4.gif) no-repeat; background-position: 5px 4px;} #god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god6 li, #god7 li, #god8 li, #god1s li, #god2s li, #god3s li, #god4s li, #god5s li, #god6s li, #god7s li, #god8s li {
#god5 li:hover, #god5s li {background: #efefbd url(../../images/god5.gif) no-repeat; background-position: 3px 3px;} padding-top: 0px;
#god6 li:hover, #god6s li {background: #efefbd url(../../images/god6.gif) no-repeat; background-position: 4px 3px;} padding-bottom: 0px;
#god7 li:hover, #god7s li {background: #efefbd url(../../images/god7.gif) no-repeat; background-position: 4px 3px;} padding-right: 0px;
#god8 li:hover, #god8s li {background: #efefbd url(../../images/god8.gif) no-repeat; background-position: 5px 3px;} }
#arrowg1 ul, #arrowg2 ul, #arrowg3 ul, #arrowg4 ul, #arrowg5 ul {padding: 0px 0px 0px 0px; list-style: none;} div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>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#god6s>ul, div#god7s>ul, div#god8s>ul {
#arrowg1 li, #arrowg2 li, #arrowg3 li, #arrowg4 li, #arrowg5 li, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li {padding: 0px 0px 0px 15px; background: #f5f5dc url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position:relative; left: 30px; width:80%;} width: 124px;
div#arrowg1>ul, div#arrowg2>ul, div#arrowg3>ul, div#arrowg4>ul, div#arrowg5>ul, div#arrowgs1>ul, div#arrowgs2>ul, div#arrowgs3>ul,div#arrowgs4>ul, div#arrowgs5>ul {width: 88%;} }
#arrowg1 li:hover, #arrowg2 li:hover, #arrowg3 li:hover, #arrowg4 li:hover, #arrowg5 li:hover, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li {background: #efefbd url(../../images/arrow.gif) no-repeat; background-position: 2px 4px;} #god1 li {
div#menug {background-color:#f5f5dc; border-width:1px; border-style:solid; border-color:#4a6629; width: 155px; margin-bottom: 15px;} background: url(../../images/god1.gif) no-repeat;
background-position: 4px 2px;
}
#god2 li {
background: url(../../images/god2.gif) no-repeat;
background-position: 4px 3px;
}
#god3 li {
background: url(../../images/god3.gif) no-repeat;
background-position: 5px 2px;
}
#god4 li {
background: url(../../images/god4.gif) no-repeat;
background-position: 5px 4px;
}
#god5 li {
background: url(../../images/god5.gif) no-repeat;
background-position: 3px 3px;
}
#god6 li {
background: url(../../images/god6.gif) no-repeat;
background-position: 4px 3px;
}
#god7 li {
background: url(../../images/god7.gif) no-repeat;
background-position: 4px 3px;
}
#god8 li {background: url(../../images/god8.gif) no-repeat;
background-position: 5px 3px;
}
#god1 li:hover, #god1s li {
background: #efefbd url(../../images/god1.gif) no-repeat;
background-position: 4px 2px;
}
#god2 li:hover, #god2s li {
background: #efefbd url(../../images/god2.gif) no-repeat;
background-position: 4px 3px;
}
#god3 li:hover, #god3s li {
background: #efefbd url(../../images/god3.gif) no-repeat;
background-position: 5px 2px;
}
#god4 li:hover, #god4s li {
background: #efefbd url(../../images/god4.gif) no-repeat;
background-position: 5px 4px;
}
#god5 li:hover, #god5s li {
background: #efefbd url(../../images/god5.gif) no-repeat;
background-position: 3px 3px;
}
#god6 li:hover, #god6s li {
background: #efefbd url(../../images/god6.gif) no-repeat;
background-position: 4px 3px;
}
#god7 li:hover, #god7s li {
background: #efefbd url(../../images/god7.gif) no-repeat;
background-position: 4px 3px;
}
#god8 li:hover, #god8s li {background: #efefbd url(../../images/god8.gif) no-repeat;
background-position: 5px 3px;
}
#arrowg1 ul, #arrowg2 ul, #arrowg3 ul, #arrowg4 ul, #arrowg5 ul {
padding: 0px 0px 0px 0px;
list-style: none;
}
#arrowg1 li, #arrowg2 li, #arrowg3 li, #arrowg4 li, #arrowg5 li, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li {
padding: 0px 0px 0px 15px;
background: #f5f5dc url(../../images/arrow.gif) no-repeat;
background-position: 2px 4px;
position: relative;
left: 30px;
width: 80%;
}
div#arrowg1>ul, div#arrowg2>ul, div#arrowg3>ul, div#arrowg4>ul, div#arrowg5>ul, div#arrowgs1>ul, div#arrowgs2>ul, div#arrowgs3>ul,div#arrowgs4>ul, div#arrowgs5>ul {
width: 88%;
}
#arrowg1 li:hover, #arrowg2 li:hover, #arrowg3 li:hover, #arrowg4 li:hover, #arrowg5 li:hover, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li {
background: #efefbd url(../../images/arrow.gif) no-repeat;
background-position: 2px 4px;
}
div#menug {
background-color:#f5f5dc;
border-width: 1px;
border-style: solid;
border-color: #4a6629;
width: 155px;
margin-bottom: 15px;
}

View File

@ -1,6 +1,31 @@
#link a {display: block; color: #000;} #link a {
#link a:hover {background-color: #cde0ad;} display: block;
div.linkli>ul {width: 133px;} color: #000;
.linkli li {padding: 0px 0px 0px 22px; border-bottom: 1px solid #d6d6d6; border-top: 1px solid #f5ffff; position:relative; left: 0px; width:100%; background: url(../../images/link.gif) no-repeat; background-position: 3px 8px;} }
.linkli li:hover {background: #cde0ad url(../../images/link.gif) no-repeat; background-position: 3px 8px;} #link a:hover {
div#menul {background-color: #e9f3d2; border-width:1px; border-style:solid; border-color:#4a6629; width: 155px;} background-color: #cde0ad;
}
div.linkli>ul {
width: 133px;
}
.linkli li {
padding: 0px 0px 0px 22px;
border-bottom: 1px solid #d6d6d6;
border-top: 1px solid #f5ffff;
position: relative;
left: 0px;
width: 100%;
background: url(../../images/link.gif) no-repeat;
background-position: 3px 8px;
}
.linkli li:hover {
background: #cde0ad url(../../images/link.gif) no-repeat;
background-position: 3px 8px;
}
div#menul {
background-color: #e9f3d2;
border-width: 1px;
border-style: solid;
border-color: #4a6629;
width: 155px;
}

View File

@ -1,26 +1,108 @@
#op a {display: block; color: #000; text-decoration: none;} #op a {
#op a:hover {background-color: #d4ddc6; text-decoration: none;} display: block;
#op li {padding: 2px 0px 2px 28px; position:relative; left: 0px; width:100%; border-bottom: 1px solid #d4d4d4; border-top: 1px solid #eee;} color: #000;
#op1 li, #op2 li, #op3 li, #op4 li, #op5 li, #op6 li, #op7 li, #op1s li, #op2s li, #op3s li, #op4s li, #op5s li, #op6s li, #op7s li {padding-top: 0px; padding-bottom: 0px; padding-right: 1px;} text-decoration: none;
div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7>ul, div#op1s>ul, div#op2s>ul, div#op3s>ul, div#op4s>ul, div#op5s>ul, div#op6s>ul, div#op7s>ul {width:126px;} }
#op1 li {background: url(../../images/op1.gif) no-repeat; background-position: 4px 3px;} #op a:hover {
#op2 li {background: url(../../images/op2.gif) no-repeat; background-position: 3px 3px;} background-color: #d4ddc6;
#op3 li {background: url(../../images/op3.gif) no-repeat; background-position: 5px 3px;} text-decoration: none;
#op4 li {background: url(../../images/op4.gif) no-repeat; background-position: 5px 3px;} }
#op5 li {background: url(../../images/op5.gif) no-repeat; background-position: 7px 3px;} #op li {
#op6 li {background: url(../../images/op6.gif) no-repeat; background-position: 4px 5px;} padding: 2px 0px 2px 28px;
#op7 li {background: url(../../images/op7.gif) no-repeat; background-position: 1px 0px;} position: relative;
left: 0px;
#op1 li:hover, #op1s li {background: #d4ddc6 url(../../images/op1.gif) no-repeat; background-position: 4px 3px;} width:100%;
#op2 li:hover, #op2s li {background: #d4ddc6 url(../../images/op2.gif) no-repeat; background-position: 3px 3px;} border-bottom: 1px solid #d4d4d4;
#op3 li:hover, #op3s li {background: #d4ddc6 url(../../images/op3.gif) no-repeat; background-position: 5px 3px;} border-top: 1px solid #eee;
#op4 li:hover, #op4s li {background: #d4ddc6 url(../../images/op4.gif) no-repeat; background-position: 5px 3px;} }
#op5 li:hover, #op5s li {background: #d4ddc6 url(../../images/op5.gif) no-repeat; background-position: 7px 3px;} #op1 li, #op2 li, #op3 li, #op4 li, #op5 li, #op6 li, #op7 li, #op1s li, #op2s li, #op3s li, #op4s li, #op5s li, #op6s li, #op7s li {
#op6 li:hover, #op6s li {background: #d4ddc6 url(../../images/op6.gif) no-repeat; background-position: 4px 5px;} padding-top: 0px;
#op7 li:hover, #op7s li {background: #d4ddc6 url(../../images/op7.gif) no-repeat; background-position: 1px 0px;} padding-bottom: 0px;
padding-right: 1px;
#arrow1 ul, #arrow2 ul, #arrow3 ul, #arrow4 ul, #arrow5 ul {padding: 0px 0px 0px 0px; list-style: none;} }
#arrow1 li, #arrows1 li, #arrow2 li, #arrows2 li, #arrow3 li, #arrows3 li, #arrow4 li, #arrows4 li, #arrow5 li, #arrows5 li {padding: 0px 0px 0px 15px; background: #e6e9cd url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position: relative; left: 26px; width: 82%;} div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7>ul, div#op1s>ul, div#op2s>ul, div#op3s>ul, div#op4s>ul, div#op5s>ul, div#op6s>ul, div#op7s>ul {
div#arrow1>ul, div#arrows1>ul, div#arrow2>ul, div#arrows2>ul, div#arrow3>ul, div#arrows3>ul, div#arrow4>ul, div#arrows4>ul, div#arrow5>ul, div#arrows5>ul {width: 89%;} width:126px;
#arrow1 li:hover, #arrows1 li, #arrow2 li:hover, #arrows2 li, #arrow3 li:hover, #arrows3 li, #arrow4 li:hover, #arrows4 li, #arrow5 li:hover, #arrows5 li {background: #d4ddc6 url(../../images/arrow.gif) no-repeat; background-position: 2px 4px;} }
div#menuop {background-color: #e6e9cd; border-width:1px; border-style:solid; border-color:#4a6629; width: 155px; margin-bottom: 15px;} #op1 li {
background: url(../../images/op1.gif) no-repeat;
background-position: 4px 3px;
}
#op2 li {
background: url(../../images/op2.gif) no-repeat;
background-position: 3px 3px;
}
#op3 li {
background: url(../../images/op3.gif) no-repeat;
background-position: 5px 3px;
}
#op4 li {
background: url(../../images/op4.gif) no-repeat;
background-position: 5px 3px;
}
#op5 li {
background: url(../../images/op5.gif) no-repeat;
background-position: 7px 3px;
}
#op6 li {
background: url(../../images/op6.gif) no-repeat;
background-position: 4px 5px;
}
#op7 li {
background: url(../../images/op7.gif) no-repeat;
background-position: 1px 0px;
}
#op1 li:hover, #op1s li {
background: #d4ddc6 url(../../images/op1.gif) no-repeat;
background-position: 4px 3px;
}
#op2 li:hover, #op2s li {
background: #d4ddc6 url(../../images/op2.gif) no-repeat;
background-position: 3px 3px;
}
#op3 li:hover, #op3s li {
background: #d4ddc6 url(../../images/op3.gif) no-repeat;
background-position: 5px 3px;
}
#op4 li:hover, #op4s li {
background: #d4ddc6 url(../../images/op4.gif) no-repeat;
background-position: 5px 3px;
}
#op5 li:hover, #op5s li {
background: #d4ddc6 url(../../images/op5.gif) no-repeat;
background-position: 7px 3px;
}
#op6 li:hover, #op6s li {
background: #d4ddc6 url(../../images/op6.gif) no-repeat;
background-position: 4px 5px;
}
#op7 li:hover, #op7s li {
background: #d4ddc6 url(../../images/op7.gif) no-repeat;
background-position: 1px 0px;
}
#arrow1 ul, #arrow2 ul, #arrow3 ul, #arrow4 ul, #arrow5 ul {
padding: 0px 0px 0px 0px;
list-style: none;
}
#arrow1 li, #arrows1 li, #arrow2 li, #arrows2 li, #arrow3 li, #arrows3 li, #arrow4 li, #arrows4 li, #arrow5 li, #arrows5 li {
padding: 0px 0px 0px 15px;
background: #e6e9cd url(../../images/arrow.gif) no-repeat;
background-position: 2px 4px;
position: relative;
left: 26px;
width: 82%;
}
div#arrow1>ul, div#arrows1>ul, div#arrow2>ul, div#arrows2>ul, div#arrow3>ul, div#arrows3>ul, div#arrow4>ul, div#arrows4>ul, div#arrow5>ul, div#arrows5>ul {
width: 89%;
}
#arrow1 li:hover, #arrows1 li, #arrow2 li:hover, #arrows2 li, #arrow3 li:hover, #arrows3 li, #arrow4 li:hover, #arrows4 li, #arrow5 li:hover, #arrows5 li {
background: #d4ddc6 url(../../images/arrow.gif) no-repeat;
background-position: 2px 4px;
}
div#menuop {
background-color: #e6e9cd;
border-width: 1px;
border-style: solid;
border-color:#4a6629;
width: 155px;
margin-bottom: 15px;
}

View File

@ -4,16 +4,20 @@
// Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com // Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com
// Copyright (c) 2005-2006 Artica Soluciones Tecnológicas S.L, info@artica.es // Copyright (c) 2005-2006 Artica Soluciones Tecnológicas S.L, info@artica.es
// Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com // Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com
// This program is free software; you can redistribute it and/or // This program is free software;
you can redistribute it and/or
// modify it under the terms of the GNU General Public License // modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 // as published by the Free Software Foundation;
either version 2
// of the License, or (at your option) any later version. // of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, // This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY;
without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software // along with this program;
if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
@ -22,101 +26,387 @@
@import url(link.css); @import url(link.css);
@import url(tip.css); @import url(tip.css);
@import url(calendar.css); @import url(calendar.css);
* {font-family: Verdana, sans-serif, Arial, Helvetica; font-size: 11px;} * {
select, textarea, input {font-size: 12px;} font-family: Verdana, sans-serif, Arial, Helvetica;
textarea {border: 1px solid Silver; -moz-border-radius: 3%; padding: 5px;} font-size: 11px;
input {border: 1px solid Silver; -moz-border-radius: 1%; padding: 2px 3px 4px 3px; height: 23px;} }
option {height: 16px;} select, textarea, input {
h1, h2 {color: #103a3a;} font-size: 12px;
h3 {color: #3c566d; font-size: 13px;} }
h1 {font-size: 16px;} textarea {
h2 {font-size: 15px;} border: 1px solid #c0c0c0;
a {color: #486787; text-decoration: none;} -moz-border-radius: 3%;
a:hover {color: #003a3a; text-decoration: underline;} padding: 5px;
p.center {text-align: center;} }
h1#log {border-bottom: 1px solid #778866; padding-bottom: 3px; margin-top: 5em; width: 29em; text-align: left;} input {
h1#log_f, h1#db_fh1 {color: #ff0000; border-bottom: 1px solid #ff0000; padding-bottom: 3px;} border: 1px solid #c0c0c0;
div#login {text-align: left; border: 1px solid #999999; margin-top: 2em; margin-bottom: -1em; padding: 0.5em; width: 40em; background:url(../../images/backgrounds/background10.jpg);} -moz-border-radius: 1%;
div#login_f {text-align: left; margin: auto; padding: 0.5em; width: 48em; margin-top: 5em;} padding: 2px 3px 4px 3px;
div#db_f {text-align: justify; margin: auto; padding: 0.5em; width: 55em; margin-top: 3em;} height: 23px;
div#login_box {float:right; padding-right: 10px; margin-top: 25px; width: 140px;} }
div#logo_box {margin-top: 25px; padding-left: 5px;} option {
div#noaccess {width: 350px; padding-left: 40px;} height: 16px;
div#activity{padding-top: 18px; padding-bottom: 18px;} }
div#noa {float:right; padding-right: 50px; margin-top: 25px;} h1, h2 {
div#db_ftxt {float:right; padding-top: 10px;} color: #103a3a;
#page {width:960px;} }
#head {border-bottom: 1px solid #708090; text-align: right; padding-bottom: 10px; font-size: 10px; width: 100%; margin-bottom: 27px;} h3 {
#main {width:780px; float:right;} color: #3c566d;
#menu {width:155px; float:left;} font-size: 13px;
#foot {padding-top: 25px; text-align: center; clear: both;} }
div#page>div#menu {width:157px;} h1 {
#ver {margin-bottom: 25px;} font-size: 16px;
#ip {margin-top: 10px; clear: both;} }
label {display: block; float:left; padding-top: 4px;} h2 {
th > label {padding-top: 7px;} font-size: 15px;
input:hover {background-color: #d4dccd;} }
input.chk {border: 0px none; height: 14px;} a {
input.datos {background-color: #f5f5f5;} color: #486787;
input.datos_readonly {background-color: #050505;} text-decoration: none;
input.login {border-color: #778866; background-color: #f5f5f5; margin: 2px 0 8px; width: 90px;} }
input.sub {font-weight: bold; border-bottom-color: #708090; border-right-color: #708090; -moz-border-radius: 5%; font-size: 11px;} a:hover {
th, td.lb {color: #ffffff; background-color: #778866;} color: #003a3a;
td.lb {height: 16px; padding-left: 3px; font-weight: bold;} text-decoration: underline;
td.datos, td.datost, td.datosb, td.datos_id, td.datosf9, td.datosf9i, td.datos_jus {background-color: #f5f5f5;} }
td.w90datos, td.w135datos, td.w230datos {background-color: #f5f5f5;} p.center {
td.datos2, td.datos2t, td.datos2b, td.datos2_id, td.datos2f9, td.datos2f9i, td.datos2_jus {background-color: #fafbfc;} text-align: center;
td.w90datos2, td.w135datos2, td.w230datos2 {background-color: #fafbfc;} }
td.datos3 {background-color: #e6e9cd;} h1#log {
td.datos_id {color: #1a313a;} border-bottom: 1px solid #778866;
td.datos_jus, td.datos2_jus {text-align: justify;} padding-bottom: 3px;
.bg , .bgt {background-color: #4a6629;} margin-top: 5em;
.bg {position:relative; height: 20px; width: 100%;} width: 29em;
.f10, .w155f10, #ip {font-size: 10px; text-align: center;} text-align: left;
.f9, .f9i, .f9b, td.f9, td.f9i, td.datosf9, td.datos2f9, td.datosf9i, td.datos2f9i {font-size: 9px;} }
.f9i {font-style: italic;} h1#log_f, h1#db_fh1 {
.f9l20 {padding-left: 20px;} color: #ff0000;
.f9l30, .f9l30t, .f9l30w17t {padding-left: 30px;} border-bottom: 1px solid #ff0000;
.f9l30w17t {line-height: 17px;} padding-bottom: 3px;
.jus {text-align: justify;} }
.tit {padding-top: 3px;} div#login {
.tit, .titb {font-weight: bold; color: white; text-align: center;} text-align: left;
.error {color: #ff0000; background:url(../../images/error.gif) no-repeat; padding: 4px 1px 6px 30px;} border: 1px solid #999999;
.red , .redb {color: #ff0000;} margin-top: 2em;
.sep {margin-left: 30px; border-bottom: 1px solid #708090; width: 100%;} margin-bottom: -1em;
.suc {color: #5a8629; background: url(../../images/suc.gif) no-repeat 1px; padding: 4px 1px 6px 30px;} padding: 0.5em;
.green {color: #5a8629;} width: 40em;
.greenb {color: #00aa00;} background: url(../../images/backgrounds/background10.jpg);
.grey {color: #808080; font-weight: bold;} }
.redb, .greenb, td.datos_id, td.datos2_id, f9b {font-weight: bold;} div#login_f {
.raya {border-top: 1px solid #778866; width: 100%;} text-align: left;
.raya, .noraya {margin-bottom: -10px;} margin: auto;
.p10 {padding-top: 1px; padding-bottom: 0px;} padding: 0.5em;
.p21 {padding-top: 2px; padding-bottom: 1px;} width: 48em;
.w30 {width: 30px;} margin-top: 5em;
.w40 {width: 40px;} }
.w45 {width: 45px;} div#db_f {
.w70 {width: 70px;} text-align: justify;
.w80 {width: 80px;} margin: auto;
.w90datos {width: 90px;} padding: 0.5em;
.w100 {width: 100px;} width: 55em;
.w120 {width: 120px;} margin-top: 3em;
.w130 {width: 130px;} }
.w135, .w135datos, .w35datos2 {width: 135px;} div#login_box {
.w140 {width: 140px;} float: right;
.w155, .w155f10 {width: 155px;} padding-right: 10px;
.top, .bgt, .f9l30t, td.datost, td.datos2t {vertical-align: top;} margin-top: 25px;
.bot, .titb, td.datosb {vertical-align: bottom;} width: 140px;
.w180 {width: 180px;} }
.w200 {width: 200px;} div#logo_box {
.w230datos, .w230datos2 {width: 230px;} margin-top: 25px;
.w255 {width: 255px;} padding-left: 5px;
.w540 {width: 540px;} }
.w550 {width: 550px;} div#noaccess {
.msg {margin-top: 15px; text-align: justify;} width: 350px;
ul.mn {list-style: none; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; line-height: 24px;} padding-left: 40px;
.gr {font-size: 10pt; font-weight: bold;} }
a.mn, .gr {font-family: Arial, Verdana, Helvetica;} div#activity{
.imgl {position:absolute; top:0; left:0;} padding-top: 18px;
.imgr {position:absolute; top:0; right:-1;} padding-bottom: 18px;
div.imgr>img {position:absolute; top:0; right:1;} }
div#noa {
float: right;
padding-right: 50px;
margin-top: 25px;
}
div#db_ftxt {
float: right;
padding-top: 10px;
}
#page {
width: 960px;
}
#head {
border-bottom: 1px solid #708090;
text-align: right;
padding-bottom: 10px;
font-size: 10px;
width: 100%;
margin-bottom: 27px;
}
#main {
width: 780px;
float: right;
}
#menu {
width: 155px;
float: left;
}
#foot {
padding-top: 25px;
text-align: center;
clear: both;
}
div#page>div#menu {
width: 157px;
}
#ver {
margin-bottom: 25px;
}
#ip {
margin-top: 10px;
clear: both;
}
label {
display: block;
float: left;
padding-top: 4px;
}
th > label {
padding-top: 7px;
}
input:hover {
background-color: #d4dccd;
}
input.chk {
border: 0px none;
height: 14px;
}
input.datos {
background-color: #f5f5f5;
}
input.datos_readonly {
background-color: #050505;
}
input.login {
border-color: #778866;
background-color: #f5f5f5;
margin: 2px 0 8px;
width: 90px;
}
input.sub {
font-weight: bold;
border-bottom-color: #708090;
border-right-color: #708090;
-moz-border-radius: 5%;
font-size: 11px;
}
table, img {
border: 0px;
}
th, td.lb {
color: #ffffff;
background-color: #778866;
}
td.lb {
height: 16px;
padding-left: 3px;
font-weight: bold;
}
td.datos, td.datost, td.datosb, td.datos_id, td.datosf9, td.datosf9i, td.datos_jus {
background-color: #f5f5f5;
}
td.w90datos, td.w135datos, td.w230datos {
background-color: #f5f5f5;
}
td.datos2, td.datos2t, td.datos2b, td.datos2_id, td.datos2f9, td.datos2f9i, td.datos2_jus {
background-color: #fafbfc;
}
td.w90datos2, td.w135datos2, td.w230datos2 {
background-color: #fafbfc;
}
td.datos3 {
background-color: #e6e9cd;
}
td.datos_id {
color: #1a313a;
}
td.datos_jus, td.datos2_jus {
text-align: justify;
}
.bg , .bgt {
background-color: #4a6629;
}
.bg {
position: relative;
height: 20px;
width: 100%;
}
.f10, .w155f10, #ip {
font-size: 10px;
text-align: center;
}
.f9, .f9i, .f9b, td.f9, td.f9i, td.datosf9, td.datos2f9, td.datosf9i, td.datos2f9i {
font-size: 9px;
}
.f9i {
font-style: italic;
}
.f9l20 {
padding-left: 20px;
}
.f9l30, .f9l30t, .f9l30w17t {
padding-left: 30px;
}
.f9l30w17t {
line-height: 17px;
}
.jus {
text-align: justify;
}
.tit {
padding-top: 3px;
}
.tit, .titb {
font-weight: bold;
color: #ffffff;
text-align: center;
}
.error {
color: #ff0000;
background: url(../../images/error.gif) no-repeat;
padding: 4px 1px 6px 30px;
}
.red , .redb {
color: #ff0000;
}
.sep {
margin-left: 30px;
border-bottom: 1px solid #708090;
width: 100%;
}
.suc {
color: #5a8629;
background: url(../../images/suc.gif) no-repeat 1px;
padding: 4px 1px 6px 30px;
}
.green {
color: #5a8629;
}
.greenb {
color: #00aa00;
}
.grey {
color: #808080;
font-weight: bold;
}
.redb, .greenb, td.datos_id, td.datos2_id, f9b {
font-weight: bold;
}
.raya {
border-top: 1px solid #778866;
width: 100%;
}
.raya, .noraya {
margin-bottom: -10px;
}
.p10 {
padding-top: 1px;
padding-bottom: 0px;
}
.p21 {
padding-top: 2px;
padding-bottom: 1px;
}
.w30 {
width: 30px;
}
.w40 {
width: 40px;
}
.w45 {
width: 45px;
}
.w70 {
width: 70px;
}
.w80 {
width: 80px;
}
.w90datos {
width: 90px;
}
.w100 {
width: 100px;
}
.w120 {
width: 120px;
}
.w130 {
width: 130px;
}
.w135, .w135datos, .w35datos2 {
width: 135px;
}
.w140 {
width: 140px;
}
.w155, .w155f10 {
width: 155px;
}
.top, .bgt, .f9l30t, td.datost, td.datos2t {
vertical-align: top;
}
.bot, .titb, td.datosb {
vertical-align: bottom;
}
.w180 {
width: 180px;
}
.w200 {
width: 200px;
}
.w230datos, .w230datos2 {
width: 230px;
}
.w255 {
width: 255px;
}
.w540 {
width: 540px;
}
.w550 {
width: 550px;
}
.msg {
margin-top: 15px;
text-align: justify;
}
ul.mn {
list-style: none;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
line-height: 24px;
}
.gr {
font-size: 10pt;
font-weight: bold;
}
a.mn, .gr {
font-family: Arial, Verdana, sasns-serif, Helvetica;
}
.imgl {
position: absolute;
top: 0;
left: 0;
}
.imgr {
position: absolute;
top: 0;
right: -1;
}
div.imgr>img {
position:absolute;
top: 0;
right: 1;
}

View File

@ -1,13 +1,72 @@
a.tip {cursor: help; position: relative; text-decoration: none; background:url(../../images/tip.gif) no-repeat; padding: 5px 2px 5px 12px;} a.tip {
a.tip2 {cursor: help; position: relative; text-decoration: none; background:url(../../images/tip.gif) no-repeat; padding: 2px 2px 2px 12px;} cursor: help;
a.help {cursor: help; position: relative; text-decoration: none; background:url(../../images/help.gif) no-repeat; padding: 2px 2px 2px 12px; left: 5px;} position: relative;
a.info {position: relative; text-decoration: none; padding: 25px 0px 0px 0px;} text-decoration: none;
a.info2 {position: relative; text-decoration: none; padding: 2px 0px 0px 0px;} background: url(../../images/tip.gif) no-repeat;
a.tip:hover {text-decoration: none; background-color: #f5f5f5;} padding: 5px 2px 5px 12px;
a.tip2:hover {text-decoration: none; background-color: #778866;} }
a.info:hover, a.info2:hover, a.help:hover {text-decoration: none; background-color: #fff;} a.tip2 {
a.tip span, a.tip2 span, a.info span, a.info2 span, a.help span {display: none;} cursor: help;
a.tip:hover span, a.tip2:hover span, a.info:hover span, a.info2:hover span, a.help:hover span {display: block; text-decoration: none; position: absolute; z-index: 3; top:20px; left:6px; width: 150px; border: 1px solid #708090; background-color: #d4ddc6; color: #000; padding: 2px;} position: relative;
a.info:hover span {top:45px; left:20px; width: 140px;} text-decoration: none;
a.info2:hover span {top:8px;} background: url(../../images/tip.gif) no-repeat;
a.help:hover span {top:15px; width: 80px;} padding: 2px 2px 2px 12px;
}
a.help {
cursor: help;
position: relative;
text-decoration: none;
background: url(../../images/help.gif) no-repeat;
padding: 2px 2px 2px 12px;
left: 5px;
}
a.info {
position: relative;
text-decoration: none;
padding: 25px 0px 0px 0px;
}
a.info2 {
position: relative;
text-decoration: none;
padding: 2px 0px 0px 0px;
}
a.tip:hover {
text-decoration: none;
background-color: #f5f5f5;
}
a.tip2:hover {
text-decoration: none;
background-color: #778866;
}
a.info:hover, a.info2:hover, a.help:hover {
text-decoration: none;
background-color: #fff;
}
a.tip span, a.tip2 span, a.info span, a.info2 span, a.help span {
display: none;
}
a.tip:hover span, a.tip2:hover span, a.info:hover span, a.info2:hover span, a.help:hover span {
display: block;
text-decoration: none;
position: absolute;
z-index: 3;
top: 20px;
left: 6px;
width: 150px;
border: 1px solid #708090;
background-color: #d4ddc6;
color: #000;
padding: 2px;
}
a.info:hover span {
top: 45px;
left: 20px;
width: 140px;
}
a.info2:hover span {
top: 8px;
}
a.help:hover span {
top: 15px;
width: 80px;
}

View File

@ -61,37 +61,65 @@ if (comprueba_login() == 0) {
echo "<h2>".$lang_label["ag_title"]."</h2>"; echo "<h2>".$lang_label["ag_title"]."</h2>";
echo "<h3>".$lang_label["view_agent_general_data"]."<a href='help/".$help_code."/chap3.php#3321' target='_help' class='help'>&nbsp;<span>".$lang_label["help"]."</span></a></h3>"; echo "<h3>".$lang_label["view_agent_general_data"]."<a href='help/".$help_code."/chap3.php#3321' target='_help' class='help'>&nbsp;<span>".$lang_label["help"]."</span></a></h3>";
echo '<table cellspacing=3 cellpadding=3 border=0 width=750>'; echo '<table cellspacing=3 cellpadding=3 width=750>';
echo '<tr><td class="datos"><b>'.$lang_label["agent_name"].'</b> <td class="datos">'.salida_limpia($nombre_agente); echo '<tr>
<td class="datos"><b>'.$lang_label["agent_name"].'</b></td>
<td class="datos">'.salida_limpia($nombre_agente);
echo " &nbsp;<a href='index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=".$id_agente."&refr=60'><img src='images/refresh.gif' class='top' border=0></a>"; echo "&nbsp;<a href='index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=".$id_agente."&refr=60'>
<img src='images/refresh.gif' class='top'></a>";
if (dame_admin($_SESSION['id_usuario'])==1 ) if (dame_admin($_SESSION['id_usuario'])==1 )
echo "&nbsp; <a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente=".$id_agente."'><img src='images/setup.gif' border=0 width=19 class='top' ></a>"; echo "&nbsp;<a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente=".$id_agente."'>
<img src='images/setup.gif' width='19' class='top'></a>";
// Data base access graph // Data base access graph
echo '</td>';
echo "<td rowspan=4><b>".$lang_label["agent_access_rate"]."</b><br><br> echo "
<img border=0 src='reporting/fgraph.php?id=".$id_agente."&tipo=agentaccess&periodo=1440' border=0>"; <td rowspan=4>
<b>".$lang_label["agent_access_rate"]."</b><br><br>
echo '<tr><td class="datos2"><b>'.$lang_label["ip_address"].'</b> <td class="datos2">'.salida_limpia($direccion_agente); <img src='reporting/fgraph.php?id=".$id_agente."&tipo=agentaccess&periodo=1440'>
</td>";
echo '</tr>';
echo '<tr>
<td class="datos2"><b>'.$lang_label["ip_address"].'</b></td>
<td class="datos2">'.salida_limpia($direccion_agente);
if ($agent_type == 0) { if ($agent_type == 0) {
echo '<tr><td class="datos"><b>'.$lang_label["os"].'</b> <td class="datos"><img border=0 src="images/'.dame_so_icon($id_os).'"> - '.dame_so_name($id_os); echo '<tr>
<td class="datos"><b>'.$lang_label["os"].'</b></td>
<td class="datos">
<img src="images/'.dame_so_icon($id_os).'"> - '.dame_so_name($id_os).'</td>';
} elseif ($agent_type == 1) { } elseif ($agent_type == 1) {
echo '<tr><td class="datos2"><b>'.$lang_label["agent_type"].'</b> <td class="datos2"><img border=0 src="images/network.gif"'; echo '<tr>
<td class="datos2"><b>'.$lang_label["agent_type"].'</b></td>
<td class="datos2"><img src="images/network.gif"></td>';
} }
if ($os_version != "") echo ' v'.salida_limpia($os_version); if ($os_version != "") echo ' v'.salida_limpia($os_version);
echo '<tr><td class="datos2"><b>'.$lang_label["interval"].'</b> <td class="datos2">'.$intervalo; echo '</tr>';
echo '<tr><td class="datos"><b>'.salida_limpia($lang_label["description"]).'</b> <td class="datos">'.$comentarios; echo '<tr>
<td class="datos2"><b>'.$lang_label["interval"].'</b></td>
<td class="datos2">'.$intervalo.'</td>';
echo '</tr>';
echo '<tr>
<td class="datos"><b>'.salida_limpia($lang_label["description"]).'</b></td>
<td class="datos">'.$comentarios.'</td>';
echo "<td rowspan=6><b>".$lang_label["agent_module_shareout"]."</b><br><br>"; echo "<td rowspan=6><b>".$lang_label["agent_module_shareout"]."</b><br><br>
echo "<img border=0 src='reporting/fgraph.php?id=".$id_agente."&tipo=agentmodules' border=0>"; <img src='reporting/fgraph.php?id=".$id_agente."&tipo=agentmodules' >
</td>";
echo '<tr><td class="datos2"><b>'.salida_limpia($lang_label["group"]).'</b> <td class="datos2"> <img src="images/g_'.$iconindex_g[$row["id_grupo"]].'.gif" border="0"> ( '.dame_grupo($id_grupo).' )'; echo '</tr>';
echo '<tr>
<td class="datos2"><b>'.salida_limpia($lang_label["group"]).'</b></td>
<td class="datos2">
<img src="images/g_'.$iconindex_g[$row["id_grupo"]].'.gif" >
( '.dame_grupo($id_grupo).' )';
if ($agent_type == 0) { if ($agent_type == 0) {
echo '<tr><td class="datos"><b>'.$lang_label["agentversion"].'</b> <td class="datos">'.salida_limpia($agent_version); echo '<tr><td class="datos"><b>'.$lang_label["agentversion"].'</b>
<td class="datos">'.salida_limpia($agent_version).'</td>';
} }
// Total packets // Total packets
echo '<tr><td class="datos2"><b>'.$lang_label["total_packets"].'</b> <td class="datos2">'; echo '<tr>
<td class="datos2"><b>'.$lang_label["total_packets"].'</b></td>
<td class="datos2">';
$total_paketes= 0; $total_paketes= 0;
$id_agente = dame_agente_id($nombre_agente); $id_agente = dame_agente_id($nombre_agente);
$sql_2='SELECT * FROM tagente_modulo WHERE id_agente = '.$id_agente; $sql_2='SELECT * FROM tagente_modulo WHERE id_agente = '.$id_agente;
@ -103,13 +131,28 @@ if (comprueba_login() == 0) {
$total_paketes = $total_paketes + $row3[0]; $total_paketes = $total_paketes + $row3[0];
} }
echo $total_paketes; echo $total_paketes;
echo '</td></tr>';
// Last contact // Last contact
echo '<tr><td class="datos"><b>'.$lang_label["last_contact"]." / ".$lang_label["remote"].'</b> <td class="datosf9">'; echo '<tr>
echo $ultima_act." / ".$ultima_act_remota; <td class="datos">
<b>'.$lang_label["last_contact"]." / ".$lang_label["remote"].'</b>
</td>
<td class="datosf9">';
if ($ultima_act == "0000-00-00 00:00:00"){
echo $lang_label["never"];
} else {
echo $ultima_act;
}
echo " / ";
if ($ultima_act_remota == "0000-00-00 00:00:00"){
echo $lang_label["never"];
} else {
echo $ultima_act_remota;
}
// Asigned/active server // Asigned/active server
echo '<tr><td class="datos2"><b>'.$lang_label["server_asigned"].'</b> <td class="datos2">'; echo '<tr><td class="datos2"><b>'.$lang_label["server_asigned"].'</b></td>
<td class="datos2">';
if ($server == ""){ if ($server == ""){
echo "N/A"; echo "N/A";
} else { } else {
@ -134,10 +177,14 @@ if (comprueba_login() == 0) {
} else { } else {
$percentil = -1; $percentil = -1;
} }
echo '<tr><td class="datos"><b>'.$lang_label["next_contact"].'</b> <td class="datos">'; echo '<tr>
<td class="datos"><b>'.$lang_label["next_contact"].'</b>
<td class="datos">
<img src="reporting/fgraph.php?tipo=progress&percent='.$percentil.'&height=20&width=200">
</td>
</tr>';
echo "<img src='reporting/fgraph.php?tipo=progress&percent=".$percentil."&height=20&width=200'>"; echo '</table>';
echo "</td></tr></table>";
} }