本文整理汇总了PHP中get_navigation函数的典型用法代码示例。如果您正苦于以下问题:PHP get_navigation函数的具体用法?PHP get_navigation怎么用?PHP get_navigation使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_navigation函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: sMain
/**
* function sMain ()
* Khoi tao
**/
function sMain()
{
global $ttH;
$ttH->func->load_language($this->modules);
$ttH->temp_act = new XTemplate($ttH->path_html . $this->modules . DS . $this->action . ".tpl");
$ttH->temp_act->assign('CONF', $ttH->conf);
$ttH->temp_act->assign('LANG', $ttH->lang);
$ttH->temp_act->assign('DIR_IMAGE', $ttH->dir_images);
$ttH->func->include_css($ttH->dir_css . $this->modules . '/' . $this->action . ".css");
$ttH->conf['menu_action'] = array($this->modules);
$ttH->data['link_lang'] = isset($ttH->data['link_lang']) ? $ttH->data['link_lang'] : array();
include $this->modules . "_func.php";
$data = array();
if (isset($ttH->conf['cur_group'])) {
$result = $ttH->db->query("select group_id, group_nav, is_show \n\t\t\t\t\t\t\t\t\t\tfrom product_group \n\t\t\t\t\t\t\t\t\t\twhere group_id='" . $ttH->conf['cur_group'] . "' \n\t\t\t\t\t\t\t\t\t\tand is_show=1 \n\t\t\t\t\t\t\t\t\t\tlimit 0,1");
if ($row = $ttH->db->fetch_row($result)) {
//Current menu
$arr_group_nav = !empty($row["group_nav"]) ? explode(',', $row["group_nav"]) : array();
foreach ($arr_group_nav as $v) {
$ttH->conf['menu_action'][] = $this->modules . '-group-' . $v;
}
//End current menu
//Make link lang
$result = $ttH->db->query("select friendly_link,lang \n\t\t\t\t\t\t\t\t\t\t\tfrom product_group \n\t\t\t\t\t\t\t\t\t\t\twhere group_id='" . $ttH->conf['cur_group'] . "' ");
while ($row_lang = $ttH->db->fetch_row($result)) {
$ttH->data['link_lang'][$row_lang['lang']] = $ttH->site->get_link_lang($row_lang['lang'], $this->modules, $row_lang['friendly_link']);
}
//End Make link lang
//SEO
$ttH->site->get_seo($ttH->data['cur_group']);
$ttH->conf["cur_group_nav"] = $row["group_nav"];
$data['content'] = $this->do_list_group($row, $ttH->data['cur_group']);
} else {
$ttH->html->redirect_rel($ttH->site->get_link($this->modules));
}
} else {
//Make link lang
foreach ($ttH->data['lang'] as $row_lang) {
$ttH->data['link_lang'][$row_lang['name']] = $ttH->site->get_link_lang($row_lang['name'], $this->modules);
}
//End Make link lang
//SEO
$ttH->site->get_seo(array('meta_title' => isset($ttH->setting['product']["product_meta_title"]) ? $ttH->setting['product']["product_meta_title"] : '', 'meta_key' => isset($ttH->setting['product']["product_meta_key"]) ? $ttH->setting['product']["product_meta_key"] : '', 'meta_desc' => isset($ttH->setting['product']["product_meta_desc"]) ? $ttH->setting['product']["product_meta_desc"] : ''));
$ttH->conf["cur_group"] = 0;
$data['content'] = $this->do_list();
$data['content_focus'] = $this->do_list_focus('focus');
}
$ttH->navigation = get_navigation();
$data['box_left'] = box_left();
$data['box_column'] = box_column();
$ttH->temp_act->assign('data', $data);
$ttH->temp_act->parse("main");
$ttH->output .= $ttH->temp_act->text("main");
}
开发者ID:duonghoaikhanh,项目名称:shophoa,代码行数:58,代码来源:product.php
示例2: sMain
/**
* function sMain ()
* Khoi tao
**/
function sMain()
{
global $ttH;
$ttH->func->load_language($this->modules);
$ttH->temp_act = new XTemplate($ttH->path_html . $this->modules . DS . $this->modules . ".tpl");
$ttH->temp_act->assign('CONF', $ttH->conf);
$ttH->temp_act->assign('LANG', $ttH->lang);
$ttH->temp_act->assign('DIR_IMAGE', $ttH->dir_images);
$ttH->func->include_css($ttH->dir_css . $this->modules . '/' . $this->modules . ".css");
$ttH->func->include_js($ttH->dir_skin . 'js/' . $this->modules . '/' . $this->modules . ".js");
$ttH->func->include_js($ttH->dir_js . "yetii-min.js");
$ttH->conf['menu_action'] = array($this->modules);
$ttH->data['link_lang'] = isset($ttH->data['link_lang']) ? $ttH->data['link_lang'] : array();
include $this->modules . "_func.php";
$data = array();
if (isset($ttH->conf['cur_item'])) {
$result = $ttH->db->query("select * \n\n\t\t\t\t\t\t\t\t\t\tfrom product \n\n\t\t\t\t\t\t\t\t\t\twhere item_id='" . $ttH->conf['cur_item'] . "' \n\n\t\t\t\t\t\t\t\t\t\tand is_show=1 \n\n\t\t\t\t\t\t\t\t\t\tlimit 0,1");
if ($row = $ttH->db->fetch_row($result)) {
//Make link lang
$result = $ttH->db->query("select friendly_link,lang \n\n\t\t\t\t\t\t\t\t\t\t\tfrom product \n\n\t\t\t\t\t\t\t\t\t\t\twhere item_id='" . $ttH->conf['cur_item'] . "' ");
while ($row_lang = $ttH->db->fetch_row($result)) {
$ttH->data['link_lang'][$row_lang['lang']] = $ttH->site->get_link_lang($row_lang['lang'], $this->modules, '', $row_lang['friendly_link']);
}
//End Make link lang
//SEO
$ttH->site->get_seo($ttH->data['cur_item']);
$ttH->conf["cur_group"] = $row["group_id"];
$ttH->conf["cur_group_nav"] = $row["group_nav"];
//Current menu
$arr_group_nav = !empty($ttH->conf["cur_group_nav"]) ? explode(',', $ttH->conf["cur_group_nav"]) : array();
foreach ($arr_group_nav as $v) {
$ttH->conf['menu_action'][] = $this->modules . '-group-' . $v;
}
$ttH->conf['menu_action'][] = $this->modules . '-item-' . $ttH->conf['cur_item'];
//End current menu
$group_name = get_group_name($row["group_id"], 'link');
$data['content'] = $this->do_detail($row, $ttH->data['cur_item']);
$data["comment"] = $ttH->site->comment($this->modules, $ttH->data['cur_item']['item_id']);
} else {
$ttH->html->redirect_rel($ttH->site->get_link($this->modules));
}
} else {
$ttH->html->redirect_rel($ttH->site->get_link($this->modules));
}
$ttH->navigation = get_navigation();
$data['navigation'] = $ttH->navigation;
$data['box_left'] = box_left();
$data['box_column'] = box_column();
$ttH->temp_act->assign('data', $data);
$ttH->temp_act->parse("main");
$ttH->output .= $ttH->temp_act->text("main");
}
开发者ID:duonghoaikhanh,项目名称:hondabac,代码行数:56,代码来源:detail.php
示例3: template_out
function template_out($template_name, $from_modulname)
{
global $tpl, $lang_suffix;
$ret = is_modul_name_aktive($from_modulname);
if ($ret == 0) {
error_msg("Dieses Modul wurde vom Administrator deaktiviert.<br>Module has been disabled by the administrator.");
exit;
}
$lang_file = LITO_LANG_PATH . $from_modulname . '/lang_' . $lang_suffix . '.php';
$tpl->config_load($lang_file);
$tpl->assign('LITO_NAVIGATION', get_navigation());
$tpl->assign('LITO_GLOBAL_IMAGE_URL', LITO_GLOBAL_IMAGE_URL);
$tpl->assign('LITO_IMG_PATH', LITO_IMG_PATH_URL . $from_modulname . "/");
$tpl->assign('LITO_MAIN_CSS', LITO_MAIN_CSS);
$tpl->assign('GAME_FOOTER_MSG', get_footer());
$tpl->assign('LITO_ROOT_PATH_URL', LITO_ROOT_PATH_URL);
$tpl->assign('LITO_MODUL_PATH_URL', LITO_MODUL_PATH_URL);
$tpl->assign('LITO_BASE_MODUL_URL', LITO_MODUL_PATH_URL);
$tpl->display($from_modulname . "/" . $template_name);
}
开发者ID:Wehmeyer,项目名称:Litotex-0.7,代码行数:20,代码来源:functions.php
示例4: bootstrap_get_navigation
/**
* bootstrap_get_navigation()
*
* This creates the menu structure for use with the main navigation
* This function supports drop down menus when the i18n navigation
* plugin is installed.
*
* @param $slug (string) : The page 'slug' to get the navigation for
* @return (string) : String containing HTML <ul> list of menu data
*/
function bootstrap_get_navigation($slug)
{
if (function_exists('get_i18n_navigation')) {
# i18n Navigation plugin installed
$mdata = return_i18n_menu_data($slug, 0, 99, I18N_SHOW_MENU);
foreach ($mdata as $item) {
$url = function_exists('find_i18n_url') ? find_i18n_url($item['url'], $item['parent']) : find_url($item['url'], $item['parent']);
$title = $item['menu'] ? $item['menu'] : $item['title'];
$class = $item['url'];
if ($item['current']) {
$class .= ' active';
}
if ($item['haschildren']) {
$class .= ' dropdown';
}
echo '<li class="' . $class . '">';
if (is_array($item['children'])) {
echo '<a href="" class="dropdown-toggle" data-toggle="dropdown">' . $title . '<b class="caret"></b></a>';
echo '<ul class="dropdown-menu">';
echo '<li><a href="' . $url . '">' . $title . '</a></li><li class="divider"></li>';
foreach ($item['children'] as $k => $v) {
$c_url = function_exists('find_i18n_url') ? find_i18n_url($v['url'], $v['parent']) : find_url($v['url'], $v['parent']);
$c_title = $v['menu'] ? $v['menu'] : $v['title'];
echo '<li><a href="' . $c_url . '">' . $c_title . '</a></li>';
}
echo '</ul>';
echo '</li>';
} else {
echo '<a href="' . $url . '">' . $title . '</a></li>';
}
}
} else {
# GetSimple core navigation
get_navigation($slug);
}
}
开发者ID:hatasu,项目名称:appdroid,代码行数:46,代码来源:functions.php
示例5: find_selected_page
require_once "includes/functions.php";
include "includes/header.php";
find_selected_page();
?>
<head>
<title>Main Content</title>
</head>
<div id="content">
<div id="table">
<table class="tables">
<tr>
<td id="nav2">
<?php
echo get_navigation($table1, $table2);
?>
</td>
<td id="main">
<div id="form-content">
<form action="create_info.php" method="post" id="form">
<h2>Add Info</h2>
<p>
Info Title :
<input type="text" name="info" maxlength="30" required><br>
</p>
<p>
Position:<select name="position" required>
开发者ID:bharathrangaraj,项目名称:cms-php,代码行数:31,代码来源:new_info.php
示例6: get_navigation
<nav role="navigation" class="navbar navbar-inverse navbar-fixed-top">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="container">
<div class="navbar-header">
<button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle" type="button"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<?php
get_navigation(2, 'top');
?>
</ul>
<!--<form class="navbar-form navbar-left" role="search">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>-->
<ul class="nav navbar-nav navbar-right">
<?php
if (logged_in()) {
?>
<li><a href="<?php
echo site_options('link');
开发者ID:kas5986,项目名称:simpleEcommerce,代码行数:30,代码来源:header.php
示例7: get_menus
}
break;
case 'deleteMenu':
if (array_key_exists('menuname', $_POST)) {
$menu = get_menus($_POST['menuname']);
if (!empty($menu)) {
$deleteIds = get_descendants($menu[$_POST['menuname']]['id']);
if (!empty($deleteIds)) {
$result = $db->query('DELETE FROM ' . DB_PREFIX . 'links WHERE id IN (' . implode(',', $deleteIds) . ')');
}
}
}
break;
}
exit;
}
// If a valid menu is given, load it's settings
if ($menu) {
$links = get_navigation($menu['varname']);
$js[] = 'links';
$cache->removeCache(CACHE_NAVIGATION);
$smarty->assign('menu_id', $menu['id']);
$smarty->assign('menu_varname', $menu['varname']);
$smarty->assign('menu_name', $menu['name']);
$smarty->assign('menu_title', $menu['title']);
$smarty->assign('links', $links);
$template = 'links.tpl';
} else {
$template = 'menus.tpl';
}
$smarty->assign('current_category', 'links');
开发者ID:zeamxie,项目名称:jobberbase,代码行数:31,代码来源:page_links.php
示例8: get_navigation
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid no-padding">
<div id="sticky-bar" class="logo-slide">
<div class="row">
<div class="col-md-12">
<div class="container">
<ul class="nav nav-pills">
<?php
get_navigation(return_page_slug(FALSE));
?>
</ul>
<div id="sticky-controls">
<a id="back-to-top" href="#top" class="info theme-icon-up-open" title="" data-placement="bottom" data-original-title="Top" style="display: none;"></a>
<div class="register-wrapper">
<a id="sticky-register" class="info-bottom theme-icon-register sticky-button" title="" data-original-title="Register"></a>
<div class="sticky-form" id="sticky-register-form" style="display: none;">
<div class="loading"><span class="theme-icon-spin2"></span></div>
<form method="post" action="http://www.industrialthemes.com/explicit/wp-login.php?action=register" class="sticky-register-form"><div id="sticky-register-submit" class="sticky-submit register"><span class="theme-icon-check"></span>REGISTER</div><div class="input-group"><span class="input-group-addon theme-icon-username"></span><input type="text" name="user_login" value="" id="user_register" tabindex="11" placeholder="username"></div><div class="input-group"><span class="input-group-addon at-symbol">@</span><input type="text" name="user_email" value="" id="user_email" tabindex="12" placeholder="email"></div><input type="hidden" name="redirect_to" value="/explicit/?register=true"><input type="hidden" name="user-cookie" value="1"> </form>
</div>
开发者ID:hatasu,项目名称:appdroid,代码行数:30,代码来源:header.inc.php
示例9: foreach
$numberOfJobsInOtherCities = $job->GetNumberOfJobsInOtherCities();
$smarty->assign('jobs_count_in_other_cities', $numberOfJobsInOtherCities);
$smarty->assign('hide_other_cities_in_sidebar', $numberOfJobsInOtherCities < SIDEBAR_ONLY_CITIES_WITH_AT_LEAST_NUMBER_OF_JOBS);
$jobsCountPerCity = $job->GetJobsCountPerCity();
// exclude the cities that don't have at least the specified number of jobs
foreach ($jobsCountPerCity as $index => $jobsPerCity) {
if ($jobsPerCity['jobs_in_city'] < SIDEBAR_ONLY_CITIES_WITH_AT_LEAST_NUMBER_OF_JOBS) {
unset($jobsCountPerCity[$index]);
}
}
$smarty->assign('jobs_count_per_city', $jobsCountPerCity);
}
// get job categories and cities
$smarty->assign('categories', get_categories());
$smarty->assign('articles', get_articles());
$smarty->assign('navigation', get_navigation());
// list of available languages
$smarty->assign('languages', $translator->getLanguages());
// translations
$smarty->assign('translator', $translator);
$smarty->assign('translations', $translations);
// create a JSON string from the translations array, but only for the "js" section
$smarty->assign('translationsJson', iniSectionsToJSON(array('js' => $translations['js'])));
$smarty->assign('THEME', $settings['theme']);
$smarty->assign('CURRENT_PAGE', $page);
$smarty->assign('CURRENT_ID', $id);
$smarty->assign('BASE_URL', BASE_URL);
$smarty->assign('HTTP_REFERER', $_SERVER['HTTP_REFERER']);
//Add the dynamic URL defitions to SMARTY
$smarty->assign('URL_JOB', URL_JOB);
$smarty->assign('URL_JOBS', URL_JOBS);
开发者ID:zeamxie,项目名称:jobberbase,代码行数:31,代码来源:index.php
示例10: get_site_url
<div class="wrapper">
<!-- logo/sitename -->
<a href="<?php
get_site_url();
?>
" id="logo" ><?php
get_site_name();
?>
</a>
<!-- main navigation -->
<nav id="main-nav">
<ul>
<?php
get_navigation(get_page_slug(FALSE));
?>
</ul>
</nav>
</div>
</div>
<!-- breadcrumbs: only show when NOT on homepage -->
<p class="breadcrumbs" >
<span class="wrapper">
<a href="<?php
get_site_url();
?>
">Home</a> • <?php
Innovation_Parent_Link(get_parent(FALSE));
?>
开发者ID:Emmett-Brown,项目名称:linea,代码行数:31,代码来源:header.inc+(copia).php
示例11: get_navigation
" target="_blank" title="<?php
echo $k["LinkName"];
?>
"><b><?php
echo $k["LinkName"];
?>
</b></a></li><?php
}
}
}
} else {
echo "";
}
?>
<!--Link循环结束--></ul></div></div><div class="right_bottom1"></div></div></div><!-- 友情链接 结束--><!-- 底部版权 开始--><div id="copyright_main"><div id="copyright"><div class="bottom_navigation"><?php
$_result = get_navigation(0, 1, "-1");
if (is_array($_result)) {
$i = 0;
$__LIST__ = $_result;
if (count($__LIST__) == 0) {
echo "";
} else {
foreach ($__LIST__ as $key => $n) {
$mod = $i % 2;
++$i;
if ($i != "1") {
?>
| <?php
}
?>
<a href="<?php
开发者ID:project-store,项目名称:phpsite,代码行数:31,代码来源:f4cfc38c4288aadf834d054e974f8c39cn.php
示例12: do_detail
function do_detail($info = array(), $info_lang = array())
{
global $ttH;
$output = '';
$data = array_merge($info, $info_lang);
$data["link_action"] = $ttH->site->get_link('news', '', $info_lang['friendly_link']);
$data["picture"] = $ttH->func->get_src_mod($info["picture"], 300, 300, 1, 0, array('fix_widtn' => 1));
$ttH->temp_box->assign('data', array('link_share' => $ttH->data['link_lang'][$ttH->conf['lang_cur']]));
$ttH->temp_box->parse("html_list_share");
$data['content'] .= $ttH->temp_box->text("html_list_share");
$data['content'] .= list_other(" and item_id!='" . $data['item_id'] . "'");
$data['navigation'] = get_navigation();
$data['box_column'] = $ttH->site->block_column();
$ttH->temp_act->assign('data', array('title' => urlencode($data['title']), 'link' => $ttH->data['link_lang'][$ttH->conf['lang_cur']]));
$ttH->temp_act->parse("html_title_more");
$data['more_title'] = $ttH->temp_act->text("html_title_more");
$ttH->temp_box->assign('data', $data);
$ttH->temp_box->parse("box_main");
$output = $ttH->navigation . $ttH->temp_box->text("box_main");
return $output;
}
开发者ID:duonghoaikhanh,项目名称:hondabac,代码行数:21,代码来源:news.php
示例13: get_navigation
</style>';
if (isset($add_cssjs)) {
print $add_cssjs;
}
print '
</head>
<body>
<div id="ibody">
<div id="iheader"></div>
<div id="imenu">
<div id="site_avatar">
<div></div>
</div>
<div id="top_menu">
' . get_navigation($show_cat, $navigation_json) . '
</div>
</div>
<div id="ileft">
<div><h1>Seiya Loveless</h1></div>
<div class="padb10"><h2><a href="/">@<span>seiya.moe</span></a></h2></div>
<div class="padb10">нэко-дандере, фэнсубер, махосёдзёфаг</div>
<div id="vkcom"><a href="//vk.com/seiya_loveless">vk.com/seiya_loveless</a></div>
<div id="twittercom"><a href="//twitter.com/seiya_loveless">twitter.com/seiya_loveless</a></div>
<div id="aboutme"><a href="//about.me/seiya_loveless">about.me/seiya_loveless</a></div>
</div>
<div id="iright">
';
print $content;
开发者ID:seiya-dev,项目名称:seiya_domain,代码行数:31,代码来源:_template.php
示例14: intval
$result = $db->query('SELECT id FROM ' . DB_PREFIX . 'links ORDER BY link_order DESC LIMIT 1');
$last = $result->fetch_assoc();
echo $last['id'];
break;
case 'deleteLink':
$result = $db->query('DELETE FROM ' . DB_PREFIX . 'links WHERE id = ' . intval($_POST['link']) . ' LIMIT 1');
break;
case 'saveLink':
$result = $db->query('UPDATE ' . DB_PREFIX . 'links SET url = "' . $_POST['url'] . '", name = "' . $_POST['name'] . '", title = "' . $_POST['title'] . '" WHERE id = ' . intval($_POST['link']));
break;
}
exit;
}
// If a valid menu is given, load it's settings
if (isset($menu) && $menu != '0') {
$links = get_navigation($menu);
$js[] = 'links';
$cache->removeCache(CACHE_NAVIGATION);
if ($menu == 'primary') {
$menu_name = 'Primary Menu';
} elseif ($menu == 'secondary') {
$menu_name = 'Secondary Menu';
} elseif ($menu == 'footer1') {
$menu_name = 'Footer Column 1';
} elseif ($menu == 'footer2') {
$menu_name = 'Footer Column 2';
} elseif ($menu == 'footer3') {
$menu_name = 'Footer Column 3';
}
$smarty->assign('menu_id', $menu);
$smarty->assign('menu_name', $menu_name);
开发者ID:Kuzy,项目名称:jobberbase,代码行数:31,代码来源:page_links.php
示例15: include_navigation
function include_navigation($params = array())
{
echo get_navigation($params);
}
开发者ID:bshaffer,项目名称:Symplist,代码行数:4,代码来源:NavigationHelper.php
示例16: template_out
function template_out($template_name, $from_modulname)
{
global $db, $tpl, $lang_suffix, $n, $userdata, $is_loged_in;
$lang_file = LITO_LANG_PATH . $from_modulname . '/lang_' . $lang_suffix . '.php';
$tpl->config_load($lang_file);
if (intval($userdata['rassenid']) > 0 || $is_loged_in == 0) {
get_navigation($from_modulname);
}
$tpl->assign('LITO_GLOBAL_IMAGE_URL', LITO_GLOBAL_IMAGE_URL);
$tpl->assign('LITO_IMG_PATH', LITO_IMG_PATH_URL . $from_modulname . "/");
$tpl->assign('LITO_IMG_PATH_URL', LITO_IMG_PATH_URL);
$tpl->assign('LITO_MAIN_CSS', LITO_MAIN_CSS);
$tpl->assign('GAME_FOOTER_MSG', get_footer());
$tpl->assign('LITO_ROOT_PATH_URL', LITO_ROOT_PATH_URL);
$tpl->assign('LITO_MODUL_PATH_URL', LITO_MODUL_PATH_URL);
$tpl->assign('LITO_BASE_MODUL_URL', LITO_MODUL_PATH_URL);
$tpl->display($from_modulname . "/" . $template_name);
if (isset($_SESSION['ttest']) && $_SESSION['ttest'] == true && isset($_SESSION['ttestid'])) {
echo '<div style="background:white;color:black;bottom:0px;" align="center"><a style="color:black" href="?killdesmod=true">Designmodus beenden</a></div>';
}
}
开发者ID:Wehmeyer,项目名称:Litotex-0.7,代码行数:21,代码来源:functions.php
示例17: get_header
<?php
/*
* @package WordPress
* @subpackage Sunswift
* @since Sunswift 1.0
*/
get_header();
?>
<body>
<div id="container">
<div id="header">
<div id="topHeader">
<div id="textHeader">Welcome to the UNSW Solar Racing Team</div>
<div id="navHeader"><ul><?php
get_navigation();
?>
</ul></div>
<a href='http://www.sunswift.com'><img src="<?php
echo LOGO_IMAGE;
?>
" width="200" alt="Sunswift Logo" class="logo"></a>
</div>
<div id="mediaHeader">
<div id="panel_image"><?php
get_panel_image();
?>
</div>
<div id="media_container"></div>
<div id="live_container"><?php
sunswift_live();
开发者ID:heavyhand,项目名称:sunswift.website,代码行数:31,代码来源:page.php
示例18: get_navigation
<aside class="col-lg-3">
<ul class="nav nav-pills nav-stacked">
<?php
get_navigation(1, 'sidebar');
?>
</ul>
</aside>
开发者ID:kas5986,项目名称:simpleEcommerce,代码行数:12,代码来源:sidebar.php
示例19: get_navigation
<img src="<?php
echo $themeurl;
?>
/images/sidebar2.png" width="83" height="65" alt="open sidebar menu button" />
</div>
<div id="horizon-logo">
<img src="<?php
echo $themeurl;
?>
/images/logo_banner.png" width="930" height="210" alt="Kevin Finnegan Logo" />
</div>
<ul id="navibar">
<?php
get_navigation(return_page_slug());
?>
</ul>
</div>
</div>
<!--CONTAINER DIV-->
<div id="container" style="background-image:url(<?php
echo $themeurl;
?>
/images/noise_pale.jpg)">
<!--MAIN CMS CONTENT-->
<?php
get_page_content();
?>
开发者ID:Kevinf63,项目名称:KevPortfolio,代码行数:30,代码来源:template.php
示例20: heading
<body>
<div class="container">
<div class="wrapper">
<div class="page-header">
<header>
<?php
echo heading(anchor('', get_option('site_name')), $this->module == 'home' ? 1 : 2);
?>
<span><?php
echo get_option('site_description');
?>
</span>
</header>
<nav class="row">
<?php
echo get_navigation('HEAD_MENU', 'clearfix');
?>
<div id="search">
<form action="search" method="GET">
<input type="text" id="keyword" name="q" placeholder="Arama terimini girin" class="keyword" value="<?php
echo $this->input->get('q');
?>
">
<input type="submit" id="search-btn" value="">
</form>
</div>
</nav>
</div>
<div class="row">
<div class="span12">
<?php
开发者ID:navruzm,项目名称:navruz.net,代码行数:31,代码来源:layout.php
注:本文中的get_navigation函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论