| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
*/
-
+session_start();
require ("paths.php");
require($smarty_path."Smarty.class.php");
include "classes.inc";
or die("Error query row 56");
while ( $tmp = $res_jobs->fetchRow(DB_FETCHMODE_ASSOC) ) {
- $tdate = explode (":",$tmp[elapsed]); // Temporal "workaround" ;) Fix later
+ $tdate = explode (":",$tmp['elapsed']); // Temporal "workaround" ;) Fix later
if ( $tdate[0] > 300000 )
- $tmp[elapsed] = "00:00:00";
+ $tmp['elapsed'] = "00:00:00";
array_push($a_jobs,$tmp);
}
$smarty->assign('jobs',$a_jobs);