modified.php 607 B

1234567891011121314151617181920212223242526
  1. <?php
  2. //
  3. // this page gets used by administrators to see what apps have had
  4. // modifications made and need to be updated
  5. //
  6. require_once("apps.inc");
  7. $res = mysql_query("SELECT * FROM app WHERE status = 'M' ORDER BY date_added");
  8. print("<h1>Modified Applications</h1>");
  9. $num_rows = mysql_num_rows($res);
  10. if( $res && $num_rows > 0 ) {
  11. print("<table border=0 cellpadding=2 cellspacing=0 width=100%>");
  12. while( $row = mysql_fetch_object($res) ) {
  13. displayApp($row, 0, 0, 0);
  14. }
  15. print("</table>");
  16. }else {
  17. print("There are no modified applications at this time.");
  18. }
  19. ?>