* welcome.php: added.
authorArt Cancro <ajc@citadel.org>
Sun, 2 Nov 2003 04:12:27 +0000 (04:12 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 2 Nov 2003 04:12:27 +0000 (04:12 +0000)
* do_login.php: reworked to provide a squeaky-clean transition to
  the welcome.php page.  welcome.php can now contain whatever the site's
  webmaster wants it to, without being clogged up with login code.

ctdlphp/ChangeLog
ctdlphp/do_login.php
ctdlphp/welcome.php [new file with mode: 0644]

index 8ca1c4e6c19081e21a8cd638aef97be9c0204c43..1e3f5d7bf0ac190193c9770109286648812387bf 100644 (file)
@@ -1,4 +1,10 @@
  $Log$
+ Revision 1.8  2003/11/02 04:12:27  ajc
+ * welcome.php: added.
+ * do_login.php: reworked to provide a squeaky-clean transition to
+   the welcome.php page.  welcome.php can now contain whatever the site's
+   webmaster wants it to, without being clogged up with login code.
+
  Revision 1.7  2003/11/02 04:02:36  ajc
  * Firmed up the login/logout process
  * Don't allow load of pages other than login.php logout.php do_login.php
@@ -31,4 +37,3 @@
 
  Revision 1.1  2003/10/31 03:47:13  ajc
  * Initial CVS import
-
index 4d0751d000a6ff7a6926e436718eb2f3632d5ab5..6e09432934095ad1422758143ebff2d8902b6ecc 100644 (file)
@@ -31,8 +31,8 @@ if ($retval == FALSE) {
        echo "<a href=\"logout.php\">Log out</A><BR>\n" ;
 }
 else {
-       echo "Hi there.  You're online.<BR>\n" ;
-       echo "<a href=\"page2.php\">Page Two</a><BR>\n" ;
+       echo "<A HREF=\"welcome.php\">Logged in.  Click to continue.</a><BR>";
+       echo "<meta http-equiv=\"refresh\" content=\"0;url=welcome.php\">\n";
 }
 
 bbs_page_footer();
diff --git a/ctdlphp/welcome.php b/ctdlphp/welcome.php
new file mode 100644 (file)
index 0000000..e48a97b
--- /dev/null
@@ -0,0 +1,35 @@
+<?PHP
+       include "ctdlheader.php";
+
+       bbs_page_header();
+
+       echo "Hi there.  The date is ", `date`, "<BR>";
+
+       echo <<<LITERAL
+
+<h1>You're online!</h1>
+
+<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus nisl
+tortor, ultrices nec, laoreet ac, porta eu, felis. Aenean elit sapien,
+ornare vitae, condimentum ut, feugiat vitae, metus. Curabitur id leo.
+Vivamus semper suscipit justo. Pellentesque interdum rutrum lacus. Fusce
+egestas, tellus ut suscipit semper, dolor metus vestibulum orci, id hendrerit
+diam dolor vel diam. Quisque at mauris. Fusce sollicitudin. Integer ante
+quam, malesuada at, ullamcorper nec, dictum id, nulla. Donec nec arcu sit
+amet justo molestie fermentum. Cras tortor. Fusce est tortor, euismod non,
+rutrum ut, lobortis suscipit, orci. Maecenas venenatis, purus ac volutpat
+euismod, ligula nulla ullamcorper mi, eu fringilla justo wisi quis dolor.
+Morbi vitae enim. Pellentesque tempor, nisl quis euismod tincidunt, tellus
+odio tempor lacus, sit amet viverra enim ante nec nunc. Aliquam vestibulum
+feugiat urna. Cras lectus libero, vestibulum non, pellentesque id, cursus
+sit amet, turpis. Aliquam ipsum magna, vulputate sit amet, iaculis eget,
+molestie rutrum, felis. Curabitur ante metus, rutrum in, vestibulum nec,
+faucibus sit amet, magna. In pretium lacus eget mi.</p>
+
+<a href="page3.php">Page Three</a><BR>
+
+LITERAL;
+
+       bbs_page_footer();
+?>
+