当前位置: 首页>>代码示例>>PHP>>正文


PHP IncludeTemplateLangFile函数代码示例

本文整理汇总了PHP中IncludeTemplateLangFile函数的典型用法代码示例。如果您正苦于以下问题:PHP IncludeTemplateLangFile函数的具体用法?PHP IncludeTemplateLangFile怎么用?PHP IncludeTemplateLangFile使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了IncludeTemplateLangFile函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: IncludeTemplateLangFile

<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
IncludeTemplateLangFile(__FILE__);?></section>
</div>

<footer class="pagefoot ">
<div class="container">
<div class="row footer_bg_holder">
<img src="<?php 
echo SITE_TEMPLATE_PATH;
?>
/images/footer_bg_970.png" class="footer_bg">
</div>
<div class="row">
	<div class="col-xs-6 col-md-3 copyright">
		© 2013 «Чистый Край»<br>
		<span>Родина натуральных продуктов</span>
	</div>
	<div class="col-xs-6 col-md-4 contact">
		<span class="phone">+7 495 988-26-87</span> <span class="clock">с 9:00 до 18:00</span><br>
		Интернет-магазин работает без выходных<br>
	</div>
	<div class="clearfix visible-xs visible-sm"></div>
	<div class="col-xs-6 col-md-3 delivery">
		<a href="/delivery-and-payment/">Доставка и оплата</a>
	</div>
	<div class="col-xs-6 col-md-2">
