Location: PHPKode > projects > PHPFreeNews > phpfn/Inc/BBCodes.php
<?php

/*	+--------------------------------------------------------------
	| PHPFreeNews - News Headlines on your website                |
	| Developed by Jim Willsher.                                  |
	| http://www.phpfreenews.co.uk                                |
	+-------------------------------------------------------------+
*/
require_once('../Config/Config.php');
?>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>PHPFreeNews</title>
		<link rel="stylesheet" href="Styles.css" type="text/css" />
	</head>
	<body>
	<p class="Welcome">Listed below are the "BB Codes" supported by PHPFreeNews. Include these in your posting to get consistent news throughout your site.</p>
		<table class="Admin">
			<hr>
			<tr>
				<td valign="top" nowrap>
					<table class="Admin">
						<tr class="CentreTable">
							<td>
								Make text bold
							</td>
							<td>
								[b]text[/b]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								Make text italic
							</td>
							<td>
								[i]italic text[/i]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								Underline text
							</td>
							<td>
								[u]underlined text[/u]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								Centre text
							</td>
							<td>
								[c]centred text[/c]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								New paragraph
							</td>
							<td>
								[p]text[/p]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								Sample program code
							</td>
							<td>
								[code]for i = 1 to 10[/code]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								Quote someone
							</td>
							<td>
								[quote]And that's magic![/quote]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								Embed an image
							</td>
							<td>
								[img]http://www.bitmaps.com/x.bmp[/img]
							</td>
						</tr>

						<tr class="CentreTable">
							<td>
								Hyperlink with URL, in new window </td>
							<td>
								[url]www.domain.com[/url]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								Hyperlink with URL and description, in new window
							</td>
							<td>
								[url=www.domain.com]website[/url]
							</td>
						</tr>

						<tr class="CentreTable">
							<td>
								Hyperlink with URL, in same window
							</td>
							<td>
								[url2]www.domain.com[/url2]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								Hyperlink with URL and description, in same window
							</td>
							<td>
								[url2=www.domain.com]website[/url2]
							</td>
						</tr>


						<tr class="CentreTable">
							<td>
								Email address with visible address
							</td>
							<td>
								[email]hide@address.com[/email]
							</td>
						</tr>
						<tr class="CentreTable">
							<td>
								Email address</td>
							<td>
								[email=hide@address.com]email me[/email]
							</td>
						</tr>
					</table>				
				</td>
			</tr>

			<tr>
				<td height="40" valign="top">
					<form method="post" action="">
						<center>
							<input class="but" type="button" name="Button" value="Close" onClick="window.close()" />
						</center>
					</form>
				</td>
			</tr>

		</table>
	</body>
</html>
Return current item: PHPFreeNews