<?php /* Smarty version 2.6.31, created on 2024-05-24 17:43:58
         compiled from db:d3downloads_admin_submit.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'db:d3downloads_admin_submit.html', 101, false),array('function', 'html_select_date', 'db:d3downloads_admin_submit.html', 218, false),array('function', 'html_select_time', 'db:d3downloads_admin_submit.html', 219, false),array('function', 'cycle', 'db:d3downloads_admin_submit.html', 316, false),)), $this); ?>
<?php if ($this->_tpl_vars['mod_config']['show_breadcrumbs']): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "db:".($this->_tpl_vars['mydirname'])."_inc_breadcrumbs.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php endif; ?>
<h2 id="form_title"><?php if (! $this->_tpl_vars['preview_title'] && ! $this->_tpl_vars['preview_body']): ?><?php echo $this->_tpl_vars['formtitle']; ?>
<?php else: ?><?php echo @_PREVIEW; ?>
<?php endif; ?> <?php if ($this->_tpl_vars['download']['title']): ?>: <?php echo $this->_tpl_vars['download']['title']; ?>
<?php endif; ?></h2>
<?php if ($this->_tpl_vars['iserror']): ?>
	<div class="d3downloads_error_message">
		<?php echo $this->_tpl_vars['error_message']; ?>

	</div>
<?php endif; ?>
<?php if ($this->_tpl_vars['preview_title'] || $this->_tpl_vars['preview_body']): ?>
	<dl id="post_preview" class="d3downloads_outer">
		<?php if ($this->_tpl_vars['preview_title']): ?>
			<dt class="d3downloads_head"><?php echo $this->_tpl_vars['preview_title']; ?>
</dt>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['preview_body']): ?>
			<dd class="d3downloads_odd"><?php echo $this->_tpl_vars['preview_body']; ?>
</dd>

		<?php endif; ?>
	</dl>
<?php endif; ?>
<form name="makedownloadform" id="makedownloadform" action="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=<?php echo $this->_tpl_vars['page']; ?>
&amp;cid=<?php echo $this->_tpl_vars['download']['cid']; ?>
&amp;lid=<?php echo $this->_tpl_vars['download']['lid']; ?>
" method="post" enctype="multipart/form-data">
	<?php echo $this->_tpl_vars['gticket_hidden']; ?>

	<input type="hidden" name="lid" value="<?php echo $this->_tpl_vars['download']['lid']; ?>
" />
	<input type="hidden" name="filename" value="<?php echo $this->_tpl_vars['download']['filename']; ?>
" />
	<input type="hidden" name="ext" value="<?php echo $this->_tpl_vars['download']['ext']; ?>
" />
	<input type="hidden" name="file2" value="<?php echo $this->_tpl_vars['download']['file2']; ?>
" />
	<input type="hidden" name="filename2" value="<?php echo $this->_tpl_vars['download']['filename2']; ?>
" />
	<input type="hidden" name="ext2" value="<?php echo $this->_tpl_vars['download']['ext2']; ?>
" />
	<input type="hidden" name="myencode" value="<?php echo @_MD_D3DOWNLOADS_CHARSET; ?>
" />
	<input type="hidden" name="ajax_url" id="ajax_url" value="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=ajax_load" />
	<table class="d3downloads_outer">
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="title"><?php echo @_MD_D3DOWNLOADS_SUBMIT_TITLE; ?>
</label></td>
			<td class="d3downloads_even">
				<input type="text" name="title" id="title" size="50" maxlength="105" value="<?php echo $this->_tpl_vars['download']['title']; ?>
" />
			</td>
		</tr>
		<?php if ($this->_tpl_vars['download']['lid']): ?>
			<tr valign="top" align="left">
				<td class="d3downloads_head"><label for="postname"><?php echo @_MD_D3DOWNLOADS_SUBMIT_POSTNAME; ?>
</label></td>
				<td class="d3downloads_even">
					<?php echo $this->_tpl_vars['download']['postname']; ?>
&nbsp;
					<input type="text" name="submitter" id="submitter" size="4" maxlength="10" value="<?php echo $this->_tpl_vars['download']['submitter']; ?>
" />&nbsp;<?php echo @_MD_D3DOWNLOADS_SUBMIT_UID; ?>

				</td>
			</tr>
		<?php endif; ?>
		<tr valign="top" align="left" id="file_url_line">
			<td class="d3downloads_head">
				<label for="url"><?php echo @_MD_D3DOWNLOADS_SUBMIT_URL; ?>
</label></td>
			<td class="d3downloads_even">
				<div id="post_url">
					<input type="text" name="url" id="url" size="90" maxlength="255" value="<?php if ($this->_tpl_vars['download']['url']): ?><?php echo $this->_tpl_vars['download']['url']; ?>
<?php else: ?>http://<?php endif; ?>" />
					<?php if ($this->_tpl_vars['download']['url']): ?>
						&nbsp;<?php echo $this->_tpl_vars['download']['filelink']; ?>

					<?php endif; ?>
					<div class="d3downloads_submit_help">
						<?php echo @_MD_D3DOWNLOADS_SUBMIT_URL_DESC; ?>

					</div>
				</div>
				<?php if (! $this->_tpl_vars['config_error']): ?>
					<div id="upload">
						<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $this->_tpl_vars['upload_max_filesize']; ?>
" />
						<input disabled="disabled" type="hidden" name="url" id="url_hidden" value="<?php if ($this->_tpl_vars['download']['url']): ?><?php echo $this->_tpl_vars['download']['url']; ?>
<?php else: ?>http://<?php endif; ?>" />
						<?php echo @_MD_D3DOWNLOADS_SUBMIT_FILE1; ?>
<input type="file" name="file_upload[]" id="file_upload_1" size="25" maxlength="255"}>
						<br />
						<?php echo @_MD_D3DOWNLOADS_SUBMIT_FILE2; ?>
<input type="file" name="file_upload[]" id="file_upload_2" size="25" maxlength="255"}>
						<br />
						<div id="max_submit_size">
							<div class="d3downloads_submit_help">
								<?php echo $this->_tpl_vars['max_submit_size']; ?>
<br />
								<?php echo $this->_tpl_vars['submit_extension']; ?>

							</div>
						</div>
					</div>
					<div>
						<input type="checkbox" id="file_url_onoff"">&nbsp;<label for="file_url_onoff"><?php echo @_MD_D3DOWNLOADS_LABEL_INPUT_URL; ?>
</label>
					</div>
				<?php endif; ?>
			</td>
		</tr>
		<?php if ($this->_tpl_vars['download']['filename']): ?>
			<tr valign="top" align="left">
				<td class="d3downloads_head"><label for="filename"><?php echo @_MD_D3DOWNLOADS_SUBMIT_FILENAME; ?>
</label></td>
				<td class="d3downloads_even">
					<?php echo $this->_tpl_vars['download']['filenamelink']; ?>
<br />
				</td>
			</tr>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['download']['filename2']): ?>
			<tr valign="top" align="left">
				<td class="d3downloads_head"><label for="filename2"><?php echo @_MD_D3DOWNLOADS_SUBMIT_FILENAME2; ?>
</label></td>
				<td class="d3downloads_even">
					<?php echo $this->_tpl_vars['download']['filenamelink2']; ?>
&nbsp;&nbsp;<input type="checkbox" name="file2_del" id="file2_del" value="1" <?php if ($this->_tpl_vars['download']['file2_del']): ?>checked="checked"<?php endif; ?> />&nbsp;&nbsp;<label for="file2_del"><?php echo @_DELETE; ?>
</label><br />
				</td>
			</tr>
		<?php endif; ?>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="cid"><?php echo @_MD_D3DOWNLOADS_SUBMIT_CATEGORY; ?>
</label></td>
			<td class="d3downloads_even">
				<select name="cid" id="cid"><br />
					<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['download']['category'],'selected' => $this->_tpl_vars['download']['cid']), $this);?>
<br />
				</select>
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="homepagetitle"><?php echo @_MD_D3DOWNLOADS_SUBMIT_HOMEPAGETITLE; ?>
</label></td>
			<td class="d3downloads_even">
				<input type="text" name="homepagetitle" id="homepagetitle" size="90" maxlength="260" value="<?php if ($this->_tpl_vars['download']['homepagetitle']): ?><?php echo $this->_tpl_vars['download']['homepagetitle']; ?>
<?php else: ?><?php echo $this->_tpl_vars['defaltsitename']; ?>
<?php endif; ?>" />
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="homepage"><?php echo @_MD_D3DOWNLOADS_SUBMIT_HOMEPAGE; ?>
</label></td>
			<td class="d3downloads_even">
				<input type="text" name="homepage" id="homepage" size="90" maxlength="100" value="<?php if ($this->_tpl_vars['download']['homepage']): ?><?php echo $this->_tpl_vars['download']['homepage']; ?>
<?php else: ?><?php echo $this->_tpl_vars['xoopshp']; ?>
<?php endif; ?>" />
				<?php if ($this->_tpl_vars['download']['homepage'] && $this->_tpl_vars['download']['homepage'] != "http://"): ?>
					&nbsp;[<a href="<?php echo $this->_tpl_vars['download']['homepage']; ?>
" target="_blank"><?php echo @_MD_D3DOWNLOADS_SUBMIT_ACCESS_URL; ?>
</a>]
				<?php endif; ?>
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="version"><?php echo @_MD_D3DOWNLOADS_SUBMIT_VERSION; ?>
</label></td>
			<td class="d3downloads_even">
				<input type="text" name="version" id="version" size="10" maxlength="15" value="<?php echo $this->_tpl_vars['download']['version']; ?>
" />
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="size"><?php echo @_MD_D3DOWNLOADS_SUBMIT_SIZE; ?>
</label></td>
			<td class="d3downloads_even">
				<input type="text" name="size" id="size" size="10" maxlength="12" value="<?php echo $this->_tpl_vars['download']['size']; ?>
" />&nbsp;<?php echo @_MD_D3DOWNLOADS_SUBMIT_BYTE; ?>

				<?php if (! $this->_tpl_vars['config_error']): ?>
					<div id="submit_size_desc" class="d3downloads_submit_help">
						&nbsp;<?php echo @_MD_D3DOWNLOADS_SUBMIT_SIZE_DESC; ?>

					</div>
				<?php endif; ?>
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="platform"><?php echo @_MD_D3DOWNLOADS_SUBMIT_PLATFORM; ?>
</label></td>
			<td class="d3downloads_even">
				<input type="text" name="platform" id="platform" size="50" maxlength="55" value="<?php echo $this->_tpl_vars['download']['platform']; ?>
" /><br />
				<select name="select_platform" id="select_platform">
					<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['select_platform']), $this);?>

				</select>
				<select name="delimiter" id="delimiter">
					<option value=" | "><?php echo @_MD_D3DOWNLOADS_SUBMIT_DELIMITER; ?>
 ( | )</option>
					<option value=" , "><?php echo @_MD_D3DOWNLOADS_SUBMIT_DELIMITER; ?>
 ( , )</option>
					<option value=" / "><?php echo @_MD_D3DOWNLOADS_SUBMIT_DELIMITER; ?>
 ( / )</option>
					<option value="  "><?php echo @_MD_D3DOWNLOADS_SUBMIT_DELIMITER; ?>
 ( <?php echo @_MD_D3DOWNLOADS_SUBMIT_SPASE; ?>
 )</option>
				</select>
			</td>
		</tr>
		<?php if ($this->_tpl_vars['mod_config']['use_license']): ?>
			<tr valign="top" align="left">
				<td class="d3downloads_head"><label for="license"><?php echo @_MD_D3DOWNLOADS_SUBMIT_LICENSE; ?>
</label></td>
				<td class="d3downloads_even">
					<input type="text" name="license" id="license" size="50" maxlength="260" value="<?php echo $this->_tpl_vars['download']['license']; ?>
" /><br />
					<select name="select_license" id="select_license">
						<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['select_license']), $this);?>

					</select>
				</td>
			</tr>
		<?php endif; ?>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="description"><?php echo @_MD_D3DOWNLOADS_SUBMIT_DESCRIPTION; ?>
</label></td>
			<td class="d3downloads_even">
				<?php echo $this->_tpl_vars['body_wysiwyg']; ?>
<br />
				<div class="d3downloads_submit_help">
					<?php echo @_MD_D3DOWNLOADS_SUBMIT_DESCRIPTION_DESC; ?>

				</div>
				<select name="current_data_list" id="current_data_list">
					<option value="[title]"><?php echo @_MD_D3DOWNLOADS_SUBMIT_TITLE_INSERT; ?>
</option>
					<option value="[filename]"><?php echo @_MD_D3DOWNLOADS_SUBMIT_FILENAME_INSERT; ?>
</option>
					<option value="[filename2]"><?php echo @_MD_D3DOWNLOADS_SUBMIT_FILENAME2_INSERT; ?>
</option>
					<option value="[expired]"><?php echo @_MD_D3DOWNLOADS_SUBMIT_EXPIRED_INSERT; ?>
</option>
					<option value="[pagebreak]"><?php echo @_MD_D3DOWNLOADS_SUBMIT_PAGEBREAK_INSERT; ?>
</option>
				</select>
				<input type="button" name="current_data" id="current_data" class="d3downloads_submit" value="<?php echo @_MD_D3DOWNLOADS_SUBMIT_INSERT; ?>
" >
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="option"><?php echo @_MD_D3DOWNLOADS_SUBMIT_OPTION; ?>
</label></td>
			<td class="d3downloads_even">
				<?php if ($this->_tpl_vars['canhtml']): ?>
					<label for="html"><?php echo @_MD_D3DOWNLOADS_SUBMIT_HTML; ?>
</label>
					<input type="checkbox" name="html" id="html" value="1" <?php if ($this->_tpl_vars['download']['html']): ?>checked="checked"<?php endif; ?> /><br />
				<?php endif; ?>
				<label for="smiley"><?php echo @_MD_D3DOWNLOADS_SUBMIT_SMILEY; ?>
</label>
				<input type="checkbox" name="smiley" id="smiley" value="1" <?php if ($this->_tpl_vars['download']['smiley']): ?>checked="checked"<?php endif; ?> /><br />
				<label for="br"><?php echo @_MD_D3DOWNLOADS_SUBMIT_BR; ?>
</label>
				<input type="checkbox" name="br" id="br" value="1" <?php if ($this->_tpl_vars['download']['br']): ?>checked="checked"<?php endif; ?> /><br />
				<label for="xcode"><?php echo @_MD_D3DOWNLOADS_SUBMIT_XCODE; ?>
</label>
				<input type="checkbox" name="xcode" id="br" value="1" <?php if ($this->_tpl_vars['download']['xcode']): ?>checked="checked"<?php endif; ?> /><br />
				<label for="visible"><?php echo @_MD_D3DOWNLOADS_SUBMIT_VISIBLE; ?>
</label>
				<input type="checkbox" name="visible" id="visible" value="1" <?php if ($this->_tpl_vars['download']['visible']): ?>checked="checked"<?php endif; ?> /><br />
				<label for="comment"><?php echo @_MD_D3DOWNLOADS_SUBMIT_COMMENT; ?>
</label>
				<input type="checkbox" name="comment" id="comment" value="1" <?php if ($this->_tpl_vars['download']['cancomment']): ?>checked="checked"<?php endif; ?> /><br />
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head">
				<label for="extra"><?php echo @_MD_D3DOWNLOADS_SUBMIT_EXTRA; ?>
</label><br /><br />
				<?php echo @_MD_D3DOWNLOADS_SUBMIT_EXTRA_SAMPLE; ?>

			</td>
			<td class="d3downloads_even">
				<textarea name="extra" id="extra" cols="60" rows="6"><?php echo $this->_tpl_vars['download']['extra']; ?>
</textarea>
				<div class="d3downloads_submit_help">
					<?php echo @_MD_D3DOWNLOADS_SUBMIT_EXTRA_DESC; ?>

				</div>
				<?php echo @_MD_D3DOWNLOADS_EXTRA_TITLE; ?>
<input id="extra_add_title" size="20" type="text">&nbsp;
				<?php echo @_MD_D3DOWNLOADS_EXTRA_DESC; ?>
<input id="extra_add_desc" size="40" type="text">&nbsp;
				<input type="button" name="extra_InsertText" id="extra_InsertText" class="d3downloads_submit" value="<?php echo @_MD_D3DOWNLOADS_SUBMIT_INSERT; ?>
" >
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="created"><?php echo @_MD_D3DOWNLOADS_CREATED; ?>
</label></td>
			<td class="d3downloads_even">
				<input type="checkbox" name="createable" id="createable" value="1" <?php if ($this->_tpl_vars['download']['createable']): ?> checked="checked"<?php endif; ?> /><label for="createable"><?php echo @_MD_D3DOWNLOADS_LABEL_SPECIFY_DATETIME; ?>
</label><br />
				<?php echo smarty_function_html_select_date(array('time' => $this->_tpl_vars['download']['date'],'start_year' => "-10",'end_year' => "+10",'month_format' => "%m",'day_format' => "%d",'field_order' => 'YMD','field_array' => 'created'), $this);?>

				<?php echo smarty_function_html_select_time(array('time' => $this->_tpl_vars['download']['date'],'minute_interval' => '10','display_seconds' => false,'field_array' => 'created'), $this);?>
<br />
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head"><label for="expired"><?php echo @_MD_D3DOWNLOADS_EXPIRED; ?>
</label></td>
			<td class="d3downloads_even">
				<input type="checkbox" name="expiredable" id="expiredable" value="1" <?php if ($this->_tpl_vars['download']['expiredable']): ?> checked="checked"<?php endif; ?> /><label for="expiredable"><?php echo @_MD_D3DOWNLOADS_LABEL_SPECIFY_DATETIME; ?>
</label><br />
				<?php echo smarty_function_html_select_date(array('time' => $this->_tpl_vars['download']['expired'],'start_year' => "-10",'end_year' => "+10",'month_format' => "%m",'day_format' => "%d",'field_order' => 'YMD','field_array' => 'expired'), $this);?>

				<?php echo smarty_function_html_select_time(array('time' => $this->_tpl_vars['download']['expired'],'minute_interval' => '10','display_seconds' => false,'field_array' => 'expired'), $this);?>
<br />
			</td>
		</tr>
		<tr valign="top" align="left">
			<td class="d3downloads_head"></td>
			<td class="d3downloads_even">
				<input type="submit" class="formButton" name="makedownload_post" id="makedownload_post" value="<?php echo @_MD_D3DOWNLOADS_BTN_SUBMITEDITING; ?>
" />
				<input type="submit" class="formButton" name="makedownload_preview"  id="makedownload_preview" value="<?php echo @_PREVIEW; ?>
" />
				<?php if ($this->_tpl_vars['candelete']): ?>
					<input type="submit" name="makedownloadform_delete" id="makedownloadform_delete" value="<?php echo @_DELETE; ?>
" />
				<?php endif; ?>
				<input name="back" id="back" type="button" value="<?php echo @_MD_D3DOWNLOADS_BTN_CANSEL; ?>
" />
			</td>
		</tr>
	</table>
</form>
<br />
<font color="#CC0000"><span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_HISTORY; ?>
</span></font><br />
<?php $_from = $this->_tpl_vars['history']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['history']):
?>
	<?php echo $this->_tpl_vars['history']['history_date']; ?>
 : <?php echo $this->_tpl_vars['history']['history_title']; ?>
 <a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/admin/index.php?page=history&amp;id=<?php echo $this->_tpl_vars['history']['history_id']; ?>
"><?php echo @_MD_D3DOWNLOADS_VIEWHISTORY; ?>
</a><br />
<?php endforeach; endif; unset($_from); ?>
<br />
<?php if ($this->_tpl_vars['copy_select']): ?>
	<form name="currentfile_copy" id="currentfile_copy" action="<?php echo $this->_tpl_vars['mod_url']; ?>
/admin/index.php?page=filecopy" method="post">
		<?php echo $this->_tpl_vars['gticket_hidden']; ?>

		<input type="hidden" name="cid" value="<?php echo $this->_tpl_vars['download']['cid']; ?>
" />
		<input type="hidden" name="lid" value="<?php echo $this->_tpl_vars['download']['lid']; ?>
" />
		<table class="d3downloads_outer">
			<tr>
				<td class="d3downloads_even">
					<select name="copy_mid" id="copy_mid">
						<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['copy_select']['target_modules']), $this);?>

					</select>
					<select name="copy_category_id[0]" id="copy_category_id_0">
						<option value="0">----</option>
					</select>
					<?php $_from = $this->_tpl_vars['copy_select']['category']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['target_mid'] => $this->_tpl_vars['copy_options']):
?>
						<select name="copy_category_id[<?php echo $this->_tpl_vars['target_mid']; ?>
]" id="copy_category_id_<?php echo $this->_tpl_vars['target_mid']; ?>
">
							<option value="0">----</option>
							<?php echo $this->_tpl_vars['copy_options']; ?>

						</select>
					<?php endforeach; endif; unset($_from); ?>
					<input type="submit" name="copy" id="copy" value="<?php echo @_MD_D3DOWNLOADS_SUBMIT_COPY; ?>
" />
				</td>
			</tr>
		</table>
	</form>
	<br />
<?php endif; ?>
<table class="d3downloads_outer">
<form name="delbroken" id="delbroken" action="<?php echo $this->_tpl_vars['mod_url']; ?>
/admin/index.php?page=delbroken" method="post">
<?php echo $this->_tpl_vars['gticket_hidden']; ?>

<input type="hidden" name="cid" value="<?php echo $this->_tpl_vars['download']['cid']; ?>
" />
<input type="hidden" name="lid" value="<?php echo $this->_tpl_vars['download']['lid']; ?>
" />
<table class="d3downloads_outer">
	<tr>
		<td style="text-align:center;" colspan="7">
			<span class="d3downloads_bold"><?php echo $this->_tpl_vars['totalbroken']; ?>
</span>
		</td>
	</tr>
	<tr>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_SENDERNAME; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_IP; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_VOTE_DATE; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_BROKENDEL; ?>
</span>
		</th>
	</tr>
<?php if (! $this->_tpl_vars['broken']): ?>
	<tr>
		<td style="text-align:center;" align="center" colspan="4">
			<?php echo @_MD_D3DOWNLOADS_NOBROKEN; ?>
<br />
		</td>
	</tr>
<?php else: ?>
	<?php $_from = $this->_tpl_vars['broken']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['broken'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['broken']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['brokendata']):
        $this->_foreach['broken']['iteration']++;
?>
		<tr class="<?php echo smarty_function_cycle(array('values' => "even,odd"), $this);?>
">
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['brokendata']['sendername']; ?>

			</td>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['brokendata']['ip']; ?>

			</td>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['brokendata']['date']; ?>

			</td>
<?php if ($this->_foreach['broken']['iteration'] == 1): ?>
			<td rowspan="<?php echo $this->_tpl_vars['brokensum']; ?>
" style="text-align:center;">
				<input type="submit" name="delbroken_post" id="delbroken_post" value="X" />
			</td>
<?php endif; ?>
		</tr>
	<?php endforeach; endif; unset($_from); ?>
	</td>
	<tr>
<?php endif; ?>
</table>
</form>
<br />
<form name="delvote" id="delvote" action="<?php echo $this->_tpl_vars['mod_url']; ?>
/admin/index.php?page=delvote" method="post">
<?php echo $this->_tpl_vars['gticket_hidden']; ?>

<input type="hidden" name="cid" value="<?php echo $this->_tpl_vars['download']['cid']; ?>
" />
<input type="hidden" name="lid" value="<?php echo $this->_tpl_vars['download']['lid']; ?>
" />
<div align="center">
	<span class="d3downloads_bold"><?php echo $this->_tpl_vars['totalvotes']; ?>
</span>
</div>
<table class="d3downloads_outer">
	<tr>
		<td style="text-align:center;" colspan="7">
			<span class="d3downloads_bold"><?php echo $this->_tpl_vars['user_totalvote']; ?>
</span>
		</td>
	</tr>
	<tr>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_USER; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_IP; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_RATINGC; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_MD_USERAVG; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_MD_TOTALRATE; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_VOTE_DATE; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_DELETE; ?>
</span>
		</th>
	</tr>
<?php if (! $this->_tpl_vars['user_vote']): ?>
	<tr>
		<td style="text-align:center;" align="center" colspan="7">
			<?php echo @_MD_D3DOWNLOADS_NOREGVOTES; ?>
<br />
		</td>
	</tr>
<?php else: ?>
	<?php $_from = $this->_tpl_vars['user_vote']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['user_vote_data']):
?>
		<tr class="<?php echo smarty_function_cycle(array('values' => "even,odd"), $this);?>
">
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['user_vote_data']['ratingusername']; ?>

			</td>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['user_vote_data']['ratinghostname']; ?>

			</td>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['user_vote_data']['rating']; ?>

			</td>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['user_vote_data']['useravgrating']; ?>

			</td>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['user_vote_data']['uservotes']; ?>

			</td>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['user_vote_data']['ratingtimestamp']; ?>

			</td>
			<td style="text-align:center;">
				<input type="submit" name="delvote[<?php echo $this->_tpl_vars['user_vote_data']['id']; ?>
]" id="delvote_[<?php echo $this->_tpl_vars['user_vote_data']['id']; ?>
]" value="X" />
			</td>
		</tr>
	</td>
	<?php endforeach; endif; unset($_from); ?>
	<tr>
<?php endif; ?>
</table>
<br />
<table class="d3downloads_outer">
	<tr>
		<td style="text-align:center;" colspan="7">
			<span class="d3downloads_bold"><?php echo $this->_tpl_vars['guest_totalvote']; ?>
</span>
		</td>
	</tr>
	<tr>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_IP; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_RATINGC; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_MD_D3DOWNLOADS_VOTE_DATE; ?>
</span>
		</th>
		<th style="text-align:center;">
			<span class="d3downloads_bold"><?php echo @_DELETE; ?>
</span>
		</th>
	</tr>
<?php if (! $this->_tpl_vars['guest_vote']): ?>
	<tr>
		<td style="text-align:center;" colspan="4">
			<?php echo @_MD_D3DOWNLOADS_NOGUESTVOTES; ?>
<br />
		</td>
	</tr>
<?php else: ?>
	<?php $_from = $this->_tpl_vars['guest_vote']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['guest_vote_data']):
?>
		<tr class="<?php echo smarty_function_cycle(array('values' => "even,odd"), $this);?>
">
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['guest_vote_data']['ratinghostname']; ?>

			</td>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['guest_vote_data']['rating']; ?>

			</td>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['guest_vote_data']['ratingtimestamp']; ?>

			</td>
			<td style="text-align:center;">
				<input type="submit" name="delvote[<?php echo $this->_tpl_vars['guest_vote_data']['id']; ?>
]" id="delvote_[<?php echo $this->_tpl_vars['guest_vote_data']['id']; ?>
]" value="X" />
			</td>
		</tr>
	</td>
	<?php endforeach; endif; unset($_from); ?>
	<tr>
<?php endif; ?>
</table>
</form>

<script type="text/javascript">
<!--//
file_url_line_initialize() ;

jQuery( function($){
    $( '#makedownloadform_delete' ).click( function(){
		return confirm('<?php echo @_MD_D3DOWNLOADS_MSG_CONFIRMDELETECONTENT; ?>
') ;
    });

    $( '#back' ).click( function(){
		location.href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php" ;
    });

    $( '#delbroken_post' ).click( function(){
		return confirm('<?php echo @_MD_D3DOWNLOADS_MSG_CONFIRMDELETECONTENT; ?>
') ;
    });

    $id_filter( 'delvote_' , '^=' ).click( function(){
		return confirm('<?php echo @_MD_D3DOWNLOADS_MSG_CONFIRMDELETECONTENT; ?>
') ;
    });
});
//-->
</script>

<?php if ($this->_tpl_vars['copy_select']): ?>
<?php echo $this->_tpl_vars['copy_select']['category_select_showhide']; ?>

<script type="text/javascript">
<!--//
jQuery( function($){
    $( '#copy' ).click( function(){
		infoDom_initialize() ;
		select_check( 'copy_mid' , 'copy_category_id' ) ;
		if( validate_selected == 2 ){
			return confirm('<?php echo @_MD_D3DOWNLOADS_CONFIRM_COPY; ?>
') ;
		} else {
			if( validate_selected != 2 ) popup_info( '<?php echo @_MD_D3DOWNLOADS_NO_COPY; ?>
' )
			return false ;
		}
    });
});
//-->
</script>
<?php endif; ?>

<?php if ($this->_tpl_vars['downimg']['showlogourlselected']): ?>
<?php echo $this->_tpl_vars['downimg']['showlogourlselected']; ?>

<script type="text/javascript">
<!--//
showlogourlSelected( 'show_description_image' , 'description_image', 'show_description_image_line' , '<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=ajax_load' ) ;
showlogourlSelected( 'showlogourl' , 'logourl', 'showlogourl_line' , '<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=ajax_load' ) ;
//--></script>
<?php endif; ?>