PHP Classes

File: global_secure.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Pedram Nimreezi  >  Mojavi examples  >  global_secure.php  >  Download  
File: global_secure.php
Role: Example script
Content type: text/plain
Description: GlobalSecure Template
Class: Mojavi examples
Examples Mojavi is an MVC framework
Author: By
Last change:
Date: 12 years ago
Size: 757 bytes


Class file image Download
<?php require_once('_header.php'); ?>

<div class="title">
    Globally Secure Page
<div class="text">
    As a privilege example, there are two secure pages that both require a privilege.
    <div class="text-bold"><a href="<?= $template['secure_page1_url'] ?>">Secure Page #1</a></div>
    You have access to this page and can access it.
    <div class="text-bold"><a href="<?= $template['secure_page2_url'] ?>">Secure Page #2</a></div>
    You do not have access to this page and if you attempt to access it, you will be forwarded
    directly back to this globally secure page.
    <a href="<?= $template['logout_url'] ?>">Click here</a> to logout.

<?php require_once('_footer.php'); ?>