PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
include
/
staff
<?php if(!defined('OSTSTAFFINC') || !$faq || !$thisstaff) die('Access Denied'); $category=$faq->getCategory(); ?><div class="has_bottom_border" style="padding-top:5px;"> <div class="pull-left"><h2><?php echo __('Frequently Asked Questions');?></h2></div> <div class="pull-right flush-right"> <?php $query = array(); parse_str($_SERVER['QUERY_STRING'], $query); $query['a'] = 'print'; $query['id'] = $faq->getId(); $query = http_build_query($query); ?> <a href="faq.php?<?php echo $query; ?>" class="no-pjax action-button"> <i class="icon-print"></i> <?php echo __('Print'); ?> </a> <?php if ($thisstaff->hasPerm(FAQ::PERM_MANAGE)) { ?> <a href="faq.php?id=<?php echo $faq->getId(); ?>&a=edit" class="action-button"> <i class="icon-edit"></i> <?php echo __('Edit FAQ'); ?> </a> <?php } ?> </div><div class="clear"></div> </div> <div id="breadcrumbs"> <a href="kb.php"><?php echo __('All Categories');?></a> » <a href="kb.php?cid=<?php echo $category->getId(); ?>"><?php echo $category->getFullName(); ?></a> <span class="faded">(<?php echo $category->isPublic()?__('Public'):__('Internal'); ?>)</span> </div> <div class="pull-right sidebar faq-meta"> <?php if ($attachments = $faq->getLocalAttachments()->all()) { ?> <section> <header><?php echo __('Attachments');?>:</header> <?php foreach ($attachments as $att) { ?> <div> <i class="icon-paperclip pull-left"></i> <a target="_blank" href="<?php echo $att->file->getDownloadUrl(['id' => $att->getId()]); ?>" class="attachment no-pjax"> <?php echo Format::htmlchars($att->getFilename()); ?> </a> </div> <?php } ?> </section> <?php } ?> <?php if ($faq->getHelpTopics()->count()) { ?> <section> <header><?php echo __('Help Topics'); ?></header> <?php foreach ($faq->getHelpTopics() as $T) { ?> <div><?php echo $T->topic->getFullName(); ?></div> <?php } ?> </section> <?php } ?> <?php $displayLang = $faq->getDisplayLang(); $otherLangs = array(); if ($cfg->getPrimaryLanguage() != $displayLang) $otherLangs[] = $cfg->getPrimaryLanguage(); foreach ($faq->getAllTranslations() as $T) { if ($T->lang != $displayLang) $otherLangs[] = $T->lang; } if ($otherLangs) { ?> <section> <div><strong><?php echo __('Other Languages'); ?></strong></div> <?php foreach ($otherLangs as $lang) { ?> <div><a href="faq.php?kblang=<?php echo $lang; ?>&id=<?php echo $faq->getId(); ?>"> <?php echo Internationalization::getLanguageDescription($lang); ?> </a></div> <?php } ?> </section> <?php } ?> <section> <div> <strong><?php echo $faq->isPublished()?__('Published'):__('Internal'); ?></strong> </div> <a data-dialog="ajax.php/kb/faq/<?php echo $faq->getId(); ?>/access" href="#"><?php echo __('Manage Access'); ?></a> </section> </div> <div class="faq-content"> <div class="faq-title flush-left"><?php echo $faq->getLocalQuestion() ?> </div> <div class="faded"><?php echo __('Last Updated');?> <?php echo Format::relativeTime(Misc::db2gmtime($faq->getUpdateDate())); ?> </div> <br/> <div class="thread-body bleed"> <?php echo $faq->getLocalAnswerWithImages(); ?> </div> </div> <div class="clear"></div> <hr> <?php if ($thisstaff->hasPerm(FAQ::PERM_MANAGE)) { ?> <form action="faq.php?id=<?php echo $faq->getId(); ?>" method="post"> <?php csrf_token(); ?> <input type="hidden" name="do" value="manage-faq"> <input type="hidden" name="id" value="<?php echo $faq->getId(); ?>"> <button name="a" class="red button" value="delete"><?php echo __('Delete FAQ'); ?></button> </form> <?php } ?>
[+]
..
[-] faq-categories.inc.php
[edit]
[-] settings-autoresp.inc.php
[edit]
[-] login.header.php
[edit]
[-] ticket-tasks.inc.php
[edit]
[-] task-view.inc.php
[edit]
[-] staff.inc.php
[edit]
[-] index.php
[edit]
[-] dynamic-list.inc.php
[edit]
[-] settings-tickets.inc.php
[edit]
[-] page.inc.php
[edit]
[-] emails.inc.php
[edit]
[-] dynamic-forms.inc.php
[edit]
[-] cannedresponses.inc.php
[edit]
[-] settings-system.inc.php
[edit]
[-] categories.inc.php
[edit]
[-] faq.inc.php
[edit]
[-] user-view.inc.php
[edit]
[-] plugin-instance.inc.php
[edit]
[-] plugin-add.inc.php
[edit]
[-] login.tpl.php
[edit]
[-] department.inc.php
[edit]
[-] syslogs.inc.php
[edit]
[-] template.inc.php
[edit]
[-] category.inc.php
[edit]
[-] ticket-relations.inc.php
[edit]
[-] header.inc.php
[edit]
[-] schedule.inc.php
[edit]
[-] faq-view.inc.php
[edit]
[-] settings-alerts.inc.php
[edit]
[-] settings-users.inc.php
[edit]
[-] pages.inc.php
[edit]
[-] slaplans.inc.php
[edit]
[-] team.inc.php
[edit]
[-] helptopics.inc.php
[edit]
[-] role.inc.php
[edit]
[-] settings-pages.inc.php
[edit]
[-] users.inc.php
[edit]
[-] faq-category.inc.php
[edit]
[-] orgs.inc.php
[edit]
[-] pwreset.sent.php
[edit]
[-] settings-agents.inc.php
[edit]
[-] settings-emails.inc.php
[edit]
[+]
osta
[-] templates.inc.php
[edit]
[-] theme.inc.php
[edit]
[-] helptopic.inc.php
[edit]
[-] profile.inc.php
[edit]
[-] email.inc.php
[edit]
[-] ticket-open.inc.php
[edit]
[-] roles.inc.php
[edit]
[-] ticket-view.inc.php
[edit]
[-] schedules.inc.php
[edit]
[-] departments.inc.php
[edit]
[-] pwreset.login.php
[edit]
[-] filter.inc.php
[edit]
[-] queues-ticket.inc.php
[edit]
[-] plugin.inc.php
[edit]
[-] slaplan.inc.php
[edit]
[-] filters.inc.php
[edit]
[-] dashboard.inc.php
[edit]
[-] pwreset.php
[edit]
[-] tpl.inc.php
[edit]
[-] cannedresponse.inc.php
[edit]
[-] dynamic-form.inc.php
[edit]
[-] teams.inc.php
[edit]
[-] dynamic-lists.inc.php
[edit]
[-] tasks.inc.php
[edit]
[-] banrule.inc.php
[edit]
[-] ticket-edit.inc.php
[edit]
[-] settings-kb.inc.php
[edit]
[-] plugins.inc.php
[edit]
[-] directory.inc.php
[edit]
[-] apikeys.inc.php
[edit]
[-] org-view.inc.php
[edit]
[-] system.inc.php
[edit]
[+]
templates
[-] staffmembers.inc.php
[edit]
[-] banlist.inc.php
[edit]
[-] footer.inc.php
[edit]
[-] settings-tasks.inc.php
[edit]
[-] apikey.inc.php
[edit]
[-] queue.inc.php
[edit]
[-] .htaccess.disabled
[edit]