<?php
/**
* @version 1.0.0
* @package RSFiles! 1.0.0
* @copyright (C) 2009 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/

defined('_JEXEC') or die('Restricted access');
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
	<table cellspacing="0" cellpadding="0" border="0" width="100%">
		<tr>
			<td valign="top">
				<table  class="adminform">
					<tr>
						<td width="10%">
							<label for="published">
								<?php echo JText::_( 'RSFL_REPORT_USER' ).':'; ?>
							</label>
						</td>
						<td>						
							<?php echo empty($this->data->username) ? JText::_('RSFL_GUEST') : $this->data->username; ?>
							(<?php echo $this->data->ip; ?>)
						</td>
					</tr>
					<tr>
						<td>
							<label for="title">
								<?php echo JText::_( 'RSFL_REPORT_DATE' ).':'; ?>
							</label>
						</td>
						<td>						
							<?php echo date($this->rsfilesConfig['global_date'],$this->data->date); ?>
						</td>
					</tr>
					<tr>
						<td>
							<label for="title">
								<?php echo JText::_( 'RSFL_REPORT_TEXT' ).':'; ?>
							</label>
						</td>
						<td>						
							<?php echo nl2br($this->data->ReportMessage); ?>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
<?php echo JHTML::_( 'form.token' ); ?>
<input type="hidden" name="option" value="com_rsfiles" />
<input type="hidden" name="IdFile" value="<?php echo $this->data->IdFile; ?>" />
<input type="hidden" name="controller" value="reports" />
<input type="hidden" name="view" value="reports" />
<input type="hidden" name="task" value="" />
</form>

<?php
//keep session alive while editing
JHTML::_('behavior.keepalive');
?>