当前位置: 首页>>代码示例>>PHP>>正文


PHP set_breadcrumb函数代码示例

本文整理汇总了PHP中set_breadcrumb函数的典型用法代码示例。如果您正苦于以下问题:PHP set_breadcrumb函数的具体用法?PHP set_breadcrumb怎么用?PHP set_breadcrumb使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了set_breadcrumb函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: set_breadcrumb

<div class="span12">
    <?php 
echo set_breadcrumb('<span class="divider">/</span>');
?>
    <div class="page-header">
        <h1> Order History</h1>
    </div>
    <table class="table table-bordered table-striped">
        <thead>
            <tr>
                <th>Code</th>
                <th>Date</th>
                <th>Total</th>
                <th>Due Date</th>
                <th>Method</th>
                <th>Status</th>
                <th>Action</th>

            </tr>
        </thead>
        <?php 
if (!empty($orders)) {
    ?>
            <?php 
    $i = 1;
    ?>

            <?php 
    foreach ($orders as $order) {
        ?>
开发者ID:noczero,项目名称:Zero-Inside,代码行数:30,代码来源:history.php

示例2: set_breadcrumb

					</li>
					
				</ul>

				<div id="shadow" class="shadow"></div>

				<div id="nav-arrows" class="nav-arrows">
					<a href="#">Next</a>
					<a href="#">Previous</a>
				</div>

				<div id="nav-dots" class="nav-dots">
					<span class="nav-dot-current"></span>
					<span></span>
					<span></span>
				</div>

			</div><!-- /wrapper -->
            <!--slider content end-->
		</div>
                
                
	</div>
    <?php 
echo set_breadcrumb();
?>
    <!--<div class="row-fluid">
    	<div class="span12"><hr /></div>
    </div>-->
    
    <!--header end-->
开发者ID:baltimoreteacher,项目名称:Grading,代码行数:31,代码来源:header.php

示例3: htmlprepare

    if (!empty($CURRENT_PIC_DATA['keywords'])) {
        $METATAGS['keywords'] = htmlprepare($CURRENT_PIC_DATA['keywords'], false, NULL, 1);
    }
}
// slideshow control
if (isset($_GET['slideshow'])) {
    slideshow();
} else {
    //	if (!isset($_GET['pos'])) cpg_die(_ERROR, NON_EXIST_AP, __FILE__, __LINE__);
    $picture_title = $CURRENT_PIC_DATA['title'] ? $CURRENT_PIC_DATA['title'] : strtr(preg_replace("/(.+)\\..*?\\Z/", "\\1", htmlprepare($CURRENT_PIC_DATA['filename'])), "_", " ");
    $nav_menu = html_img_nav_menu();
    $picture = html_picture();
    $votes = html_rating_box();
    $pic_info = html_picinfo();
    $comments = html_comments($CURRENT_PIC_DATA['pid']);
    pageheader($album_name . '/' . $picture_title, '', false);
    // Display Breadcrumbs
    set_breadcrumb(0);
    // Display Filmstrip if the album is not search
    if ($album != 'search') {
        $film_strip = display_film_strip($meta, $album, isset($cat) ? $cat : 0, $pos, true);
    }
    theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip);
    //,
    // strpos ( string haystack, string needle [, int offset])
    $mpl = $CONFIG['main_page_layout'];
    if (strpos("{$mpl}", "anycontent") === true) {
        require_once "{$CPG_M_DIR}/anycontent.php";
    }
    pagefooter();
}
开发者ID:cbsistem,项目名称:nexos,代码行数:31,代码来源:displayimage.php

示例4: set_breadcrumb

                                        </li>
                                    </ul>
                                </div>
                            </nav>
                        </div>
                    </div>
                </div> <!-- end navbar navbar-fixed-top -->
            </header>
            
            <!-- main content -->
             <div id="contentwrapper">
                <div class="main_content">
				<nav>
					<div id="jCrumbs" class="breadCrumb module">
					<?php 
