<h2><?=$this->lang->line('banner_new')?></h2>
<?=form_open_multipart('admin/banner')?>
	
	
	<dl class="news_edit">
		<dt><?=$this->lang->line('banner_file')?></dt>
			<dd><?=form_upload('banner')?></dd>
			
		<dt></dt>
			<dd>
				<b><?=$this->lang->line('banner_local')?></b>
				<blockquote><?=form_dropdown('page',$this->mpages->get_pages_dropdown($this->muser->user['admin_lang']),$banner_link,"onchange=$('banner_link').value='' id='page'")?></blockquote>
			
				<b><?=$this->lang->line('banner_remote')?></b>
				<blockquote><?=form_input('banner_link',$banner_link,"id='banner_link' onchange=$('page').value=''")?></blockquote>
			 <?=form_submit('',$this->lang->line('banner_save'))?></p>
	<?=form_hidden('do','banner')?></dd>
	</dl>
	<div class="clear"></div>
</form>
<?if($file):?>
	<h2><?=$this->lang->line('banner_current')?></h2>
	<img src="<?=$banner?>" alt="">
<?endif;?>
