OCOMON is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Foobar; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ session_start(); include "../../includes/include_geral.inc.php"; include "../../includes/include_geral_II.inc.php"; //print "<script type='text/javascript' src='../../includes/fckeditor/fckeditor.js'></script>"; $imgsPath = "../../includes/imgs/"; $auth = new auth(); $auth->testa_user_hidden($_SESSION['s_usuario'], $_SESSION['s_nivel'], $_SESSION['s_nivel_desc'], 4); //print "<tr><td colspan='6' ><div id='Problema'>"; //style='display:none;' print "<TABLE border='0' cellpadding='2' cellspacing='0' width='90%'>"; $qry_config = "SELECT * FROM config "; $exec_config = mysql_query($qry_config) or die(TRANS('ERR_TABLE_CONFIG')); $row_config = mysql_fetch_array($exec_config); $selProb = 0; if (isset($_GET['prob'])) { $selProb = $_GET['prob']; $qry_id = "SELECT * FROM problemas WHERE prob_id = " . $selProb . ""; $exec_qry_id = mysql_query($qry_id) or die; $rowId = mysql_fetch_array($exec_qry_id); } $query = "SELECT * FROM problemas as p " . "LEFT JOIN sistemas as s on p.prob_area = s.sis_id " . "LEFT JOIN sla_solucao as sl on sl.slas_cod = p.prob_sla " . "LEFT JOIN prob_tipo_1 as pt1 on pt1.probt1_cod = p.prob_tipo_1 " . "LEFT JOIN prob_tipo_2 as pt2 on pt2.probt2_cod = p.prob_tipo_2 " . "LEFT JOIN prob_tipo_3 as pt3 on pt3.probt3_cod = p.prob_tipo_3 "; //if ($rowABS['area_cod'] != -1){ if (isset($_GET['area_cod']) && $_GET['area_cod'] != -1) {
OCOMON is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Foobar; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ include "../../includes/include_geral.inc.php"; include "../../includes/include_geral_II.inc.php"; $cab = new headers(); $cab->set_title($TRANS["html_title"]); $auth = new auth(); if ($popup) { $auth->testa_user_hidden($s_usuario, $s_nivel, $s_nivel_desc, 2); } else { $auth->testa_user($s_usuario, $s_nivel, $s_nivel_desc, 2); } ?> <BR> <B>Inclusão de categoria de softwares:</B> <BR><br> <FORM method="POST" action=<?php _SELF; ?> > <TABLE border="0" align="left" width="40%" bgcolor=<?php print BODY_COLOR;