/
help.php
76 lines (34 loc) · 1.52 KB
/
help.php
1
<?php/******************************************************************************* * copyright : (C) 2014 - 2018 Pro-Auction-Script * site : https://www.pro-auction-script.com * Script License : https://www.pro-auction-script.com/contents.php?show=free_license *******************************************************************************/include 'common.php';$jsfiles = 'js/jquery.js;';$template->assign_vars(array( 'DOCDIR' => $DOCDIR, // Set document direction (set in includes/messages.XX.inc.php) ltr/rtl 'PAGE_TITLE' => $system->SETTINGS['sitename'] . ' ' . $MSG['5236'], 'CHARSET' => $CHARSET, 'LOGO' => ($system->SETTINGS['logo']) ? '<a href="' . $system->SETTINGS['siteurl'] . 'home"><img src="' . $system->SETTINGS['siteurl'] . UPLOAD_FOLDER . 'logos/' . $system->SETTINGS['logo'] . '" border="0" alt="' . $system->SETTINGS['sitename'] . '"></a>' : ' ', 'SITEURL' => $system->SETTINGS['siteurl'], 'THEME' => $system->SETTINGS['theme'], 'JSFILES' => 'js/jquery.js;' ));// Retrieve FAQs categories from the database$query = "SELECT * FROM " . $DBPrefix . "faqscat_translated WHERE lang = :languages ORDER BY category ASC";$params = array( array(':languages', $language, 'str'));$db->query($query, $params);while ($cat = $db->result()){ $template->assign_block_vars('cats', array( 'CAT' => stripslashes($cat['category']), 'ID' => $cat['id'] ));}$template->set_filenames(array( 'body' => 'help.tpl' ));$template->display('body');