forked from halo-battle/game
Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
21
onyx2/modules/fermerServeur/main.php
Normal file
21
onyx2/modules/fermerServeur/main.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
if(!defined('ONYX')) exit;
|
||||
|
||||
if(defined('DB_TYPE') && !empty($OPT['type']))
|
||||
{
|
||||
$template = new Template();
|
||||
|
||||
$template->assign('date', utf8_encode(strftime("%A %d %B %Y %H:%M")));
|
||||
$template->assign('datehb', utf8_encode(str_replace('.', '', strftime("/%a %d %b %Y/%H%M %S"))));
|
||||
$template->assign('link', array_map("url", $VAR['link']));
|
||||
$template->assign('url_serveur', $_SERVER['HTTP_HOST']);
|
||||
|
||||
$template->assign('titre', $LANG['mdl_fermerServeur_title'.$OPT['type']]);
|
||||
$template->assign('texte', sprintf($LANG['mdl_fermerServeur_texte'.$OPT['type']], $OPT['temps']/60, $VAR['link']['accueil'])).'<br /><br />'.$LANG['mdl_fermerServeur_thanks']);
|
||||
|
||||
$template->display('cms/maj.tpl');
|
||||
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue