<{if $mod_config.show_breadcrumbs}> <{include file="db:`$mydirname`_inc_breadcrumbs.html"}> <{/if}>

## <{if ! $preview_title && ! $preview_body}><{$formtitle}><{else}><{$smarty.const._PREVIEW}><{/if}> <{if $download.title}>: <{$download.title}><{/if}>

<{if $iserror}>
<{$error_message}>
<{/if}> <{if $preview_title || $preview_body}>

<{if $preview_title}>
<{$preview_title}>
<{/if}> <{if $preview_body}>
  <{$preview_body}>
<{/if}>

<{/if}> <{$gticket_hidden}>

<{if ! $preview_title && ! $preview_body}>
<{if $message}> <{$message}> <{else}> <{$smarty.const._MD_D3DOWNLOADS_DONTABUSE}> <{if $check_url && ! $download.lid}> <{$smarty.const._MD_D3DOWNLOADS_SUBMITONCE}> <{/if}> <{if ! $auto_approved}> <{$smarty.const._MD_D3DOWNLOADS_ALLPENDING}> <{$smarty.const._MD_D3DOWNLOADS_TAKEDAYS}> <{/if}> <{/if}>
<{/if}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_TITLE}> |
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_URL}> | <{if $download.url}> <{$download.filelink}> <{/if}> <{if ! $config_error && $canupload}> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_FILE1}> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_FILE2}> <{$max_submit_size}> <{$submit_extension}> <{$smarty.const._MD_D3DOWNLOADS_LABEL_INPUT_URL}> <{/if}>
<{if $download.filename}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_FILENAME}> | <{$download.filenamelink}>
<{/if}> <{if $download.filename2}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_FILENAME2}> | <{$download.filenamelink2}> checked="checked"<{/if}> /> <{$smarty.const._DELETE}>
<{/if}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_CATEGORY}> |
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_HOMEPAGETITLE}> |
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_HOMEPAGE}> | <{if $download.homepage && $download.homepage != "http://"}> [<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_ACCESS_URL}>] <{/if}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_VERSION}> |
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_SIZE}> | <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_BYTE}> <{if ! $config_error && $canupload}> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_SIZE_DESC}> <{/if}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_PLATFORM}> |
<{if $mod_config.use_license}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_LICENSE}> |
<{/if}> <{php}> $this->assign( 'common_fck_installed' , file_exists( XOOPS_ROOT_PATH.'/common/fckeditor/fckeditor.js' ) ) ; <{/php}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_DESCRIPTION}> <{php}> $_makescript = & xoops_getmodulehandler('makescript','myckeditor' , true ); $params = array('id'=>'desc','editor'=>'bbcode','myckeditor'=>true); if (@is_object( $_makescript )){ $this->assign( 'common_myck_installed' , true ) ; $_makescript->makeheader($params); } <{/php}> <{if $canhtml && ! $common_fck_installed && $common_myck_installed}> <{/if}> <{if $mod_config.body_editor != "common_fckeditor" && $canhtml}> <{/if}> | <{if $body_wysiwyg && $canhtml && $common_fck_installed}> <{$body_wysiwyg}> <{else}> <{if $common_myck_installed && $canhtml }> BBCode Tool <{xoopsdhtmltarea name="desc" id="desc" cols="60" rows="20" value=$download.description"}> <{else}> BBCode Tool <{xoopsdhtmltarea name="desc" id="desc" cols="60" rows="20" value=$download.description"}> <{/if}> <{/if}> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_DESCRIPTION_DESC}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_OPTION}> | <{if $canhtml}> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_HTML}> checked="checked"<{/if}> /> <{/if}> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_SMILEY}> checked="checked"<{/if}> /> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_BR}> checked="checked"<{/if}> /> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_XCODE}> checked="checked"<{/if}> /> <{if $xoops_isuser && ! $auto_approved}> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_NOTIFY}> <{/if}>
<{if $download.filters}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_FILTERS}> | <{foreach from=$download.filters key="filter_name" item="filter"}> <{$filter.title}> checked="checked"<{/if}> <{if $filter.fixed}>disabled="disabled"<{/if}> /> <{$filter.desc}> <{/foreach}>
<{/if}>
<{$smarty.const._MD_D3DOWNLOADS_SUBMIT_EXTRA}> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_EXTRA_SAMPLE}> | <{$download.extra}> <{$smarty.const._MD_D3DOWNLOADS_SUBMIT_EXTRA_DESC}> <{$smarty.const._MD_D3DOWNLOADS_EXTRA_TITLE}> <{$smarty.const._MD_D3DOWNLOADS_EXTRA_DESC}>
<{$smarty.const._MD_D3DOWNLOADS_CREATED}> | checked="checked"<{/if}> /><{$smarty.const._MD_D3DOWNLOADS_LABEL_SPECIFY_DATETIME}> <{html_select_date time=$form.created_ start_year="-10" end_year="+10" month_format="%m" day_format="%d" field_order="YMD" time=$download.date field_array="created"}> <{html_select_time time=$form.created_ minute_interval="10" display_seconds=false time=$download.date field_array="created"}>
<{$smarty.const._MD_D3DOWNLOADS_EXPIRED}> | checked="checked"<{/if}> /><{$smarty.const._MD_D3DOWNLOADS_LABEL_SPECIFY_DATETIME}> <{html_select_date time=$form.expired_ start_year="-10" end_year="+10" month_format="%m" day_format="%d" field_order="YMD" time=$download.expired field_array="expired"}> <{html_select_time time=$form.expired_ minute_interval="10" display_seconds=false time=$download.expired field_array="expired"}>
| <{if $candelete}> <{/if}>

<{if ! $config_error && $canupload}>
<{/if}>