root/trunk/app/views/catfaqs/view.ctp

Revision 646, 0.7 kB (checked in by aarkerio, 4 months ago)

New RSS feeder

Line 
1<?php
2//die(debug($data));
3
4echo $html->div(null, $data['Catfaq']['title'] .' FAQ', array('style'=>'font-size:18pt;padding:5px;margin:15px auto;boder:1px solid #c0c0c0'));
5
6foreach ($data["Faq"] as $v):
7  echo $html->link($v['question'], '#qa'.$v['id']) . '<br />';
8endforeach;
9
10foreach ($data["Faq"] as $v):
11  echo '<div style="border:1px dotted gray;padding:4px;margin:15px 5px 3px 3px;color:#000" id="qa'.$v['id'].'">';
12    echo $html->div(null, $v['question'], array('style'=>'font-weight:bold;'));
13    echo $html->div(null, $v['answer']);
14    echo $html->para(null,$html->link($html->image('static/arrow_top.gif', array('alt'=>'Go top', 'title'=>'Go top')), '#main', null, null, false));
15    echo '</div>';
16endforeach;
17?>
Note: See TracBrowser for help on using the browser.