All pastes #26163 Raw Edit

adminpanel.php

public php v1 · immutable
#26163 ·published 2005-10-21 13:56 UTC
rendered paste body
<?phpsession_start();if(!isset($_SESSION['permisos'])) {header ("Location: login.php");}else if ($_SESSION['permisos'] == "User") {header ("Location: userpanel.php");}else if ($_SESSION['permisos'] == "Admin") {?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Panel de Usuario Admin</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="include/style.css" type="text/css"></head><body><?php include ('include/header.php'); ?><!-- some html code --></body></html>