WolfTech Information Technology
Welcome to WolfTech Computing Services Welcome to the one-stop computing resource site for Virginia Tech. With computing.vt.edu, you only have to remember one address to find anything and everything about using your computer at Virginia Tech. Faculty and staff may also refer to the Information Technology Reference Guide (PDF, 4985 KB).
Before getting started, be sure you have read the Acceptable Use Guidelines.
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 ("
| |
");
require_once('xml_news.php');
- \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
- /XML NEWS FEED/ ##############
PRINT (" ");
</php>