本文整理汇总了PHP中get_header函数的典型用法代码示例。如果您正苦于以下问题:PHP get_header函数的具体用法?PHP get_header怎么用?PHP get_header使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_header函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: listar
public function listar($j = 0)
{
$filter = new stdClass();
$filter->rol = $this->session->userdata('rolusu');
$filter->order_by = array("m.MENU_Orden" => "asc");
$menu = get_menu($filter);
$filter = new stdClass();
$filter_not = new stdClass();
$registros = count($this->sector_model->listar($filter));
$sectores = $this->sector_model->listar($filter, $filter_not, $this->configuracion['per_page'], $j);
$item = 1;
$lista = array();
if (count($sectores) > 0) {
foreach ($sectores as $indice => $value) {
$lista[$indice] = new stdClass();
$lista[$indice]->codigo = $value->SECTORP_Codigo;
$lista[$indice]->descripcion = $value->SECTORC_Descripcion;
}
}
$configuracion = $this->configuracion;
$configuracion['base_url'] = base_url() . "index.php/maestros/sector/listar";
$configuracion['total_rows'] = $registros;
$this->pagination->initialize($configuracion);
/*Enviamos los datos a la vista*/
$data['lista'] = $lista;
$data['menu'] = $menu;
$data['header'] = get_header();
$data['titulo'] = "Listado de Sectores";
$data['nuevo'] = "Crear una nueva Sector";
$data['registros'] = $registros;
$data['paginacion'] = $this->pagination->create_links();
$this->load->view("maestros/sector_index", $data);
}
开发者ID:ccjuantrujillo,项目名称:cepreadm,代码行数:33,代码来源:sector.php
示例2: get_header
static function get_header($use_main_template = false, $name = '')
{
if ($use_main_template) {
get_header($name);
return;
}
$header = 'header-snapjobs';
if ($name) {
$header .= '-' . $name;
}
$header .= '.php';
if (file_exists($template_header = _NP_TEMPLATE_PATH . DIRECTORY_SEPARATOR . $header)) {
if ($name) {
$template_header = str_replace('.php', '', $template_header) . '-' . $name . '.php';
}
require $template_header;
} else {
if ($name) {
$template_header = 'templates/header-' . $name . '.php';
} else {
$template_header = 'templates/header.php';
}
require $template_header;
}
}
开发者ID:quangnpd,项目名称:jobshop_web,代码行数:25,代码来源:helper.php
示例3: mtm_load_wrap_header
function mtm_load_wrap_header()
{
if (mtm_load_wrap()) {
get_header();
echo '<main id="main" class="site-main" role="main">';
}
}
开发者ID:marktimemedia,项目名称:page-components-for-wordpress-themes,代码行数:7,代码来源:mtm-config.php
示例4: template
function template()
{
do_action('activate_header');
add_action('wp_head', array($this, 'do_activate_header'));
add_action('wp_head', array($this, 'wpmu_activate_stylesheet'));
get_header();
?>
<div id="content" class="widecolumn">
<?php
if (!$this->has_activation_key()) {
get_template_part($this->template_folder . '/activate', 'no-key');
} else {
$key = $this->get_activation_key();
$this->result = GFUserSignups::activate_signup($key);
if (is_wp_error($this->result)) {
get_template_part($this->template_folder . '/activate', 'error');
} else {
get_template_part($this->template_folder . '/activate', 'success');
}
}
?>
</div>
<script type="text/javascript">
var key_input = document.getElementById('key');
key_input && key_input.focus();
</script>
<?php
get_footer();
}
开发者ID:NicBeltramelli,项目名称:gfur-activate-template,代码行数:34,代码来源:activate.php
示例5: showErrorPage
function showErrorPage()
{
get_header();
?>
<div class="row">
<div class="col-lg-12">
<div class="page-header">
<h1><?php
echo __('Create building', 'idp-theme');
?>
<small><?php
echo __('Step 3: Images', 'idp-theme');
?>
</small>
</h1>
</div>
</div>
</div>
<?php
idp_showAlertMessage('buildingNotFound');
?>
<?php
get_footer();
exit;
}
开发者ID:IDP-EUD,项目名称:idp-theme,代码行数:27,代码来源:pdf-buildingdetails.php
示例6: listar
public function listar($j = 0)
{
$filter = new stdClass();
$filter->rol = $this->session->userdata('rolusu');
$filter->order_by = array("m.MENU_Orden" => "asc");
$menu = get_menu($filter);
$filter = new stdClass();
$filter_not = new stdClass();
$filter_not->persona = "0";
$filter->order_by = array("c.TIPP_Codigo" => "asc");
$registros = count($this->tipoestudio_model->listar($filter, $filter_not));
$tipoestudios = $this->tipoestudio_model->listar($filter, $filter_not, $this->configuracion['per_page'], $j);
$item = 1;
$lista = array();
if (count($tipoestudios) > 0) {
foreach ($tipoestudios as $indice => $value) {
$lista[$indice] = new stdClass();
$lista[$indice]->codigo = $value->TIPP_Codigo;
$lista[$indice]->nombre = $value->TIPC_Nombre;
$lista[$indice]->descripcion = $value->TIPC_Descripcion;
}
}
$configuracion = $this->configuracion;
$configuracion['base_url'] = base_url() . "index.php/maestros/persona/listar";
$configuracion['total_rows'] = $registros;
$this->pagination->initialize($configuracion);
/*Enviamos los datos a la vista*/
$data['lista'] = $lista;
$data['menu'] = $menu;
$data['header'] = get_header();
$data['j'] = $j;
$data['registros'] = $registros;
$data['paginacion'] = $this->pagination->create_links();
$this->load->view("maestros/tipoestudio_index", $data);
}
开发者ID:ccjuantrujillo,项目名称:cepreadm,代码行数:35,代码来源:tipoestudio.php
示例7: wp_us_cities_template_redirect_intercept
function wp_us_cities_template_redirect_intercept()
{
global $wp_query;
if ($wp_query->get('location-search')) {
get_header();
echo '
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<article class="post-1 post type-post status-publish format-standard hentry category-uncategorized">
<header class="entry-header">
<h1 class="entry-title">Location Search</h1>
</header>
<div class="entry-content">
<p>
<div class="wp-city-container">
<input type="text" name="city-term" class="wp-city-term" placeholder="City" slug="" path="' . plugin_dir_url(dirname(__FILE__)) . '">
<div class="wp-city-output">
</div>
</div>
</p>
</div>
</article>
</main><!-- .site-main -->
</div><!-- .content-area -->
';
// get_sidebar();
get_footer();
//require_once('../home.php');
exit;
} elseif ($wp_query->get('search-city')) {
wp_us_cities_search_city($wp_query->get('search-city'));
exit;
}
}
开发者ID:edgareler,项目名称:wp-us-cities,代码行数:34,代码来源:functions.php
示例8: whitepaper_template
function whitepaper_template()
{
remove_action('thesis_hook_header', 'thesis_default_header');
add_action('thesis_hook_header', 'thesis_whitepaper_header');
get_header(apply_filters('thesis_get_header', $name));
echo '<div id="container">' . "\n";
echo '<div id="page">' . "\n";
thesis_header_area();
echo ' <div id="content_box">' . "\n";
thesis_content_column();
echo ' <div id="sidebars">' . "\n";
echo ' <div id="sidebar_5 class="sidebar">' . "\n";
echo ' <ul class="sidebar_list">' . "\n";
dynamic_sidebar(5);
echo ' </ul>' . "\n";
echo ' </div>' . "\n";
// sidebar_5
echo ' </div>' . "\n";
// //sidebars
echo ' </div>' . "\n";
// content_box
thesis_footer_area();
echo '</div>' . "\n";
//page
echo '</div>' . "\n";
//container
get_footer(apply_filters('thesis_get_footer', $name));
}
开发者ID:robertok,项目名称:custom,代码行数:28,代码来源:wiaw_whitepapers.php
示例9: CancellaEmail
function CancellaEmail()
{
global $_GET;
global $wpdb;
$table_email = $wpdb->prefix . "nl_email";
if ($_GET['action'] == "delete") {
$user_count = $wpdb->get_var("SELECT COUNT(*) FROM {$table_email} where magic_string ='{$_GET['c']}';");
if ($user_count < 1) {
echo "<div class=\"error\">" . __('email addresso not present or something is going wrong?!', 'sendit') . "</div>";
} else {
$wpdb->query("UPDATE {$table_email} set accepted='d' where magic_string = '{$_GET['c']}'");
$table_liste = $wpdb->prefix . "nl_liste";
$templaterow = $wpdb->get_row("SELECT * from {$table_liste} where id_lista = '{$_GET['lista']}' ");
//utile anzi fondamentale
$plugindir = "sendit/";
$sendit_root = get_option('siteurl') . '/wp-content/plugins/' . $plugindir;
/*
* QUI potete ridisegnare il vs TEMA
*/
get_header();
echo '<div id=\\"content\\">';
echo '<div id="message" class="updated fade"><p><strong>' . __("Your email address was deleted suffesfully from our mailing list!", "sendit") . '</strong></p></div>';
echo '</div>';
echo '</div>';
get_footer();
}
}
}
开发者ID:tammia,项目名称:sendit,代码行数:28,代码来源:delete.php
示例10: principal
public function principal()
{
if (!isset($_SESSION['login'])) {
die("Sesion terminada. <a href='" . base_url() . "'>Registrarse e ingresar.</a> ");
}
$arrmes = array("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre");
$mes = date("m", time());
$ano = date("Y", time());
$dia = date("d", time());
$ver = "";
$fecha = $dia . " DE " . strtoupper($arrmes[$mes - 1]) . " DE " . $ano;
$fecha_std = $dia . "/" . $mes . "/" . $ano;
$fecha_red = $dia . $mes . $ano;
$nombreusuario = $this->session->userdata('nomper');
$codusu = $this->session->userdata('codusu');
$rolusu = $this->session->userdata('rolusu');
$filter = new stdClass();
$filter->rol = $rolusu;
$filter->order_by = array("m.MENU_Orden" => "asc");
$menu = get_menu($filter);
/*Accesos*/
$data['fecha'] = $fecha;
$data['menu'] = $menu;
$filter = new stdClass();
$filter->order_by = array("ACCESOP_Codigo" => "desc");
$data['accesos'] = $this->acceso_model->listar($filter);
$data['header'] = get_header();
$data['oculto'] = form_hidden(array("serie" => "", "numero" => "", "codot" => ""));
$this->load->view("seguridad/principal", $data);
}
开发者ID:ccjuantrujillo,项目名称:cepreadm,代码行数:30,代码来源:inicio.php
示例11: function_totalcoin
function function_totalcoin($seperator, $sessionid)
{
global $wpdb, $wpsc_cart;
$purchase_log = $wpdb->get_row("SELECT * FROM `" . WPSC_TABLE_PURCHASE_LOGS . "` WHERE `sessionid`= " . $sessionid . " LIMIT 1", ARRAY_A);
$usersql = "SELECT `" . WPSC_TABLE_SUBMITED_FORM_DATA . "`.value,\n `" . WPSC_TABLE_CHECKOUT_FORMS . "`.`name`,\n `" . WPSC_TABLE_CHECKOUT_FORMS . "`.`unique_name` FROM\n `" . WPSC_TABLE_CHECKOUT_FORMS . "` LEFT JOIN\n `" . WPSC_TABLE_SUBMITED_FORM_DATA . "` ON\n `" . WPSC_TABLE_CHECKOUT_FORMS . "`.id =\n `" . WPSC_TABLE_SUBMITED_FORM_DATA . "`.`form_id` WHERE\n `" . WPSC_TABLE_SUBMITED_FORM_DATA . "`.`log_id`=" . $purchase_log['id'];
$userinfo = $wpdb->get_results($usersql, ARRAY_A);
$data = array();
$data['sucess'] = get_option('totalcoin_url_sucess');
$data['pending'] = get_option('totalcoin_url_pending');
$data['before_step'] = get_option('totalcoin_url_before_step');
$data['Email'] = get_option('totalcoin_email');
$data['ApiKey'] = get_option('totalcoin_apikey');
$data['Currency'] = get_option('totalcoin_currency');
$data['Country'] = get_option('totalcoin_country');
$data['MerchantId'] = get_option('totalcoin_merchantid');
$data['Reference'] = $purchase_log['id'];
$data['Site'] = 'Wordpress';
$data['PaymentMethods'] = get_option('totalcoin_methods');
$data['Quantity'] = 1;
$data['Amount'] = number_format($wpsc_cart->total_price, 2, '.', '');
$description = '';
foreach ($wpsc_cart->cart_items as $item) {
$description .= $item->product_name . ' - Precio por Unidad: ' . number_format($item->unit_price, 2, '.', '');
$description .= ' - Cantidad: ' . $item->quantity . ' | ';
}
$description = rtrim($description, ' | ');
$data['Description'] = $description;
$tc = new TotalCoinAPI($data['Email'], $data['ApiKey']);
$results = $tc->perform_checkout($data);
if ($results['IsOk']) {
$url = $results['Response']['URL'];
$type_checkout = get_option('totalcoin_typecheckout');
switch ($type_checkout) {
case "Redirect":
header("location: " . $url);
break;
case "Iframe":
$content = '<iframe src="' . $url . '" name="TC-Checkout" width="953" height="600" frameborder="0" style="overflow:hidden"></iframe>';
break;
default:
$content = '<TOTALCOIN SIMPLE BUTTON>';
break;
}
} else {
$content = 'Se ha producido un Error Interno';
}
$title = 'TotalCoin Checkout';
get_header();
$html = '<div style="position: relative; margin: 20px 0;" >';
$html .= '<div style="margin: 0 auto; width: 80%; ">';
$html .= '<h3>' . $title . '</h3>';
$html .= $content;
$html .= '</div>';
$html .= '</div>';
echo $html;
get_footer();
exit;
}
开发者ID:emaraschio,项目名称:plugin-wpecommerce,代码行数:58,代码来源:totalcoin.php
示例12: session_start
if (isset($_GET['mls'])) {
session_start();
$mlsNo = $_GET['mls'];
$_SESSION['mlsnum'] = $mlsNo;
//$location = get_site_url()."/propertyview/";
wp_redirect($location);
}
}
add_action('get_header', 'get_property_view_item');
/**
开发者ID:aleksking,项目名称:sherrill,代码行数:10,代码来源:functions.php
示例13: parse_header
public function parse_header()
{
ob_start();
get_header();
$raw = ob_get_clean();
$css = $this->regex_parse(array('buffer' => $raw, 'type' => 'css'));
$js = $this->regex_parse(array('buffer' => $raw, 'type' => 'js'));
$divs = $this->regex_parse(array('buffer' => $raw, 'type' => 'divs'));
return array('css' => $css, 'js' => $js, 'divs' => $divs);
}
开发者ID:climo,项目名称:PageLines-Framework,代码行数:10,代码来源:class.integration.php
示例14: q21
function q21()
{
if (defined('Q21_SHORT') && Q21_SHORT === true) {
return;
}
/*this is where the magic happens, leaving it in functins for now till I find a better place for q21 to live - a class perhaps? */
get_header();
do_action('q21_content_start');
do_action('q21_content_end');
get_footer();
}
开发者ID:rfair404,项目名称:q21-theme,代码行数:11,代码来源:q21-core.php
示例15: render
/**
* Renders the views
*
* @access public
* @param String $template
* @param Array $viewData
* @return void
*/
public function render($template)
{
foreach ($this->data as $key => $val) {
${$key} = $val;
}
$path = ABSPATH . Constants::DIR_VIEWS . DIRECTORY_SEPARATOR;
get_header();
require_once $path . 'header.php';
require_once $path . $template . '.php';
get_footer();
require_once $path . 'footer.php';
}
开发者ID:kukua,项目名称:www.kukua.cc,代码行数:20,代码来源:AbstractController.php
示例16: crmpress
/**
*
* This is the theme.php file for the CRM Press theme.
* DO NOT EDIT THIS FILE! IT WILL BE OVERRIDEN WITH FUTURE UPDATES.
* If you wish to make customizations, please make a child theme instead.
*
*/
function crmpress()
{
global $prefix;
// Add our global variable here so we don't have to call it anywhere else in our theme :)
get_header();
do_action('crmpress_top_section');
do_action('crmpress_before_main_content');
// Adds a hook before the #main-content div
do_action('crmpress_content');
do_action('crmpress_after_main_content');
get_footer();
}
开发者ID:netcon-source,项目名称:CRM-Press,代码行数:19,代码来源:theme.php
示例17: print_header
function print_header($name)
{
$h = get_header($GLOBALS['response'], $name);
echo "{$name}: ";
if ($h !== false) {
echo '<span style="background: green; color: yellow; padding: 2px">', $h, '</span>';
} else {
echo '<span style="color: red">n/a</span>';
}
echo ' ';
return $h;
}
开发者ID:ferchang,项目名称:downloader,代码行数:12,代码来源:show_important_headers.php
示例18: listar
public function listar($j = 0)
{
$filter = new stdClass();
$filter->rol = $this->session->userdata('rolusu');
$filter->order_by = array("m.MENU_Orden" => "asc");
$menu = get_menu($filter);
$filter = new stdClass();
if ($_SESSION["acceso"] == 2) {
$filter->curso = $_SESSION["codcurso"];
}
if ($_SESSION["acceso"] == 3) {
$filter->profesor = $_SESSION["codprofesor"];
}
$filter->order_by = array("p.TAREOC_Fecha" => "desc", "h.AULAC_Nombre" => "asc");
$registros = count($this->tardanza_model->listar($filter));
$tardanzas = $this->tardanza_model->listar($filter, "", $this->configuracion['per_page'], $j);
$item = 1;
$lista = array();
if (count($tardanzas) > 0) {
foreach ($tardanzas as $indice => $value) {
$lista[$indice] = new stdClass();
$lista[$indice]->codigo = $value->TAREOP_Codigo;
$lista[$indice]->nombres = $value->PERSC_Nombre;
$lista[$indice]->paterno = $value->PERSC_ApellidoPaterno;
$lista[$indice]->materno = $value->PERSC_ApellidoMaterno;
$lista[$indice]->fecha = $value->TAREOC_Fecha;
$lista[$indice]->aula = $value->AULAC_Nombre;
$lista[$indice]->hinicio = substr($value->TAREOC_Hinicio, 0, 5);
$lista[$indice]->hfin = substr($value->TAREOC_Hfin, 0, 5);
$lista[$indice]->tipo = $value->TIPOASISC_Nombre;
$lista[$indice]->curso = $value->PROD_Nombre;
$filter = new stdClass();
$filter->profesor = $value->TAREOC_ProfesorReemplazado;
$reemplazo = $this->profesor_model->obtener($filter);
$lista[$indice]->nombres_reemp = isset($reemplazo->PERSC_Nombre) ? $reemplazo->PERSC_Nombre : "";
$lista[$indice]->paterno_reemp = isset($reemplazo->PERSC_ApellidoPaterno) ? $reemplazo->PERSC_ApellidoPaterno : "";
$lista[$indice]->materno_reemp = isset($reemplazo->PERSC_ApellidoMaterno) ? $reemplazo->PERSC_ApellidoMaterno : "";
}
}
$configuracion = $this->configuracion;
$configuracion['base_url'] = base_url() . "index.php/maestros/persona/listar";
$configuracion['total_rows'] = $registros;
$this->pagination->initialize($configuracion);
/*Enviamos los datos a la vista*/
$data['lista'] = $lista;
$data['titulo'] = "Tardanzas y Reemplazos";
$data['menu'] = $menu;
$data['header'] = get_header();
$data['j'] = $j;
$data['registros'] = $registros;
$data['paginacion'] = $this->pagination->create_links();
$this->load->view("ventas/tardanza_index", $data);
}
开发者ID:ccjuantrujillo,项目名称:cepreadm,代码行数:53,代码来源:tardanza.php
示例19: listar
public function listar($j = 0)
{
$filter = new stdClass();
$filter->rol = $this->session->userdata('rolusu');
$filter->order_by = array("m.MENU_Orden" => "asc");
$menu = get_menu($filter);
$filter = new stdClass();
if ($_SESSION["acceso"] == 2) {
$filter->curso = $_SESSION["codcurso"];
}
if ($_SESSION["acceso"] == 3) {
$filter->profesor = $_SESSION["codprofesor"];
}
$filter->order_by = array("p.ACTAP_Codigo" => "desc");
$filter_not = new stdClass();
$registros = count($this->acta_model->listar($filter, $filter_not));
$matricula = $this->acta_model->listar($filter, $filter_not, $this->configuracion['per_page'], $j);
$item = 1;
$lista = array();
if (count($matricula) > 0) {
foreach ($matricula as $indice => $value) {
$lista[$indice] = new stdClass();
$lista[$indice]->codigo = $value->ACTAP_Codigo;
$lista[$indice]->nombres = $value->PERSC_Nombre;
$lista[$indice]->paterno = $value->PERSC_ApellidoPaterno;
$lista[$indice]->materno = $value->PERSC_ApellidoMaterno;
$lista[$indice]->fechareg = $value->fechareg;
$lista[$indice]->fecha = date_sql($value->ACTAC_Fecha);
$lista[$indice]->titulo = $value->ACTAC_Titulo;
$lista[$indice]->ciclo = $value->COMPC_Nombre;
$lista[$indice]->tipoestudio = $value->TIPC_Nombre;
$filter = new stdClass();
$filter->curso = $value->PROD_Codigo;
$curso = $this->curso_model->obtener($filter);
$lista[$indice]->curso = $curso->PROD_Nombre;
}
}
$configuracion = $this->configuracion;
$configuracion['base_url'] = base_url() . "index.php/ventas/orden/listar";
$configuracion['total_rows'] = $registros;
$this->pagination->initialize($configuracion);
/*Enviamos los datos a la vista*/
$data['lista'] = $lista;
$data['titulo'] = "Reuniones de plana";
$data['btnNuevo'] = "Crear una nueva reunion";
$data['menu'] = $menu;
$data['header'] = get_header();
$data['j'] = $j;
$data['registros'] = $registros;
$data['paginacion'] = $this->pagination->create_links();
$this->load->view("ventas/acta_index", $data);
}
开发者ID:ccjuantrujillo,项目名称:cepreadm,代码行数:52,代码来源:acta.php
示例20: render
/**
* Render TWIG component.
*
* @param string $template Twig template to display
* @param array $vars Contains all field options
*
* @since 3.2.4
*/
public static function render($template, $vars)
{
//Define Twig loaders
$loader = new Twig_Loader_Filesystem(array(TTO_PATH . '/Resources/views'));
//Build Twig renderer
$twig = new Twig_Environment($loader, array('cache' => TTO_PATH . '/../_cache'));
//Get footer and header from WordPress
$twig->addFunction(new Twig_SimpleFunction('getFooter', function ($file = '') {
get_footer($file);
}));
$twig->addFunction(new Twig_SimpleFunction('getHeader', function ($file = '') {
get_header($file);
}));
//Get permalink from WordPress
$twig->addFunction(new Twig_SimpleFunction('get_permalink', function ($id) {
get_permalink($id);
}));
$twig->addFunction(new Twig_SimpleFunction('get_term_link', function ($id, $type) {
get_term_link($id, $type);
}));
//Get terms
$twig->addFunction(new Twig_SimpleFunction('get_the_term_list', function ($id, $type, $before, $inside, $after) {
get_the_term_list($id, $type, $before, $inside, $after);
}));
//Get author from WordPress
$twig->addFunction(new Twig_SimpleFunction('get_the_author_meta', function ($display, $id) {
get_the_author_meta($display, $id);
}));
$twig->addFunction(new Twig_SimpleFunction('get_author_posts_url', function ($id) {
get_author_posts_url($id);
}));
//Image
$twig->addFunction(new Twig_SimpleFunction('has_post_thumbnail', function ($id) {
has_post_thumbnail($id);
}));
$twig->addFunction(new Twig_SimpleFunction('get_post_thumbnail_id', function ($id) {
get_post_thumbnail_id($id);
}));
$twig->addFunction(new Twig_SimpleFunction('wp_get_attachment_image_src', function ($id, $format) {
wp_get_attachment_image_src($id, $format);
}));
//Make Include function
$twig->addFunction(new Twig_SimpleFunction('includeFile', function ($file) {
include $file;
}));
//Make wpEditor function
$twig->addFunction(new Twig_SimpleFunction('wpEditor', function ($content, $editor_id, $settings = array()) {
wp_editor($content, $editor_id, $settings);
}));
//Display template
echo $twig->render($template, $vars);
}
开发者ID:crewstyle,项目名称:TeaThemeOptions,代码行数:60,代码来源:Render.php
注:本文中的get_header函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论