| 7 | | echo '<div style="border:1px dotted gray;padding:4px;margin-bottom:15px">'; |
| 8 | | echo $html->para(null, $v['question']); |
| 9 | | echo $html->para(null, $v['answer']); |
| 10 | | echo $html->para(null,$html->link($html->image('static/arrow_top.gif', array("alt"=>"Go top", "title"=>"Go top")), '#main', null, null, false)); |
| | 7 | echo $html->link($v['question'], '#qa'.$v['id']) . '<br />'; |
| | 8 | endforeach; |
| | 9 | |
| | 10 | foreach ($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)); |