Login   Register  
PHP Classes
elePHPant
Icontem

File: default.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Wolter Kaper  >  Screen Stack  >  default.php  >  Download  
File: default.php
Role: Example script
Content type: text/plain
Description: default screen, in case of stack error
Class: Screen Stack
Implement stacked pages navigation
Author: By
Last change:
Date: 9 years ago
Size: 1,107 bytes
 

Contents

Class file image Download
<?php
include_once 'pagetop.inc.php' ;
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css"> .error {color: red} </style>
<title>Default page</title>
</head>
<body>
<?php echo $errormessage?>
<h1>Default page</h1>

<p>You just did a pop on the root page...<br>
Probably it means your screenjob is finished!<br>
<br>
If your app. disallows this then default.php should have an errormessage,<br>
and your links should be such that this page does not appear.</p>

<p>Results of completed pages:<br>
   <?php echo $_SESSION['results']; //this is just for testing ?>
   <?php echo $_SESSION['results']=''//empty results, just for testing ?>
</p>

<p>Start again (with a clear stack):
<a href="a.php?<?php echo $_SESSION['sst']->getParam('i'); ?>">Go to page A</a>
</p>

</body>
</html>