Пример #1
0
        window.location = '/interview/?<?php 
echo $back_url;
?>
';
    });
});
</script>

<?php 
$crumbs = array();
$crumbs[] = array('title' => 'Статьи и интервью', 'url' => '/articles/');
$crumbs[] = array('title' => 'Интервью', 'url' => '/interview/');
$crumbs[] = array('title' => $interview['uname'] . ' ' . $interview['usurname'] . ' [' . $interview['login'] . ']');
?>
<div class="b-menu b-menu_crumbs  b-menu_padbot_20"><?php 
echo getCrumbs($crumbs);
?>
</div>

<?php 
include $mpath . '/tabs.php';
?>
<div class="page-interview">
    <a name="page_interview"></a>
    <div class="tnav-interview">
        <div class="interview-pager">
            <?php 
if (isset($navigation['prev'])) {
    ?>
                <a href="<?php 
    echo getFriendlyURL('interview', $navigation['prev']['id']);
Пример #2
0
$crumbs[] = array("title" => "Сообщества", "url" => "/commune/");
if ($comm['id'] != commune::COMMUNE_BLOGS_ID) {
    $crumbs[] = array("title" => $sGroup, "url" => getFriendlyURL('commune_group', $comm['group_id']));
}
if ($comm['id'] == commune::COMMUNE_BLOGS_ID) {
    $category_id = __paramInit('int', 'cat', 'cat');
    $category = commune::getCategory($category_id);
    $crumbs[] = array("title" => $comm['name'], "url" => $category_id > 0 ? getFriendlyURL('commune_commune', $comm['id']) : "");
    if ($category_id) {
        $crumbs[] = array("title" => $category['name'], "url" => "");
    }
}
?>
<div class="b-community-article">
<?php 
echo getCrumbs($crumbs, $comm['id'] != commune::COMMUNE_BLOGS_ID ? "commune" : "new_blogs");
?>
<h1 class="b-page__title"><?php 
echo $comm['name'];
?>
</h1>

<div class="b-menu b-menu_line b-menu_relative b-menu_padbot_20">
    <ul class="b-menu__list b-menu__list_padleft_28ps" data-menu="true" data-menu-descriptor="community-discussions">
            <?php 
seo_start();
?>
            <li class="b-menu__item <?php 
echo $bmCls[commune::OM_TH_NEW] ? 'b-menu__item_active' : '';
?>
" <?php 
Пример #3
0
    $crumbs[] = array("title" => "Каталог фрилансеров", "url" => "/freelancers/");
    $crumbs[] = array("title" => $cur_prof['groupname'], "url" => "/freelancers/" . $cur_prof['grouplink'] . '/?' . $query_string_cat);
    $crumbs[] = array("title" => $cur_prof['profname'], "url" => false);
    $pageTitle = $cur_prof['groupname'] . " / " . $cur_prof['profname'];
} elseif ($prof_group_id && $prof_name) {
    $crumbs[] = array("title" => "Каталог фрилансеров", "url" => "/freelancers/");
    $crumbs[] = array("title" => $prof_name, "url" => "");
    $pageTitle = $prof_name;
} else {
    //$crumbs[] = array("title"=>"Все фрилансеры", "url"=>"");
    $pageTitle = 'Каталог фрилансеров';
}
?>

<?php 
echo getCrumbs($crumbs, "freelancers");
?>
<div class="b-layout__right b-layout__right_relative">

</div>
                       
<div class="b-layout__right b-layout__right_relative b-layout__left_width_72ps b-layout__left_float_left">
    <h1 class="b-page__title">
        <span class="b-layout__txt b-layout__txt_float_right b-layout__txt_padtop_10">
            <?php 
require_once $_SERVER['DOCUMENT_ROOT'] . "/banner_promo.php";
?>
        </span>
        <?php 
echo isset($page_h1) && $page_h1 ? $page_h1 : $pageTitle;
?>
Пример #4
0
<?php 
echo seo_end();
?>
  


<?php 
$crumbs = array();
if (!$gr_id) {
    //$crumbs[] = array("title"=>"Сообщества", "url"=>"");
} else {
    $crumbs[] = array("title" => "Сообщества", "url" => "/commune/");
    $crumbs[] = array("title" => $sGroup, "url" => "");
}
/*= $gr_id ? getCrumbs($crumbs, "commune") : '<h1 class="b-page__title">Сообщества фрилансеров</h1>' */
echo getCrumbs($crumbs, "commune");
?>
<h1 class="b-page__title">Сообщества фрилансеров</h1>

<?php 
ob_start();
?>
<div class="b-menu b-menu_line b-menu_clear_both">
    <ul class="b-menu__list b-menu__list_padleft_28ps" data-menu="true" data-menu-descriptor="community-list">
        <li class="b-menu__item<?php 
