コード例 #1
0
ファイル: header.php プロジェクト: YuukiM/TahitiPromotionNew
        $pages = get_pages();
        foreach ($pages as $page) {
            if (get_page_template_slug($page->ID) == "artist.php") {
                echo "<div class=\"container\">";
                $mainVisual = get_field("mainVisual", $page->ID);
                echo "<h1 class=\"titleWithBG\">";
                echo "<img src='" . $mainVisual . "'>";
                echo "</h1>";
                echo "</div>";
            }
        }
    } elseif (is_page()) {
        if (have_posts()) {
            while (have_posts()) {
                the_post();
                echo "<div class=\"container\">";
                main_visual();
                echo "</div>";
            }
        }
    }
    echo "</div>";
    echo "</section>";
}
if (!is_404()) {
    echo "<section id=\"breadcrumb\" class=\"container\">";
    if (function_exists('bread_crumb')) {
        bread_crumb("elm_class=breadcrumb");
    }
    echo "</section >";
}
コード例 #2
0
ファイル: index.php プロジェクト: ultraauchz/conference
<?php

echo bread_crumb($menu_id);
?>
<section class="content">
  <div class="row">
    <div class="col-xs-12">
		<div class="box">
			<form method="get" enctype="multipart/form-data">
			<div class="box-header">
			  <h3 class="box-title">Search</h3>			  
			</div><!-- /.box-header -->
			<div style="float:left;width:100%;">
				<div class="col-xs-3">
			  	<label for="organization_id">Organization</label> 
			  	<span class="span_org_data">
			  	<?php 
echo form_dropdown('org_id', get_option('id', 'org_name', 'organizations', " ORDER BY org_name ASC "), @$_GET['org_id'], 'class="form-control"', '-- all organization --');
?>
			  	</span>
				</div>
			</div>
			<div style="float:left;width:100%;">
			  <div class="col-xs-3">
			  	<label for="search">Firstname/Lastname</label> 
			  	<input type="text" name="search" class="form-control" placeholder="Enter Firstname/Lastname" value="<?php 
echo @$_GET['search'];
?>
">
			  </div>
			  <div class="col-xs-1">
コード例 #3
0
ファイル: media_action.php プロジェクト: AroundPBT/PHPBoost
        DispatchManager::redirect($error_controller);
    }
    if (!empty($media)) {
        $Bread_crumb->add($media['name'], url('media.php?id=' . $media['id'], 'media-' . $media['id'] . '-' . $media['idcat'] . '+' . Url::encode_rewrite($media['name']) . '.php'));
        $Bread_crumb->add($MEDIA_LANG['edit_media'], url('media_action.php?edit=' . $media['id']));
        define('TITLE', $MEDIA_LANG['edit_media']);
    } else {
        $Bread_crumb->add($MEDIA_LANG['add_media'], url('media_action.php'));
        define('TITLE', $MEDIA_LANG['add_media']);
    }
    require_once '../kernel/header.php';
} elseif ($submit) {
    AppContext::get_session()->csrf_get_protect();
    $media = array('idedit' => retrieve(POST, 'idedit', 0, TINTEGER), 'name' => retrieve(POST, 'name', '', TSTRING), 'idcat' => retrieve(POST, 'idcat', 0, TINTEGER), 'width' => min(retrieve(POST, 'width', $config->get_max_video_width(), TINTEGER), $config->get_max_video_width()), 'height' => min(retrieve(POST, 'height', $config->get_max_video_height(), TINTEGER), $config->get_max_video_height()), 'url' => retrieve(POST, 'u_media', '', TSTRING), 'contents' => retrieve(POST, 'contents', '', TSTRING_PARSE), 'approved' => retrieve(POST, 'approved', 0, TBOOL), 'contrib' => retrieve(POST, 'contrib', 0, TBOOL), 'counterpart' => retrieve(POST, 'counterpart', '', TSTRING_PARSE));
    $category = MediaService::get_categories_manager()->get_categories_cache()->get_category($media['idcat']);
    bread_crumb($media['idcat']);
    if ($media['idedit']) {
        $Bread_crumb->add($media['name'], url('media.php?id=' . $media['idedit'], 'media-' . $media['idedit'] . '-' . $media['idcat'] . '+' . Url::encode_rewrite($media['name']) . '.php'));
        $Bread_crumb->add($MEDIA_LANG['edit_media'], url('media_action.php?edit=' . $media['idedit']));
        define('TITLE', $MEDIA_LANG['edit_media']);
    } else {
        $Bread_crumb->add($MEDIA_LANG['add_media'], url('media_action.php?add=' . $media['idcat']));
        define('TITLE', $MEDIA_LANG['add_media']);
    }
    require_once '../kernel/header.php';
    if (!empty($media['url'])) {
        if ($category->get_content_type() == MediaConfig::CONTENT_TYPE_MUSIC) {
            $mime_type = $mime_type['audio'];
            $host_ok = $host_ok['audio'];
        } elseif ($category->get_content_type() == MediaConfig::CONTENT_TYPE_VIDEO) {
            $mime_type = $mime_type['video'];
コード例 #4
0
ファイル: mujnachas.php プロジェクト: dimakos/myj
<noindex>
<div class="breadcrumbs">
<?php 
if (function_exists('bread_crumb')) {
    bread_crumb('type=string');
}
?>
</div>
<div class="maincontent">
	<div class="filter">

			<div class="accordion" id="accordion2">
			  <div class="accordion-group">
				<div class="accordion-heading">					
				  <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
					Сантехник
				  </a>
				</div>
				<div id="collapseOne" class="accordion-body collapse in">
				  <div class="accordion-inner">
					<ul><span>Ванна</span>
						<li>монтаж ванны с установкой смесителя, сифона и душевого шланга</li>
						<li>монтаж новой ванны с демонтажем старой ванны</li>
						<li>установка экрана для ванной</li>
					</ul>
					<ul><span>Душевая кабина</span>
						<li>монтаж и подключение душевой кабинки</li>
						<li>монтаж и подключение душевого бокса</li>
						<li>замена дверок душевой кабины</li>
					</ul>
					<ul><span>Унитаз</span>
コード例 #5
0
ファイル: header.php プロジェクト: hinaloe/torounit2015
	<div class="js-menu c-slidemenu">
		<nav class="p-menu" itemscope itemtype="http://schema.org/SiteNavigationElement">
			<div class="l-row l-row_tightly">
				<ul class="p-menu__items">
					<?php 
wp_list_pages('title_li=');
?>
				</ul>
			</div>
		</nav>
	</div>

	<header class="l-WPHeader" itemscope itemtype="http://schema.org/WPHeader">
		<div class="l-row">
			<h1 class="l-WPHeader__title"><a href="/" itemprop="name"><img
						src="<?php 
echo Helper::getImageURI("torounit.svg");
?>
" alt="Toro_Unit"></a></h1>
		</div>
	</header>

	<nav class="p-breadcrumbs l-row" itemprop="breadcrumb">
		<?php 
if (function_exists('bread_crumb')) {
    bread_crumb(["type" => "string", "home_label" => '<i class="fa fa-home"></i>']);
}
?>
	</nav>