当前位置: 首页>>代码示例>>PHP>>正文


PHP auth::testa_user_hidden方法代码示例

本文整理汇总了PHP中auth::testa_user_hidden方法的典型用法代码示例。如果您正苦于以下问题:PHP auth::testa_user_hidden方法的具体用法?PHP auth::testa_user_hidden怎么用?PHP auth::testa_user_hidden使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在auth的用法示例。


在下文中一共展示了auth::testa_user_hidden方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: auth

         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) {
开发者ID:GeorgeAlexandre,项目名称:yipservicedesk,代码行数:31,代码来源:showProbs.php

示例2: headers

         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;
开发者ID:JusCes,项目名称:ocomonv3,代码行数:31,代码来源:incluir_categoria.php


注:本文中的auth::testa_user_hidden方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。