| 6 | | ?> |
| 7 | | <script type="text/javascript"> |
| 8 | | window.onload = timedMsg; |
| 9 | | </script> |
| 10 | | <?php |
| 11 | | $session->flash(); |
| 12 | | echo $html->addCrumb('Control Tools', '/admin/entries/start'); |
| 13 | | echo $html->addCrumb('FAQs', '/admin/catfaqs/listing'); |
| 14 | | echo $html->getCrumbs(' / '); |
| 15 | | ?> |
| 16 | | <div class="title_section">Questions & answers</div> |
| 17 | | <p> |
| 18 | | <?php |
| 19 | | echo '<div id="loading" style="display: none;">'; |
| 20 | | echo $html->image("static/loading.gif", array("alt"=>"Loading")); |
| 21 | | echo '</div>'; |
| | 6 | |
| | 7 | echo $html->addCrumb('Control Panel', '/admin/entries/start'); |
| | 8 | echo $html->addCrumb('FAQs', '/admin/catfaqs/listing'); |
| | 9 | echo $html->getCrumbs(' / '); |
| | 10 | |
| | 11 | echo $html->div('title_section', __('Questions & answers', true)); |
| | 12 | |
| | 13 | echo $html->div(null, $html->image("static/loading.gif", array('alt'=>'Loading')), array('id'=>'loading', 'style'=>'display:none')); |
| 27 | | echo $ajax->div('updater'); |
| 28 | | echo $ajax->divEnd('updater'); |
| 29 | | ?></p> |
| 30 | | <?php |
| 31 | | foreach ($data as $val) |
| 32 | | { |
| 33 | | echo '<div style="padding:6px 3px 28px 4px;margin:10px 0 5px 0;border:1px dotted gray;">'; |
| 34 | | echo '<div class="butonright">'. $gags->sendEdit($val['Faq']['id'], 'faqs') . '</div>'; |
| | 19 | echo $ajax->div('updater') . $ajax->divEnd('updater'); |
| | 20 | |
| | 21 | foreach ($data as $val): |
| | 22 | echo '<div style="padding:28px 6px 29px 5px;margin:10px 0 5px 0;border:1px dotted gray;">'; |
| | 23 | echo $html->div('butonright', $gags->sendEdit($val['Faq']['id'], 'faqs')); |