PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
include
/
client
<?php if(!defined('OSTCLIENTINC') || !$category || !$category->isPublic()) die('Access Denied'); ?> <div class="row"> <div class="span8"> <h1><?php echo $category->getFullName(); ?></h1> <p> <?php echo Format::safe_html($category->getLocalDescriptionWithImages()); ?> </p> <?php if (($subs=$category->getSubCategories(array('public' => true)))) { echo '<div>'; foreach ($subs as $c) { echo sprintf('<div><i class="icon-folder-open-alt"></i> <a href="faq.php?cid=%d">%s (%d)</a></div>', $c->getId(), $c->getLocalName(), $c->getNumFAQs() ); } echo '</div>'; } ?> <hr> <?php $faqs = FAQ::objects() ->filter(array('category'=>$category)) ->exclude(array('ispublished'=>FAQ::VISIBILITY_PRIVATE)) ->annotate(array('has_attachments' => SqlAggregate::COUNT(SqlCase::N() ->when(array('attachments__inline'=>0), 1) ->otherwise(null) ))) ->order_by('-ispublished', 'question'); if ($faqs->exists(true)) { echo ' <h2>'.__('Frequently Asked Questions').'</h2> <div id="faq"> <ol>'; foreach ($faqs as $F) { $attachments=$F->has_attachments?'<span class="Icon file"></span>':''; echo sprintf(' <li><!--osta--><i class="icon-file-alt"></i><a href="faq.php?id=%d" >%s %s</a></li>', $F->getId(),Format::htmlchars($F->question), $attachments); } echo ' </ol> </div>'; } elseif (!$category->children) { echo '<strong>'.__('This category does not have any FAQs.').' <a href="index.php">'.__('Back To Index').'</a></strong>'; } ?> </div> <div class="span4"> <?php //osta start - replaced fragmented sidebar with unified sidebar include ROOT_DIR . 'osta/templates/sidebar-unified.inc.php'; //osta end ?> </div> </div>
[+]
..
[-] login.inc.php
[edit]
[-] accesslink.inc.php
[edit]
[-] staff.inc.php
[edit]
[-] register.confirmed.inc.php
[edit]
[-] faq.inc.php
[edit]
[-] login.tpl.php
[edit]
[-] pwreset.request.php
[edit]
[-] register.inc.php
[edit]
[-] open.inc.php
[edit]
[-] header.inc.php
[edit]
[-] register.confirm.inc.php
[edit]
[-] kb-categories.inc.php
[edit]
[-] faq-category.inc.php
[edit]
[-] kb-search.inc.php
[edit]
[-] pwreset.sent.php
[edit]
[-] profile.inc.php
[edit]
[-] view.inc.php
[edit]
[-] pwreset.login.php
[edit]
[-] knowledgebase.inc.php
[edit]
[+]
templates
[-] tickets.inc.php
[edit]
[-] footer.inc.php
[edit]
[-] edit.inc.php
[edit]
[-] .htaccess.disabled
[edit]