本文整理汇总了PHP中main_menu函数的典型用法代码示例。如果您正苦于以下问题:PHP main_menu函数的具体用法?PHP main_menu怎么用?PHP main_menu使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了main_menu函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: dropdown_menu
if ($CURUSER["id"] == 1 or $btit_settings["colup"] == false) {
$tpl->set("guestt", false, TRUE);
} else {
$tpl->set("guestt", TRUE, false);
}
if ($CURUSER["id"] == 1 or $btit_settings["coldown"] == false) {
$tpl->set("guesttt", false, TRUE);
} else {
$tpl->set("guesttt", TRUE, false);
}
$logo .= "<div></div>";
$dropdown = dropdown_menu();
$extra = extra_menu();
/* for the header collapse */
$slideIt = "<span style=\"float:left; padding-left:20px; margin: 0px;\"><a href=\"#\" rel=\"toggle[header]\" data-closedimage=\"{$STYLEURL}/images/open.png\" data-openimage=\"{$STYLEURL}/images/close.png\"><img src=\"{$STYLEURL}/images/close.png\" border=\"0\" alt=\"click\" /></a></span>";
$header .= "<div>" . main_menu() . "</div>";
/* for the footer block collapse */
$slideIt2 = "<span style=\"float:left; padding-left:20px; margin: 0px;\"><a href=\"#\" rel=\"toggle[bottom_menu]\" data-closedimage=\"{$STYLEURL}/images/open.png\" data-openimage=\"{$STYLEURL}/images/close.png\"><img src=\"{$STYLEURL}/images/close.png\" border=\"0\" alt=\"click\" /></a></span>";
/*---*/
$left_col = side_menu();
$right_col = right_menu();
if ($left_col == "" && $right_col == "" || $btit_settings["site_offline"]) {
$no_columns = 1;
}
include 'include/jscss.php';
// dt blocks hide
if ($CURUSER["left_l"] == "nol" or $CURUSER["left_l"] == "no") {
$tpl->set("HAS_LEFT", false, TRUE);
}
if ($CURUSER["left_l"] == "nor" or $CURUSER["left_l"] == "no") {
$tpl->set("HAS_RIGHT", false, TRUE);
示例2: main_menu
<form method=post action=new_request_FS.php>';
echo '<tr>';
echo '<td>from_sample_id</td>';
echo '<td><input type=text name=from_sample_id ></td>';
echo '</tr>';
echo '<tr>';
echo '<td>to_sample_id</td>';
echo '<td><input type=text name=sample_id ></td>';
echo '</tr>';
echo '<tr><td colspan=2 align=center><button type=submit name=action value=' . $value . '>new_sample Copy [F-S]</-></button></td></tr>';
echo '</form></table>';
}
if (!login_varify()) {
exit;
}
main_menu();
if (!isset($_POST['sample_id']) || !isset($_POST['action'])) {
read_sample_id_FS('new_sample');
} elseif (isset($_POST['sample_id']) && isset($_POST['action'])) {
if ($_POST['action'] == 'new_sample') {
$link = start_nchsls();
if (!mysql_query('insert into sample(sample_id,sample_receipt_time,patient_id) values (\'' . $_POST['sample_id'] . '\',\'' . strftime("%Y-%m-%d %H:%M:%S") . '\',\'SUR/12/\')', $link)) {
echo mysql_error();
} else {
save_sample_FS($_POST['from_sample_id'], $_POST['sample_id']);
edit_sample($_POST['sample_id'], 'new_request_FS.php ', '', '');
}
} elseif ($_POST['action'] == 'save_sample') {
if (!save_sample($_POST)) {
echo 'no sample saved<br>';
} else {
示例3: main_menu
?>
<!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
<div class="clearfix">
</div>
<div class="">
<!-- BEGIN CONTAINER -->
<div class="page-container">
<!-- BEGIN SIDEBAR -->
<div class="page-sidebar-wrapper">
<!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
<!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->
<div class="page-sidebar navbar-collapse collapse">
<?php
echo main_menu();
?>
</div>
</div>
<!-- END SIDEBAR -->
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper" ng-app="MyApp">
<div class="page-content" ng-controller="AppCtrl">
<!--Contenido-->
<!--Contenido-->