<?php /* Smarty version 2.6.19, created on 2008-05-23 16:33:01
         compiled from includes/export.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'includes/export.tpl', 2, false),array('function', 'insert_form', 'includes/export.tpl', 6, false),)), $this); ?>
    <div class="space"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_tpl_vars['webdoc']['template_dir'])) ? $this->_run_mod_handler('cat', true, $_tmp, "message.tpl") : smarty_modifier_cat($_tmp, "message.tpl")), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <form method="get" action="">
    <input type="submit" name="button_save" value="Save" style="display: none;">
<?php if (isset ( $this->_tpl_vars['webdoc']['sequence_id'] )): ?>
    <?php echo smarty_function_insert_form(array('type' => 'hidden','name' => 'sequence_id','value' => $this->_tpl_vars['webdoc']['sequence_id']), $this);?>

<?php endif; ?>
<?php if (isset ( $_GET['test_id'] )): ?>
    <?php echo smarty_function_insert_form(array('type' => 'hidden','name' => 'test_id','value' => $_GET['test_id']), $this);?>

<?php endif; ?>
<?php if (isset ( $_GET['test_run_id'] )): ?>
    <?php echo smarty_function_insert_form(array('type' => 'hidden','name' => 'test_run_id','value' => $_GET['test_run_id']), $this);?>

<?php endif; ?>
    <?php echo smarty_function_insert_form(array('type' => 'hidden','name' => 'subpage1','value' => $_GET['subpage1']), $this);?>

    <?php echo smarty_function_insert_form(array('type' => 'hidden','name' => 'subpage2','value' => 'export'), $this);?>

    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_tpl_vars['webdoc']['template_dir'])) ? $this->_run_mod_handler('cat', true, $_tmp, "pages_hidden.tpl") : smarty_modifier_cat($_tmp, "pages_hidden.tpl")), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_tpl_vars['webdoc']['template_dir'])) ? $this->_run_mod_handler('cat', true, $_tmp, "sort_hidden.tpl") : smarty_modifier_cat($_tmp, "sort_hidden.tpl")), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_tpl_vars['webdoc']['template_dir'])) ? $this->_run_mod_handler('cat', true, $_tmp, "filter_hidden.tpl") : smarty_modifier_cat($_tmp, "filter_hidden.tpl")), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_tpl_vars['webdoc']['template_dir'])) ? $this->_run_mod_handler('cat', true, $_tmp, "columns_hidden.tpl") : smarty_modifier_cat($_tmp, "columns_hidden.tpl")), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
      <table class="record">
        <tr><th>List:</th></tr>
        <tr><td><label><input type="radio" name="export" value="list_to_xls"<?php if ($this->_tpl_vars['export'] == 'list_to_xls'): ?> checked="checked"<?php endif; ?> /> Worksheet Microsoft Excel (XLS)</label></td></tr>
        <tr class="space"><td></td></tr>
        
<?php if (( isset ( $this->_tpl_vars['webdoc']['sequence_id'] ) && ( $this->_tpl_vars['webdoc']['main_table'] == 'requirement' || $this->_tpl_vars['webdoc']['main_table'] == 'product' ) ) || isset ( $_GET['test_id'] ) || isset ( $_GET['test_run_id'] )): ?>
        <tr><th>Record:</th></tr>
        <tr><td><label><input type="radio" name="export" value="record_to_pdf"<?php if ($this->_tpl_vars['export'] == 'record_to_pdf'): ?> checked="checked"<?php endif; ?> /> Portable Document Format (PDF)</label><br /><label><input type="radio" name="export" value="record_to_doc"<?php if ($this->_tpl_vars['export'] == 'record_to_doc'): ?> checked="checked"<?php endif; ?> /> Document Microsoft Word (DOC)</label></td></tr>
        <tr class="space"><td></td></tr>
<?php if ($this->_tpl_vars['webdoc']['main_table'] != 'test_run'): ?>
        <tr><th>History:</th></tr>
        <tr><td><label><input type="radio" name="export" value="history_to_xls"<?php if ($this->_tpl_vars['export'] == 'history_to_xls'): ?> checked="checked"<?php endif; ?> /> Worksheet Microsoft Excel (XLS)</label></td></tr>
        <tr class="space"><td></td></tr>
<?php endif; ?>
<?php endif; ?>
        <tr><th>Settings (list and history):</th></tr>
        <tr><td><label><input type="checkbox" name="use_pages"<?php if ($_COOKIE['export_no_pages'] != 1): ?> checked="checked"<?php endif; ?> /> Use pages settings</label><br /><label><input type="checkbox" name="use_columns"<?php if ($_COOKIE['export_no_columns'] != 1): ?> checked="checked"<?php endif; ?> /> Use columns settings</label><br /><label><input type="checkbox" name="use_filter"<?php if ($_COOKIE['export_no_filter'] != 1): ?> checked="checked"<?php endif; ?> /> Use filter settings (list only)</label></td></tr>
        <tr class="space"><td></td></tr>


        <tr><td><?php echo smarty_function_insert_form(array('type' => 'submit','name' => 'button_export','value' => 'Export'), $this);?>
</td><tr>
      </table>
    </form>
