示例#1
0
 * @version     $Rev: 1.2.4 $
 *
 */
define('ROOT_DIR', dirname(__FILE__));
include_once ROOT_DIR . '/function/config.php';
include_once ROOT_DIR . '/nosql/' . $language . '.php';
include_once ROOT_DIR . '/nosql/config_' . SERVER . '.php';
if (MYSQL == 'on' && MYSQL_ERROR != 'on') {
    include_once ROOT_DIR . '/function/mysql.php';
}
include_once ROOT_DIR . '/function/get.php';
include_once ROOT_DIR . '/function/html_dom.php';
include_once ROOT_DIR . '/function/func.php';
$battel = array();
if (is_valid_url($config['td']) == true) {
    $battel = get_clan_attack($config, CLAN);
}
include_once ROOT_DIR . '/header.php';
?>

<div align="center">
    <table id="stat6" class="tablesorter" cellspacing="1" style="width: 70%;"> 
        <thead> 
            <tr>
                <th width="40"><?php 
echo $lang['type'];
?>
</th>
                <th><?php 
echo $lang['time'];
?>
示例#2
0
include_once ROOT_DIR . '/function/func.php';
include_once ROOT_DIR . '/function/func_main.php';
include_once ROOT_DIR . '/function/func_get.php';
include_once ROOT_DIR . '/function/func_gk.php';
// Including main config files
include_once ROOT_DIR . '/function/config.php';
include_once ROOT_DIR . '/config/config_' . $config['server'] . '.php';
//Loding language pack
foreach (scandir(ROOT_DIR . '/translate/') as $files) {
    if (preg_match("/_" . $config['lang'] . ".php/", $files)) {
        include_once ROOT_DIR . '/translate/' . $files;
    }
}
$battel = array();
if (is_valid_url($config['td']) == true) {
    $battel = get_clan_attack($config, $config['clan']);
}
//include_once(ROOT_DIR.'/views/header.php');
?>
<script type="text/javascript" id="js">
   $(document).ready(function()
   {
       $("#attack").tablesorter({sortList:[[1,0]]});
   });
</script>
<div align="center">
    <table id="attack" cellspacing="1" cellpadding="2" width="100%">
        <thead>
            <tr>
                <th width="40"><?php 
echo $lang['type'];