public_html/wp-content/plugins/wp-statistics/includes/classes/statistics.class.php
// It is used in several places to get the SE icon or the sql query to select an individual SE from the database.
It is used in several places to get the SE icon or the sql query to select an individual SE from the database.
It is used in several places to get the SE icon or the sql query to select an individual SE from the database .
public function Search_Engine_Info_By_Engine( $engine = false ) {
		if($engine == false) {
			return false;
		}
		$search_engines = wp_statistics_searchengine_list();
		if( array_key_exists( $engine, $search_engines ) ) {
			return $search_engines[$engine];
		}
		return array('name' => 'Unknown', 'tag' => '', 'sqlpattern' => '', 'regexpattern' => '', 'querykey' => 'q', 'image' => 'unknown.png' );
	}
public function Search_Engine_Info_By_Engine ( $ engine = false ) { if ( $ engine == false ) { return false ; } $ search_engines = wp_statistics_searchengine_list ( ) ; if ( array_key_exists ( $ engine , $ search_engines ) ) { return $ search_engines [ $ engine ] ; } return array ( 'name' => 'Unknown' , 'tag' => '' , 'sqlpattern' => '' , 'regexpattern' => '' , 'querykey' => 'q' , 'image' => 'unknown.png' ) ; }
It is used in several places to get the SE icon or the sql query to select an individual SE from the database.
It is used in several places to get the SE icon or the sql query to select an individual SE from the database .
// If there is no URL and no referrer, always return false. // Get the list of search engines we currently support. // If no SE matched, return some defaults.