C:\xampp\htdocs\kptv2\ro\index.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?
    header
('Content-Type: text/html; charset=UTF-8');
    
// Frontend cache-busting: PHP-rendered pages must never be cached so
    // content edits made in admin2 (news/articles/albums) are visible
    // immediately on the public site.
    
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
    
header('Pragma: no-cache');
    
header('Expires: 0');
    
ini_set('display_errors'0);
    
error_reporting(E_ALL);

    require_once(
"../conf_/siteconf_.php");
    require_once(
"../admin/dbconn.php");
    
$content "Serviciu temporar indisponibil. </br> Va rugam sa incercati mai tirziu. ";

    if ((isset(
$_GET['pg'])) && (preg_match("/^[a-zA-Z0-9]+$/"$_GET['pg']) == 1))  
        
$module $_GET['pg'];
    else
        
$module "home";

    
ob_start();
    require_once(
$module.".tpl.php" );
    
$content ob_get_contents();
    
ob_end_clean();
?>
<?php 
include("header.tpl.php");?>
<?php 
include("sidebar_left.tpl.php");?>
<?php 
include("sidebar_middle.tpl.php");?>
<?=  $content
?>
<?php 
include("sidebar_right.tpl.php");?>
<?php 
include("footer.tpl.php");?>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586