die; } #if(!Q)$f->R302('?putssomequerystringwhenNotSet'); if (stripos(U, 'index.php') !== false) { $f->R302('./?#index'); } if (!Q) { $f->R302('?1#'); } #Notice they are respectivelty cumulative with each other $_ENV['keyw'] = $_ENV['desc'] = $_ENV['titre'] = 'racetrack ² - fast & easy php plug & play framework'; $headermenu = $footermenu = ''; $headerLinks = $footerLinks = []; $f->gt('timer'); require_once 'header.c.php'; $out .= ' ' . implode(' - ', $f->dc()); $out .= "\n - <a href='/test/'>Tests ( password protected ) </a>"; $out .= "\n - <a href='/adm/'>admin ( password protected ) </a>"; require_once 'adm/contents/ve.blocks.1-.php'; $MainPageContents = trim($x['content']); #echo"<video class='nomob' poster='' id='bgvid' loop autoplay><source src='//x24.fr/".$vid".?1' type='video/mp4'></video>"; /* articles */ $f = 'adm/contents/articles.json'; if (is_file($f)) { $x = FGC($f); $z = []; foreach ($x['post'] as $k => $t) { # if (strpos($t['cat'], 'header') !== false) { $headerLinks[$t['title']] = $t['url']; continue;
html: ?> <html><head><title>racetrack editor - <?php echo $title; ?> </title> <link rel="shortcut icon" type="image/png" href="/favicon.ico"> <link href="/style.css" rel="stylesheet"><link href="/?css" rel="stylesheet"> <script src="//cdn.ckeditor.com/4.5.7/standard<?php #basic|full ?> /ckeditor.js"></script> <title>Racetrack :: editor</title></head><body> <div class=w50><div class=w50> <?php echo implode(' - ', $f->dc()); if ($choices) { kill('' . $choices . '</div></div>'); } ?> <form method=post action='?fi=<?php echo $fi; ?> '> <input name=id type=hidden value='<?php echo $id; ?> '> Title : <input name=title value='<?php
<?php $f = new f(); $dc = ' - ' . implode("\n - ", $f->dc()); $_ENV['titre'] = 'tests'; require_once '../header.c.php'; echo '<pre>' . $dc . '</pre>'; require_once '../footer.c.php';