PHP Classes

File: c3.php

Recommend this page to a friend!
  Classes of Wolter Kaper   Screen Stack   c3.php   Download  
File: c3.php
Role: Example script
Content type: text/plain
Description: screen C3
Class: Screen Stack
Implement stacked pages navigation
Author: By
Last change:
Date: 18 years ago
Size: 1,432 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>Page C3</title>
</head>
<body>
<?php echo $errormessage; ?>
<h1>Page C3</h1>

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

<p>Links to same-level pages (three pages, one tree-node):<br>
    <a href="c.php?<?php echo $_SESSION['sst']->getParam(); ?>">Go to page C</a> &nbsp;
    <a href="c2.php?<?php echo $_SESSION['sst']->getParam(); ?>">Go to page C2</a>
</p>

<p>Links to subordinate pages:<br>
    <a href="d.php?<?php echo $_SESSION['sst']->getParam('push'); ?>">Go to page D</a><br>
    <a href="e.php?<?php echo $_SESSION['sst']->getParam('push'); ?>">Go to page E</a>
</p>

<p>Fill in something specific for this page:</p>
<form name="form1" method="post" action="ok.php?<?php echo $_SESSION['sst']->getParam('pop'); ?>">
<input type="text" size="20" name="myinput">
<p><input type="submit" name="cancel" value="cancel"> &nbsp;
   <input type="submit" name="ok" value="ok">
</p>
</form>

</body>
</html>