18 lines
490 B
PHP
18 lines
490 B
PHP
<?php
|
|
$page = "vidchat";
|
|
|
|
header('Expires: Sun, 01 Jan 2014 00:00:00 GMT');
|
|
header('Cache-Control: no-store, no-cache, must-revalidate');
|
|
header('Cache-Control: post-check=0, pre-check=0', FALSE);
|
|
header('Pragma: no-cache');
|
|
|
|
include "header.php";
|
|
if($user->user_info["user_id"]>0){
|
|
if($user->user_info["user_level_id"]!=2&&$user->user_info["user_level_id"]!=7){
|
|
header("Location: /premium.php?premiumonly=1");
|
|
exit;
|
|
}}
|
|
else{header("Location:/login.php");
|
|
exit;}
|
|
include "footer.php";
|
|
?>
|