本文整理汇总了PHP中draw_toprightmenu函数的典型用法代码示例。如果您正苦于以下问题:PHP draw_toprightmenu函数的具体用法?PHP draw_toprightmenu怎么用?PHP draw_toprightmenu使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了draw_toprightmenu函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: draw_toprightmenu
} else {
$('#ebelgrid').hide();
}
});
$('#cancel').click(function() {
history.back();
});
});
</script>
</head>
<body>
<?php
require '../include/admin_module_options.inc';
require '../include/toprightmenu.inc';
echo draw_toprightmenu(233);
?>
<div id="content">
<div class="head_title">
<div><img src="../artwork/toprightmenu.gif" id="toprightmenu_icon" /></div>
<div class="breadcrumb"><a href="../index.php"><?php
echo $string['home'];
?>
</a><img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" /><a href="./index.php"><?php
echo $string['administrativetools'];
?>
</a><img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" /><a href="list_modules.php"><?php
echo $string['modules'];
?>
</a></div>
<div class="page_title"><?php
示例2: draw_toprightmenu
<link rel="stylesheet" type="text/css" href="../css/submenu.css" />
<script type="text/javascript" src="../js/staff_help.js"></script>
<?php
echo $configObject->get('cfg_js_root');
?>
<script type="text/javascript" src="../js/sidebar.js"></script>
<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../js/toprightmenu.js"></script>
</head>
<body>
<?php
require '../include/admin_options.inc';
require '../include/toprightmenu.inc';
echo draw_toprightmenu();
?>
<div id="content">
<div class="head_title">
<div><img src="../artwork/toprightmenu.gif" id="toprightmenu_icon" /></div>
<div class="breadcrumb"><a href="../index.php"><?php
echo $string['home'];
?>
</a><img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" alt="-" /><a href="./index.php"><?php
echo $string['administrativetools'];
?>
</a></div>
<div class="page_title"><?php
echo $string['clearoldlogs'];
?>
示例3: draw_toprightmenu
</title>
<link rel="stylesheet" type="text/css" href="../css/body.css" />
<link rel="stylesheet" type="text/css" href="../css/header.css" />
<link rel="stylesheet" type="text/css" href="../css/tabs.css" />
<link rel="stylesheet" type="text/css" href="../css/mapping.css" />
<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../js/staff_help.js"></script>
<script type="text/javascript" src="../js/toprightmenu.js"></script>
</head>
<body>
<?php
require '../include/toprightmenu.inc';
echo draw_toprightmenu(147);
?>
<div id="content">
<?php
if (!isset($_GET['ordering'])) {
$ordering = 'screen';
$direction = 'asc';
}
$result = $mysqli->prepare("SELECT paper_title, calendar_year, start_date, end_date, paper_type FROM properties WHERE property_id = ? LIMIT 1");
$result->bind_param('i', $paperID);
$result->execute();
$result->store_result();
$result->bind_result($paper_title, $session, $start_date, $end_date, $paper_type);
while ($result->fetch()) {
echo "<div class=\"head_title\">\n";
echo "<div><img src=\"../artwork/toprightmenu.gif\" id=\"toprightmenu_icon\" /></div>\n";
示例4: selLine
event.stopPropagation();
selLine($(this).attr('id'),event);
});
$(".l").dblclick(function() {
edit($(this).attr('id'));
});
});
</script>
</head>
<body>
<?php
require '../include/toprightmenu.inc';
echo draw_toprightmenu(296);
$reference_materials = array();
$result = $mysqli->prepare("SELECT reference_material.id, reference_material.title FROM reference_material, reference_modules WHERE reference_material.id = reference_modules.refID AND reference_material.deleted IS NULL AND idMod = ? ORDER BY reference_material.id");
$result->bind_param('i', $modID);
$result->execute();
$result->store_result();
$result->bind_result($id, $title);
while ($result->fetch()) {
$sub_result = $mysqli->prepare("SELECT moduleid FROM reference_modules, modules WHERE reference_modules.idMod = modules.id AND refID = ?");
$sub_result->bind_param('i', $id);
$sub_result->execute();
$sub_result->store_result();
$sub_result->bind_result($moduleid);
while ($sub_result->fetch()) {
if (isset($reference_materials[$id]['modules'])) {
$reference_materials[$id]['modules'] .= ', ' . $moduleid;
示例5: get_reviews
<th class="col">{$string['passscore']}</th>
<th class="col">{$string['distinction']}</th>
<th class="col">{$string['reviewmarks']}</th>
<th class="col">{$string['papertotal']}</th>
<th class="col">{$string['method']}</th>
</tr>
</thead>
<tbody>
TABLEHEADER;
$no_reviews = 0;
$reviews = get_reviews($mysqli, 'index', $paperID, $total_mark, $no_reviews);
foreach ($reviews as $review) {
$reviews_html .= displayReview($review, $userObject);
if ($review['method'] != 'Hofstee') {
updateDB($review, $mysqli);
}
}
require '../include/std_set_menu.inc';
require '../include/toprightmenu.inc';
echo draw_toprightmenu(97);
?>
<div id="content">
<?php
echo $reviews_html;
$mysqli->close();
?>
</tbody>
</table>
</body>
</html>
示例6: draw_toprightmenu
if (isset($_GET['folder'])) {
$folder = $_GET['folder'];
} else {
$folder = '';
}
if ($_GET['method'] == 'ebel') {
echo "<body onload=\"recountCategories();\">\n";
} else {
echo "<body>\n";
}
echo "<div id=\"maincontent\">\n";
require '../include/toprightmenu.inc';
if ($_GET['method'] == 'modified_angoff') {
echo draw_toprightmenu(98);
} elseif ($_GET['method'] == 'ebel') {
echo draw_toprightmenu(99);
}
echo "<form method=\"post\" name=\"questions\" action=\"record_review.php?paperID={$paperID}&method=" . $_GET['method'] . "&module={$module}&folder={$folder}\">\n";
$reviews = array();
if (isset($_GET['std_setID'])) {
$standard_setting = new StandardSetting($mysqli);
$reviews = $standard_setting->get_ratings_by_question($_GET['std_setID']);
}
// Load default setting from the Questions table and save to reviews array if no existing data
$result = $mysqli->prepare("SELECT question, std FROM (papers, questions) WHERE paper = ? AND papers.question = questions.q_id");
$result->bind_param('i', $_GET['paperID']);
$result->execute();
$result->bind_result($questionID, $std);
while ($result->fetch()) {
if (!isset($_GET['std_setID'])) {
$reviews[$questionID] = $std;
示例7: draw_toprightmenu
$("#maindata").tablesorter({
// sort on the third column, order asc
sortList: [[3,0]]
});
}
$(document).click(function() {
$('#menudiv').hide();
});
});
</script>
</head>
<?php
require '../include/toprightmenu.inc';
echo draw_toprightmenu(92);
if (isset($_GET['submit']) or isset($_GET['paperID']) or isset($_GET['moduleID'])) {
echo "<body>\n";
include '../include/user_search_options.inc';
echo "<div id=\"content\" class=\"content\">\n";
} else {
echo "<body>\n";
include '../include/user_search_options.inc';
echo "<div id=\"content\" class=\"content\">\n";
echo "<div class=\"head_title\">\n";
echo "<div><img src=\"../artwork/toprightmenu.gif\" id=\"toprightmenu_icon\" /></div>";
echo "<div class=\"breadcrumb\"><a href=\"../index.php\">" . $string['home'] . "</a>";
if (isset($_REQUEST['module'])) {
echo '<img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" alt="-" /><a href="../module/index.php?module=' . $_REQUEST['module'] . '">' . module_utils::get_moduleid_from_id($_REQUEST['module'], $mysqli) . '</a>';
}
echo "</div><div class=\"page_title\">" . $string['usersearch'] . "</div>";
示例8: function
$('#theform').validate({
errorClass: 'errfield',
errorPlacement: function(error,element) {
return true;
}
});
$('form').removeAttr('novalidate');
});
</script>
</head>
<body>
<?php
require '../include/lab_options.inc';
require '../include/toprightmenu.inc';
echo draw_toprightmenu(231);
?>
<div id="content">
<form id="theform" action="<?php
echo $_SERVER['PHP_SELF'] . '?labID=' . $_GET['labID'];
?>
" method="post">
<?php
$ip_no = 0;
$result = $mysqli->prepare("SELECT address, low_bandwidth FROM client_identifiers WHERE lab = ?");
$result->bind_param('i', $lab_id);
$result->execute();
$result->bind_result($address, $low_bandwidth);
while ($result->fetch()) {
if ($ip_no == 0) {
示例9: draw_toprightmenu
?>
</title>
<link rel="stylesheet" type="text/css" href="../css/body.css" />
<link rel="stylesheet" type="text/css" href="../css/submenu.css" />
<link rel="stylesheet" type="text/css" href="../css/header.css" />
<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../js/staff_help.js"></script>
<script type="text/javascript" src="../js/toprightmenu.js"></script>
</head>
<body>
<?php
require '../include/std_set_menu.inc';
require '../include/toprightmenu.inc';
echo draw_toprightmenu(98);
?>
<div id="content">
<form action="group_set_angoff.php" method="post">
<?php
if (isset($_GET['module'])) {
$modules = explode(',', $_GET['module']);
$module = $modules[0];
} else {
$module = '';
}
$folder = '';
if (isset($_GET['folder']) and $_GET['folder'] != '') {
$folder = $_GET['folder'];
$result = $mysqli->prepare("SELECT name FROM folders WHERE id = ? LIMIT 1");
示例10: selKey2
function selKey2(divID, evt) {
$('#menu1a').hide();
$('#menu1b').show();
$('#id').val(divID);
$('#' + divID).css('background-color', '#B3C8E8');
evt.cancelBubble = true;
}
</script>
</head>
<body>
<?php
require '../include/toprightmenu.inc';
echo draw_toprightmenu(237);
$keyword_list = array();
if (isset($_GET['module']) and $_GET['module'] != '') {
$module_code = module_utils::get_moduleid_from_id($_GET['module'], $mysqli);
if (!$module_code) {
$msg = sprintf($string['furtherassistance'], $configObject->get('support_email'), $configObject->get('support_email'));
$notice->display_notice_and_exit($mysqli, $string['pagenotfound'], $msg, $string['pagenotfound'], '../artwork/page_not_found.png', '#C00000', true, true);
}
// Get team keywords
$result = $mysqli->prepare("SELECT id, keyword FROM keywords_user WHERE keyword_type = 'team' AND userID = ? ORDER BY keyword");
$result->bind_param('i', $_GET['module']);
$result->execute();
$result->bind_result($keywordID, $keyword);
while ($result->fetch()) {
$keyword_list[$keywordID] = $keyword;
}
示例11: draw_toprightmenu
echo $_GET['startdate'];
?>
&enddate=<?php
echo $_GET['enddate'];
?>
","remark","width=850,height="+(screen.height-80)+",left=20,top=10,scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable");
return false;
}
</script>
</head>
<body>
<?php
require '../include/toprightmenu.inc';
echo draw_toprightmenu(154);
?>
<div id="content">
<form name="theform" action="<?php
echo $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'];
?>
" method="post">
<?php
// Get some paper properties
$paper_title = $propertyObj->get_paper_title();
$paper_type = $propertyObj->get_paper_type();
$labelcolor = $propertyObj->get_labelcolor();
$themecolor = $propertyObj->get_themecolor();
$marking = $propertyObj->get_marking();
$pass_mark = $propertyObj->get_pass_mark();
$moduleIDs = Paper_utils::get_modules($paperID, $mysqli);
示例12: draw_toprightmenu
<style type="text/css">
a {color:blue; text-decoration:none; cursor:pointer}
p {margin-top:0; padding-top:0}
td {padding-bottom: 10px}
.warning {width: 12px; height: 11px; margin-right: 4px}
</style>
<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../js/staff_help.js"></script>
<script type="text/javascript" src="../js/toprightmenu.js"></script>
</head>
<body>
<?php
require '../include/toprightmenu.inc';
echo draw_toprightmenu(214);
$candidate_no = 0;
if ($paper_type == '0' or $paper_type == '1' or $paper_type == '2') {
// Get how many students took the paper.
$result = $mysqli->prepare("SELECT DISTINCT lm.userID FROM log_metadata lm INNER JOIN users u ON lm.userID = u.id WHERE lm.paperID = ? AND DATE_ADD(lm.started, INTERVAL 2 MINUTE) >= ? AND lm.started <= ? AND (u.roles LIKE '%Student%' OR u.roles = 'graduate')");
$result->bind_param('iss', $paperID, $startdate, $enddate);
$result->execute();
$result->bind_result($tmp_userID);
while ($result->fetch()) {
$candidate_no++;
}
$result->close();
}
$second_mark = array();
if (isset($_GET['phase']) and $_GET['phase'] == 2) {
// Get the usernames of papers to second mark.
示例13: draw_toprightmenu
<div id="noteMsg"></div>
</div>
<div id="accessDiv" class="studentaccess">
<div class="popup_close"><img onclick="$('#accessDiv').hide();" src="../artwork/close_note.png" class="popupclose" alt="Close" /></div>
<div id="accessMsg"></div>
</div>
<div id="toiletDiv" class="toiletbreak">
<div class="popup_close"><img onclick="$('#toiletDiv').hide();" src="../artwork/close_note.png" class="popupclose" alt="Close" /></div>
<div id="toiletMsg"></div>
</div>
<?php
require '../include/toprightmenu.inc';
echo draw_toprightmenu(30);
?>
<div id="menudiv" class="popupmenu">
<div class="popup_row" onclick="viewScript();" id="item1">
<div class="popup_icon"><img src="../artwork/summative_16.gif" width="16" height="16" alt="" /></div>
<div class="popup_title"><?php
echo $string['examscript'];
?>
</div>
</div>
<div class="popup_row" onclick="viewFeedback();" id="item2">
<div class="popup_icon"><img src="../artwork/ok_comment.png" width="16" height="16" alt="" /></div>
<div class="popup_title"><?php
echo $string['feedback'];
?>
示例14: draw_toprightmenu
<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../js/toprightmenu.js"></script>
<script type="text/javascript" src="../js/staff_help.js"></script>
<?php
echo $configObject->get('cfg_js_root');
?>
<script type="text/javascript" src="../js/sidebar.js"></script>
</head>
<body>
<?php
require '../include/admin_options.inc';
require '../include/toprightmenu.inc';
echo draw_toprightmenu(243);
?>
<div id="content">
<div class="head_title">
<div><img src="../artwork/toprightmenu.gif" id="toprightmenu_icon" /></div>
<div class="breadcrumb"><a href="../index.php"><?php
echo $string['home'];
?>
</a><img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" alt="-" /><a href="./index.php"><?php
echo $string['administrativetools'];
?>
</a></div>
<div class="page_title"><?php
echo $string['removeorphanmedia'];
示例15: draw_toprightmenu
<title>Rogō: <?php
echo $string['optimizetables'];
?>
</title>
<link rel="stylesheet" type="text/css" href="../css/body.css" />
<link rel="stylesheet" type="text/css" href="../css/header.css" />
<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../js/staff_help.js"></script>
<script type="text/javascript" src="../js/toprightmenu.js"></script>
</head>
<body>
<?php
require '../include/toprightmenu.inc';
echo draw_toprightmenu(235);
?>
<div id="content">
<div class="head_title">
<img src="../artwork/toprightmenu.gif" id="toprightmenu_icon" />
<div class="breadcrumb"><a href="../index.php"><?php
echo $string['home'];
?>
</a><img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" alt="-" /><a href="./index.php"><?php
echo $string['administrativetools'];
?>
</a></div>
<div class="page_title"><?php
echo $string['optimizetables'];
?>