Version: HTML
Type: Full Script
Category: BBS/Discussion
License: GNU General Public License
Description: This is a basic BBS or Forum I created using a Web page to submit your name, topic, and message, then another page that writes the data to a file and displays what you wrote, then allows you to procede to BBS or Forum page.
This is the first page, forum.html
the rest of the pages are post.php and view.php
<!-- // script design by: Daniel Cameron, San Jose, CA, 95123, USA // email [email protected] --> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <meta name="generator" content="[email protected]"> <title>PHP4 Input Script</title> </head> <body> <h3> <table cool width="566" height="716" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx usegridx gridy="16" showgridy usegridy> <tr height="1" cntrlrow> <td width="1" height="1"></td> <td width="48" height="1"><spacer type="block" width="48" height="1"></td> <td width="32" height="1"><spacer type="block" width="32" height="1"></td> <td width="16" height="1"><spacer type="block" width="16" height="1"></td> <td width="16" height="1"><spacer type="block" width="16" height="1"></td> <td width="16" height="1"><spacer type="block" width="16" height="1"></td> <td width="14" height="1"><spacer type="block" width="14" height="1"></td> <td width="2" height="1"><spacer type="block" width="2" height="1"></td> <td width="1" height="1"><spacer type="block" width="1" height="1"></td> <td width="143" height="1"><spacer type="block" width="143" height="1"></td> <td width="80" height="1"><spacer type="block" width="80" height="1"></td> <td width="176" height="1"><spacer type="block" width="176" height="1"></td> <td width="21" height="1"><spacer type="block" width="21" height="1"></td> </tr> <tr height="16"> <td width="1" height="16"><spacer type="block" width="1" height="16"></td> <td width="48" height="16" colspan="1" rowspan="1" valign="top" align="left" xpos="0"> <form name="Forum" action="post.php" method="post" enctype="application/x-www-form-urlencoded"> </td> <td width="32" height="16"></td> <td width="16" height="16"></td> <td width="16" height="16"></td> <td width="16" height="16"></td> <td width="14" height="16"></td> <td width="2" height="16"></td> <td width="1" height="16"></td> <td width="143" height="16"></td> <td width="80" height="16"></td> <td width="176" height="16"></td> <td width="21" height="16"></td> </tr> <tr height="64"> <td width="1" height="64"><spacer type="block" width="1" height="64"></td> <td width="48" height="64"></td> <td width="32" height="64"></td> <td width="16" height="64"></td> <td width="16" height="64"></td> <td width="16" height="64"></td> <td width="240" height="64" colspan="5" rowspan="1" valign="top" align="left" xpos="128" content csheight="32"> <h3>Forum: title goes here</h3> </td> <td width="176" height="64"></td> <td width="21" height="64"></td> </tr> <tr height="32"> <td width="1" height="32"><spacer type="block" width="1" height="32"></td> <td width="48" height="32"></td> <td width="496" height="32" colspan="10" rowspan="1" valign="top" align="left" xpos="48"> <hr size="15" width="384" color="9999cc" height="45"> </td> <td width="21" height="32"></td> </tr> <tr height="48"> <td width="1" height="48"><spacer type="block" width="1" height="48"></td> <td width="48" height="48"></td> <td width="32" height="48"></td> <td width="16" height="48"></td> <td width="48" height="48" colspan="4" rowspan="1" valign="top" align="left" xpos="96" content csheight="32">Name:</td> <td width="224" height="48" colspan="3" rowspan="1" valign="top" align="left" xpos="144"><input type="text" name="name" size="24"></td> <td width="176" height="48"></td> <td width="21" height="48"></td> </tr> <tr height="32"> <td width="1" height="32"><spacer type="block" width="1" height="32"></td> <td width="48" height="32"></td> <td width="32" height="32"></td> <td width="16" height="32"></td> <td width="46" height="32" colspan="3" rowspan="1" valign="top" align="left" xpos="96" content csheight="32">Topic:</td> <td width="2" height="32"></td> <td width="224" height="32" colspan="3" rowspan="1" valign="top" align="left" xpos="144"><input type="text" name="topic" size="24"></td> <td width="176" height="32"></td> <td width="21" height="32"></td> </tr> <tr height="32"> <td width="1" height="32"><spacer type="block" width="1" height="32"></td> <td width="48" height="32"></td> <td width="496" height="32" colspan="10" rowspan="1" valign="top" align="left" xpos="48"> <hr size="15" width="384" color="9999cc" height="45"> </td> <td width="21" height="32"></td> </tr> <tr height="29"> <td width="1" height="29"><spacer type="block" width="1" height="29"></td> <td width="48" height="29"></td> <td width="32" height="29"></td> <td width="65" height="29" colspan="6" rowspan="1" valign="top" align="left" xpos="80" content csheight="29">Message:</td> <td width="143" height="29"></td> <td width="80" height="29"></td> <td width="176" height="29"></td> <td width="21" height="29"></td> </tr> <tr height="243"> <td width="1" height="243"><spacer type="block" width="1" height="243"></td> <td width="48" height="243"></td> <td width="32" height="243"></td> <td width="464" height="243" colspan="9" rowspan="1" valign="top" align="left" xpos="80"><textarea name="message" cols="40" rows="13" wrap="virtual"></textarea></td> <td width="21" height="243"></td> </tr> <tr height="48"> <td width="1" height="48"><spacer type="block" width="1" height="48"></td> <td width="48" height="48"></td> <td width="496" height="48" colspan="10" rowspan="1" valign="top" align="left" xpos="48"> <hr size="15" width="384" color="9999cc" height="45"> </td> <td width="21" height="48"></td> </tr> <tr height="157"> <td width="1" height="157"><spacer type="block" width="1" height="157"></td> <td width="48" height="157"></td> <td width="32" height="157"></td> <td width="16" height="157"></td> <td width="16" height="157"></td> <td width="176" height="157" colspan="5" rowspan="1" valign="top" align="left" xpos="112"><input type="reset" value="Clear"></td> <td width="80" height="157" colspan="1" rowspan="1" valign="top" align="left" xpos="288"><input type="submit" value="Post" name="submitButtonName"></td> <td width="176" height="157"></td> <td width="21" height="157"></td> </tr> <tr height="14"> <td width="1" height="14"><spacer type="block" width="1" height="14"></td> <td width="48" height="14"></td> <td width="32" height="14"></td> <td width="16" height="14"></td> <td width="16" height="14"></td> <td width="16" height="14"></td> <td width="14" height="14"></td> <td width="2" height="14"></td> <td width="1" height="14"></td> <td width="143" height="14"></td> <td width="80" height="14"></td> <td width="176" height="14"></td> <td width="21" height="14" colspan="1" rowspan="1" valign="top" align="left" xpos="544"> </form> </td> </tr> </table> </h3> </body> </html>