echo $bmCls[commune::OM_CM_BEST];
?>
" <?php 
echo !$bmCls[commune::OM_CM_BEST] || $page > 1 ? '' : 'data-menu-opener="true" data-menu-descriptor="community-list" ';
?>
>
Пример #5
0
if ($cur_prof) {
    $crumbs[] = array('title' => 'Каталог фрилансеров', 'url' => '/freelancers/');
    $crumbs[] = array('title' => $cur_prof['groupname'], 'url' => '/freelancers/' . $cur_prof['grouplink'] . '/?' . $query_string_cat);
    $crumbs[] = array('title' => $cur_prof['profname'], 'url' => false);
    $pageTitle = $cur_prof['groupname'] . ' / ' . $cur_prof['profname'];
} elseif ($prof_group_id && $prof_name) {
    $crumbs[] = array('title' => 'Каталог фрилансеров', 'url' => '/freelancers/');
    $crumbs[] = array('title' => $prof_name, 'url' => '');
    $pageTitle = $prof_name;
} else {
    $pageTitle = 'Каталог фрилансеров';
}
?>

<?php 
echo getCrumbs($crumbs, 'freelancers');
?>
<div class="b-layout__right b-layout__right_relative">


<h1 class="b-page__title"><?php 
echo isset($page_h1) && $page_h1 ? $page_h1 : $pageTitle;
?>
<span class="b-layout__txt b-layout__txt_float_right b-layout__txt_padtop_10"><?php 
require_once $_SERVER['DOCUMENT_ROOT'] . '/banner_promo.php';
?>
</span></h1>
</div>
                       
<?php 
// Категории (профессии) для фильтрации
Пример #6
0
<?php 
echo seo_end();
?>
  


<?php 
$crumbs = array();
if (!$gr_id) {
    //$crumbs[] = array("title"=>"Сообщества", "url"=>"");
} else {
    $crumbs[] = array('title' => 'Сообщества', 'url' => '/commune/');
    $crumbs[] = array('title' => $sGroup, 'url' => '');
}
/*= $gr_id ? getCrumbs($crumbs, "commune") : '<h1 class="b-page__title">Сообщества фрилансеров</h1>' */
echo getCrumbs($crumbs, 'commune');
?>
<h1 class="b-page__title">Сообщества фрилансеров</h1>

<?php 
ob_start();
?>
<div class="b-menu b-menu_line b-menu_clear_both">
    <ul class="b-menu__list b-menu__list_padleft_28ps" data-menu="true" data-menu-descriptor="community-list">
        <li class="b-menu__item<?php 
echo $bmCls[commune::OM_CM_BEST];
?>
" <?php 
echo !$bmCls[commune::OM_CM_BEST] || $page > 1 ? '' : 'data-menu-opener="true" data-menu-descriptor="community-list" ';
?>
>
Пример #7
0
        $ref_uri = str_replace(HTTP_PREFIX . $_SERVER["HTTP_HOST"], "", $_SERVER["HTTP_REFERER"], $count);
    }
    if ($_SESSION['p_ref'] != $ref_uri && $count) {
        $_SESSION['p_ref'] = $ref_uri;
    }
}
?>


<?php 
$crumbs = array();
$crumbs[] = array("title" => "Блоги", "url" => "/blogs/");
$crumbs[] = array("title" => $gr_name, "url" => getFriendlyURL("blog_group", $gr_id) . "?from={$thread}" . ($gr_base ? "&amp;t=prof" : ""));
?>
<div class="b-menu b-menu_crumbs "><?php 
echo getCrumbs($crumbs, 'blogs');
?>
</div>


<?php 
if ($ban_where) {
    ?>
<form id="frm">
<div>
 <input type="hidden" name="ord" value="<?php 
    echo $bOrd;
    ?>
" />
 <input type="hidden" name="olduser" value="" />   
						<input type="hidden" name="tr" value="<?php 
Пример #8
0
function breadcrumb_menu($separator = ' > ', $use_index = 'Home'){
		global $content_id;
		global $base;
		if($use_index != false){
			$bcm = '<a href="'.$base.'">'.$use_index.'</a>'.$separator;
		}
		//get menu json
		$file = menu_file_path();
		$json_menu = json_decode(file_get_contents($file), true);
		
		//run GetCrumbs to cycle through menu and find the crumbs.
		getCrumbs($json_menu,$content_id,$json_menu);
		global $superCrumb;
		
		$finalCrumb = array_reverse($superCrumb);
		
		foreach($finalCrumb as $v){
			$bcm .= '<a href="'.$v['href'].'">'.$v['name'].'</a>'.$separator;
		}
		$bcm = trim($bcm,$separator);
		return $bcm;
}