PHP Classes

File: c2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Wolter Kaper  >  Screen Stack  >  c2.php  >  Download  
File: c2.php
Role: Example script
Content type: text/plain
Description: screen C2
Class: Screen Stack
Implement stacked pages navigation
Author: By
Last change:
Date: 10 years ago
Size: 1,432 bytes


Class file image Download
include_once '' ;
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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 C2</title>
<?php echo $errormessage; ?>
<h1>Page C2</h1>

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

<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="c3.php?<?php echo $_SESSION['sst']->getParam(); ?>">Go to page C3</a>

<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>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">