Просмотр файла modile/index.php

Размер файла: 1.22Kb
<?php
include('adm/cgf.php');
include($cms.'lng/rus.php');
include($cms.'cgf/count_set.php');
include($cms.'cgf/optim.php');
include($cms.'cgf/count.php');
include($cms.'cgf/dost.php');
include($cms.'onl/onl_u.php');
include($cms.'onl/sp_onl.php');
include($cms.'user/user_stop.php');

Define('INDEX_S_S','ADMIN');

if ($_SESSION['login'] == '')
$_SESSION['login'] = $_SERVER['REMOTE_ADDR'];

if ($_GET['page'] == '' or !is_file($cms.'str/'.$_GET['page'].'.txt')) $pg = 'index'; else $pg = $_GET['page']  ;
if (is_file($cms.'str/'.$pg.'.txt')) { include($cms.'dis/'.$_SESSION['cms_theme'].'/tema.html'); }



?>
<br>
<div align="center"><table
 style="width: 100%; text-align: left; margin-left: auto; margin-right: auto;"
 border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td
 style="text-align: center; vertical-align: middle; background-color: rgb(134, 180, 223);"><a
 style="font-weight: bold; font-size: 8px; color: rgb(255, 255, 255);"
 href="http://jpcms.hut1.ru">JPcms</a><span
 style="color: rgb(47, 54, 61); font-size: 8px;"> -:- Нагель Петр Андреевич
(Skaner)</span><span style="color: rgb(73, 84, 95);"><br>
      </span></td>
    </tr>
  </tbody>
</table></div>