///////////////////////////////////////////////////////////////////////////////////
// //
// phpBoard -- Copyright (c) 2000 by Nathan Clemons //
// nathan@thelinuxcommunity.org //
// //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// //
///////////////////////////////////////////////////////////////////////////////////
require "../config_inc.php3";
require $inc_dir . "sql_inc.php3";
require $inc_dir . "lib_inc.php3";
require $inc_dir . $user_lib;
$title = "Codes @ $site_name";
include $inc_dir . "header.php3";
function help_format($text) {
global $format_on;
global $allow_auto_HTML;
global $support_ez_ubb;
global $allow_HTML_tags;
if ($format_on) {
$my_text = eregi_replace("
", "", $text);
$my_text = eregi_replace("", "", $my_text);
$my_text = eregi_replace("
", "[br]", $my_text);
$my_text = eregi_replace("", "", $my_text);
$my_text = eregi_replace("", "", $my_text);
$my_text = eregi_replace("\n\n", "[br]", $my_text);
$my_text = make_clickable($my_text);
return $my_text;
}
return $text;
}
top_bar();
$allow_auto_HTML = 0;
print("\n");
print("| How Do I... | This Is How |
\n");
$msg_text = " It's simple. Just enter into your message:
\n [link]http://phpboard.thelinuxcommunity.org[/link] and it will automatically become a hyperlink! \nNote that:
[url]http://phpboard.thelinuxcommunity.org[/url] will also work just fine.";
$msg_text = help_format($msg_text);
print("| How do I Post a Link? | $msg_text |
\n");
$msg_text = "It's just as simple. Just enter into your message:
\n [email]nathan@thelinuxcommunity.org[/email] and it will automatically become a hyperlink!";
$msg_text = help_format($msg_text);
print("| How do I Link an Email Address? | $msg_text |
\n");
$msg_text = " Simple as all the others. Just enter into your message:
[b]this is bold[/b]\n\n[i]this is italics[/i]\n\n[u]this is underlined[/u]\n\n[center]this is centered[/center]\n\n and they will be appropriately formatted!\n";
$msg_text = help_format($msg_text);
print("| How do I Bold/Underline/Center Text? | $msg_text |
\n");
$msg_text = " Well, if the brackets are used to designate the codes, how can I show someone how to write the codes? You could: a.) send them here, or b.) use the ] and [ tags.\n";
$msg_text = help_format($msg_text);
print("| How do I Insert Literal Brackets? | $msg_text |
\n");
$msg_text = " Ok, well, how do I insert an image? Simple. Just add:
[img]http://www.thelinuxcommunity.org/images/logo.jpg[/img]
and it will automatically be inserted, along with a hyperlink to view the image all by itself (the hyperlink will open a new browser window to view the image).\n";
$msg_text = help_format($msg_text);
print("| How do I Insert An Image? | $msg_text |
\n");
print("
\n");
include $inc_dir . "footer.php3";
?>