Spelling tweaks.

This commit is contained in:
Jeff Teunissen 2007-03-16 03:16:29 +00:00
parent 228eca1546
commit 4f981a2670
2 changed files with 5 additions and 5 deletions

View file

@ -6,9 +6,9 @@
function showPreview ($date, $user, $def) function showPreview ($date, $user, $def)
{?> {?>
<DIV class="newsBox"> <DIV class="newsBox">
<DIV class="newsTitle"><H2>Add News (Preview)</H2></DIV> <DIV class="newsTitle"><H2>Add News</H2></DIV>
<DL> <DL>
<DT><FONT size="-1"><EM>(Will be) posted on</EM> <?=$date?> <EM>by</EM> <STRONG><?=$user?></STRONG></FONT></DT> <DT><FONT size="-1"><EM>Posted on</EM> <?=$date?> <EM>by</EM> <STRONG><?=$user?></STRONG></FONT></DT>
<DD> <DD>
<FORM action="news_add.php" method="post"> <FORM action="news_add.php" method="post">
<TEXTAREA name="newsItem" rows="25" cols="64"><?=StripSlashes ($def)?></TEXTAREA><BR> <TEXTAREA name="newsItem" rows="25" cols="64"><?=StripSlashes ($def)?></TEXTAREA><BR>
@ -52,9 +52,9 @@
if ($newsItem) {?> if ($newsItem) {?>
<DIV class="newsBox"> <DIV class="newsBox">
<DIV class="newsTitle"><H2>Latest News</H2></DIV> <DIV class="newsTitle"><H2>Posting News (Preview)</H2></DIV>
<DL> <DL>
<DT><FONT size="-1"><EM>Posted on</EM> <?=$date?> <EM>by</EM> <STRONG><?=$user?></STRONG></FONT></DT> <DT><FONT size="-1"><EM>(Will be) posted on</EM> <?=$date?> <EM>by</EM> <STRONG><?=$user?></STRONG></FONT></DT>
<DD> <DD>
<P><?=StripSlashes($newsItem)?></P> <P><?=StripSlashes($newsItem)?></P>
</DD> </DD>

View file

@ -50,7 +50,7 @@
?> ?>
<DIV class="newsBox"> <DIV class="newsBox">
<DIV class="newsTitle"><H2>Edit News</H2></DIV> <DIV class="newsTitle"><H2>Delete News</H2></DIV>
<TABLE width="100%"> <TABLE width="100%">
<? <?
$query = 'SELECT n_id, n_date, n_user, n_news FROM news_main' $query = 'SELECT n_id, n_date, n_user, n_news FROM news_main'