AAAAview.html.php000066600000002446151401334230007200 0ustar00input; // Process the export data $result = $this->get('ProcessData'); if (!$jinput->get('cron', false, 'bool')) { // Load the results $logresult = $this->get('Stats', 'log'); $this->assignRef('logresult', $logresult); // Load the run ID $jinput = JFactory::getApplication()->input; $csvilog = $jinput->get('csvilog', null, null); $this->assignRef('run_id', $csvilog->getId()); } // Display it all parent::display($tpl); } } ?>tmpl/.htaccess000066600000000177151401334230007323 0ustar00 Order allow,deny Deny from all tmpl/default.php000066600000002411151401334230007653 0ustar00input; $csvilog = $jinput->get('csvilog', null, null); // Display any messages there are if (!empty($csvilog->logmessage)) echo $csvilog->logmessage; else { $filename = $jinput->get('template_name'); echo JText::sprintf('COM_CSVI_RESULTS_FOR', $filename)."\n"; echo str_repeat("=", (strlen(JText::_('COM_CSVI_RESULTS_FOR'))+strlen($filename)+1))."\n"; if (!empty($this->logresult['result'])) { echo JText::_('COM_CSVI_TOTAL')."\t\t".JText::_('COM_CSVI_RESULT')."\t\t".JText::_('COM_CSVI_STATUS')."\n"; foreach ($this->logresult['result'] as $result => $log) { echo $log->total_result."\t\t".$log->result."\t\t".JText::_('COM_CSVI_'.$log->status)."\n"; } echo JText::sprintf('COM_CSVI_SAVED_FILE', $this->logresult['file_name'])."\n"; } else echo JText::_('COM_CSVI_NO_RESULTS_FOUND')."\n"; } ?>tmpl/index.html000066600000000054151401334230007514 0ustar00.htaccess000066600000000177151401334230006347 0ustar00 Order allow,deny Deny from all index.html000066600000000054151401334230006540 0ustar00