<?php /* Smarty version 2.6.31, created on 2024-05-24 17:43:58
         compiled from db:d3downloads_admin_history.html */ ?>
<h2><span style="color: #CC0000;font-weight: bold;"><?php echo @_MD_D3DOWNLOADS_HISTORY; ?>
</span> : <?php echo $this->_tpl_vars['history']['title']; ?>
</h2>
<table class="outer">
	<tr valign="top" align="left">
		<td nowrap="nowrap" class="head">
			<label for="title"><?php echo @_MD_D3DOWNLOADS_SUBMIT_TITLE; ?>
</label>
		</td>
		<td class="even">
			<?php echo $this->_tpl_vars['history']['title']; ?>

		</td>
	</tr>
	<?php if ($this->_tpl_vars['history']['version']): ?>
		<tr valign="top" align="left">
			<td nowrap="nowrap" class="head">
				<label for="version"><?php echo @_MD_D3DOWNLOADS_SUBMIT_VERSION; ?>
</label>
			</td>
			<td class="even">
				<?php echo $this->_tpl_vars['history']['version']; ?>

			</td>
		</tr>
	<?php endif; ?>
	<tr valign="top" align="left">
		<td nowrap="nowrap" class="head">
			<label for="title"><?php echo @_MD_D3DOWNLOADS_DATE; ?>
</label>
		</td>
		<td class="even">
			<?php echo $this->_tpl_vars['history']['date']; ?>

		</td>
	</tr>
	<tr valign="top" align="left">
		<td nowrap="nowrap" class="head">
			<label for="url"><?php echo @_MD_D3DOWNLOADS_SUBMIT_URL; ?>
</label>
		</td>
		<td class="even">
			<?php if (! $this->_tpl_vars['history']['broken_link']): ?>
				<?php echo $this->_tpl_vars['history']['filelink']; ?>
<?php echo $this->_tpl_vars['history']['url']; ?>
</a>
			<?php else: ?>
				<?php echo $this->_tpl_vars['history']['title']; ?>

				<br />(&nbsp;<font color="#CC0000"><span style="font-weight: bold;">broken file !!</span></font>&nbsp;)
			<?php endif; ?>
		</td>
	</tr>
	<?php if ($this->_tpl_vars['history']['filename']): ?>
		<tr valign="top" align="left">
			<td nowrap="nowrap" class="head">
				<label for="filename"><?php echo @_MD_D3DOWNLOADS_SUBMIT_FILENAME; ?>
</label>
			</td>
			<td class="even">
				<?php echo $this->_tpl_vars['history']['filename_link']; ?>
<br />
			</td>
		</tr>
	<?php endif; ?>
	<?php if ($this->_tpl_vars['history']['filename2']): ?>
		<tr valign="top" align="left">
			<td nowrap="nowrap" class="head">
				<label for="filename"><?php echo @_MD_D3DOWNLOADS_SUBMIT_FILENAME2; ?>
</label>
			</td>
			<td class="even">
				<?php echo $this->_tpl_vars['history']['filename_link2']; ?>
<br />
			</td>
		</tr>
	<?php endif; ?>
	<tr valign="top" align="left">
		<td nowrap="nowrap" class="head">
			<label for="cid"><?php echo @_MD_D3DOWNLOADS_SUBMIT_CATEGORY; ?>
</label>
		</td>
		<td class="even">
			<?php echo $this->_tpl_vars['history']['ctitle']; ?>

		</td>
	</tr>
	<tr valign="top" align="left">
		<td nowrap="nowrap" class="head">
			<label for="description"><?php echo @_MD_D3DOWNLOADS_SUBMIT_DESCRIPTION; ?>
</label>
		</td>
		<td class="even">
			<?php echo $this->_tpl_vars['history']['description']; ?>

		</td>
	</tr>
</table>

<?php if ($this->_tpl_vars['history']['extra']): ?>
	<br />
	<table style="margin-top: 0.2em;margin-bottom: 1em;border-collapse: collapse;border: solid 1px #999;font-size: 100%;">
		<?php $_from = $this->_tpl_vars['history']['extra']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['info']):
?>
			<tbody><tr>
				<td style="text-align: center;vertical-align:middle;border: solid 1px #999;font-size: 110%;font-weight: bolder;" width="20%">
					<?php echo $this->_tpl_vars['info']['title']; ?>

				</td>
				<td style="text-align: left;border: solid 1px #999;padding: 4px 6px;vertical-align:middle;" width="80%">
					<?php echo $this->_tpl_vars['info']['desc']; ?>

				</td>
			</tr>
		<?php endforeach; endif; unset($_from); ?>
	</tbody></table>
<?php endif; ?>
<br />
<table>
	<form name="history" id="history" action="<?php echo $this->_tpl_vars['mod_url']; ?>
/admin/index.php?page=<?php echo $this->_tpl_vars['page']; ?>
" method="post">
		<?php echo $this->_tpl_vars['gticket_hidden']; ?>

		<input type="hidden" name="id" value="<?php echo $this->_tpl_vars['history']['id']; ?>
" />
		<input type="hidden" name="lid" value="<?php echo $this->_tpl_vars['history']['lid']; ?>
" />
		<input type="hidden" name="cid" value="<?php echo $this->_tpl_vars['history']['cid']; ?>
" />
		<tr valign="top" align="left">
			<td colspan="2" class="head" style="text-align:center;">
				<?php echo @_MD_D3DOWNLOADS_HISTORY_RESTORE; ?>

				<input type="submit" name="restore" value="X" onclick="return confirm('<?php echo @_MD_D3DOWNLOADS_CONFIRM_HISTORY_RESTORE; ?>
')" />
			</td>
		</tr>
	</form>
