Example #1
0
							<li><a tabindex="-1" href="?p=logout" title="<?php 
echo mswSpecialChars($msg_adheader10);
?>
"><?php 
echo $msg_adheader10;
?>
</a></li>
                        </ul>
                    </li>

                </ul>

				<?php 
// Display version check option..
// Disable for beta versions..
if (mswCheckBetaVersion() == 'yes') {
    ?>
                <a class="brand" href="index.php" title="<?php 
    echo mswSpecialChars($msg_script . " - " . $msg_adheader);
    ?>
"><img src="http://localhost/maian_support/helpdesk/admin/templates/images/ost-logo.png" width="232" height="66"><span class="first">qweqwe<?php 
    echo mswCleanData($msg_script . " - " . $msg_adheader);
    ?>
&nbsp;&nbsp;&nbsp;(v<?php 
    echo $SETTINGS->softwareVersion;
    ?>
 - Beta <?php 
    echo mswGetBetaVersion();
    ?>
)</span></a>
				<?php 
Example #2
0
?>
<!DOCTYPE html>
<html lang="<?php 
echo isset($html_lang) ? $html_lang : 'en';
?>
" dir="<?php 
echo $lang_dir;
?>
">
  <head>
    <meta charset="<?php 
echo $msg_charset;
?>
">
    <title><?php 
echo ($title ? mswSpecialChars($title) . ': ' : '') . $msg_script . ' - ' . mswCleanData($msg_adheader) . (LICENCE_VER != 'unlocked' ? ' (Free Version)' : '') . (mswCheckBetaVersion() == 'yes' ? ' - BETA VERSION' : '');
?>
</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

	<!-- Global CSS -->
    <link rel="stylesheet" href="templates/css/bootstrap.css" type="text/css">
	<link rel="stylesheet" href="templates/css/bootstrap-responsive.css" type="text/css">
    <link rel="stylesheet" href="templates/css/theme.css" type="text/css">
    <link rel="stylesheet" href="templates/css/font-awesome.css">
	<script src="templates/js/jquery.js" type="text/javascript"></script>
	<link rel="stylesheet" href="templates/css/ms.css" type="text/css">
	<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="templates/js/html5.js"></script>
Example #3
0
  Script: Maian Support
  Written by: David Ian Bennett
  E-Mail: support@maianscriptworld.co.uk
  Software Website: http://www.maiansupport.com
  Script Portal: http://www.maianscriptworld.co.uk

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  This File: header.php
  Description: Header Parsing File

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
if (!defined('PARENT') || !defined('MS_PERMISSIONS')) {
    $HEADERS->err404();
}
$tpl = new Savant3();
$tpl->assign('CHARSET', $msg_charset);
$tpl->assign('LANG', $html_lang);
$tpl->assign('DIR', $lang_dir);
$tpl->assign('TITLE', ($title ? mswSpecialChars($title) . ': ' : '') . str_replace('{website}', mswSpecialChars($SETTINGS->website), $msg_header) . (LICENCE_VER != 'unlocked' ? ' (' . $msg_script18 . ' ' . $msg_script . ')' : '') . (LICENCE_VER != 'unlocked' ? ' - Free Version' : '') . (mswCheckBetaVersion() == 'yes' ? ' - BETA VERSION' : ''));
$tpl->assign('TOP_BAR_TITLE', str_replace('{website}', mswSpecialChars($SETTINGS->website), $msg_header));
$tpl->assign('SCRIPTPATH', $SETTINGS->scriptpath);
$tpl->assign('LOGGED_IN', MS_PERMISSIONS != 'guest' ? 'yes' : 'no');
$tpl->assign('TXT', array($msg_header8, $msg_main2, $msg_header3, $msg_header11, $msg_header12, $msg_header2, MS_PERMISSIONS != 'guest' && isset($LI_ACC->name) ? str_replace('{name}', mswSpecialChars($LI_ACC->name), $msg_header6) : '', $msg_header13, $msg_header14, $msg_header15, $msg_header16, $msg_header4));
$tpl->assign('JS_CSS_BLOCK', $MSYS->jsCSSBlockLoader($ms_js_css_loader, $SETTINGS->scriptpath));
$tpl->assign('FAQ_LINKS', $SETTINGS->kbase == 'yes' ? $FAQ->menu() : '');
// Global vars..
include PATH . 'control/lib/global.php';
// Load template..
$tpl->display('content/' . MS_TEMPLATE_SET . '/header.tpl.php');
Example #4
0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  This File: main.php
  Description: System File

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
if (!defined('PARENT') || !defined('MS_PERMISSIONS')) {
    $HEADERS->err403();
}
// Show BBCode help..
if (isset($_GET['bbcode'])) {
    $tpl = new Savant3();
    $tpl->assign('CHARSET', $msg_charset);
    $tpl->assign('LANG', $html_lang);
    $tpl->assign('DIR', $lang_dir);
    $tpl->assign('TITLE', ($title ? mswSpecialChars($title) . ': ' : '') . $msg_bbcode . ': ' . str_replace('{website}', mswCleanData($SETTINGS->website), $msg_header) . (mswCheckBetaVersion() == 'yes' ? ' - BETA VERSION' : ''));
    $tpl->assign('TOP_BAR_TITLE', str_replace('{website}', mswCleanData($SETTINGS->website), $msg_header));
    // Global vars..
    include PATH . 'control/lib/global.php';
    // Load template..
    $tpl->display('content/' . MS_TEMPLATE_SET . '/bb-code-help.tpl.php');
} else {
    include PATH . 'control/header.php';
    $tpl = new Savant3();
    $tpl->assign('TXT', array($msg_public_main, str_replace('{name}', mswCleanData($SETTINGS->website), $msg_public_main2), str_replace('{count}', $SETTINGS->popquestions, $msg_main10), str_replace('{count}', $SETTINGS->popquestions, $msg_public_main3)));
    $tpl->assign('POPULAR', $SETTINGS->kbase == 'yes' ? $FAQ->questions(0, 0, $SETTINGS, array(), '`' . DB_PREFIX . 'faq`.`kviews` DESC', 'GROUP BY `' . DB_PREFIX . 'faqassign`.`question`') : '');
    $tpl->assign('LATEST', $SETTINGS->kbase == 'yes' ? $FAQ->questions(0, 0, $SETTINGS, array(), '`' . DB_PREFIX . 'faq`.`ts` DESC', 'GROUP BY `' . DB_PREFIX . 'faqassign`.`question`') : '');
    // Global vars..
    include PATH . 'control/lib/global.php';
    // Load template..
    $tpl->display('content/' . MS_TEMPLATE_SET . '/main.tpl.php');