header("Location: ".getCurrentURL('time_import_1.php')); exit(); } if(isset($_POST['back'])){ header("Location: ".getCurrentURL('time_import_4.php')); exit(); } if(isset($_POST['save'])){ header("Location: ".getCurrentURL('time_import_7.php')); exit(); } if($_POST['preview']){ $results = $importer->run(); } //var_dump($importer); $task = new SI_Task(); $user = new SI_User(); $ic = new SI_ItemCode(); ?> <? require('header.php'); ?> <div class="box"> <div class="boxTitle"><h3><?php echo $title; ?> </h3><span class="boxTitleRight"> </span><span class="boxTitleCorner"> </span></div><div class="boxContent"> <form name="time_import" action="<?php echo $_SERVER['PHP_SELF'];
$headers = $importer->getColumnHeaders(); if(isset($_POST['restart'])){ unset($_SESSION['SureInvoice']['TimeImport']); header("Location: ".getCurrentURL('time_import_1.php')); exit(); } if(isset($_POST['back'])){ header("Location: ".getCurrentURL('time_import_6.php')); exit(); } if($_POST['run']){ $results = $importer->run(FALSE); } //var_dump($importer); $task = new SI_Task(); $user = new SI_User(); $ic = new SI_ItemCode(); ?> <? require('header.php'); ?> <div class="box"> <div class="boxTitle"><h3><?php echo $title; ?> </h3><span class="boxTitleRight"> </span><span class="boxTitleCorner"> </span></div><div class="boxContent"> <form name="time_import" action="<?php echo $_SERVER['PHP_SELF'];