game/_incl_data/class/__seasons.php

35 lines
1.0 KiB
PHP
Raw Normal View History

2022-06-06 21:30:34 +00:00
<?php
if(!defined('GAME')) {
die();
}
class season {
public static $yy = array(
1 => array( 1 , '01' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
2 => array( 2 , '02' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
3 => array( 3 , '03' , '<27><><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
4 => array( 4 , '04' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
5 => array( 5 , '05' , '<27><><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
6 => array( 6 , '06' , '<27><><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
7 => array( 7 , '07' , '<27><><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
8 => array( 8 , '08' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
9 => array( 9 , '09' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
10 => array( 10 , '10' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
11 => array( 11 , '11' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
12 => array( 12 , '12' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ),
);
public static $date = array( ), $m = array( );
public static function data( $val ) {
self::$m = mysql_fetch_array(mysql_query('SELECT * FROM `sss_m` WHERE `id` = "'.mysql_real_escape_string((int)$val).'" LIMIT 1'));
if( self::$m['s'] != self::$date['m'] ) {
self::$m = array( );
}
}
}
?>