<?php
/**
 * MyLinks module
 *
 * You may not change or alter any portion of this comment or credits
 * of supporting developers from this source code or any supporting source code
 * which is considered copyrighted (c) material of the original comment or credit authors.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * @copyright::  The XOOPS Project http://sourceforge.net/projects/xoops/
 * @license::    http://www.fsf.org/copyleft/gpl.html GNU public license
 * @package::    mylinks
 * @subpackage:: admin
 * @since::		 2.5.0
 * @author::     Magic.Shao <magic.shao@gmail.com> - Susheng Yang <ezskyyoung@gmail.com>
 * @version::    $Id $
**/



require_once dirname(__DIR__, 3) . '/include/cp_header.php';
include_once dirname(__DIR__, 3) . '/modules/neillibrary/function.php';        //引入自訂的共同函數檔
	
	
defined ('FRAMEWORKS_ART_FUNCTIONS_INI') || include_once XOOPS_ROOT_PATH . '/Frameworks/art/functions.ini.php' ;
include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar("dirname") . "/class/admin.php";

load_functions('admin') ;

if ( !@include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar("dirname") . "/language/" . $xoopsConfig['language'] . "/main.php") {
    include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar("dirname") . "/language/english/main.php" ;
}
if (!isset($xoopsTpl) || !is_object($xoopsTpl)) {
    include_once XOOPS_ROOT_PATH . '/class/template.php' ;
    $xoopsTpl = new XoopsTpl() ;
}

xoops_cp_header();

$xoTheme->addStylesheet( XOOPS_URL . "/modules/neillibrary/css/bootstrap3/css/bootstrap.css" );


$xoopsTpl->assign('xoops_module_header', "	
    ".neillibrary_bootstrap3blockscss($typevar="1")."		
	<script>var xoopsjsurl='".XOOPS_URL."';var moduleid='".$moduleid."';</script>	
    <script src='" . XOOPS_URL . "/modules/neillibrary/js/dist/sweetalert.min.js'></script>	
	<script src='" . XOOPS_URL . "/modules/neillibrary/js/customize.js'></script>
	<script src='" . XOOPS_URL . "/modules/neillibrary/js/basictable/dist/js/jquery.basictable.min.js'></script>				
	<link rel='stylesheet' type='text/css' media='screen' href='" . XOOPS_URL . "/modules/neillibrary/css/admin.css'>
    <link rel='stylesheet' type='text/css' media='screen' href='" . XOOPS_URL . "/modules/neillibrary/js/dist/sweetalert.css'>	
    <link rel='stylesheet' type='text/css' media='screen' href='" . XOOPS_URL . "/modules/neillibrary/js/basictable/dist/css/basictable.min.css'>	    	
 ");


?>