echo '<a href="#"><i class="icon-home"></i></a>' . ' > ' . set_breadcrumb();
?>
					</div>
				</nav>
				<?php 
$this->load->view($module . '/' . $view);
?>
                </div>
                    
            <!--  Place Sidebar Here! -->

            <!-- ttip_r -->
            <a href="javascript:void(0)" class="sidebar_switch on_switch" title="Hide Sidebar">Sidebar switch</a>
            <div class="sidebar">
				<div class="antiScroll">
					<div class="antiscroll-inner">
开发者ID:FaddliLWibowo,项目名称:spk-ci,代码行数:31,代码来源:manajer.php

示例5: array

?>
<?php $this->load->view('template/header'); ?>
<?php $this->load->view('template/topbar'); ?>

<div id="page-wrapper">
<div class="row">
    <div class="col-lg-12">
        <?=get_title($top_title_options + array('level' => 1))?>
    </div>
    <!-- /.col-lg-12 -->
</div>
<div class="row">
    <div class="col-lg-12">
        <?php if ($this->session->flashdata('message') || $this->session->userdata('message')) :
            $message = ($this->session->userdata('message')) ? $this->session->userdata('message') : $this->session->flashdata('message');
            $message_type = ($this->session->userdata('message_type')) ? $this->session->userdata('message_type') : $this->session->flashdata('message_type');
            clear_messages();
        ?>
            <div id="message" class="alert alert-dismissable alert-<?=$message_type?>" >
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <?=$message?></div>
            <div class="notifications top-left"></div>
        <?php else : ?>
            <div class="notifications top-left"></div>
        <?php endif; ?>
        <?php if (empty($no_breadcrumbs)) echo set_breadcrumb()?>
        <?php $this->load->view($content_view); ?>
    </div>
</div>
<?php $this->load->view('template/footer'); ?>
开发者ID:nicolasconnault,项目名称:streamliner,代码行数:30,代码来源:default.php

示例6: isset

    }
}
//if (!isset($page)) $page = 1;
$page = isset($_GET['page']) ? intval($_GET['page']) : (isset($_POST['page']) ? intval($_POST['page']) : 1);
$album = isset($_GET['album']) ? intval($_GET['album']) : '';
$meta = isset($_GET['meta']) ? $_GET['meta'] : (isset($_POST['meta']) ? $_POST['meta'] : '');
//$cat = isset($_GET['cat']) ? intval($_GET['cat']) : 0;
if ($meta != '') {
    if ($album != '') {
        $thisalbum = "a.aid = {$album}";
    } elseif ($cat == 0) {
        $thisalbum = "a.category >= 0";
    } else {
        if ($cat == 1) {
            $thisalbum = "a.category > " . FIRST_USER_CAT;
        } else {
            $thisalbum = "a.category = {$cat}";
        }
    }
} else {
    $thisalbum = "a.category = cat";
}
pageheader(isset($CURRENT_ALBUM_DATA) ? $CURRENT_ALBUM_DATA['description'] : isset($_GET["meta"]) ? $lang_meta_album_names[$_GET['meta']] : '');
set_breadcrumb(!is_numeric($album));
display_thumbnails($meta, $album, $cat, $page, $CONFIG['thumbcols'], $CONFIG['thumbrows'], true);
// strpos ( string haystack, string needle [, int offset])
$mpl = $CONFIG['main_page_layout'];
if (strpos("{$mpl}", "anycontent") === true) {
    require_once "{$CPG_M_DIR}/anycontent.php";
}
pagefooter();
开发者ID:cbsistem,项目名称:nexos,代码行数:31,代码来源:thumbnails.php

