Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/header.php on line 41
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/header.php on line 53
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/header.php on line 60
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 24
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 25
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 25
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 25
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 25
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 26
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 27
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 28
Strict Standards: Non-static method FirePHP::getInstance() should not be called statically in /home/punlao/public_html/include/class_firephp.php on line 149
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/libs/session.php on line 38
Deprecated: Assigning the return value of new by reference is deprecated in /home/punlao/public_html/include/cake/libs/security.php on line 53
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 31
Deprecated: Assigning the return value of new by reference is deprecated in /home/punlao/public_html/include/cake/compat.php on line 72
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 33
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 33
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 36
Strict Standards: Non-static method Configure::write() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 36
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 37
Strict Standards: Non-static method Configure::write() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 37
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 38
Strict Standards: Non-static method Configure::write() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 38
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 39
Strict Standards: Non-static method Configure::write() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 39
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 40
Strict Standards: Non-static method Configure::write() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 40
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 41
Strict Standards: Non-static method Configure::write() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 41
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 42
Strict Standards: Non-static method Configure::write() should not be called statically in /home/punlao/public_html/include/cake/config.php on line 42
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/punlao/public_html/include/cake/libs/configure.php on line 271
// THIS CLASS CONTAINS DATE/TIME-RELATED METHODS.
// IT IS USED TO FORMAT TIMESTAMPS
// METHODS IN THIS CLASS:
// cdate()
// untimezone()
// timezone()
// time_since()
// age()
class se_datetime {
// INITIALIZE VARIABLES
var $is_error; // DETERMINES WHETHER THERE IS AN ERROR OR NOT
// THIS METHOD SETS INITIAL VARS SUCH AS PRELOADING LANG VARS
// INPUT:
// OUTPUT:
function se_datetime() {
SE_Language::_preload_multi(773, 774, 775, 776, 777, 778, 779);
} // END se_datetime() METHOD
// THIS METHOD RETURNS A FORMATTED DATE (MULTILANGUAGE)
// INPUT: $format REPRESENTING A DATE FORMAT BASED ON THE PHP DATE() FUNCTION FORMAT
// $time (OPTIONAL) REPRESENTING A TIMESTAMP
// OUTPUT: A STRING REPRESENTING A FORMATTED DATE BASED ON THE GIVEN TIMESTAMP
function cdate($format, $time = "") {
global $multi_language;
if($time == "") { $time = time(); }
if(!$multi_language) {
return date($format, $time);
} else {
$date_letters = Array("a", "A", "B", "c", "D", "d", "F", "m", "M", "I", "i", "g", "h", "H", "G", "j", "l", "L", "n", "O", "r", "S", "s", "t", "U", "W", "w", "Y", "y", "z", "Z", "T");
$strftime_letters = Array("%p", "%p", "", "", "%a", "%d", "%B", "%m", "%b", "", "%M", "%I", "%I", "%H", "%H", "%e", "%A", "", "%m", "", "", "", "%S", "", "", "%V", "%w", "%Y", "%y", "%j", "", "%Z");
$new_format = str_replace($date_letters, $strftime_letters, $format);
return strftime($new_format, $time);
}
} // END cdate() METHOD
// THIS METHOD RETURNS A TIMESTAMP IN THE SERVER TIMEZONE
// INPUT: $time REPRESENTING A TIMESTAMP IN USER'S TIME
// $timezone REPRESENTING A TIMEZONE
// OUTPUT: A TIMESTAMP IN THE SERVER TIMEZONE
function untimezone($time, $timezone) {
switch($timezone) {
case -12: $new_time = $time + 43200; break;
case -11: $new_time = $time + 39600; break;
case -10: $new_time = $time + 33000; break;
case -9: $new_time = $time + 32400; break;
case -8: $new_time = $time + 28800; break;
case -7: $new_time = $time + 25200; break;
case -6: $new_time = $time + 21600; break;
case -5: $new_time = $time + 18000; break;
case -4: $new_time = $time + 14400; break;
case -3.3: $new_time = $time + 11880; break;
case -3: $new_time = $time + 10800; break;
case -2: $new_time = $time + 7200; break;
case -1: $new_time = $time + 3600; break;
case 0: $new_time = $time; break;
case 1: $new_time = $time - 3600; break;
case 2: $new_time = $time - 7200; break;
case 3: $new_time = $time - 10800; break;
case 3.3: $new_time = $time - 11880; break;
case 4: $new_time = $time - 14400; break;
case 4.3: $new_time = $time - 15480; break;
case 5: $new_time = $time - 18000; break;
case 5.5: $new_time = $time - 19800; break;
case 6: $new_time = $time - 21600; break;
case 7: $new_time = $time - 25200; break;
case 8: $new_time = $time - 28800; break;
case 9: $new_time = $time - 32400; break;
case 9.3: $new_time = $time - 33480; break;
case 10: $new_time = $time - 33000; break;
case 11: $new_time = $time - 39600; break;
case 12: $new_time = $time - 43200; break;
}
$new_time = $new_time+(date("Z")-(date("I")*3600));
return $new_time;
} // END untimezone() METHOD
// THIS METHOD RETURNS A TIMESTAMP IN THE CORRECT TIMEZONE
// INPUT: $time REPRESENTING A TIMESTAMP IN SERVER TIME
// $timezone REPRESENTING A TIMEZONE
// OUTPUT: A TIMESTAMP IN THE CORRECT TIMEZONE
function timezone($time, $timezone) {
$time = $time-(date("Z")-(date("I")*3600));
switch($timezone) {
case -12: $new_time = $time - 43200; break;
case -11: $new_time = $time - 39600; break;
case -10: $new_time = $time - 33000; break;
case -9: $new_time = $time - 32400; break;
case -8: $new_time = $time - 28800; break;
case -7: $new_time = $time - 25200; break;
case -6: $new_time = $time - 21600; break;
case -5: $new_time = $time - 18000; break;
case -4: $new_time = $time - 14400; break;
case -3.3: $new_time = $time - 11880; break;
case -3: $new_time = $time - 10800; break;
case -2: $new_time = $time - 7200; break;
case -1: $new_time = $time - 3600; break;
case 0: $new_time = $time; break;
case 1: $new_time = $time + 3600; break;
case 2: $new_time = $time + 7200; break;
case 3: $new_time = $time + 10800; break;
case 3.3: $new_time = $time + 11880; break;
case 4: $new_time = $time + 14400; break;
case 4.3: $new_time = $time + 15480; break;
case 5: $new_time = $time + 18000; break;
case 5.5: $new_time = $time + 19800; break;
case 6: $new_time = $time + 21600; break;
case 7: $new_time = $time + 25200; break;
case 8: $new_time = $time + 28800; break;
case 9: $new_time = $time + 32400; break;
case 9.3: $new_time = $time + 33480; break;
case 10: $new_time = $time + 33000; break;
case 11: $new_time = $time + 39600; break;
case 12: $new_time = $time + 43200; break;
}
return $new_time;
} // END timezone() METHOD
// THIS METHOD RETURNS A STRING SPECIFYING THE TIME SINCE THE SPECIFIED TIMESTAMP
// INPUT: $time REPRESENTING A TIMESTAMP
// OUTPUT: A STRING SPECIFYING THE TIME SINCE THE SPECIFIED TIMESTAMP
function time_since($time) {
$now = time();
$now_day = date("j", $now);
$now_month = date("n", $now);
$now_year = date("Y", $now);
$time_day = date("j", $time);
$time_month = date("n", $time);
$time_year = date("Y", $time);
$time_since = "";
$lang_var = 0;
switch(TRUE) {
case ($now-$time < 60):
// RETURNS SECONDS
$seconds = $now-$time;
$time_since = $seconds;
$lang_var = 773;
break;
case ($now-$time < 3600):
// RETURNS MINUTES
$minutes = round(($now-$time)/60);
$time_since = $minutes;
$lang_var = 774;
break;
case ($now-$time < 86400):
// RETURNS HOURS
$hours = round(($now-$time)/3600);
$time_since = $hours;
$lang_var = 775;
break;
case ($now-$time < 1209600):
// RETURNS DAYS
$days = round(($now-$time)/86400);
$time_since = $days;
$lang_var = 776;
break;
case (mktime(0, 0, 0, $now_month-1, $now_day, $now_year) < mktime(0, 0, 0, $time_month, $time_day, $time_year)):
// RETURNS WEEKS
$weeks = round(($now-$time)/604800);
$time_since = $weeks;
$lang_var = 777;
break;
case (mktime(0, 0, 0, $now_month, $now_day, $now_year-1) < mktime(0, 0, 0, $time_month, $time_day, $time_year)):
// RETURNS MONTHS
if($now_year == $time_year) { $subtract = 0; } else { $subtract = 12; }
$months = round($now_month-$time_month+$subtract);
$time_since = $months;
$lang_var = 778;
break;
default:
// RETURNS YEARS
if($now_month < $time_month) {
$subtract = 1;
} elseif($now_month == $time_month) {
if($now_day < $time_day) { $subtract = 1; } else { $subtract = 0; }
} else {
$subtract = 0;
}
$years = $now_year-$time_year-$subtract;
$time_since = $years;
$lang_var = 779;
if($years == 0) { $time_since = ""; $lang_var = 0; }
break;
}
return Array($lang_var, $time_since);
} // END time_since() METHOD
// THIS METHOD RETURNS AN AGE BASED ON A GIVEN MYSQL DATE
// INPUT: $time REPRESENTING A MYSQL-FORMAT DATE (YYYY-MM-DD)
// OUTPUT: AN INTEGER REPRESENTING AN AGE BASED ON THE DATE
function age($time) {
$now = time();
$now_day = date("d", $now);
$now_month = date("m", $now);
$now_year = date("Y", $now);
$time_day = substr($time, 8, 2);
$time_month = substr($time, 5, 2);
$time_year = substr($time, 0, 4);
// RETURNS YEARS
if($now_month < $time_month) {
$subtract = 1;
} elseif($now_month == $time_month) {
if($now_day < $time_day) {
$subtract = 1;
} else {
$subtract = 0;
}
} else {
$subtract = 0;
}
$years = $now_year-$time_year-$subtract;
return $years;
} // END age() METHOD
}
?>
// THIS CLASS IS USED TO DISPLAY AND MANAGE AD CAMPAIGN BANNERS
// METHODS IN THIS CLASS:
// se_ads()
// ad_display()
class se_ads
{
var $ad_top; // VARIABLE REPRESENTING PAGE TOP BANNER HTML
var $ad_belowmenu; // VARIABLE REPRESENTING BELOW MENU BANNER HTML
var $ad_left; // VARIABLE REPRESENTING LEFT SIDE BANNER HTML
var $ad_right; // VARIABLE REPRESENTING RIGHT SIDE BANNER HTML
var $ad_bottom; // VARIABLE REPRESENTING PAGE BOTTOM BANNER HTML
var $ad_feed; // VARIABLE REPRESENTING ACTIVITY FEED BANNER HTML
var $ad_custom; // VARIABLE REPRESENTING AN ARRAY OF CUSTOM BANNER HTML
// THIS METHOD IS USED TO DETERMINE WHAT ADS SHOULD BE SHOWN ON THE PAGE
// THIS ONLY INCLUDES AD CAMPAIGNS THAT HAVE BEEN GIVEN A POSITION BY THE ADMIN
// OUTPUT: AD BANNER HTML (IF AVAILABLE) FOR PAGE TOP, BELOW MENU, LEFT, RIGHT, AND BOTTOM
//function se_ads() {
function load()
{
global $database, $datetime, $setting, $user, $page;
// DON'T RETRIEVE ADS ON HIDDEN PAGE
if($page == "ad") return;
// GET CURRENT TIME IN ADMINS TIMEZONE
$nowtime = time();
// BEGIN BUILDING AD QUERY
$ad_querystring = "SELECT ad_id, ad_position, ad_html FROM se_ads WHERE ad_date_start<'$nowtime' AND (ad_date_end>'$nowtime' OR ad_date_end='0')";
// MAKE SURE AD IS NOT PAUSED
$ad_querystring .= " AND ad_paused!='1'";
// MAKE SURE AD HAS NOT REACHED ITS VIEW LIMIT
$ad_querystring .= " AND (ad_limit_views=0 OR ad_limit_views>ad_total_views)";
// MAKE SURE AD HAS NOT REACHED ITS CLICK LIMIT
$ad_querystring .= " AND (ad_limit_clicks=0 OR ad_limit_clicks>ad_total_clicks)";
// MAKE SURE AD HAS NOT REACHED ITS CTR LIMIT
$ad_querystring .= " AND (ad_limit_ctr=0 OR ad_limit_ctr<(ad_total_clicks/(ad_total_views+1))*100)";
// IF VIEWER IS NOT LOGGED-IN, ONLY SHOW PUBLIC AD CAMPAIGNS
if($user->user_exists == 0) {
$ad_querystring .= " AND ad_public='1'";
// IF VIEWER IS LOGGED-IN, ONLY SHOW AD IF VIEWER'S LEVEL AND SUBNETS MATCH
} else {
$level_id = $user->level_info[level_id];
$subnet_id = $user->subnet_info[subnet_id];
$ad_querystring .= " AND (ad_levels LIKE '%,$level_id,%' AND ad_subnets LIKE '%,$subnet_id,%')";
}
// RANDOMIZE QUERY RESULTS
$ad_querystring .= " ORDER BY RAND()";
// DETERMINE WHICH ADS SHOULD BE SHOWN
$ad_query = $database->database_query($ad_querystring);
// PREPARE STAT UPDATE QUERY
$stats_string = "";
// SET AD HTML FOR EACH POSITION
while($ad_info = $database->database_fetch_assoc($ad_query)) {
// CONVERT TO HTML AND ADD CLICK-TRACKING JAVASCRIPT
$ad_info[ad_html] = htmlspecialchars_decode($ad_info[ad_html], ENT_QUOTES);
$ad_info[ad_html] = "$ad_info[ad_html]

";
$this->ad_custom[$ad_info[ad_id]] = $ad_info[ad_html];
if($ad_info[ad_position] == "top" AND $this->ad_top == "") {
$this->ad_top = $ad_info[ad_html];
if($stats_string != "") { $stats_string .= " OR"; }
$stats_string .= " ad_id=$ad_info[ad_id]";
}
elseif($ad_info[ad_position] == "belowmenu" AND $this->ad_belowmenu == "") {
$this->ad_belowmenu = $ad_info[ad_html];
if($stats_string != "") { $stats_string .= " OR"; }
$stats_string .= " ad_id=$ad_info[ad_id]";
}
elseif($ad_info[ad_position] == "left" AND $this->ad_left == "") {
$this->ad_left = $ad_info[ad_html];
if($stats_string != "") { $stats_string .= " OR"; }
$stats_string .= " ad_id=$ad_info[ad_id]";
}
elseif($ad_info[ad_position] == "right" AND $this->ad_right == "") {
$this->ad_right = $ad_info[ad_html];
if($stats_string != "") { $stats_string .= " OR"; }
$stats_string .= " ad_id=$ad_info[ad_id]";
}
elseif($ad_info[ad_position] == "feed" AND $this->ad_feed == "") {
$this->ad_feed = $ad_info[ad_html];
if($stats_string != "") { $stats_string .= " OR"; }
$stats_string .= " ad_id=$ad_info[ad_id]";
}
elseif($ad_info[ad_position] == "bottom" AND $this->ad_bottom == "") {
$this->ad_bottom = $ad_info[ad_html];
if($stats_string != "") { $stats_string .= " OR"; }
$stats_string .= " ad_id=$ad_info[ad_id]";
}
}
// UPDATE THE ADS VIEW STATS
if($stats_string != "") { $database->database_query("UPDATE se_ads SET ad_total_views=ad_total_views+1 WHERE ".$stats_string); }
} // END se_ads() METHOD
// THIS METHOD IS DISPLAYS THE CUSTOM AD AND UPDATES THE VIEWS
// INPUT: $ad_id REPRESENTING AN AD ID
// OUTPUT: AD BANNER HTML (IF AVAILABLE) FOR GIVEN AD ID
function ads_display($ad_id) {
global $database;
// UPDATE THE ADS VIEW STATS
$database->database_query("UPDATE se_ads SET ad_total_views=ad_total_views+1 WHERE ad_id=$ad_id");
// DISPLAY AD
return $this->ad_custom[$ad_id];
} // END ads_display() METHOD
}
?>
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/header.php on line 110
Strict Standards: Non-static method SEDatabase::getInstance() should not be called statically in /home/punlao/public_html/header.php on line 110
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/class_database.php on line 183
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/punlao/public_html/include/class_database.php on line 183
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/header.php on line 118
Strict Standards: Non-static method SELanguage::info() should not be called statically in /home/punlao/public_html/header.php on line 118
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/language/language.php on line 334
Strict Standards: Non-static method SELanguage::_init() should not be called statically in /home/punlao/public_html/include/language/language.php on line 334
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/language/language.php on line 156
Deprecated: Non-static method SELanguageStorage::getInstance() should not be called statically, assuming $this from incompatible context in /home/punlao/public_html/include/language/language.php on line 156
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/language/storage.php on line 44
Strict Standards: Declaration of SELanguageStorageMysql::edit() should be compatible with SELanguageStorage::edit() in /home/punlao/public_html/include/language/storage/mysql.php on line 247
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/language/storage.php on line 44
Strict Standards: Declaration of SELanguageStorageMysql::get() should be compatible with SELanguageStorage::get() in /home/punlao/public_html/include/language/storage/mysql.php on line 247
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/header.php on line 121
Strict Standards: Non-static method SECore::getSettings() should not be called statically in /home/punlao/public_html/header.php on line 121
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/class_core.php on line 25
Strict Standards: Non-static method SECache::getInstance() should not be called statically in /home/punlao/public_html/include/class_core.php on line 25
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/class_core.php on line 36
Strict Standards: Non-static method SEDatabase::getInstance() should not be called statically in /home/punlao/public_html/include/class_core.php on line 36
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/class_url.php on line 67
Deprecated: Non-static method SECache::getInstance() should not be called statically, assuming $this from incompatible context in /home/punlao/public_html/include/class_url.php on line 67
Strict Standards: Non-static method FirePHP::errorHandler() should not be called statically in /home/punlao/public_html/include/class_url.php on line 78
Deprecated: Non-static method SEDatabase::getInstance() should not be called statically, assuming $this from incompatible context in /home/punlao/public_html/include/class_url.php on line 78
Fatal error: Class 'se_datetime' not found in /home/punlao/public_html/header.php on line 129