<?php /** * Copyright: dtbaker 2012 * Licence: Please check CodeCanyon.net for licence details. * More licence clarification available here: http://codecanyon.net/wiki/support/legal-terms/licensing-terms/ * Deploy: 9809 f200f46c2a19bb98d112f2d32a8de0c4 * Envato: 4ffca17e-861e-4921-86c3-8931978c40ca * Package Date: 2015-11-25 02:55:20 * IP Address: 67.79.165.254 */ $search = isset($_REQUEST['search']) ? $_REQUEST['search'] : array(); if (isset($_REQUEST['faq_product_id']) && $_REQUEST['faq_product_id'] && !isset($search['faq_product_id'])) { $search['faq_product_id'] = $_REQUEST['faq_product_id']; } $faqs = module_faq::get_faqs($search); $show_search = isset($_REQUEST['show_search']) ? $_REQUEST['show_search'] : true; $show_header = isset($_REQUEST['show_header']) ? $_REQUEST['show_header'] : true; $show_product = isset($_REQUEST['show_product']) ? $_REQUEST['show_product'] : true; ?> <?php if ($show_search) { ?> <form action="" method="<?php echo _DEFAULT_FORM_METHOD; ?> "> <input type="hidden" name="customer_id" value="<?php
<?php /** * Copyright: dtbaker 2012 * Licence: Please check CodeCanyon.net for licence details. * More licence clarification available here: http://codecanyon.net/wiki/support/legal-terms/licensing-terms/ * Deploy: 9809 f200f46c2a19bb98d112f2d32a8de0c4 * Envato: 4ffca17e-861e-4921-86c3-8931978c40ca * Package Date: 2015-11-25 02:55:20 * IP Address: 67.79.165.254 */ if (!module_config::can_i('view', 'Settings') || !module_faq::can_i('edit', 'FAQ')) { redirect_browser(_BASE_HREF); } $faqs = module_faq::get_faqs(); if (isset($_REQUEST['faq_id']) && $_REQUEST['faq_id']) { $show_other_settings = false; $faq_id = (int) $_REQUEST['faq_id']; if ($faq_id > 0) { $faq = module_faq::get_faq($faq_id); } else { $faq = array(); } if (!$faq) { $faq = array('question' => '', 'answer' => '', 'faq_product_ids' => array()); } ?> <form action="" method="post"> <input type="hidden" name="_process" value="save_faq">