<?$APPLICATION->IncludeComponent("food:soclinks", ".default", array(
	"VK" => "http://vk.com",
	"TWITTER" => "http://twitter.com",
	"FACEBOOK" => "http://facebook.com",
	"YOUTUBE" => ""
开发者ID:schiz,项目名称:purecountry,代码行数:31,代码来源:footer.php

示例2: extract

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
extract($_REQUEST, EXTR_SKIP);
IncludeTemplateLangFile($_SERVER["DOCUMENT_ROOT"] . BX_PERSONAL_ROOT . "/templates/" . SITE_TEMPLATE_ID . "/main/auth/auth_form.php");
$cur_page = $GLOBALS["APPLICATION"]->GetCurPage();
$str = "";
if (defined("AUTH_404")) {
    $page = SITE_DIR . "auth.php";
    $str = "<input type='hidden' name='backurl' value='" . $GLOBALS["APPLICATION"]->GetCurPage() . "'>";
} else {
    $page = $cur_page;
}
ShowMessage($arAuthResult);
?>
<form class="ishop auth" method="POST" action="<?php 
echo $page . (($s = DeleteParam(array("change_password"))) == "" ? "?change_password=yes" : "?{$s}&change_password=yes");
?>
" name="bform">
<?php 
echo $str;
?>
<input type="hidden" name="AUTH_FORM" value="Y">
<input type="hidden" name="TYPE" value="CHANGE_PWD">

	<label><?php 
echo GetMessage("AUTH_LOGIN");
?>
<font class="starrequired">*</font></label>
开发者ID:Andreyjktl,项目名称:rezina74,代码行数:31,代码来源:change_password.php

示例3: IncludeTemplateLangFile

<?php

if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
    die;
}
IncludeTemplateLangFile($_SERVER["DOCUMENT_ROOT"] . "/bitrix/templates/" . SITE_TEMPLATE_ID . "/header.php");
CJSCore::Init(array("fx"));
$curPage = $APPLICATION->GetCurPage(true);
$theme = COption::GetOptionString("main", "wizard_eshop_bootstrap_theme_id", "blue", SITE_ID);
/*?>
<!DOCTYPE html>
<html xml:lang="<?=LANGUAGE_ID?>" lang="<?=LANGUAGE_ID?>">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">
    <link rel="shortcut icon" type="image/x-icon" href="<?=SITE_DIR?>favicon.ico" />
    <?$APPLICATION->ShowHead();?>
    <?
    $APPLICATION->SetAdditionalCSS(SITE_TEMPLATE_PATH."/colors.css");
    $APPLICATION->SetAdditionalCSS("/bitrix/css/main/bootstrap.css");
    $APPLICATION->SetAdditionalCSS("/bitrix/css/main/font-awesome.css");
    ?>
    <title><?$APPLICATION->ShowTitle()?></title>
</head>
<body class="bx-background-image bx-<?=$theme?>" <?=$APPLICATION->ShowProperty("backgroundImage")?>>
<div id="panel"><?$APPLICATION->ShowPanel();?></div>
<?$APPLICATION->IncludeComponent("bitrix:eshop.banner", "", array());?>
<div class="bx-wrapper" id="bx_eshop_wrap">
    <header class="bx-header">
        <div class="bx-header-section container">
            <div class="row">
开发者ID:DanilaChechetkin,项目名称:alpina,代码行数:31,代码来源:header.php

示例4: includeLang

 function includeLang()
 {
     IncludeTemplateLangFile($_SERVER["DOCUMENT_ROOT"] . "/" . $this->templateDir . "/" . str_replace(".twig", ".php", $this->{$basename}));
 }
开发者ID:ASDAFF,项目名称:up.twig,代码行数:4,代码来源:componentTemplate.php

示例5: AddHeadString

	//$APPLICATION->SetTitle("Сервисные контракты");

	$APPLICATION->AddHeadString('<link  rel="stylesheet" type="text/css"  href="/css/service-calc/style.css" />');
	$APPLICATION->AddHeadString('<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/blitzer/jquery-ui.css">');
	$APPLICATION->AddHeadString('<link  rel="stylesheet" type="text/css"  href="/css/service-calc/style.css" />');

	$APPLICATION -> AddHeadString('<script src="//code.jquery.com/jquery-1.10.2.js"></script>', false);
	$APPLICATION -> AddHeadString('<script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>', false);
	$APPLICATION -> AddHeadString('<script src="/js/service/client_page.js" type="text/javascript"></script>', false);
//	$APPLICATION -> AddHeadString('<script src="/service/contract/script.js"></script>', false);
  
//	$APPLICATION -> AddHeadScript('/js/service/client_page.js');
	
	$APPLICATION->ShowHead(); 

	IncludeTemplateLangFile ( getenv('DOCUMENT_ROOT') . SITE_TEMPLATE_PATH . '/lang/ru/sevice_calc.php' );
	$mode="simple";
	$templ="simple_test"; 
	
	$path = $APPLICATION->GetDirProperty("path");
	$menu_path = $_SERVER["DOCUMENT_ROOT"].$path."/menu.php";
	include ( $menu_path );
	
	?>
	<div id="form-container">
	<?
} else {
	require_once( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php" );
	$mode="window";
	if ($_POST || $_GET["strIMessage"]){
		$templ='json';
开发者ID:raffiz,项目名称:my_home_tests,代码行数:31,代码来源:edit.php

示例6: GetMessage

<?IncludeTemplateLangFile(__FILE__);?><!DOCTYPE html>
<?php 
echo GetMessage("DVS_COPY");
?>
<html>
    <head>
        <meta charset="utf-8" />
        <title><?$APPLICATION->ShowTitle()?></title>
        <?$APPLICATION->ShowHead()?>
        <link rel="stylesheet" type="text/css" href="<?php 
echo SITE_TEMPLATE_PATH;
?>
/colors.css" />
    </head>


    <body>
        <div id="panel"><?$APPLICATION->ShowPanel()?></div>

        <!-- Center -->
        <div class="center">


            <!-- Logo -->
            <div class="logo">
                <?$APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/company_logo_one_column.php"), false);?>
                <p><?$APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/company_name.php"), false);?></p>
            </div>
            <!-- // Logo -->
开发者ID:Andreyjktl,项目名称:main_template,代码行数:29,代码来源:header.php


注:本文中的IncludeTemplateLangFile函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。