</table>
<br />
<span style="color: #CC0000;font-weight: bold;"><?php echo @_MD_D3DOWNLOADS_HISTORYLIST; ?>
</span>
<br />
<?php $_from = $this->_tpl_vars['historylist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['list']):
?>
	<?php echo $this->_tpl_vars['list']['history_date']; ?>
 : <?php echo $this->_tpl_vars['list']['history_title']; ?>
 <a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/admin/index.php?page=history&amp;id=<?php echo $this->_tpl_vars['list']['history_id']; ?>
"><?php echo @_MD_D3DOWNLOADS_VIEWHISTORY; ?>
</a><br />
<?php endforeach; endif; unset($_from); ?>
<br />
<span style="color: #CC0000;font-weight: bold;"><?php echo @_MD_D3DOWNLOADS_NOWDATALIST; ?>
</span>
<?php if ($this->_tpl_vars['invisibleinfo']): ?>
	(&nbsp;<?php echo $this->_tpl_vars['invisibleinfo']; ?>
&nbsp;)
<?php endif; ?>
[<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=singlefile&amp;cid=<?php echo $this->_tpl_vars['down']['cid']; ?>
&amp;lid=<?php echo $this->_tpl_vars['down']['id']; ?>
"><?php echo @_MD_D3DOWNLOADS_VISIBLE; ?>
</a>]
[<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=modfile&amp;cid=<?php echo $this->_tpl_vars['down']['cid']; ?>
&amp;lid=<?php echo $this->_tpl_vars['down']['id']; ?>
"><?php echo @_EDIT; ?>
</a>]
<br />
<table width="100%" cellspacing="0" class="outer">
	<tr>
		<td class="head" colspan="2" align="left" height="18">
			<?php echo @_MD_D3DOWNLOADS_CATEGORY; ?>
 <?php echo $this->_tpl_vars['down']['category']; ?>

		</td>
	</tr>
	<tr>
		<td class="even" width="65%" style="text-align:left;vertical-align:top;">
			<?php if (! $this->_tpl_vars['down']['broken_link']): ?>
				<?php echo $this->_tpl_vars['down']['filelink']; ?>
<span style="font-weight: bold;"><?php echo $this->_tpl_vars['down']['title']; ?>
</span></a>
			<?php else: ?>
				<span style="font-weight: bold;"><?php echo $this->_tpl_vars['down']['title']; ?>
</span>
				<br />(&nbsp;<span style="color: #CC0000;font-weight: bold;">broken file !!</span>&nbsp;)
			<?php endif; ?>
		</td>
		<td class="even" style="text-align:right;vertical-align:bottom;" width="35%">
		<span style="font-weight: bold;"><?php echo @_MD_D3DOWNLOADS_VERSION; ?>
:</span>&nbsp;<?php echo $this->_tpl_vars['down']['version']; ?>
<br /><span style="font-weight: bold;"><?php echo @_MD_D3DOWNLOADS_DATE; ?>
:</span>&nbsp;&nbsp;<?php echo $this->_tpl_vars['down']['updated']; ?>

		</td>
	</tr>
	<tr>
		<td colspan="2" class="odd" align="left">
			<span style="font-weight: bold;"><?php echo @_MD_D3DOWNLOADS_DESCRIPTION; ?>
</span>
		    	<br />
			<?php if ($this->_tpl_vars['down']['shots'] && ! $this->_tpl_vars['down']['broken_link']): ?>
				<?php echo $this->_tpl_vars['down']['shots']; ?>

			<?php endif; ?>
			<?php echo $this->_tpl_vars['down']['description']; ?>

			<br />
		</td>
	</tr>
	<tr>
		<td colspan="2" class="even" align="left">
			<span style="font-weight: bold;">[<?php echo @_MD_D3DOWNLOADS_SIZE; ?>
]</span>&nbsp;<?php echo $this->_tpl_vars['down']['size']; ?>
<br />
			<?php if ($this->_tpl_vars['down']['platform']): ?>
				<span style="font-weight: bold;">[<?php echo @_MD_D3DOWNLOADS_PLATFORM; ?>
]</span>&nbsp;<?php echo $this->_tpl_vars['down']['platform']; ?>
<br />
			<?php endif; ?>
			<?php if ($this->_tpl_vars['mod_config']['use_license'] && $this->_tpl_vars['down']['license']): ?>
				<span style="font-weight: bold;">[<?php echo @_MD_D3DOWNLOADS_LICENSE; ?>
]</span>&nbsp;<?php echo $this->_tpl_vars['down']['license']; ?>
<br />
			<?php endif; ?>
			<?php if ($this->_tpl_vars['down']['homepage']): ?>
				<span style="font-weight: bold;">[<?php echo @_MD_D3DOWNLOADS_HOMEPAGE; ?>
]</span>&nbsp;<?php echo $this->_tpl_vars['down']['homepage']; ?>

			<?php endif; ?>
		</td>
	</tr>
</table>
<?php if ($this->_tpl_vars['down']['extra']): ?>
	<br />
	<table style="margin-top: 0.2em;margin-bottom: 1em;border-collapse: collapse;border: solid 1px #999;font-size: 100%;">
		<?php $_from = $this->_tpl_vars['down']['extra']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['downinfo']):
?>
			<tbody><tr>
				<td style="text-align: center;vertical-align:middle;border: solid 1px #999;font-size: 110%;font-weight: bolder;" width="20%">
					<?php echo $this->_tpl_vars['downinfo']['title']; ?>

				</td>
				<td style="text-align: left;border: solid 1px #999;padding: 4px 6px;vertical-align:middle;" width="80%">
					<?php echo $this->_tpl_vars['downinfo']['desc']; ?>

				</td>
			</tr>
		<?php endforeach; endif; unset($_from); ?>
	</tbody></table>
<?php endif; ?>