<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
// +----------------------------------------------------------------------+
// | PHP version 4/5                                                        |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2007 ARMIA INC                                    |
// +----------------------------------------------------------------------+
// | This source file is a part of supportpro supportdesk                 |
// +----------------------------------------------------------------------+
// | Authors: jimmy<jimmy.jos@armia.com>        		                  |
// |          									                          |
// +----------------------------------------------------------------------+
require_once("./includes/applicationheader.php");
include "languages/".$_SP_language."/knowledgebase.php";
$conn = getConnection();
$page = 'userhome';         

?>
<?php
include("./includes/docheader.php");
include("./includes/functions/functions.php");
?>
<title><?php echo KB_CATEGORIES ?></title>
<?php include("./includes/headsettings.php"); ?>
<script type="text/javascript" src="<?php echo SITE_URL; ?>scripts/jquery.js"></script>
<script language="javascript" src="<?php echo SITE_URL; ?>scripts/kb.js"></script>
<script language="javascript">
    function searchKb(){
        var base_url = '<?php echo SITE_URL; ?>';
        var txtSearch = $("#txtKbTitleSearch").val();
        window.location =base_url+'kb/search?q='+urlencode(txtSearch);
        return true;
    }
</script>
</head>

<body>
    <!--  Top Part  -->
    <?php
    include("./includes/top.php");
    ?>
    <!--  Top Ends  -->
    <!-- header  -->
    <?php
    include("./includes/header.php");
    ?>
    <!-- end header -->


    <div class="content_column_small">
        <!-- sidelinks -->
        <?php
        include("./includes/userside.php");
        ?>
        <!-- End of side links -->
    </div>
    <div class="content_column_big">
        <?php
        include("./includes/categories.php");
        ?>
    </div>



    <!-- Main footer -->
    <?php
    include("./includes/mainfooter.php");
    ?>
    <!-- End Main footer -->
</body>
</html>