<?php /* Smarty version 2.6.26, created on 2011-04-16 19:26:42
         compiled from header.htm */ ?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['charset']; ?>
" />
<title><?php echo $this->_tpl_vars['name']; ?>
 - <?php echo $this->_tpl_vars['Global']['site']; ?>
 - Powered By VeryIDE</title>
<link type="text/css" rel="stylesheet" charset="utf-8" href="theme/<?php echo $this->_tpl_vars['form']['skin']; ?>
/style.css?ver=4.0" title="VeryIDE" />

<?php $_from = $this->_tpl_vars['script']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['src']):
?>
	<script type="text/javascript" charset="utf-8" src="<?php echo $this->_tpl_vars['src']; ?>
"></script>
<?php endforeach; endif; unset($_from); ?>

<?php echo $this->_tpl_vars['bgsound']; ?>


</head>
<body style="<?php echo $this->_tpl_vars['background']; ?>
">

	<?php if ($this->_tpl_vars['mode'] == 'layout' && $this->_tpl_vars['Manager']['id'] !== "" && $this->_tpl_vars['Licence']['type'] != 'free'): ?>
        <?php require_once(SMARTY_CORE_DIR . 'core.smarty_include_php.php');
smarty_core_smarty_include_php(array('smarty_file' => "../../passport/include.theme.php", 'smarty_assign' => '', 'smarty_once' => false, 'smarty_include_vars' => array()), $this); ?>

        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../../../../passport/include.layout.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<?php endif; ?>
	

	<?php if ($this->_tpl_vars['mode'] != 'simple' && $this->_tpl_vars['Licence']['type'] != 'free'): ?>
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../../../../passport/theme/".($this->_tpl_vars['Setting']['passport']['theme'])."/header.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<?php endif; ?>

	<div id="main" style="<?php echo $this->_tpl_vars['main']; ?>
" class="<?php echo $this->_tpl_vars['config']['PAGE_ALIGN']; ?>
">
    
		<?php if ($this->_tpl_vars['mode'] != 'simple'): ?>
        
			<div id="header" style_="<?php if ($this->_tpl_vars['config']['HIDE_TITLE'] == 'Y' && ( $this->_tpl_vars['config']['HIDE_TITLE'] == $this->_tpl_vars['config']['HIDE_STATE'] ) && ( $this->_tpl_vars['config']['HIDE_TITLE'] == $this->_tpl_vars['config']['HIDE_COUNT'] )): ?>display:none;<?php endif; ?>">
            
			<?php if ($this->_tpl_vars['config']['HIDE_TITLE'] !== 'Y'): ?>
				<h1 id="title"><?php echo $this->_tpl_vars['form']['name']; ?>
</h1>
			<?php endif; ?>
			
			<?php if ($this->_tpl_vars['config']['HIDE_STATE'] !== 'Y'): ?>
				<p id="state"><?php echo $this->_tpl_vars['desc']; ?>
</p>
			<?php endif; ?>				
			
			<?php if ($this->_tpl_vars['config']['FORM_MAX'] !== "" || $this->_tpl_vars['config']['FORM_NUMBER'] !== ""): ?>
				<p>参加人数上限：<?php echo $this->_tpl_vars['config']['FORM_MAX']; ?>
，每人限参加<?php echo $this->_tpl_vars['config']['FORM_NUMBER']; ?>
次。</p>
			<?php endif; ?>
			
			<?php if ($this->_tpl_vars['config']['HIDE_COUNT'] !== 'Y'): ?>
				<p id="count">截止到目前，共有 <a href="?action=status&id='.$fid.'"><?php echo $this->_tpl_vars['form']['stat']; ?>
</a> 人参与本活动。</p>				
			<?php endif; ?>
			
			<?php if ($this->_tpl_vars['form']['start'] > time ( )): ?>
				<p class="error">注意：表单还未正式启用，暂时不接受提交！</p>
			<?php elseif ($this->_tpl_vars['form']['expire'] < time ( )): ?>
				<p class="error">注意：表单已经过期无效，已经不接受提交！</p>
			<?php endif; ?>
			
			</div>
		
		<?php endif; ?>
        
		<div id="content">

			<a name="top"></a>