View file index.php

File size: 632B
<?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'); }



?>