本文整理汇总了PHP中cache_require函数的典型用法代码示例。如果您正苦于以下问题:PHP cache_require函数的具体用法?PHP cache_require怎么用?PHP cache_require使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了cache_require函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: cache_require
<!-- DEBUT CONTAINER -->
<div class="container">
<!-- DEBUT MAIN CONTENT TOP -->
<div class="main_content_top">
<?php
$_GET["mainmenu"] = 3;
cache_require("parametre-menu.php");
?>
<div class="main_resize backgroundbloc">
<div id="onglet_alarmes_entretien_bloc">
<div class="resize clearfix">
<h1 class="bcktitle ajust_title title_alarme_entretien">Alarmes entretien</h1>
<div class="clearfix content_agence_date_alarmentretien">
<form class="clearfix form_param_lieu" action="<?php
echo urlp($_GET["arbre"]);
?>
?template=alarm-entretien" method="POST">
<div class="left rowElem">
<label class="specmargin">Liste des agences consultables : </label>
<select name="agence" onchange="this.form.submit()">
<option value="">Choisir une agence</option>
<?php
for ($i = 0; $i < count($tbl_list_agence); $i++) {
?>
<option value="<?php
echo $tbl_list_agence[$i]["agence_compte_id"];
?>
" <?php
echo $tbl_list_agence[$i]["agence_compte_id"] == $_POST["agence"] ? "selected" : "";
?>
示例2: cache_require
<?php
if ($_GET["pere"] == __piedid__ || $_GET["arbre"] == 18) {
cache_require("menu.php");
} else {
cache_require("menu2.php");
}
cache_require("contenu.php");
示例3: cache_require
<?php
cache_require("menu.php");
cache_require("index.php");
cache_require("footer.php");
示例4: header
<?php
if ($_SESSION["logfront"] != 1) {
header("Location: " . urlp(__defaultfather__));
die;
}
$tbl_info = node();
if (verifdroitid($tbl_info["note1"])) {
cache_require("menu2.php");
cache_require("situation.php");
}
示例5: cache_require
<div class="container">
<!-- CONTENUE FIXE -->
<?php
cache_require("rapport-menu.php");
?>
<!-- CONTENU FIXE-->
<div class="content_flex">
<div class="main_resize backgroundbloc ajustmargin">
<div class="resize rapport_km">
<h1 class="bcktitle ajust_title">Rapport compteurs</h1>
<div class="content_info_rapport">
<!--
<p>Agence : <span>toutes les agences :</span></p>
-->
<p>Date : <span><?php
echo $datehier;
?>
</span></p>
</div>
<span class="info_rapportkm">
<p>Cumul total des relevés théoriques : <span><?php
echo $totalkm;
?>
</span> km</p>
<a href="javascript:window.print()"><img src="<?php
echo __racineweb__;
?>
/tpl/img/imprimer_ico.png"></a>
<?php
echo showexport("compteurs", array("Nom du Véhicule", "Compteur", "Kilométrage", "Correctif", "Relevé théorique"), array("nomvehicule", "kminit", "km", "correctifkm", "theorique"));
?>
示例6: header
<?php
if ($_SESSION["logfront"] != 1) {
header("Location: " . urlp(__defaultfather__));
die;
}
$tbl_info = node();
if (verifdroitid($tbl_info["note1"])) {
cache_require("menu2.php");
if ($_GET["template"] == "default" || $_GET["template"] == "") {
cache_require("parametre.php");
} else {
//print "parametre-".$_GET["template"].".php";
cache_require("parametre-" . $_GET["template"] . ".php");
}
}
示例7: header
<?php
if ($_SESSION["logfront"] != 1) {
header("Location: " . urlp(__defaultfather__));
die;
}
$tbl_info = node();
if (verifdroitid($tbl_info["note1"])) {
cache_require("menu2.php");
//cache_require("rapport-".$_GET["template"].".php");
if ($_POST["template"] == "") {
cache_require("rapport.php");
} else {
//print "rapport-".$_POST["template"].".php";
cache_require("rapport-" . $_POST["template"] . ".php");
}
}