Difference between revisions of "WolfTech Information Technology"

From WolfTech
Jump to: navigation, search
m
m
Line 27: Line 27:
 
include "display_news.inc.php";
 
include "display_news.inc.php";
 
$Show = new News(82);
 
$Show = new News(82);
 +
 +
$TClook = '<p><a href="news.php?tcID=2640">###EVENT_TITLE#20##</a></p>';
 +
$News = new News(82,'Yes','N');
 +
$News->setPerPage(10);
 +
$News->doQuery();
 +
 +
PRINT ("<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" bgcolor=\"#000000\" width=\"100%\"><tr><td>");
 +
PRINT ("<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#CC0000\" width=\"100%\"><tr><td align=\"left\">");
 +
PRINT ("<font class=\"content\"><b><font color=\"#FFFFFF\">");
 
</php>
 
</php>
 
+
[http://sysnews.ncsu.edu NCSU Systems Updates]
 
<php>
 
<php>
$TClook = '<p><a href="news.php?tcID=2640">###EVENT_TITLE#20##</a></p>';
+
PRINT ("</font></b></font></td></tr></table></td></tr><TR><TD height=\"3\" bgcolor=\"#FFFFFF\"></TD></TR></table>");
$News = new News(82,'Yes','N');
 
$News->setPerPage(10);
 
$News->doQuery();
 
</php>
 
 
 
<table border="0" cellpadding="1" cellspacing="0" bgcolor="#000000" width="100%">
 
<tr><td>
 
<table border="0" cellpadding="3" cellspacing="0" bgcolor="#CC0000" width="100%">
 
<tr><td align="left"> <font class="content"><b><font color="#FFFFFF">[http://sysnews.ncsu.edu NCSU Systems Updates]</font></b></font></td>
 
</tr></table>
 
</td></tr><TR><TD height="3" bgcolor="#FFFFFF"></TD></TR>
 
</table>
 
 
<php>
 
<php>
 
require_once('xml_news.php');
 
require_once('xml_news.php');

Revision as of 10:55, 19 June 2006

Area-services.jpg
Area-software.jpg
Area-articles.jpg
Area-requests.jpg
Area-policy.jpg
Area-services.jpg
Area-about.jpg

Blah Blah.

Most Recently Added Pages <newpages> limit=5 </newpages>

<php> include "display_news.inc.php"; $Show = new News(82);

$TClook = '

<a href="news.php?tcID=2640">###EVENT_TITLE#20##</a>

';

$News = new News(82,'Yes','N'); $News->setPerPage(10); $News->doQuery();

PRINT ("
"); PRINT ("
");

PRINT (""); </php> NCSU Systems Updates <php>

PRINT ("
");

<php> require_once('xml_news.php');

                            1. \XML NEWS FEED\ ##############

// important settings for XML news feed $num_stories_to_show = 5; $num_stories = get_xml_news($news,$num_stories_to_show); if( $num_stories < 1 ) { // oh no! echo "News service temporarily unavailable."; } else {

PRINT (""); for( $f = 0 ; $f < $num_stories_to_show ; $f++ ) { PRINT ("");

} // end for for() loop

PRINT ("
");

PRINT $news[$f][date];

PRINT (" 
");

PRINT $news[$f][time];

PRINT ("
 - [");

PRINT $news[$f][link]; PRINT $news[$f][name];

PRINT ("]
");

} // end of if/else

                            1. /XML NEWS FEED/ ##############

</php>


http://www.ece.ncsu.edu/ ECElogo.png