<div id="sellogoupload">
	<h2 class="clsVideoLogo"><span>{$LANG.page_title}</span></h2>
	<div id="selLeftNavigation">
		{include file='information.tpl'}
		{if  $myobj->isShowPageBlock('logo_upload_form')}
			 <div id="selUpload">
				<form name="logo_upload_form" id="logo_upload_form" method="post" action="{$myobj->getCurrentUrl()}" autocomplete="off" enctype="multipart/form-data">
					<div id="selUploadBlock">
						<table class="clsCommonTable clsUploadBlock" summary="{$LANG.logoupload_tbl_summary}" id="selUploadTbl" >
							<tr>
								<td class="{$myobj->getCSSFormLabelCellClass('logo_name')}">
									<label for="logo_name">{$LANG.logo_name}</label> </td>
								<td class="{$myobj->getCSSFormFieldCellClass('logo_name')}">
									<input type="text" class="clsTextBox" name="logo_name" id="logo_name" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('logo_name')}" />
									{$myobj->getFormFieldElementErrorTip('logo_name')}
								</td>
							</tr>
						  <tr>
							  <td class="{$myobj->getCSSFormLabelCellClass('logo_description')}">
								<label for="logo_description">{$LANG.logo_description}</label> </td>
							  <td class="{$myobj->getCSSFormFieldCellClass('logo_description')}">
								<textarea name="logo_description" id="logo_description" tabindex="{smartyTabIndex}">{$myobj->getFormField('logo_description')}</textarea>
								{$myobj->getFormFieldElementErrorTip('logo_description')}
							 </td>
						 </tr>
						 <tr>
							<td class="{$myobj->getCSSFormLabelCellClass('logo_url')}">
								<label for="logo_url">{$LANG.logo_url}</label> </td>
							<td class="{$myobj->getCSSFormFieldCellClass('logo_url')}">
								<input type="text" class="clsTextBox {$myobj->getCSSFormFieldElementClass('logo_url')}" name="logo_url" id="logo_url" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('logo_url')}" /><p>{$LANG.logo_sample_url}</p>{$myobj->getFormFieldElementErrorTip('logo_url')}</td>
						</tr>
						<tr>
						  <td class="{$myobj->getCSSFormLabelCellClass('logo_position')}">
							<label for="logo_position">{$LANG.logo_position}</label> </td>
						  <td class="{$myobj->getCSSFormFieldCellClass('logo_position')}">
							<select name="logo_position" id="logo_position" tabindex="{smartyTabIndex}">
								{$myobj->generalPopulateArray($myobj->logo_position_array, $myobj->getFormField('logo_position'))}
							</select>{$myobj->getFormFieldElementErrorTip('logo_position')}</td>
						</tr>
						<tr>
						  <td class="{$myobj->getCSSFormLabelCellClass('logo_transparency')}">
							<label for="logo_transparency">{$LANG.logo_transparency}</label> </td>
						  <td class="{$myobj->getCSSFormFieldCellClass('logo_transparency')}">
							<input type="text" class="clsTextBox {$myobj->getCSSFormFieldElementClass('logo_transparency')}" name="logo_transparency" id="logo_transparency" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('logo_transparency')}" />{$myobj->getFormFieldElementErrorTip('logo_transparency')}({$LANG.recommended} 30)</td>
						</tr>
						<tr>
						  <td class="{$myobj->getCSSFormLabelCellClass('logo_rollover_transparency')}">
							<label for="logo_rollover_transparency">{$LANG.logo_rollover_transparency}</label> </td>
						  <td class="{$myobj->getCSSFormFieldCellClass('logo_rollover_transparency')}">
							<input type="text" class="clsTextBox {$myobj->getCSSFormFieldElementClass('logo_rollover_transparency')}" name="logo_rollover_transparency" id="logo_rollover_transparency" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('logo_rollover_transparency')}" />{$myobj->getFormFieldElementErrorTip('logo_rollover_transparency')}({$LANG.recommended} 80)</td>
						</tr>
						<tr>
						  <td class="{$myobj->getCSSFormLabelCellClass('animated_logo')}">
							<label for="animated_logo1">{$LANG.animated_logo}</label> </td>
						  <td class="{$myobj->getCSSFormFieldCellClass('animated_logo')}">
							<input type="radio" class="clsCheckRadio" name="animated_logo" id="animated_logo1" tabindex="{smartyTabIndex}" value="yes" {$myobj->isCheckedRadio('animated_logo', 'yes')} />&nbsp;<label for="animated_logo1">{$LANG.common_yes_option}</label>
							<input type="radio" class="clsCheckRadio" name="animated_logo" id="animated_logo2" tabindex="{smartyTabIndex}" value="no" {$myobj->isCheckedRadio('animated_logo', 'no')} />&nbsp;<label for="animated_logo2">{$LANG.common_no_option}</label>{$myobj->getFormFieldElementErrorTip('animated_logo')}
						  </td>
						</tr>
						<tr>
						  <td class="{$myobj->getCSSFormLabelCellClass('logo_file')}">
							<label for="logo_file">{$LANG.logoupload_logo_file}</label>
                                   <p>{$LANG.logo_dimension}</p>
                                </td>
						  <td class="{$myobj->getCSSFormFieldCellClass('logo_file')}">
						   <div id="selLeftPlainImage">
								<p id="selImageBorder"><span id="selPlainCenterImage"><img src="{$myobj->logo_upload_form.getLogoImage}" alt="{$LANG.logo}" width="66" height="66" /></span></p>
						   </div>
						   <input type="file" class="clsFileBox" accept="image/{$myobj->logo_upload_form.implode_logo_format_arr}" name="logo_file" id="logo_file" tabindex="{smartyTabIndex}" />{$myobj->getFormFieldElementErrorTip('logo_file')}
							({$CFG.admin.ans_videos.logo_max_size} {$LANG.kb})</td>
						</tr>
						<tr>
						  <td class="{$myobj->getCSSFormLabelCellClass('logo_status')}">
							<label for="logo_status1">{$LANG.logo_status}</label> </td>
						  <td class="{$myobj->getCSSFormFieldCellClass('logo_status')}">
							<input type="radio" class="clsCheckRadio" name="logo_status" id="logo_status1" tabindex="{smartyTabIndex}" value="yes" {$myobj->isCheckedRadio('logo_status', 'yes')} />&nbsp;<label for="logo_status1">{$LANG.common_display_active}</label>
							<input type="radio" class="clsCheckRadio" name="logo_status" id="logo_status2" tabindex="{smartyTabIndex}" value="no" {$myobj->isCheckedRadio('logo_status', 'no')} />&nbsp;<label for="logo_status2">{$LANG.common_display_inactive}</label>{$myobj->getFormFieldElementErrorTip('logo_status')}
						  </td>
						</tr>
                              <tr>
							  <td></td>
						<td>
							{$myobj->populateHidden($myobj->logo_upload_form.hidden_arr)}
							<input type="submit" class="clsSubmitButton" name="upload" id="upload" tabindex="{smartyTabIndex}" value="{$LANG.common_update}" /></td>
						</tr>
						</table>
					</div>
				</form>
			</div>
		{/if}
	</div>
</div>