forked from halo-battle/game
Version 1.0a
This commit is contained in:
parent
e391f66774
commit
6a19363758
908 changed files with 22193 additions and 17408 deletions
35
secours.php
Normal file
35
secours.php
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
if(!defined('INDEX')) define('INDEX', 1);
|
||||
include_once('includes/common.php');
|
||||
|
||||
//On prépare le gestionnaire de templates
|
||||
$template = new Smarty();
|
||||
|
||||
$template->template_dir = _FCORE.'templates/templates/';
|
||||
$template->compile_dir = _FCORE.'templates/templates_c/';
|
||||
$template->config_dir = _FCORE.'templates/configs/';
|
||||
$template->cache_dir = _FCORE.'templates/cache/';
|
||||
|
||||
$template->assign('date',strftime("%A %d %B %Y %H:%M"));
|
||||
$template->assign('datehb',str_replace('.','',strftime("/%a %d %b %Y/%H%M %S")));
|
||||
|
||||
$link2 = array_map(create_function('$var','return(url($var,TRUE));'),$config['link']);
|
||||
$link_menu = array_map(create_function('$var','return(url($var,TRUE));'),$config['menu']);
|
||||
$link['lastNews'] = "csnu";
|
||||
$link['lastTopic'] = "covenants";
|
||||
$link = array_map('url',$link);
|
||||
$all_link = array_merge($link,$link2);
|
||||
|
||||
$template->assign('link',$all_link);
|
||||
$template->assign('menu',$link_menu);
|
||||
|
||||
$template->assign('lastNews','Titre dernière news');
|
||||
$template->assign('lastTopic','Dernier topic forum');
|
||||
$template->assign('lastUser','Dernier membre inscrit');
|
||||
$template->assign('lastDownload','Téléchargement');
|
||||
$template->assign('lastLink','Lien');
|
||||
|
||||
$template->display('cms/secours.tpl');
|
||||
|
||||
exit;
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue