source: trunk/web/app/out/dist/content/e_page.php @ 1

Last change on this file since 1 was 1, checked in by dj3c1t, 13 years ago

import initial

File size: 455 bytes
RevLine 
[1]1<?php if($env->out["page"]) : ?>
2
3<?php
4
5  $page_content = "";
6  if($env->out["page"]["nom"])
7  { ob_start();
8    require $env->out_file("pages/".$env->out["page"]["nom"]);
9    $page_content = ob_get_contents();
10    ob_end_clean();
11  }
12  else $page_content = $env->out["page"]["contenu"];
13  if($page_content) :
14
15?>
16
17<h2><?= $env->out["page"]["titre"] ?></h2>
18<div class="bloc_content">
19<?= $env->data->html($page_content) ?>
20</div>
21<?php endif; endif; ?>
Note: See TracBrowser for help on using the repository browser.