示例7: base_url

        <script type="text/javascript" src="<?= base_url() ?>media/js/jquery-ui.form.js"></script>
        <script type="text/javascript" src="<?= base_url() ?>media/js/jquery.uniform.min.js"></script>

        <script type="text/javascript">
            $(document).ready(function(){
                $("select, input:text, input:checkbox, input:radio, input:file, input:submit, textarea").uniform();
            });
        </script>
    </head>

    <body>
        <div class="container_24">
            <div class="grid_4" style="border: 1px dotted black; height:300px;">
                <div id="logo" class="grid_3" style="border: 1px dotted black; margin: 0 0 0 25px">
                    Lola Resto Bar<br>
                    Administrador de Menus
                </div>
            </div>
            <div class="grid_20">
                <div id="header">
                    aasasd
                    <div class="perfil">
                        asdasd
                    </div>
                </div>
                <?php echo set_breadcrumb(); ?>
                <?php echo $template['body']; ?>
            </div>
        </div>
    </body>
</html>  
开发者ID:nahue,项目名称:LolaRestoBar,代码行数:31,代码来源:main.php

示例8: if

}else if ((is_numeric($cat))||(is_numeric($album))){ // numeric album
    $thisalbum = "aid = $album";
}elseif ((!is_numeric($cat))&&(!$album)){ //home page
    $thisalbum = "category =  0";
}
*/
//non-numeric album don't need this value as there is no meta blocks
pageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : WELCOME);
$elements = preg_split("|/|", $CONFIG['main_page_layout'], -1, PREG_SPLIT_NO_EMPTY);
foreach ($elements as $element) {
    if (preg_match("/(\\w+),*(\\d+)*/", $element, $matches)) {
        switch ($matches[1]) {
            case 'breadcrumb':
                // Added breadcrumb as a separate listable block from config
                if ($breadcrumb != '' || count($cat_data) > 0) {
                    set_breadcrumb();
                }
                //theme_display_breadcrumb($breadcrumb, $cat_data);
                break;
            case 'catlist':
                if (count($cat_data) > 0) {
                    theme_display_cat_list($breadcrumb, $cat_data, $statistics);
                }
                if (isset($cat) && $cat == USER_GAL_CAT) {
                    list_users();
                }
                break;
            case 'alblist':
                list_cat_albums($cat, false);
                break;
            case 'random':
开发者ID:cbsistem,项目名称:nexos,代码行数:31,代码来源:index.php

示例9: define

define('HELP_PHP', true);
require "modules/" . $module_name . "/include/load.inc";
if (file_exists("{$CPG_M_DIR}/include/help-{$currentlang}.inc")) {
    require_once "{$CPG_M_DIR}/include/help-{$currentlang}.inc";
} else {
    require_once "{$CPG_M_DIR}/include/help-english.inc";
}
$TMPCONFIG = $CONFIG;
require_once "header.php";
$CONFIG = $TMPCONFIG;
//define('META_LNK','&cat=0');
print '<link rel="stylesheet" href="modules/' . $module_name . '/docs/styles.css" type="text/css">';
pageheader('Help', false);
OpenTable();
print '<p class="doc_head doc_title" style="text-align:center;">Coppermine Photo CMS Documentation</p>';
set_breadcrumb(1);
$template_help_overview = '
<!-- BEGIN adminsum -->
<p class="doc_desc" align="left">' . GTDOC_ADMIN_SUMMARY . ' </p>
<!-- END adminsum -->
<!-- BEGIN usersum -->
<p class="doc_desc" align="left">' . GTDOC_USER_SUMMARY . ' </p>
<!-- END usersum -->
<!-- BEGIN anonsum -->
<p class="doc_desc" align="left">' . GTDOC_ANON_SUMMARY . ' </p>
<!-- END anonsum -->

<!-- BEGIN sitead_overviewdesc -->
<p class="doc_head doc_title" align="left">' . GTDOC_SITEADM_OVERVIEW_DESC . ' </p>
<!-- END sitead_overviewdesc -->
<!-- BEGIN overviewtitle -->
开发者ID:cbsistem,项目名称:nexos,代码行数:31,代码来源:help.php


注:本文中的set_breadcrumb函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。