Login   Register  
PHP Classes
elePHPant
Icontem

File: c.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  >  c.php  >  Download  
File: c.php
Role: Example script
Content type: text/plain
Description: screen C
Class: Screen Stack
Implement stacked pages navigation
Author: By
Last change:
Date: 2005-07-31 10:36
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 C</title>
</head>
<body>
<?php echo $errormessage?>
<h1>Page C</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="c2.php?<?php echo $_SESSION['sst']->getParam(); ?>">Go to page C2</a> &nbsp;
    <a href="c3.php?<?php echo $_SESSION['sst']->getParam(); ?>">Go to page C3</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>