All pastes #357777 Raw Edit

Saibot

public text v1 · immutable
·published 2007-02-15 22:22 UTC
rendered paste body
<?PHP

//require_once("auth.inc");
require_once("index_header.inc");
require_once("functions.inc");
?>
<script type="text/javascript">
var hBar = new ItemStyle(90, 10, '', 0, 0, '15#020266', '10#FE6603', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');

var subM = new ItemStyle(22, 0, '&gt;', -15, 3, '#CCCCDD', '#FE6603', 'lowText', 'highText',
 'itemBorder', 'itemBorder', null, null, 'hand', 'default');

var subBlank = new ItemStyle(22, 1, '&gt;', -15, 3, '#CCCCDD', '#FE6603', 'lowText', 'highText',
 'itemBorderBlank', 'itemBorder', null, null, 'hand', 'default');


var button = new ItemStyle(22, 1, '&gt;', -15, 2, '10#006633', '10#CC6600', 'buttonText', 'buttonHover',
 'buttonBorder', 'buttonBorderOver', 80, 95, 'crosshair', 'default');



var pMenu = new PopupMenu('pMenu');
with (pMenu)
{
startMenu('root', false, 10, 45, 17, hBar, '', false);
addItem('&nbsp; Main', 'mMainMenu', 'sm:', null, 80);
addItem('Attendees', 'mAttendees', 'sm:', null, 60);
addItem('Reports', 'mReports', 'sm:', null, 50);
addItem('Communications','mCommunications', 'sm:', null,100);
addItem('Settings', 'mSettings', 'sm:', null, 50);
<?

//if (PrivilegeCheck(1000,"Admin",1000) == "TRUE")
if(1 == 1)
{
        ?>addItem('Admin', 'mAdmin', 'sm:', null, 50);
<?
}