當前位置: 首頁>>代碼示例>>PHP>>正文


PHP top_bar函數代碼示例

本文整理匯總了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);
開發者ID:BackupTheBerlios,項目名稱:sourceagency,代碼行數:31,代碼來源:step2_mod.php

示例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();
		
		
開發者ID:brucewu16899,項目名稱:1.6.x,代碼行數:28,代碼來源:tree.php


注:本文中的top_bar函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。