1<?php /* Smarty version 2.6.0, created on 2006-09-06 23:24:47
2         compiled from top_frame.tpl */ ?>
3<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('function', 'assign', 'top_frame.tpl', 21, false),)), $this); ?>
5<?php echo '<?xml'; ?>
6 version="1.0" encoding="iso-8859-1"<?php echo '?>'; ?>
7
8<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
9  <html xmlns="http://www.w3.org/1999/xhtml">
10		<head>
11			<!-- template designed by Marco Von Ballmoos -->
12			<title><?php echo $this->_tpl_vars['title']; ?>
13</title>
14			<link rel="stylesheet" href="<?php echo $this->_tpl_vars['subdir']; ?>
15media/stylesheet.css" />
16			<link rel="stylesheet" href="<?php echo $this->_tpl_vars['subdir']; ?>
17media/banner.css" />
18			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
19		</head>
20		<body>
21			<div class="banner">
22				<div class="banner-title"><?php echo $this->_tpl_vars['package']; ?>
23</div>
24				<div class="banner-menu">
25	        <table cellpadding="0" cellspacing="0" style="width: 100%">
26	          <tr>
27              <td>
28								<?php if (count ( $this->_tpl_vars['ric'] ) >= 1): ?>
29									<?php echo smarty_function_assign(array('var' => 'last_ric_name','value' => ""), $this);?>
30
31									<?php if (isset($this->_sections['ric'])) unset($this->_sections['ric']);
32$this->_sections['ric']['name'] = 'ric';
33$this->_sections['ric']['loop'] = is_array($_loop=$this->_tpl_vars['ric']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
34$this->_sections['ric']['show'] = true;
35$this->_sections['ric']['max'] = $this->_sections['ric']['loop'];
36$this->_sections['ric']['step'] = 1;
37$this->_sections['ric']['start'] = $this->_sections['ric']['step'] > 0 ? 0 : $this->_sections['ric']['loop']-1;
38if ($this->_sections['ric']['show']) {
39    $this->_sections['ric']['total'] = $this->_sections['ric']['loop'];
40    if ($this->_sections['ric']['total'] == 0)
41        $this->_sections['ric']['show'] = false;
42} else
43    $this->_sections['ric']['total'] = 0;
44if ($this->_sections['ric']['show']):
45
46            for ($this->_sections['ric']['index'] = $this->_sections['ric']['start'], $this->_sections['ric']['iteration'] = 1;
47                 $this->_sections['ric']['iteration'] <= $this->_sections['ric']['total'];
48                 $this->_sections['ric']['index'] += $this->_sections['ric']['step'], $this->_sections['ric']['iteration']++):
49$this->_sections['ric']['rownum'] = $this->_sections['ric']['iteration'];
50$this->_sections['ric']['index_prev'] = $this->_sections['ric']['index'] - $this->_sections['ric']['step'];
51$this->_sections['ric']['index_next'] = $this->_sections['ric']['index'] + $this->_sections['ric']['step'];
52$this->_sections['ric']['first']      = ($this->_sections['ric']['iteration'] == 1);
53$this->_sections['ric']['last']       = ($this->_sections['ric']['iteration'] == $this->_sections['ric']['total']);
54?>
55										<?php if ($this->_tpl_vars['last_ric_name'] != ""): ?> | <?php endif; ?>
56										<a href="<?php echo $this->_tpl_vars['ric'][$this->_sections['ric']['index']]['file']; ?>
57" target="right"><?php echo $this->_tpl_vars['ric'][$this->_sections['ric']['index']]['name']; ?>
58</a>
59										<?php echo smarty_function_assign(array('var' => 'last_ric_name','value' => $this->_tpl_vars['ric'][$this->_sections['ric']['index']]['name']), $this);?>
60
61									<?php endfor; endif; ?>
62								<?php endif; ?>
63              </td>
64              <td style="width: 2em">&nbsp;</td>
65              <td style="text-align: right">
66								<?php if (count ( $this->_tpl_vars['packages'] ) > 1): ?>
67									<?php echo smarty_function_assign(array('var' => 'last_package_name','value' => ""), $this);?>
68
69									<?php if (isset($this->_sections['p'])) unset($this->_sections['p']);
70$this->_sections['p']['name'] = 'p';
71$this->_sections['p']['loop'] = is_array($_loop=$this->_tpl_vars['packages']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
72$this->_sections['p']['show'] = true;
73$this->_sections['p']['max'] = $this->_sections['p']['loop'];
74$this->_sections['p']['step'] = 1;
75$this->_sections['p']['start'] = $this->_sections['p']['step'] > 0 ? 0 : $this->_sections['p']['loop']-1;
76if ($this->_sections['p']['show']) {
77    $this->_sections['p']['total'] = $this->_sections['p']['loop'];
78    if ($this->_sections['p']['total'] == 0)
79        $this->_sections['p']['show'] = false;
80} else
81    $this->_sections['p']['total'] = 0;
82if ($this->_sections['p']['show']):
83
84            for ($this->_sections['p']['index'] = $this->_sections['p']['start'], $this->_sections['p']['iteration'] = 1;
85                 $this->_sections['p']['iteration'] <= $this->_sections['p']['total'];
86                 $this->_sections['p']['index'] += $this->_sections['p']['step'], $this->_sections['p']['iteration']++):
87$this->_sections['p']['rownum'] = $this->_sections['p']['iteration'];
88$this->_sections['p']['index_prev'] = $this->_sections['p']['index'] - $this->_sections['p']['step'];
89$this->_sections['p']['index_next'] = $this->_sections['p']['index'] + $this->_sections['p']['step'];
90$this->_sections['p']['first']      = ($this->_sections['p']['iteration'] == 1);
91$this->_sections['p']['last']       = ($this->_sections['p']['iteration'] == $this->_sections['p']['total']);
92?>
93										<?php if ($this->_tpl_vars['last_package_name'] != ""): ?> | <?php endif; ?>
94										<a href="<?php echo $this->_tpl_vars['packages'][$this->_sections['p']['index']]['link']; ?>
95" target="left_bottom"><?php echo $this->_tpl_vars['packages'][$this->_sections['p']['index']]['title']; ?>
96</a>
97										<?php echo smarty_function_assign(array('var' => 'last_package_name','value' => $this->_tpl_vars['packages'][$this->_sections['p']['index']]['title']), $this);?>
98
99									<?php endfor; endif; ?>
100								<?php endif; ?>
101              </td>
102						</tr>
103          </table>
104				</div>
105			</div>
106		</body>
107	</html>