Difference between revisions of "WolfTech Information Technology"

From WolfTech
Jump to navigation Jump to search
m
m
Line 55: Line 55:
 
}
 
}
 
else {
 
else {
</php>
+
PRINT ("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#ffffff\" class=\"news\">");
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff" class="news">
 
<php>
 
 
for( $f = 0 ; $f < $num_stories_to_show ; $f++ ) {
 
for( $f = 0 ; $f < $num_stories_to_show ; $f++ ) {
</php>
+
PRINT ("<tr valign=\"top\"><td align=\"top\" nowrap>");
<tr valign="top">  
+
PRINT $news[$f][date];
<td align="top" nowrap>
+
PRINT ("&nbsp;</td><td align=\"top\" nowrap>");
<php> PRINT $news[$f][date]</php>
+
PRINT $news[$f][time];
&nbsp;</td><td align="top" nowrap>
+
PRINT ("</td><td align=\"top\">&nbsp;-&nbsp;</td><td align=\"top\">[");
<php> PRINT $news[$f][time]</php>
+
PRINT $news[$f][link];
</td><td align="top">&nbsp;-&nbsp;</td>
+
PRINT $news[$f][name];
<td align="top">[<php> PRINT $news[$f][link]</php><php> PRINT $news[$f][name]</php>]
+
PRINT ("]</td></tr><tr><td height=\"3\"></td></tr>");
</td></tr><tr><td height="3"></td></tr>
 
<php>
 
 
} // end for for() loop
 
} // end for for() loop
</php>
+
PRINT ("</table>");
</table>
 
<php>
 
 
} // end of if/else
 
} // end of if/else
 
#############################################
 
#############################################

Revision as of 09:53, 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); </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 {

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