77 lines
3.3 KiB
Smarty
77 lines
3.3 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
<!-- Display the form validation -->
|
|
{if $form_validation}
|
|
{$block->display('core:alert_fields')}
|
|
{/if}
|
|
|
|
<!-- Display the form to collect the input values -->
|
|
<form id="add" method="post" action="" enctype="multipart/form-data">
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
<tr valign="top">
|
|
<td class="table_heading">{osb f=tt}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=date_start}</td>
|
|
<td style="width: 65%;">{$list->calender_add('campaign_date_start',$VAR.campaign_date_start,'form_field')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=date_expire}</td>
|
|
<td style="width: 65%;">{$list->calender_add('campaign_date_expire',$VAR.campaign_date_expire,'form_field')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=status}</td>
|
|
<td style="width: 65%;">
|
|
{if $VAR.campaign_status != ''}
|
|
{$list->bool('campaign_status',$VAR.campaign_status,'form_menu')}
|
|
{else}
|
|
{$list->bool('campaign_status','1','form_menu')}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=name}</td>
|
|
<td style="width: 65%;"><input type="text" name="campaign_name" value="{$VAR.campaign_name}" {if $campaign_name == true}class="form_field_error"{/if}/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=description}</td>
|
|
<td style="width: 65%;"><textarea name="campaign_description" cols="40" rows="5" {if $campaign_description == true}class="form_field_error"{/if}>{$VAR.campaign_description}</textarea></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=budget}</td>
|
|
<td style="width: 65%;"><input type="text" name="campaign_budget" value="{$VAR.campaign_budget}" {if $campaign_budget == true}class="form_field_error"{/if} size="5"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=url}</td>
|
|
<td style="width: 65%;"><input type="text" name="campaign_url" value="{$VAR.campaign_url}" {if $campaign_url == true}class="form_field_error"{/if}/></td>
|
|
</tr>
|
|
<!--
|
|
<tr valign="top">
|
|
<td colspan="2" style="text-align: center;"><b>{t}Select up to 12 banners, Flash, or HTML files to rotate through for this campaign.{/t}</b></td>
|
|
</tr>
|
|
{section name=year start=1 loop=13 step=1}
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{t 1=$smarty.section.year.index}Advertisement %1{/t}</td>
|
|
<td style="width: 65%;"><input type="file" name="upload_file{$smarty.section.year.index}" size="38" {if $campaign_file1 == true}class="form_field_error"{/if}/></td>
|
|
</tr>
|
|
{/section}
|
|
-->
|
|
{include file='file:../core/add_tr_submit.tpl'}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|