WolfTech Information Technology

From WolfTech
Revision as of 10:45, 19 June 2006 by Djgreen (talk | contribs)
Jump to: navigation, search

{- |1 |- |2 |- |3 |- |4 |- |5 |- |6 |- |7 -}

Blah Blah.

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

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

<php>

$TClook = '

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

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

</php>

NCSU Systems Updates

<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 { </php>

<php> for( $f = 0 ; $f < $num_stories_to_show ; $f++ ) { </php>

<php> } // end for for() loop </php>

<php> PRINT $news[$f][date]</php>

 

<php> PRINT $news[$f][time]</php>

 -  [<php> PRINT $news[$f][link]</php><php> PRINT $news[$f][name]</php>]

<php> } // end of if/else

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

</php>


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