Login   Register  
PHP Classes
elePHPant
Icontem

File: global_secure.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2003-10-24 19:03
Size: 757 bytes
 

Contents

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

<div class="title">
    Globally Secure Page
</div>
<br/>
<div class="text">
    As a privilege example, there are two secure pages that both require a privilege.
    <br/><br/>
    <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.
    <br/><br/>
    <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.
    <br/><br/>
    <a href="<?= $template['logout_url'?>">Click here</a> to logout.
</div>

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