{if $smarty.request.action eq 'add'} {assign var=title value="Add Event"} {else} {assign var=title value="Edit Event"} {/if} {$title}

{$title}

  {if $error}
{foreach from=$error item=e}
  • {$e} {/foreach}
  • {/if} {php} $this->assign('enabled_disabled', array('' => 'Enabled', '1' => 'Disabled')); $this->assign('no_yes', array('' => 'No', '1' => 'Yes')); {/php}
    Title *
    Start Date * {html_select_date prefix="start_date" time=$p.start_date end_year="2037"}
    End Date * {html_select_date prefix="expire_days" time=$p.expire_days end_year="2037"}
    Time
    Location
    Online Registration {html_radios name=event_registration_disabled options=$enabled_disabled selected=$p.event_registration_disabled}
    Price *
    Instant Payment Required {html_radios options=$no_yes name="event_instant_payment_only" selected=$p.event_instant_payment_only}
    Attendees limit
    please enter nax. number
    of subscribers for this event or
    keep this field empty
    Define Special Prices {php} $this->assign('ii', range(0,9)); $pl = $GLOBALS['db']->get_products_list(); $pl1 = array('' => '*********'); foreach ($pl as $k => $v) if ($v['is_event']) unset($pl[$k]); else $pl1[ $v['product_id'] ] = $v['title']; $this->assign('sp_products', $pl1); {/php} {foreach from=$ii item=i}
    {/foreach}
    Event Description
    Event-Specific Fields Please specify fields that are NOT usually asked during signup process, but necessary for this event
      {foreach from=$fields item=f}
    • {$f.name} ({$f.title}) Add
    • {/foreach}


    {include file="admin/footer.inc.html"}