name." at ".$timestr; page_head( $title ); $appresult = mysql_query( "SELECT * FROM app" ); $nrofapps = mysql_num_rows( $appresult ); if( $nrofapps ) { $selection = ""; for( $appindex = 0; $appindex < $nrofapps; ++$appindex ) { $app = mysql_fetch_object( $appresult ); $appqmax = nr_of_jobs_for_user_for_app( $user, $app ); $appsubmitted = nr_of_submitted_jobs_for_user_for_app( $user, $app ); if( $appqmax > $appsubmitted ) $selection = $selection.''; } if( $selection != "" ) { echo '
'; } else exit_with_text( "You are not allowed to submit any jobs !" ); } page_tail(); ?>