Difference between revisions of "WolfTech Information Technology"
Jump to navigation
Jump to search
m |
m |
||
Line 68: | Line 68: | ||
############## /XML NEWS FEED/ ############## | ############## /XML NEWS FEED/ ############## | ||
############################################# | ############################################# | ||
+ | PRINT ("</td></tr></table> "); | ||
</php> | </php> | ||
− | |||
− | |||
<BR> | <BR> | ||
http://www.ece.ncsu.edu/ [[Image:ECElogo.png]] | http://www.ece.ncsu.edu/ [[Image:ECElogo.png]] |
Revision as of 09:56, 19 June 2006
|
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 ("
<php> require_once('xml_news.php');
// 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 ("
} // end of if/else
|
");
</php>
http://www.ece.ncsu.edu/