本文整理汇总了PHP中top_bar函数的典型用法代码示例。如果您正苦于以下问题:PHP top_bar函数的具体用法?PHP top_bar怎么用?PHP top_bar使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了top_bar函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: page_open
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 or later of the GPL.
######################################################################
require "include/prepend.php3";
page_open(array("sess" => "SourceAgency_Session"));
if (isset($auth) && !empty($auth->auth["perm"])) {
page_close();
page_open(array("sess" => "SourceAgency_Session", "auth" => "SourceAgency_Auth", "perm" => "SourceAgency_Perm"));
}
require "include/header.inc";
require "include/contentlib.inc";
$bx = new box('100%', $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_body_font_color, $th_box_body_align);
start_content();
$page = "modify contents";
if (check_proid($proid)) {
top_bar($proid, $page);
print $t->translate('Technical contents') . "\n<br><p>\n";
if ((!isset($preview) || empty($preview)) && (!isset($submit) || empty($submit))) {
$db->query("SELECT * FROM tech_content WHERE content_id='4'");
$db->next_record();
$content_id = $db->f("content_id");
$skills = $db->f("skills");
$platform = $db->f("platform");
$architecture = $db->f("architecture");
$environment = $db->f("environment");
$docs = $db->f("docs");
$specification = $db->f("specification");
$creation = $db->f("creation");
}
if (!isset($submit) || empty($submit)) {
content_modify_form($proid);
示例2: templates
$tpl=new templates();
$error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
echo "alert('$error')";
die();
}
if(isset($_GET["chgperms-js"])){chgperms_js();exit;}
if(isset($_POST["chgperms-file"])){chgperms_file();exit;}
if(isset($_GET["remove-file-js"])){remove_file_js();exit;}
if(isset($_POST["remove-file"])){remove_file();exit;}
if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["browse-folder"])){browse_folder();exit;}
if(isset($_GET["folder-infos"])){folder_infos();exit;}
if(isset($_GET["top-bar"])){top_bar();exit;}
if(isset($_GET["file-info"])){file_info();exit;}
if(isset($_GET["download-file"])){download_file();exit;}
if(isset($_GET["create-folder"])){create_folder();exit;}
if(isset($_GET["delete-folder"])){delete_folder();exit;}
if(isset($_GET["share-folder"])){share_folder();exit;}
if(isset($_GET["unshare-rsync"])){rsync_unshare();exit;}
if(isset($_GET["upload-file"])){upload_file_popup();exit;}
if(isset($_GET["form-upload"])){upload_file_iframe();exit;}
if( isset($_GET['TargetpathUploaded']) ){upload_form_perform();exit();}
if(isset($_GET["loupe-js"])){loupe_js();exit;}
if(isset($_GET["loupe-popup"])){loupe_popup();exit;}
js();