home *** CD-ROM | disk | FTP | other *** search
- <?php /* Smarty version 2.5.0, created on 2003-04-23 18:11:47
- compiled from todolist.tpl */ ?>
- <newpage />
-
- <text size="26" justification="centre"><C:rf:2Appendix D - Todo List>Appendix D - Todo List
- </text>
- <?php if (count((array)$this->_tpl_vars['todos'])):
- foreach ((array)$this->_tpl_vars['todos'] as $this->_tpl_vars['todopackage'] => $this->_tpl_vars['todo']):
- ?>
- <text size="16" justification="centre">In Package <?php echo $this->_tpl_vars['todopackage']; ?>
-
-
- </text>
- <?php if (isset($this->_sections['todo'])) unset($this->_sections['todo']);
- $this->_sections['todo']['name'] = 'todo';
- $this->_sections['todo']['loop'] = is_array($this->_tpl_vars['todo']) ? count($this->_tpl_vars['todo']) : max(0, (int)$this->_tpl_vars['todo']);
- $this->_sections['todo']['show'] = true;
- $this->_sections['todo']['max'] = $this->_sections['todo']['loop'];
- $this->_sections['todo']['step'] = 1;
- $this->_sections['todo']['start'] = $this->_sections['todo']['step'] > 0 ? 0 : $this->_sections['todo']['loop']-1;
- if ($this->_sections['todo']['show']) {
- $this->_sections['todo']['total'] = $this->_sections['todo']['loop'];
- if ($this->_sections['todo']['total'] == 0)
- $this->_sections['todo']['show'] = false;
- } else
- $this->_sections['todo']['total'] = 0;
- if ($this->_sections['todo']['show']):
-
- for ($this->_sections['todo']['index'] = $this->_sections['todo']['start'], $this->_sections['todo']['iteration'] = 1;
- $this->_sections['todo']['iteration'] <= $this->_sections['todo']['total'];
- $this->_sections['todo']['index'] += $this->_sections['todo']['step'], $this->_sections['todo']['iteration']++):
- $this->_sections['todo']['rownum'] = $this->_sections['todo']['iteration'];
- $this->_sections['todo']['index_prev'] = $this->_sections['todo']['index'] - $this->_sections['todo']['step'];
- $this->_sections['todo']['index_next'] = $this->_sections['todo']['index'] + $this->_sections['todo']['step'];
- $this->_sections['todo']['first'] = ($this->_sections['todo']['iteration'] == 1);
- $this->_sections['todo']['last'] = ($this->_sections['todo']['iteration'] == $this->_sections['todo']['total']);
- ?>
- <text size="12">In <b><?php echo $this->_tpl_vars['todo'][$this->_sections['todo']['index']]['link']; ?>
- </b>:
- </text>
- <text size="11"><ul><?php if (isset($this->_sections['t'])) unset($this->_sections['t']);
- $this->_sections['t']['name'] = 't';
- $this->_sections['t']['loop'] = is_array($this->_tpl_vars['todo'][$this->_sections['todo']['index']]['todos']) ? count($this->_tpl_vars['todo'][$this->_sections['todo']['index']]['todos']) : max(0, (int)$this->_tpl_vars['todo'][$this->_sections['todo']['index']]['todos']);
- $this->_sections['t']['show'] = true;
- $this->_sections['t']['max'] = $this->_sections['t']['loop'];
- $this->_sections['t']['step'] = 1;
- $this->_sections['t']['start'] = $this->_sections['t']['step'] > 0 ? 0 : $this->_sections['t']['loop']-1;
- if ($this->_sections['t']['show']) {
- $this->_sections['t']['total'] = $this->_sections['t']['loop'];
- if ($this->_sections['t']['total'] == 0)
- $this->_sections['t']['show'] = false;
- } else
- $this->_sections['t']['total'] = 0;
- if ($this->_sections['t']['show']):
-
- for ($this->_sections['t']['index'] = $this->_sections['t']['start'], $this->_sections['t']['iteration'] = 1;
- $this->_sections['t']['iteration'] <= $this->_sections['t']['total'];
- $this->_sections['t']['index'] += $this->_sections['t']['step'], $this->_sections['t']['iteration']++):
- $this->_sections['t']['rownum'] = $this->_sections['t']['iteration'];
- $this->_sections['t']['index_prev'] = $this->_sections['t']['index'] - $this->_sections['t']['step'];
- $this->_sections['t']['index_next'] = $this->_sections['t']['index'] + $this->_sections['t']['step'];
- $this->_sections['t']['first'] = ($this->_sections['t']['iteration'] == 1);
- $this->_sections['t']['last'] = ($this->_sections['t']['iteration'] == $this->_sections['t']['total']);
- ?>
- <li><?php echo $this->_tpl_vars['todo'][$this->_sections['todo']['index']]['todos'][$this->_sections['t']['index']]; ?>
- </li><?php endfor; endif; ?>
- </ul>
- </text>
- <?php endfor; endif; ?>
- <?php endforeach; endif; ?>