Options saved.

'; } $checked = ''; if($ping == 1) $checked = 'checked="checked"'; echo '

URIs to Ping

The following services will automatically be pinged/notified when you publish posts. Not when you edit previously published posts, as WordPress does by default.

NB: this list is synchronized with the original update services list.

Separate multiple service URIs with line breaks:

Ping log

These are the lastest actions performed by the plugin.

'.SUP_get_last_log_entries(20).'

'; } # telling WordPress to ping if the post is new, but not if it's just been edited function SUP_ping_if_new($id) { global $wpdb, $post_title; if(get_option('SUP_ping') == 1 and get_option('ping_sites') != "") { # fetches data directly from database; the function "get_post" is cached, # and using it here will get the post as is was before the last save $row = mysql_fetch_array(mysql_query( "SELECT post_date,post_modified FROM $wpdb->posts WHERE id=$id")); # if time when created equals time when modified it is a new post, # otherwise the author has edited/modified it if($row["post_date"] == $row["post_modified"]) { if($post_title) SUP_log("Pinging services (new post: “".$post_title."”) ..."); else SUP_log("Pinging services (new post) ..."); SUP_ping_services(); # Try commenting the line above, and uncommenting this line below # if pinging seems to be out of order. Please notify the author if it helps! # generic_ping(); } else { if($post_title) SUP_log("NOT pinging services (“".$post_title."” was edited)"); else SUP_log("NOT pinging services (a post was edited)"); } } else SUP_log("NOT pinging services (disabled by administrator)"); } # More or less a copy of WP's "generic_ping" from functions.php, # but uses another function to send the actual XML-RPC messages. function SUP_ping_services() { $services = get_settings('ping_sites'); $services = preg_replace("|(\s)+|", '$1', $services); // Kill dupe lines $services = trim($services); if ( '' != $services ) { $services = explode("\n", $services); foreach ($services as $service) SUP_send_xmlrpc($service); } } # A slightly modified version of the WordPress built-in ping functionality ("weblog_ping" in functions.php). # This one uses correct extendedPing format (WP does not), and logs response from service. function SUP_send_xmlrpc($server = '', $path = '') { global $wp_version; include_once (ABSPATH . WPINC . '/class-IXR.php'); // using a timeout of 3 seconds should be enough to cover slow servers $client = new IXR_Client($server, ((!strlen(trim($path)) || ('/' == $path)) ? false : $path)); $client->timeout = 3; $client->useragent .= ' -- WordPress/'.$wp_version; // when set to true, this outputs debug messages by itself $client->debug = false; $home = trailingslashit( get_option('home') ); # the extendedPing format should be "blog name", "blog url", "check url" (whatever that is), and "feed url", # but it would seem as if the standard has been mixed up. it's therefore best to repeat the feed url. if($client->query('weblogUpdates.extendedPing', get_settings('blogname'), $home, get_bloginfo('rss2_url'), get_bloginfo('rss2_url'))) { SUP_log("- ".$server." was successfully pinged (extended format)"); } else { # pinging was unsuccessful, trying regular ping format if($client->query('weblogUpdates.ping', get_settings('blogname'), $home)) { SUP_log("- ".$server." was successfully pinged"); } else { SUP_log("- ".$server." could not be pinged. Error message: “".$client->error->message."”"); } } } $post_title = ""; # Receives the title of the post from a filter below function SUP_post_title($title) { global $post_title; $post_title = $title; return $title; } # ----- # Log stuff $logfile = ABSPATH."wp-content/smart-update-pinger.log"; # for debugging function SUP_log($line) { global $logfile; $fh = @fopen($logfile, "a"); @fwrite($fh, strftime("%D %T")."\t$line\n"); @fclose($fh); } function SUP_get_last_log_entries($num) { global $logfile; $lines = @file($logfile); if($lines === false) return "Error reading log file (".$logfile."). This could mean that the wp-content directory is write-protected and no log data can be saved, that you have manually removed the log file, or that you have recently upgraded the plugin."; else { $lines = array_slice($lines, count($lines) - $num); $msg = ""; foreach($lines as $line) $msg .= trim($line)."
"; return $msg; } } # ----- # adds a filter to receive the title of the post before publishing add_filter("title_save_pre", "SUP_post_title"); # adds some hooks # shows the options in the administration panel add_action("admin_menu", "SUP_add_options_page"); # calls SUP_ping whenever a post is published add_action("publish_post", "SUP_ping_if_new"); # calls SUP_ping_draft when changing the status from private/draft to published # add_action("private_to_published', 'SUP_ping_draft'); # removes the "WordPress official" pinging hook remove_action("publish_post", "generic_ping"); # activates pinging if setting doesn't exist in database yet # (before the user has changed the settings the first time) if(get_option("SUP_ping") === false) { update_option("SUP_ping", 1); } ?> ;×) » 2013 » janvier

Archives

Archives pour janvier, 2013

Infarctus de Claude Allègre : le réchauffement climatique hors de cause

On aurait pu en douter  pour les chanceux qui ignorent de le connaître encore.

http://www.desinformations.com/a-2979_infarctus-de-claude-allegre–le-rechauffement-climatique-hors-de-cause.html

 

 

 

 

 

dfdfdhttp://www.desinformations.com/a-2979_infarctus-de-claude-allegre–le-rechauffement-climatique-hors-de-cause.html

Ca sent la fin après un an que je suis dessus

Devil's Dare

Le premier qui me dit que la photo a été prise à contre-jour

Ki ki sont les gringos ?

http://www.bloomberg.com/billionaires/2013-01-22/aaa/aaaga

Ne jamais faire de pari stupide

Ah Langley…

… espèce de métonyme !

Top 100 cinéma au box office

Ajusté selon l’inflation, uniquement les places de cinéma vendues aux USA (pas les locations cassettes vidéo, DVD, …)

Un « x » pour « vu ».

1x – Gone With the Wind (1939)

2x – Star Wars: Episode IV – A New Hope (1977)

3x – The Sound of Music (1965)

4x – E. T. The Extra-Terrestrial (1982)

5x – Titanic (1997)

6x – The Ten Commandments (1956)

7x – Jaws (1975)

8 – Doctor Zhivago (1965)

9x – The Exorcist (1973)

10x – Snow White and the Seven Dwarfs (1937)

11x – 101 Dalmatians (1961)

12x – Star Wars: Episode V – The Empire Strikes Back (1980)

13x – Ben-Hur (1959)

14x – Avatar (2009)

15x – Star Wars: Episode VI – Return of the Jedi (1983)

16x – Star Wars: Episode I – The Phantom Menace (1999)

17x – The Sting (1973)

18x – The Lion King (1994)

19x – Raiders of the Lost Ark (1981)

20x – Jurassic Park (1993)

21x – The Graduate (1967)

22x – Fantasia (1940)

23x – The Godfather (1972)

24x – Forrest Gump (1994)

25x – Mary Poppins (1964)

26x – Grease (1978)

27x – Marvel’s The Avengers (2012)

28x – Thunderball (1965)

29x – The Dark Knight (2008)

30x – The Jungle Book (1967)

31x – Sleeping Beauty (1959)

32x – Shrek 2 (2004)

33x – Ghostbusters (1984)

34x – Butch Cassidy and the Sundance Kid (1969)

35 – Love Story (1970)

36x – Spider-Man (2002)

37x – Independence Day (1996)

38x – Home Alone (1990)

39x – Pinocchio (1940)

40x – Cleopatra (1963)

41x – Beverly Hills Cop (1984)

42x – Goldfinger (1964)

43x – Airport (1970)

44 – American Graffiti (1973)

45 – The Robe (1953)

46x – Pirates of the Caribbean: Dead Man’s Chest (2006)

47x – Around the World in 80 Days (1956)

48x – Bambi (1942)

49x – Blazing Saddles (1974)

50x – Batman (1989)

51 – The Bells of St. Mary’s (1945)

52x – The Lord of the Rings: The Return of the King (2003)

53x – Finding Nemo (2003)

54x – The Towering Inferno (1974)

55x – Spider-Man 2 (2004)

56 – My Fair Lady (1964)

57 – The Greatest Show on Earth (1952)

58x – National Lampoon’s Animal House (1978)

59 – The Passion of the Christ (2004)

60x – Star Wars: Episode III – Revenge of the Sith (2005)

61x – Back to the Future (1985)

62x – The Lord of the Rings: The Two Towers (2002)

63 – The Dark Knight Rises (2012)

64x – The Sixth Sense (1999)

65x – Superman (1978)

66x – Tootsie (1982)

67x – Smokey and the Bandit (1977)

68x – West Side Story (1961)

69 – Harry Potter and the Sorcerer’s Stone (2001)

70x – Lady and the Tramp (1955)

71x – Close Encounters of the Third Kind (1977/1980)

72x – Lawrence of Arabia (1962)

73x – The Rocky Horror Picture Show (1975)

74x – Rocky (1976)

75x – The Best Years of Our Lives (1946)

76x – The Poseidon Adventure (1972)

77x – The Lord of the Rings: The Fellowship of the Ring (2001)

78x – Twister (1996)

79x – Men in Black (1997)

80x – The Bridge On The River Kwai (1957)

81 – Transformers: Revenge of the Fallen (2009)

82x – It’s a Mad, Mad, Mad, Mad World (1963)

83 – Swiss Family Robinson (1960)

84x – One Flew Over the Cuckoo’s Nest (1975)

85x – M*A*S*H (1970)

86x – Indiana Jones and the Temple of Doom (1984)

87x – Star Wars: Episode II – Attack of the Clones (2002)

88x – Mrs. Doubtfire (1993)

89x – Aladdin (1992)

90x – Toy Story 3 (2010)

91x – Ghost (1990)

92x – Duel in the Sun (1946)

93 – The Hunger Games (2012)

94x – Pirates of the Caribbean: The Curse of the Black Pearl (2003)

95 – House of Wax (1953)

96x – Rear Window (1954)

97x – The Lost World: Jurassic Park (1997)

98x – Indiana Jones and the Last Crusade (1989)

99x – Spider-Man 3 (2007)

100x – Terminator 2: Judgment Day (1991)

 

Voilà donc 8788899192/100 pour moi.

Bon OK, mais au niveau mondial ? Voilà :

1x – Avatar (2009)

2x – Titanic (1997)

3x – Marvel’s The Avengers (2012)

4 – Harry Potter and the Deathly Hallows, Part 2 (2011)

5 – Transformers: Dark of the Moon (2011)

6x – The Lord of the Rings: The Return of the King (2003)

7x – The Dark Knight Rises (2012)

8x – Pirates of the Caribbean: Dead Man’s Chest (2006)

9x – Toy Story 3 (2010)

10- Pirates of the Caribbean: On Stranger Tides (2011)

11x – Star Wars: Episode I – The Phantom Menace (1999)

12x – Alice in Wonderland (2010)

13x- The Dark Knight (2008)

14x – Skyfall (2012)

15 – Harry Potter and the Sorcerer’s Stone (2001)

16x – Pirates of the Caribbean: At World’s End (2007)

17 – Harry Potter and the Deathly Hallows, Part 1 (2010)

18x – The Lion King (1994)

19 – Harry Potter and the Order of the Phoenix (2007)

20 – Harry Potter and the Half-Blood Prince (2009)

21x – The Lord of the Rings: The Two Towers (2002)

22x – Finding Nemo (2003)

23x – Shrek 2 (2004)

24x – Jurassic Park (1993)

25 – Harry Potter and the Goblet of Fire (2005)

26 – Spider-Man 3 (2007)

27 – Ice Age: Dawn of the Dinosaurs (2009)

28 – Harry Potter and the Chamber of Secrets (2002)

29 – Ice Age: Continental Drift (2012)

30x – The Lord of the Rings: The Fellowship of the Ring (2001)

31x – Star Wars: Episode III – Revenge of the Sith (2005)

32 – Transformers: Revenge of the Fallen (2009)

33x – Inception (2010)

34x – Spider-Man (2002)

35x – Independence Day (1996)

36 – The Twilight Saga: Breaking Dawn, Part 2 (2012)

37x – Shrek the Third (2007)

38 – Harry Potter and the Prisoner of Azkaban (2004)

39x – E. T. The Extra-Terrestrial (1982)

40x – Indiana Jones and the Kingdom of the Crystal Skull (2008)

41 – Spider-Man 2 (2004)

42x – Star Wars: Episode IV – A New Hope (1977)

43x – 2012 (2009)

44x – The Da Vinci Code (2006)

45x – Shrek Forever After (2010)

46 – The Amazing Spider-Man (2012)

47 – The Chronicles of Narnia: The Lion, the Witch and the Wardrobe (2005)

48x – The Matrix Reloaded (2003)

49 – Madagascar 3: Europe’s Most Wanted (2012)

50x – Up (2009)

51 – The Twilight Saga: Breaking Dawn, Part 1 (2011)

52 – The Twilight Saga: New Moon (2009)

53 – Transformers (2007)

54 – The Twilight Saga: Eclipse (2010)

55 – Mission: Impossible – Ghost Protocol (2011)

56 – The Hunger Games (2012)

57x – Forrest Gump (1994)

58x – The Sixth Sense (1999)

59x – Kung Fu Panda 2 (2011)

60 – Ice Age: The Meltdown (2006)

61 – Pirates of the Caribbean: The Curse of the Black Pearl (2003)

62x – Star Wars: Episode II – Attack of the Clones (2002)

63x – Kung Fu Panda (2008)

64 – The Incredibles (2004)

65 – Fast Five (2011)

66 – Hancock (2008)

67 – Men in Black 3 (2012)

68x – Iron Man 2 (2010)

69x – Ratatouille (2007)

70 – The Hobbit: An Unexpected Journey (2012)

71x – The Lost World: Jurassic Park (1997)

72 – The Passion of the Christ (2004)

73 – Mamma Mia! (2008)

74 – Madagascar: Escape 2 Africa (2008)

75x – Casino Royale (2006)

76x – War of the Worlds (2005)

77 – Tangled (2010)

78x – Men in Black (1997)

79x – Quantum of Solace (2008)

80x – I Am Legend (2007)

81 – Iron Man (2008)

82x – The Hangover Part II (2011)

83x – Night at the Museum (2006)

84x – The Smurfs (2011)

85 – Cars 2 (2011)

86x – Puss in Boots (2011)

87x – Armageddon (1998)

88 – King Kong (2005)

89x – Mission: Impossible II (2000)

90x – The Day After Tomorrow (2004)

91x – Monsters, Inc. (2001)

92 – Sherlock Holmes: A Game of Shadows (2011)

93 – Despicable Me (2010)

94x – Star Wars: Episode V – The Empire Strikes Back (1980)

95 – Brave (2012)

96 – Madagascar (2005)

97 – The Simpsons Movie (2007)

98 – Sherlock Holmes (2009)

99x – WALL·E (2008)

100x – Terminator 2: Judgment Day (1991)

 

Oups 55/100.

 

 

Idée cadeau pour un(e) ex

http://store.theonion.com/p-5176-things-that-might-kill-you-book.aspx

J’en connais pas des masses des sites marchands sur lesquels on peut choisir la taille du livre de son choix !

 

 

 

 

 

 

 

 

ils recrutent…

httpv://www.youtube.com/watch?v=__sVZeM9-eI