<?php

$curr_lang = get_current_lang();
$page_local_data = load_page_local_data($alias, $curr_lang);
$layout = get_page_layout($alias);
$page = $query->row_array();
if ($page_local_data['status'] == 0) {
    if (isset($page['content_from']) && $page['content_from'] == 'Manual') {
        $sidebar = $page['sidebar'];
        $content = $page['content'];
        $status = $page['status'];
    }
} else {
    $page_data = $page_local_data;
    $sidebar = $page_data['sidebar'];
    $content = $page_data['content'];
    $status = $page_data['status'];
}
?>
 <!-- Page heading two starts -->
 <div class="page-heading-two">
	 <div class="container">
		 <h2><?php 
echo translate($page['title']);
?>
 </h2>
		 <div class="breads">
			 <a href="<?php 
echo site_url();
?>
"><?php 
예제 #2
0
    $selectedTemplate->templateName = "Default Template";
    $selectedTemplate->sidebar = $sidebar;
    $selectedTemplate->lineup = "on";
    @($selectedTemplate->contents[0]->group_id = 1);
    @($selectedTemplate->contents[0]->content_type = "default_content");
    @($selectedTemplate->contents[0]->layout = "one");
    @($selectedTemplate->contents[0]->heading = "on");
}
#
#	Temaplate Items
#
$selectedTemplate_contents = $selectedTemplate->contents;
#
#	Sidebar
#
$sidebar = $selectedTemplate->sidebar ? $selectedTemplate->sidebar : str_replace("fullwidth", "full", get_page_layout());
#
#	Content Width
#
$content_width = $sidebar == "full" ? 960 : 606;
#
#	give space for front page if sidebar is active
#
if (is_front_page() && $sidebar != "full" && (!$header_background_image && !$header_text)) {
    echo '<div class="content-wrapper box-shadow" style="height:10px;margin-top:-10px;"></div><div class="space margin-b30"></div>';
}
#
#	Call the holder's 1st part
#
sub_page_layout("subheader", $sidebar);
#