本文整理汇总了PHP中topMenus函数的典型用法代码示例。如果您正苦于以下问题:PHP topMenus函数的具体用法?PHP topMenus怎么用?PHP topMenus使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了topMenus函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: topMenus
<!-- End of JS code -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200" rowspan=2>
<img src="../images/unfpa.png" alt="" width="95" height="45" hspace=2 vspace=0 />
</td>
<td height="24" colspan="2" align="right" valign=top><span class="wtext">
<?php
echo RIGHT_MENU;
?>
</td>
</tr>
<tr>
<td height="20" valign="top"><?php
$selectedTab = $_GET['selectedTab'];
echo topMenus($selectedTab, $droitTOPMENUS);
?>
<td align="right"><!--<a href="#" onClick="doPersonalize()" >Personalize</a> |-->
<span class="wtext">
<a href="" onClick="JavaScript:window.open('/webclient/common/jsp/registerDialog.jsp?UserType=R','License','left=500,top=100,width=500,height=275')" >License</a>
<span class=white> | </span>
<?php
echo '<a href="phpfuncindex.php?myaction=LOGOUT" title="' . $_SESSION['GL_USER']['NOM'] . '">' . $_SESSION['GL_USER']['LOGIN'] . ' [Déconnexion]</a>';
?>
</span> </td>
</tr>
</table>
</td>
</tr>
<tr class="searchBg">
开发者ID:benleibert,项目名称:channel-software,代码行数:31,代码来源:autresparametres.php
示例2: session_start
//Session
session_start();
if ($_SESSION['GL_USER']['SESSIONID'] != session_id()) {
header("location:dbuser.php?do=logout");
}
if ($_SESSION['GL_USER']['DROIT']['par_aff']['VISIBLE'] != 1) {
header("location:accessinterdit.php?selectedTab=home");
}
require_once '../lib/phpfuncLib.php';
//All commun functions
require_once 'menus.php';
require_once 'funcaffectation.php';
//Top Menu
$selectedTab = $_GET['selectedTab'];
$menu = topMenus($selectedTab, $_SESSION['GL_USER']['DROIT']);
//Left Menu
$leftMenu = parametersMenus($selectedTab, $_SESSION['GL_USER']['DROIT']);
//DOIT MAJ
$droitMAJ = $_SESSION['GL_USER']['DROIT']['par_uti'];
//Rsest
if (isset($_GET['rst']) && $_GET['rst'] == 1) {
$_SESSION['WHERE'] = "";
}
isset($_GET['page']) ? $page = $_GET['page'] : ($page = 1);
isset($_POST['viewLength']) ? $_SESSION['GL_USER']['ELEMENT'] = $_POST['viewLength'] : '';
//
if (isset($_GET['do']) && $_GET['do'] == "search") {
$where = "";
$_SESSION['WHERE'] = "";
isset($_POST['personnel']) && $_POST['personnel'] != '0' ? $where .= "compte.NUM_MLLE LIKE '" . addslashes(trim($_POST['personnel'])) . "' AND " : ($where .= "");
开发者ID:benleibert,项目名称:channel-software,代码行数:30,代码来源:affectation.php
示例3: session_start
<?php
session_start();
if ($_SESSION['ADMIN']['IDSESSION'] != session_id()) {
header("location:dbcompte.php?do=close");
}
//PHP functions librairy
require_once '../lib/phpfuncLib.php';
//All commun functions
require_once 'menus.php';
//Menu functions
require_once 'funcprofil.php';
//Profil functions
//Top Menu
$selectedTab = $_GET['selectedTab'];
$menu = topMenus($selectedTab, $_SESSION['ADMIN']['DROIT']);
//Left Menu
$leftMenu = parametrageMenus($selectedTab, $_SESSION['ADMIN']['DROIT']);
//Grp
$ligneDroit = ligneDroitProfil();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php
echo APP_TITLE;
?>
</title>
<!-- Begin of CSS code -->
开发者ID:benleibert,项目名称:channel-software,代码行数:31,代码来源:searchadmprofil.php
注:本文中的topMenus函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论