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
'$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