<?php /* Smarty version 2.6.13, created on 2013-02-13 00:36:27
         compiled from subscribe/form.subscribe.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 't', 'subscribe/form.subscribe.tpl', 5, false),array('modifier', 'escape', 'subscribe/form.subscribe.tpl', 18, false),)), $this); ?>
<div id="subscribeForm">

<form method="post" action="<?php echo $this->_tpl_vars['url']['base']; ?>
user/process.php">
<fieldset>
<legend><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Join newsletter<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></legend>

<input type="hidden" name="formSubmitted" value="1" />
<?php if ($this->_tpl_vars['referer']): ?>
<input type="hidden" name="bmReferer" value="<?php echo $this->_tpl_vars['referer']; ?>
" />
<?php endif; ?>

<div class="notes">
<p><?php $this->_tag_stack[] = array('t', array('escape' => false,'1' => "<span class=\"required\">",'2' => "</span>")); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Fields marked like %1 this %2 are required.<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></p>
</div>

<div>
<label class="required" for="email"><strong><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Your Email:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></strong></label>
<input type="text" size="32" maxlength="60" name="Email" id="email" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['Email'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
</div>

<?php $_from = $this->_tpl_vars['fields']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['fields'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['fields']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['field']):
        $this->_foreach['fields']['iteration']++;
?>
<div>
<label for="field<?php echo $this->_tpl_vars['key']; ?>
"><?php if ($this->_tpl_vars['field']['required'] == 'on'): ?><strong class="required"><?php endif;  echo $this->_tpl_vars['field']['prompt'];  if ($this->_tpl_vars['field']['required'] == 'on'): ?></strong><?php endif; ?>:</label>

<?php if ($this->_tpl_vars['field']['type'] == 'text' || $this->_tpl_vars['field']['type'] == 'number'): ?>
<input type="text" size="32" name="d[<?php echo $this->_tpl_vars['key']; ?>
]" id="field<?php echo $this->_tpl_vars['key']; ?>
"<?php if (isset ( $this->_tpl_vars['d'][$this->_tpl_vars['key']] )): ?> value="<?php echo ((is_array($_tmp=$this->_tpl_vars['d'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"<?php elseif ($this->_tpl_vars['field']['normally']): ?> value="<?php echo ((is_array($_tmp=$this->_tpl_vars['field']['normally'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"<?php endif; ?> />

<?php elseif ($this->_tpl_vars['field']['type'] == 'checkbox'): ?>
<input type="checkbox" name="d[<?php echo $this->_tpl_vars['key']; ?>
]" id="field<?php echo $this->_tpl_vars['key']; ?>
"<?php if ($this->_tpl_vars['d'][$this->_tpl_vars['key']] == 'on'): ?> checked="checked"<?php elseif (! $this->_tpl_vars['formSubmitted'] && $this->_tpl_vars['field']['normally'] == 'on'): ?> checked="checked"<?php endif; ?> />

<?php elseif ($this->_tpl_vars['field']['type'] == 'multiple'): ?>
<select name="d[<?php echo $this->_tpl_vars['key']; ?>
]" id="field<?php echo $this->_tpl_vars['key']; ?>
">
<option value=""><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Choose Selection<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></option>
<?php $_from = $this->_tpl_vars['field']['array']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['option']):
?>
<option<?php if ($this->_tpl_vars['d'][$this->_tpl_vars['key']] == $this->_tpl_vars['option']): ?> selected="selected"<?php elseif (! isset ( $this->_tpl_vars['d'][$this->_tpl_vars['key']] ) && $this->_tpl_vars['field']['normally'] == $this->_tpl_vars['option']): ?> selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['option']; ?>
</option>
<?php endforeach; endif; unset($_from); ?>
</select>

<?php elseif ($this->_tpl_vars['field']['type'] == 'date'): ?>
<input type="text" class="datepicker" size="12" name="d[<?php echo $this->_tpl_vars['key']; ?>
]" id="field<?php echo $this->_tpl_vars['key']; ?>
" value=<?php if (isset ( $this->_tpl_vars['d'][$this->_tpl_vars['key']] )): ?>"<?php echo ((is_array($_tmp=$this->_tpl_vars['d'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"<?php elseif ($this->_tpl_vars['field']['normally']): ?>"<?php echo ((is_array($_tmp=$this->_tpl_vars['field']['normally'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"<?php else: ?>"<?php echo $this->_tpl_vars['config']['app']['dateformat']; ?>
"<?php endif; ?> />

<?php elseif ($this->_tpl_vars['field']['type'] == 'comment'): ?>
<textarea name="comments" rows="3" cols="33" maxlength="255"><?php if (isset ( $this->_tpl_vars['d'][$this->_tpl_vars['key']] )):  echo $this->_tpl_vars['d'][$this->_tpl_vars['key']];  elseif ($this->_tpl_vars['field']['normally']):  echo $this->_tpl_vars['field']['normally'];  endif; ?></textarea>

<?php endif; ?>

</div>

<?php endforeach; endif; unset($_from); ?>

</fieldset>

<div class="buttons">

<input type="hidden" name="pommo_signup" value="true" />
<input type="submit" name="pommo_signup" value="<?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Subscribe<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>" />

</div>
		
</form>

</div>