From e7ffbd3a84ea32970b161cf430896821f72546d0 Mon Sep 17 00:00:00 2001 From: Bruno Pesenti Date: Thu, 20 Oct 2016 18:12:00 +0200 Subject: [PATCH] 1er commit 1er version --- Akismet.class.php | 476 +++++++++++ exclus/Archive.zip | Bin 0 -> 9268 bytes exclus/_loop-attachment.php | 254 ++++++ exclus/_loop-single.php | 67 ++ exclus/daves-wordpress-live-search.css | 116 +++ exclus/gm.js | 62 ++ exclus/loop-attachment jquery.php | 284 +++++++ exclus/loop-attachment ok.php | 300 +++++++ exclus/loop-attachment v1.php | 320 +++++++ exclus/loop-attachment v2.php | 180 ++++ exclus/ls | 136 +++ exclus/single 2.php | 269 ++++++ exclus/single 5.php | 149 ++++ exclus/single bof.php | 145 ++++ exclus/single v2.php | 198 +++++ exclus/single.php | 314 +++++++ exclus/single__.php | 318 +++++++ exclus/style.css | 710 ++++++++++++++++ footer.php | 77 ++ functions.php | 1057 ++++++++++++++++++++++++ header.php | 101 +++ images/-favicon.ico | Bin 0 -> 1406 bytes images/favicon.ico | Bin 0 -> 894 bytes js/child.js | 81 ++ js/infobubble-compiled.js | 37 + js/jquery-2.1.0.min.js | 4 + js/jquery.liveSearch.css | 17 + js/jquery.liveSearch.js | 1 + js/jquery.swipebox.min.js | 2 + js/zenphoto.js | 41 + languages/Archive 6.zip | Bin 0 -> 3618 bytes languages/Archive 7.zip | Bin 0 -> 3982 bytes languages/Archive 8.zip | Bin 0 -> 4320 bytes languages/fr_FR.mo | Bin 0 -> 7592 bytes languages/fr_FR.po | 517 ++++++++++++ livre-comments.php | 307 +++++++ livre-d-or.php | 55 ++ loop-attachment.php | 156 ++++ loop-page.php | 36 + loop-single.php | 379 +++++++++ loop.php | 182 ++++ page-contact.php | 290 +++++++ scripts/contact-form.js | 34 + scripts/jquery.js | 19 + searchform.php | 16 + sidebar.php | 127 +++ style.css | 711 ++++++++++++++++ 47 files changed, 8545 insertions(+) create mode 100755 Akismet.class.php create mode 100644 exclus/Archive.zip create mode 100644 exclus/_loop-attachment.php create mode 100644 exclus/_loop-single.php create mode 100644 exclus/daves-wordpress-live-search.css create mode 100644 exclus/gm.js create mode 100644 exclus/loop-attachment jquery.php create mode 100644 exclus/loop-attachment ok.php create mode 100644 exclus/loop-attachment v1.php create mode 100644 exclus/loop-attachment v2.php create mode 100644 exclus/ls create mode 100644 exclus/single 2.php create mode 100644 exclus/single 5.php create mode 100644 exclus/single bof.php create mode 100644 exclus/single v2.php create mode 100644 exclus/single.php create mode 100644 exclus/single__.php create mode 100644 exclus/style.css create mode 100644 footer.php create mode 100644 functions.php create mode 100644 header.php create mode 100644 images/-favicon.ico create mode 100644 images/favicon.ico create mode 100755 js/child.js create mode 100755 js/infobubble-compiled.js create mode 100755 js/jquery-2.1.0.min.js create mode 100644 js/jquery.liveSearch.css create mode 100644 js/jquery.liveSearch.js create mode 100755 js/jquery.swipebox.min.js create mode 100644 js/zenphoto.js create mode 100644 languages/Archive 6.zip create mode 100644 languages/Archive 7.zip create mode 100644 languages/Archive 8.zip create mode 100644 languages/fr_FR.mo create mode 100644 languages/fr_FR.po create mode 100644 livre-comments.php create mode 100644 livre-d-or.php create mode 100644 loop-attachment.php create mode 100644 loop-page.php create mode 100644 loop-single.php create mode 100644 loop.php create mode 100644 page-contact.php create mode 100644 scripts/contact-form.js create mode 100644 scripts/jquery.js create mode 100755 searchform.php create mode 100644 sidebar.php create mode 100644 style.css diff --git a/Akismet.class.php b/Akismet.class.php new file mode 100755 index 0000000..a1d6475 --- /dev/null +++ b/Akismet.class.php @@ -0,0 +1,476 @@ + + * $akismet = new Akismet('http://www.example.com/blog/', 'aoeu1aoue'); + * $akismet->setCommentAuthor($name); + * $akismet->setCommentAuthorEmail($email); + * $akismet->setCommentAuthorURL($url); + * $akismet->setCommentContent($comment); + * $akismet->setPermalink('http://www.example.com/blog/alex/someurl/'); + * + * if($akismet->isCommentSpam()) + * // store the comment but mark it as spam (in case of a mis-diagnosis) + * else + * // store the comment normally + * + * + * Optionally you may wish to check if your WordPress API key is valid as in the example below. + * + * + * $akismet = new Akismet('http://www.example.com/blog/', 'aoeu1aoue'); + * + * if($akismet->isKeyValid()) { + * // api key is okay + * } else { + * // api key is invalid + * } + * + * + * @package akismet + * @name Akismet + * @version 0.5 + * @author Alex Potsides + * @link http://www.achingbrain.net/ + */ +class Akismet { + private $version = '0.5'; + private $wordPressAPIKey; + private $blogURL; + private $comment; + private $apiPort; + private $akismetServer; + private $akismetVersion; + private $requestFactory; + + // This prevents some potentially sensitive information from being sent accross the wire. + private $ignore = array('HTTP_COOKIE', + 'HTTP_X_FORWARDED_FOR', + 'HTTP_X_FORWARDED_HOST', + 'HTTP_MAX_FORWARDS', + 'HTTP_X_FORWARDED_SERVER', + 'REDIRECT_STATUS', + 'SERVER_PORT', + 'PATH', + 'DOCUMENT_ROOT', + 'SERVER_ADMIN', + 'QUERY_STRING', + 'PHP_SELF' ); + + /** + * @param string $blogURL The URL of your blog. + * @param string $wordPressAPIKey WordPress API key. + */ + public function __construct($blogURL, $wordPressAPIKey) { + $this->blogURL = $blogURL; + $this->wordPressAPIKey = $wordPressAPIKey; + + // Set some default values + $this->apiPort = 80; + $this->akismetServer = 'rest.akismet.com'; + $this->akismetVersion = '1.1'; + $this->requestFactory = new SocketWriteReadFactory(); + + // Start to populate the comment data + $this->comment['blog'] = $blogURL; + + if(isset($_SERVER['HTTP_USER_AGENT'])) { + $this->comment['user_agent'] = $_SERVER['HTTP_USER_AGENT']; + } + + if(isset($_SERVER['HTTP_REFERER'])) { + $this->comment['referrer'] = $_SERVER['HTTP_REFERER']; + } + + /* + * This is necessary if the server PHP5 is running on has been set up to run PHP4 and + * PHP5 concurently and is actually running through a separate proxy al a these instructions: + * http://www.schlitt.info/applications/blog/archives/83_How_to_run_PHP4_and_PHP_5_parallel.html + * and http://wiki.coggeshall.org/37.html + * Otherwise the user_ip appears as the IP address of the PHP4 server passing the requests to the + * PHP5 one... + */ + if(isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] != getenv('SERVER_ADDR')) { + $this->comment['user_ip'] = $_SERVER['REMOTE_ADDR']; + } else { + $this->comment['user_ip'] = getenv('HTTP_X_FORWARDED_FOR'); + } + } + + /** + * Makes a request to the Akismet service to see if the API key passed to the constructor is valid. + * + * Use this method if you suspect your API key is invalid. + * + * @return bool True is if the key is valid, false if not. + */ + public function isKeyValid() { + // Check to see if the key is valid + $response = $this->sendRequest('key=' . $this->wordPressAPIKey . '&blog=' . $this->blogURL, $this->akismetServer, '/' . $this->akismetVersion . '/verify-key'); + return $response[1] == 'valid'; + } + + // makes a request to the Akismet service + private function sendRequest($request, $host, $path) { + $http_request = "POST " . $path . " HTTP/1.0\r\n"; + $http_request .= "Host: " . $host . "\r\n"; + $http_request .= "Content-Type: application/x-www-form-urlencoded; charset=utf-8\r\n"; + $http_request .= "Content-Length: " . strlen($request) . "\r\n"; + $http_request .= "User-Agent: Akismet PHP5 Class " . $this->version . " | Akismet/1.11\r\n"; + $http_request .= "\r\n"; + $http_request .= $request; + + $requestSender = $this->requestFactory->createRequestSender(); + $response = $requestSender->send($host, $this->apiPort, $http_request); + + return explode("\r\n\r\n", $response, 2); + } + + // Formats the data for transmission + private function getQueryString() { + foreach($_SERVER as $key => $value) { + if(!in_array($key, $this->ignore)) { + if($key == 'REMOTE_ADDR') { + $this->comment[$key] = $this->comment['user_ip']; + } else { + $this->comment[$key] = $value; + } + } + } + + $query_string = ''; + + foreach($this->comment as $key => $data) { + if(!is_array($data)) { + $query_string .= $key . '=' . urlencode(stripslashes($data)) . '&'; + } + } + + return $query_string; + } + + /** + * Tests for spam. + * + * Uses the web service provided by {@link http://www.akismet.com Akismet} to see whether or not the submitted comment is spam. Returns a boolean value. + * + * @return bool True if the comment is spam, false if not + * @throws Will throw an exception if the API key passed to the constructor is invalid. + */ + public function isCommentSpam() { + $response = $this->sendRequest($this->getQueryString(), $this->wordPressAPIKey . '.rest.akismet.com', '/' . $this->akismetVersion . '/comment-check'); + + if($response[1] == 'invalid' && !$this->isKeyValid()) { + throw new exception('The Wordpress API key passed to the Akismet constructor is invalid. Please obtain a valid one from http://wordpress.com/api-keys/'); + } + + return ($response[1] == 'true'); + } + + /** + * Submit spam that is incorrectly tagged as ham. + * + * Using this function will make you a good citizen as it helps Akismet to learn from its mistakes. This will improve the service for everybody. + */ + public function submitSpam() { + $this->sendRequest($this->getQueryString(), $this->wordPressAPIKey . '.' . $this->akismetServer, '/' . $this->akismetVersion . '/submit-spam'); + } + + /** + * Submit ham that is incorrectly tagged as spam. + * + * Using this function will make you a good citizen as it helps Akismet to learn from its mistakes. This will improve the service for everybody. + */ + public function submitHam() { + $this->sendRequest($this->getQueryString(), $this->wordPressAPIKey . '.' . $this->akismetServer, '/' . $this->akismetVersion . '/submit-ham'); + } + + /** + * To override the user IP address when submitting spam/ham later on + * + * @param string $userip An IP address. Optional. + */ + public function setUserIP($userip) { + $this->comment['user_ip'] = $userip; + } + + /** + * To override the referring page when submitting spam/ham later on + * + * @param string $referrer The referring page. Optional. + */ + public function setReferrer($referrer) { + $this->comment['referrer'] = $referrer; + } + + /** + * A permanent URL referencing the blog post the comment was submitted to. + * + * @param string $permalink The URL. Optional. + */ + public function setPermalink($permalink) { + $this->comment['permalink'] = $permalink; + } + + /** + * The type of comment being submitted. + * + * May be blank, comment, trackback, pingback, or a made up value like "registration" or "wiki". + */ + public function setCommentType($commentType) { + $this->comment['comment_type'] = $commentType; + } + + /** + * The name that the author submitted with the comment. + */ + public function setCommentAuthor($commentAuthor) { + $this->comment['comment_author'] = $commentAuthor; + } + + /** + * The email address that the author submitted with the comment. + * + * The address is assumed to be valid. + */ + public function setCommentAuthorEmail($authorEmail) { + $this->comment['comment_author_email'] = $authorEmail; + } + + /** + * The URL that the author submitted with the comment. + */ + public function setCommentAuthorURL($authorURL) { + $this->comment['comment_author_url'] = $authorURL; + } + + /** + * The comment's body text. + */ + public function setCommentContent($commentBody) { + $this->comment['comment_content'] = $commentBody; + } + + /** + * Lets you override the user agent used to submit the comment. + * you may wish to do this when submitting ham/spam. + * Defaults to $_SERVER['HTTP_USER_AGENT'] + */ + public function setCommentUserAgent($userAgent) { + $this->comment['user_agent'] = $userAgent; + } + + /** + * Defaults to 80 + */ + public function setAPIPort($apiPort) { + $this->apiPort = $apiPort; + } + + /** + * Defaults to rest.akismet.com + */ + public function setAkismetServer($akismetServer) { + $this->akismetServer = $akismetServer; + } + + /** + * Defaults to '1.1' + * + * @param string $akismetVersion + */ + public function setAkismetVersion($akismetVersion) { + $this->akismetVersion = $akismetVersion; + } + + /** + * Used by unit tests to mock transport layer + * + * @param AkismetRequestFactory $requestFactory + */ + public function setRequestFactory($requestFactory) { + $this->requestFactory = $requestFactory; + } +} + +/** + * Used internally by Akismet + * + * This class is used by Akismet to do the actual sending and receiving of data. It opens a connection to a remote host, sends some data and the reads the response and makes it available to the calling program. + * + * The code that makes up this class originates in the Akismet WordPress plugin, which is {@link http://akismet.com/download/ available on the Akismet website}. + * + * N.B. It is not necessary to call this class directly to use the Akismet class. + * + * @package akismet + * @name SocketWriteRead + * @version 0.5 + * @author Alex Potsides + * @link http://www.achingbrain.net/ + */ +class SocketWriteRead implements AkismetRequestSender { + private $response; + private $errorNumber; + private $errorString; + + public function __construct() { + $this->errorNumber = 0; + $this->errorString = ''; + } + + /** + * Sends the data to the remote host. + * + * @param string $host The host to send/receive data. + * @param int $port The port on the remote host. + * @param string $request The data to send. + * @param int $responseLength The amount of data to read. Defaults to 1160 bytes. + * @throws An exception is thrown if a connection cannot be made to the remote host. + * @returns The server response + */ + public function send($host, $port, $request, $responseLength = 1160) { + $response = ''; + + $fs = fsockopen($host, $port, $this->errorNumber, $this->errorString, 3); + + if($this->errorNumber != 0) { + throw new Exception('Error connecting to host: ' . $host . ' Error number: ' . $this->errorNumber . ' Error message: ' . $this->errorString); + } + + if($fs !== false) { + @fwrite($fs, $request); + + while(!feof($fs)) { + $response .= fgets($fs, $responseLength); + } + + fclose($fs); + } + + return $response; + } + + /** + * Returns the server response text + * + * @return string + */ + public function getResponse() { + return $this->response; + } + + /** + * Returns the error number + * + * If there was no error, 0 will be returned. + * + * @return int + */ + public function getErrorNumner() { + return $this->errorNumber; + } + + /** + * Returns the error string + * + * If there was no error, an empty string will be returned. + * + * @return string + */ + public function getErrorString() { + return $this->errorString; + } +} + +/** + * Used internally by the Akismet class and to mock the Akismet anti spam service in + * the unit tests. + * + * N.B. It is not necessary to call this class directly to use the Akismet class. + * + * @package akismet + * @name SocketWriteReadFactory + * @version 0.5 + * @author Alex Potsides + * @link http://www.achingbrain.net/ + */ +class SocketWriteReadFactory implements AkismetRequestFactory { + + public function createRequestSender() { + return new SocketWriteRead(); + } +} + +/** + * Used internally by the Akismet class and to mock the Akismet anti spam service in + * the unit tests. + * + * N.B. It is not necessary to implement this class to use the Akismet class. + * + * @package akismet + * @name AkismetRequestSender + * @version 0.5 + * @author Alex Potsides + * @link http://www.achingbrain.net/ + */ +interface AkismetRequestSender { + + /** + * Sends the data to the remote host. + * + * @param string $host The host to send/receive data. + * @param int $port The port on the remote host. + * @param string $request The data to send. + * @param int $responseLength The amount of data to read. Defaults to 1160 bytes. + * @throws An exception is thrown if a connection cannot be made to the remote host. + * @returns The server response + */ + public function send($host, $port, $request, $responseLength = 1160); +} + +/** + * Used internally by the Akismet class and to mock the Akismet anti spam service in + * the unit tests. + * + * N.B. It is not necessary to implement this class to use the Akismet class. + * + * @package akismet + * @name AkismetRequestFactory + * @version 0.5 + * @author Alex Potsides + * @link http://www.achingbrain.net/ + */ +interface AkismetRequestFactory { + + public function createRequestSender(); +} + +?> diff --git a/exclus/Archive.zip b/exclus/Archive.zip new file mode 100644 index 0000000000000000000000000000000000000000..ba08fd5fe706001a682f307cdad0d9e18182dfc6 GIT binary patch literal 9268 zcma)?Wl$a6)^6FjJHg!(+#$HTyGziGZ`>_71a}PtcXtc!65QQ_yMM{iyx%?N-n+V1 zb@h)mYtHJbr)!LAMHvW4OfcAAS6@x40N5W30}K_++Ro0N-pI+x$i%|N)Ygf?-ojo@ z6A|n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7C@;8+m<7GHmwGz>7r zU!?W7C7AF3`~Dx@7wo_OGWmP4|0du5UF=1O1_kU-6$kq-75BgU`O|R`{iPp+KTG@< zE%(1$`}>@~4cVW(jPjSdM5zCm^G`5_1^cHj`?JB{h5m$6yuTEBkNL-p|7h_4UGq22 o{`rF7{!$Ye3k>WJxP|=}+$zdILH~Y3(7&!h02r7$+3% + + + + + post_parent ) ) : ?> + + + +
> +

+ + + +
+
+ $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 image attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image attachment, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } +?> +

ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height. + ?>

+ + + + + + + + + + +
post_excerpt ) ) the_excerpt(); ?> +
+ + + + +
Voir les Exif
+ + + + +'; + $start_geo_link = ''; + $jquery_geo_link = 'http://maps.google.com/maps?q=' . $neg_lat . number_format($lat,6) . '+' . $neg_lng . number_format($lng, 6) . '&z=11'; + $end_geo_link = ''; + + // Aperture + if (!empty($metadata['image_meta']['aperture'])) + $exif_list .= $before_item . __('Aperture', 'twentyten-child') . $sep . "f/" . $metadata['image_meta']['aperture'] . $after_item; + + // Shutter speed + if (!empty($metadata['image_meta']['shutter_speed'])) { + $exif_list .= $before_item . __('Shutter speed', 'twentyten-child') . $sep; + if ((1 / $metadata['image_meta']['shutter_speed']) > 1) { + $exif_list .= "1/"; + if ((number_format((1 / $metadata['image_meta']['shutter_speed']), 1)) == 1.3 + or number_format((1 / $metadata['image_meta']['shutter_speed']), 1) == 1.5 + or number_format((1 / $metadata['image_meta']['shutter_speed']), 1) == 1.6 + or number_format((1 / $metadata['image_meta']['shutter_speed']), 1) == 2.5) { + $exif_list .= number_format((1 / $metadata['image_meta']['shutter_speed']), 1, '.', '') . " s" . $after_item; + } + else { + $exif_list .= number_format((1 / $metadata['image_meta']['shutter_speed']), 0, '.', '') . " s" . $after_item; + } + } + else + $exif_list .= $metadata['image_meta']['shutter_speed']." s" . $after_item; + } + } + // Focal length + if (!empty($metadata['image_meta']['focal_length'])) + $exif_list .= $before_item . __('Focal length', 'twentyten-child') . $sep . $metadata['image_meta']['focal_length'] . " mm" . $after_item; + // Camera + if (!empty($metadata['image_meta']['camera'])) + $exif_list .= $before_item . __('Camera', 'twentyten-child') . $sep . $metadata['image_meta']['camera'] . $after_item; + // Creation time + if (!empty($metadata['image_meta']['created_timestamp'])) + $exif_list .= $before_item . __('Taken', 'twentyten-child') . $sep . date('j F, Y',$metadata['image_meta']['created_timestamp']) . $after_item; + + // Latitude and Longtitude + if ($latitude != 0 && $longitude != 0) + //affichage dans un cadre map caché + //$exif_list .= $before_item . '
' . $after_item; + $exif_list .= $before_item . '' . $after_item; + // jquery + //$exif_list .= $before_item . '' . $after_item; + + //affichage map dans nouvelle fenetre + //$exif_list .= $before_item . $start_geo_link . '' . $end_geo_link . $after_item; +*/ + + $before_block = '
    '; + $after_block = '
'; + + $liste_exif = $before_block; + $attach = $attachment->ID; + // ListeExif renvoie 3 paramètres dans un tableau: + // -les exifs sous forme de liste + // -latitude et longitude pour le javascript + // -le caption ou le nom du fichier pour l'infoWindow + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attach); + + $liste_exif .= $exif_list; + $liste_exif .= $after_block; + echo $liste_exif; + +?> + +
+ + + + + +
+ + +→', 'twentyten' ) ); ?> + + '' ) ); ?> + + + +
+ +
+ + ', '' ); ?> +
+
+ + + + \ No newline at end of file diff --git a/exclus/_loop-single.php b/exclus/_loop-single.php new file mode 100644 index 0000000..4d89a6a --- /dev/null +++ b/exclus/_loop-single.php @@ -0,0 +1,67 @@ + + + + + + +
> +

+ + + +
+ + '' ) ); ?> +
+ + +
+
+ +
+ +
+ + +
+ + ', '' ); ?> +
+
+ + + + + + \ No newline at end of file diff --git a/exclus/daves-wordpress-live-search.css b/exclus/daves-wordpress-live-search.css new file mode 100644 index 0000000..78b438c --- /dev/null +++ b/exclus/daves-wordpress-live-search.css @@ -0,0 +1,116 @@ +/** Dave's WordPress Live Search CSS **/ +ul.search_results +{ +display: block; +background-color:#fff; +width:250px; +max-height: 500px; +position:absolute; +top:20px; +left:0px; +overflow:auto; +z-index: 9999; + +list-style-type: none; +list-style-image: none; +list-style-position: inside; + +padding: 0px; +margin: 0px; + +-moz-box-shadow: 5px 5px 3px #222; +-webkit-box-shadow: 5px 5px 3px #222; +box-shadow: 5px 5px 3px #222; +} + +ul.search_results li +{ +display: block; +padding: 5px 10px 5px 10px; +margin: 0px 0px 0px 0px; +border-top: 1px solid #eee; +border-bottom: 1px solid #aaa; +text-align: left; + +color: #000; +background-color: #ddd; +text-decoration: none; + +} + +ul.search_results li:hover +{ +background-color: #fff; +} + +ul.search_results li a, ul.search_results li a:visited +{ +display: block; +color: #000; +margin-left: 0px; +padding-left: 0px; +text-decoration: none; +font-weight: bold; +} + +ul.search_results p#daves-wordpress-live-search_author +{ +margin: 0px; +font-size: 90%; +font-weight: bold; +} + +ul.search_results p#daves-wordpress-live-search_date +{ +margin: 0px; +font-size: 90%; +} + +/* BEGIN post thumbnails */ +ul.search_results li.post_with_thumb a { +width:150px; +float:left; +margin-bottom: 5px; +} + +ul.search_results li.post_with_thumb img.post_thumb +{ +float: left; +margin: 3px 10px 10px 0px; +height: 48px; +width: 48px; +border: 1px solid #888; +} +/* END post thumbnails */ + +/* BEGIN post excerpt */ +ul.search_results .excerpt, ul.search_results .meta +{ +font-size: 75%; +width: 100%; +} +/* END post excerpt */ + +ul.search_results .clearfix +{ +float: none !important; +clear: both !important; +} + +.search_footer { +background-color: #888; +width: 100%; +text-align: right; +padding: .5em 0; +font-size: .9em; +} + +.search_footer a, +.search_footer a:visited { +color: #fff; +margin-right: 1em; +} + +#search_results_activity_indicator{ +z-index:999999; +} \ No newline at end of file diff --git a/exclus/gm.js b/exclus/gm.js new file mode 100644 index 0000000..cad7b08 --- /dev/null +++ b/exclus/gm.js @@ -0,0 +1,62 @@ + diff --git a/exclus/loop-attachment jquery.php b/exclus/loop-attachment jquery.php new file mode 100644 index 0000000..f615c01 --- /dev/null +++ b/exclus/loop-attachment jquery.php @@ -0,0 +1,284 @@ + + + + + + + + + post_parent ) ) : ?> + + + +
> +

+ + + +
+
+ $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 image attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image attachment, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } +?> +

ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height. + ?>

+ + + + + + + + + + +
post_excerpt ) ) the_excerpt(); ?> +
+ + + + +
Voir les Exif
+ + + + +ID; + $before_item = '
  • '; + $after_item = '
  • '; + $sep = ': '; + $before_block = '
      '; + $after_block = '
    '; + + $exif_list = $before_block; + if ($metadata['image_meta']['latitude']) + $latitude = $metadata['image_meta']['latitude']; + if ($metadata['image_meta']['longitude']) + $longitude = $metadata['image_meta']['longitude']; + if ($metadata['image_meta']['latitude_ref']) + $lat_ref = $metadata['image_meta']['latitude_ref']; + if ($metadata['image_meta']['longitude_ref']) + $lng_ref = $metadata['image_meta']['longitude_ref']; + $lat = geo_single_fracs2dec($latitude); + $lng = geo_single_fracs2dec($longitude); + if ($lat_ref == 'S') { $neg_lat = '-'; } else { $neg_lat = ''; } + if ($lng_ref == 'W') { $neg_lng = '-'; } else { $neg_lng = ''; } + //$start_geo_link = ''; + $start_geo_link = ''; + $jquery_geo_link = 'http://maps.google.com/maps?q=' . $neg_lat . number_format($lat,6) . '+' . $neg_lng . number_format($lng, 6) . '&z=11'; + $end_geo_link = ''; + + //echo '' . $latitude . '-' . $longitude . '-' . $lat_ref . '-' . $lng_ref . '-' . $lat . '-' . $lng . '-' . $start_geo_link . ''; + ?> + + 1) { + $exif_list .= "1/"; + if ((number_format((1 / $metadata['image_meta']['shutter_speed']), 1)) == 1.3 + or number_format((1 / $metadata['image_meta']['shutter_speed']), 1) == 1.5 + or number_format((1 / $metadata['image_meta']['shutter_speed']), 1) == 1.6 + or number_format((1 / $metadata['image_meta']['shutter_speed']), 1) == 2.5) { + $exif_list .= number_format((1 / $metadata['image_meta']['shutter_speed']), 1, '.', '') . " s" . $after_item; + } + else { + $exif_list .= number_format((1 / $metadata['image_meta']['shutter_speed']), 0, '.', '') . " s" . $after_item; + } + } + else { + $exif_list .= $metadata['image_meta']['shutter_speed']." s" . $after_item; + } + } + // Focal length + if (!empty($metadata['image_meta']['focal_length'])) + $exif_list .= $before_item . __('Focal length', 'twentyten-child') . $sep . $metadata['image_meta']['focal_length'] . " mm" . $after_item; + // Camera + if (!empty($metadata['image_meta']['camera'])) + $exif_list .= $before_item . __('Camera', 'twentyten-child') . $sep . $metadata['image_meta']['camera'] . $after_item; + // Creation time + if (!empty($metadata['image_meta']['created_timestamp'])) + $exif_list .= $before_item . __('Taken', 'twentyten-child') . $sep . date('j F, Y',$metadata['image_meta']['created_timestamp']) . $after_item; + + // Latitude and Longtitude + if ($latitude != 0 && $longitude != 0) + //affichage dans un cadre map caché + //$exif_list .= $before_item . '
    ' . $after_item; + //$exif_list .= $before_item . '' . $after_item; + $exif_list .= $before_item . '' . $after_item; + + //affichage map dans nouvelle fenetre + //$exif_list .= $before_item . $start_geo_link . '' . $end_geo_link . $after_item; + + $exif_list .= $after_block; + + echo $exif_list; +?> + + + + + + +
    + + + + +
    + + +
    +→', 'twentyten' ) ); ?> + '' ) ); ?> + + + +
    + +
    + + ', '' ); ?> +
    + + + + + \ No newline at end of file diff --git a/exclus/loop-attachment ok.php b/exclus/loop-attachment ok.php new file mode 100644 index 0000000..14b723c --- /dev/null +++ b/exclus/loop-attachment ok.php @@ -0,0 +1,300 @@ + + + + + + post_parent ) ) : ?> + + + +
    > +

    + + + +
    +
    + $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 image attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image attachment, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } +?> +

    ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height. + ?>

    + + + + + + + + + + +
    post_excerpt ) ) the_excerpt(); ?> +
    + + + + +
    Voir les Exif
    + + + + +ID; + $before_item = '
  • '; + $after_item = '
  • '; + $sep = ': '; + $before_block = '
      '; + $after_block = '
    '; + + $exif_list = $before_block; + if ($metadata['image_meta']['latitude']) + $latitude = $metadata['image_meta']['latitude']; + if ($metadata['image_meta']['longitude']) + $longitude = $metadata['image_meta']['longitude']; + if ($metadata['image_meta']['latitude_ref']) + $lat_ref = $metadata['image_meta']['latitude_ref']; + if ($metadata['image_meta']['longitude_ref']) + $lng_ref = $metadata['image_meta']['longitude_ref']; + $lat = geo_single_fracs2dec($latitude); + $lng = geo_single_fracs2dec($longitude); + if ($lat_ref == 'S') { $neg_lat = '-'; } else { $neg_lat = ''; } + if ($lng_ref == 'W') { $neg_lng = '-'; } else { $neg_lng = ''; } + //$start_geo_link = ''; + $start_geo_link = ''; + $jquery_geo_link = 'http://maps.google.com/maps?q=' . $neg_lat . number_format($lat,6) . '+' . $neg_lng . number_format($lng, 6) . '&z=11'; + $end_geo_link = ''; + + // Aperture + if (!empty($metadata['image_meta']['aperture'])) + $exif_list .= $before_item . __('Aperture', 'twentyten-child') . $sep . "f/" . $metadata['image_meta']['aperture'] . $after_item; + + // Shutter speed + if (!empty($metadata['image_meta']['shutter_speed'])) { + $exif_list .= $before_item . __('Shutter speed', 'twentyten-child') . $sep; + if ((1 / $metadata['image_meta']['shutter_speed']) > 1) { + $exif_list .= "1/"; + if ((number_format((1 / $metadata['image_meta']['shutter_speed']), 1)) == 1.3 + or number_format((1 / $metadata['image_meta']['shutter_speed']), 1) == 1.5 + or number_format((1 / $metadata['image_meta']['shutter_speed']), 1) == 1.6 + or number_format((1 / $metadata['image_meta']['shutter_speed']), 1) == 2.5) { + $exif_list .= number_format((1 / $metadata['image_meta']['shutter_speed']), 1, '.', '') . " s" . $after_item; + } + else { + $exif_list .= number_format((1 / $metadata['image_meta']['shutter_speed']), 0, '.', '') . " s" . $after_item; + } + } + else { + $exif_list .= $metadata['image_meta']['shutter_speed']." s" . $after_item; + } + } + // Focal length + if (!empty($metadata['image_meta']['focal_length'])) + $exif_list .= $before_item . __('Focal length', 'twentyten-child') . $sep . $metadata['image_meta']['focal_length'] . " mm" . $after_item; + // Camera + if (!empty($metadata['image_meta']['camera'])) + $exif_list .= $before_item . __('Camera', 'twentyten-child') . $sep . $metadata['image_meta']['camera'] . $after_item; + // Creation time + if (!empty($metadata['image_meta']['created_timestamp'])) + $exif_list .= $before_item . __('Taken', 'twentyten-child') . $sep . date('j F, Y',$metadata['image_meta']['created_timestamp']) . $after_item; + + // Latitude and Longtitude + if ($latitude != 0 && $longitude != 0) + //affichage dans un cadre map caché + //$exif_list .= $before_item . '
    ' . $after_item; + $exif_list .= $before_item . '' . $after_item; + // jquery + //$exif_list .= $before_item . '' . $after_item; + + //affichage map dans nouvelle fenetre + //$exif_list .= $before_item . $start_geo_link . '' . $end_geo_link . $after_item; + + $exif_list .= $after_block; + + echo $exif_list; + + // Titre du marker + if ($metadata['image_meta']['caption']) $title_marker = $metadata['image_meta']['caption']; + elseif ($metadata['file']) $title_marker = $metadata['file']; +?> + + +
    + + + + +
    + + +
    + + +→', 'twentyten' ) ); ?> + + '' ) ); ?> + + + +
    + +
    + + ', '' ); ?> +
    + + + + + \ No newline at end of file diff --git a/exclus/loop-attachment v1.php b/exclus/loop-attachment v1.php new file mode 100644 index 0000000..1274a94 --- /dev/null +++ b/exclus/loop-attachment v1.php @@ -0,0 +1,320 @@ + + +'; + $after_item = ''; + $sep = ': '; + $zoom = '11'; + + if ($meta['image_meta']['latitude']) + $latitude = $meta['image_meta']['latitude']; + if ($meta['image_meta']['longitude']) + $longitude = $meta['image_meta']['longitude']; + if ($meta['image_meta']['latitude_ref']) + $lat_ref = $meta['image_meta']['latitude_ref']; + if ($meta['image_meta']['longitude_ref']) + $lng_ref = $meta['image_meta']['longitude_ref']; + + $lat = geo_single_fracs2dec($latitude); + $lng = geo_single_fracs2dec($longitude); + + if ($lat_ref == 'S') { $neg_lat = '-'; } else { $neg_lat = ''; } + if ($lng_ref == 'W') { $neg_lng = '-'; } else { $neg_lng = ''; } + + $gm_lat = $neg_lat . number_format($lat,6); + $gm_lng = $neg_lng . number_format($lng, 6); + + //$start_geo_link = ''; + $start_geo_link = ''; + //$jquery_geo_link = 'http://maps.google.com/maps?q=' . $neg_lat . number_format($lat,6) . '+' . $neg_lng . number_format($lng, 6) . '&z=11'; + $end_geo_link = ''; + + // Aperture + if (!empty($meta['image_meta']['aperture'])) + $exif_list .= $before_item . __('Aperture', 'twentyten-child') . $sep . "f/" . $meta['image_meta']['aperture'] . $after_item; + + // Shutter speed + if (!empty($meta['image_meta']['shutter_speed'])) { + $exif_list .= $before_item . __('Shutter speed', 'twentyten-child') . $sep; + if ((1 / $meta['image_meta']['shutter_speed']) > 1) { + $exif_list .= "1/"; + if ((number_format((1 / $meta['image_meta']['shutter_speed']), 1)) == 1.3 + or number_format((1 / $meta['image_meta']['shutter_speed']), 1) == 1.5 + or number_format((1 / $meta['image_meta']['shutter_speed']), 1) == 1.6 + or number_format((1 / $meta['image_meta']['shutter_speed']), 1) == 2.5) { + $exif_list .= number_format((1 / $meta['image_meta']['shutter_speed']), 1, '.', '') . " s" . $after_item; + } + else { + $exif_list .= number_format((1 / $meta['image_meta']['shutter_speed']), 0, '.', '') . " s" . $after_item; + } + } + else { + $exif_list .= $meta['image_meta']['shutter_speed']." s" . $after_item; + } + } + // Focal length + if (!empty($meta['image_meta']['focal_length'])) + $exif_list .= $before_item . __('Focal length', 'twentyten-child') . $sep . $meta['image_meta']['focal_length'] . " mm" . $after_item; + // Camera + if (!empty($meta['image_meta']['camera'])) + $exif_list .= $before_item . __('Camera', 'twentyten-child') . $sep . $meta['image_meta']['camera'] . $after_item; + // Creation time + if (!empty($meta['image_meta']['created_timestamp'])) + $exif_list .= $before_item . __('Taken', 'twentyten-child') . $sep . date('j F, Y',$meta['image_meta']['created_timestamp']) . $after_item; + + // Latitude and Longtitude + if ($latitude != 0 && $longitude != 0) + //affichage dans un cadre map caché + //$exif_list .= $before_item . '
    ' . $after_item; + $exif_list .= $before_item . '' . $after_item; + // jquery + //$exif_list .= $before_item . '' . $after_item; + + //affichage map dans nouvelle fenetre + //$exif_list .= $before_item . $start_geo_link . '' . $end_geo_link . $after_item; + + // Titre du marker + if ($meta['image_meta']['caption']) $title_marker = $meta['image_meta']['caption']; + elseif ($meta['file']) $title_marker = $meta['file']; + + return array($exif_list, $gm_lat, $gm_lng, $title_marker); + } + +// return geo exif in a nice form +/* +function geo_frac2dec($str) { + @list( $n, $d ) = explode( '/', $str ); + if ( !empty($d) ) + return $n / $d; + return $str; +} + +function geo_pretty_fracs2dec($fracs) { + return geo_frac2dec($fracs[0]) . '° ' . + geo_frac2dec($fracs[1]) . '′ ' . + geo_frac2dec($fracs[2]) . '″ '; +} + +function geo_single_fracs2dec($fracs) { + return geo_frac2dec($fracs[0]) + + geo_frac2dec($fracs[1]) / 60 + + geo_frac2dec($fracs[2]) / 3600; +} +*/ +?> + + + post_parent ) ) : ?> + + + +
    > +

    + + + +
    +
    + $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 image attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image attachment, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } +?> +

    ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height. + ?>

    + + + + + + + + + + +
    post_excerpt ) ) the_excerpt(); ?> +
    + + + + +
    Voir les Exif
    + + + + +ID; + + //echo $attachment->ID; + $before_block = '
      '; + $after_block = '
    '; + $liste_exif = $before_block; + + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attach); + + $liste_exif .= $exif_list; + $liste_exif .= $after_block; + + echo $liste_exif; + +?> + + +
    + + + + +
    + + +
    + + +→', 'twentyten' ) ); ?> + + '' ) ); ?> + + + +
    + +
    + + ', '' ); ?> +
    + + + + + \ No newline at end of file diff --git a/exclus/loop-attachment v2.php b/exclus/loop-attachment v2.php new file mode 100644 index 0000000..a05e710 --- /dev/null +++ b/exclus/loop-attachment v2.php @@ -0,0 +1,180 @@ + + + + + + post_parent ) ) : ?> + + + +
    > +

    + + + +
    +
    + $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 image attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image attachment, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } +?> +

    ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height. + ?>

    + + + + + + + + + + +
    post_excerpt ) ) the_excerpt(); ?> +
    + + + + +
    Voir les Exif
    + + + + +ID; + + //echo $attachment->ID; + $before_block = '
      '; + $after_block = '
    '; + $liste_exif = $before_block; + + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attach); + + $liste_exif .= $exif_list; + $liste_exif .= $after_block; + + echo $liste_exif; + +?> + + +
    + + + +
    + + +
    + + +→', 'twentyten' ) ); ?> + + '' ) ); ?> + + + +
    + +
    + + ', '' ); ?> +
    + + + + + \ No newline at end of file diff --git a/exclus/ls b/exclus/ls new file mode 100644 index 0000000..27d6780 --- /dev/null +++ b/exclus/ls @@ -0,0 +1,136 @@ +http://forrst.com/posts/jquery_livesearch_for_twentyten_theme-tV3 + +//livesearch.js + +jQuery(document).ready(function ($) { + var contentCache, searched = false; + jQuery('#searchform').submit(function () { + var s = jQuery(this).find('#s').val(); + if (s.length == 0) { + return; + } + var submit = $('#searchsubmit'); + submit.attr('disabled', false); + var url = jQuery(this).attr('action') + '?s=' + encodeURIComponent(s) + '&action=search_ajax' + jQuery.ajax({ + url: url, + type: 'get', + dataType: 'html', + beforeSend: function () { + + submit.attr('disabled', true).fadeTo('slow', 0.5); + document.body.style.cursor = 'wait'; + var load = '

    Searching...

    '; + jQuery('#container').empty().html(load); + }, + success: function (data) { + submit.attr('disabled', false).fadeTo('slow', 1); + document.body.style.cursor = 'auto'; + jQuery('#container').empty().html(data); + jQuery('#ajaxback').click(function () { + jQuery('#container').empty().html(contentCache); + }); + + } + + }); + return false; + }); + var timer, currentKey; + jQuery('#s').keyup(function () { + clearTimeout(timer); + timer = setTimeout(function () { + var sInput = jQuery('#s'); + var s = sInput.val(); + if (s.length == 0) { + if (searched) { + jQuery('#container').empty().html(contentCache); + sInput.focus(); + //jQuery('#search-form span.processing').remove(); + searched = false; + } + currentKey = s; + } else { + if (s != currentKey) { + if (!searched) { + contentCache = jQuery('#container')[0].innerHTML; + searched = true; + } + currentKey = s; + if (s != ' ') { + jQuery('#searchform').submit(); + jQuery('#s').attr('value',''); + + } + } + } + }, 800); + }); + +}); + +//functions.php + +add_action('init','ajax_live_search_js'); + +function ajax_live_search_js() { + wp_enqueue_script('jquery'); + wp_register_script('ajax_live_search', get_bloginfo('stylesheet_directory') . '/js/2010.js', array('jquery'), '1.0'); + wp_enqueue_script('ajax_live_search'); +} + +function ajax_live_search_template() { + if (is_search()) { + include(dirname(__FILE__) . '/livesearch.php'); + exit; + } +} + +add_action('template_redirect','ajax_live_search_template'); + +//livesearch.php + +'; +} + +else { $do_ajax =1;} + +?> + +
    + + + +

    ' . get_search_query() . ''); ?>

    + + + + + +
    + +

    + +
    + +

    Go back to last page?';} ?>

    + +
    +
    + + + +
    + +'; + get_sidebar(); + get_footer(); +} + +?> diff --git a/exclus/single 2.php b/exclus/single 2.php new file mode 100644 index 0000000..fed350f --- /dev/null +++ b/exclus/single 2.php @@ -0,0 +1,269 @@ + + +
    +
    + + + + + +
    > +

    + + + + +
    + + + ', ']]>', $content); + + //$pattern = '/]*>/Ui'; + //$pattern = '/]* src=\"([^\"]*)\"[^>]*>/Ui'; + $pattern = '/]*src=\"?([^\"]*)\"?([^>]*alt=\"?([^\"]*)\"?)?[^>]*>/Ui'; + preg_match_all($pattern, $content , $matches, PREG_SET_ORDER); + + for ($i = 0; $i <= (count($matches) - 1); $i++) { + $ancien = $matches[$i][0]; + + //echo $ancien . '
    '; + + if (substr_count($ancien, 'wordpress') != 0) { + + echo "wordpress"; + + $new_img = $ancien . '' . "\r\n" . '
    Voir les Exifs
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + $pattern2 = '#wp-image-[0-9]{1,3}#'; + preg_match($pattern2, $ancien, $matches2); + $attachment = substr($matches2[0],9); + $metadata = wp_get_attachment_metadata( $attachment ); + + //echo $attachment; + //print_r($metadata); + + //echo "erreur2: " . $ancien; + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attachment); + //echo $gm_lat; + + $new_img .= $exif_list; + $new_img .= '
    '."\r\n"; + + //$new_img .= ''; + + //$new_img .= '
    '."\r\n"; + //$new_img .= '
    test
    '."\r\n"; + } + elseif (substr_count($ancien, 'zenphoto') != 0) { + + echo "zenphoto"; + + //echo $ancien; + $ancien_img = 'http://alubook.local/zenphoto/albums/becasseaux/2008-09-07_BecasseauVariable_0351.jpg'; + + $new_img = $ancien . '' . "\r\n" . '
    Voir les Exifs
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + //$exif = exif_read_data('http://alubook.local/zenphoto/zp-core/i.php?a=becasseaux&i=2008-09-07_BecasseauVariable_0351.jpg', 0, true); + $exif = exif_read_data($ancien_img, 0, true); + //print_r($exif); + //src = http://alubook.local/zenphoto/zp-core/i.php?a=becasseaux&i=2008-09-07_BecasseauVariable_0351.jpg + //2008-09-07_BecasseauVariable_0351 + + $metadata =array(); + if ($exif[GPS][GPSLatitude]) { + $metadata['image_meta']['latitude'] = $exif[GPS][GPSLatitude]; + //print_r($metadata['image_meta']['latitude']); + } + if ($exif[GPS][GPSLongitude]) $metadata['image_meta']['longitude'] = $exif[GPS][GPSLongitude]; + if ($exif[GPS][GPSLatitudeRef]) $metadata['image_meta']['latitude_ref'] = $exif[GPS][GPSLatitudeRef]; + if ($exif[GPS][GPSLongitudeRef]) $metadata['image_meta']['longitude_ref'] = $exif[GPS][GPSLongitudeRef]; + if ($exif[EXIF][FNumber]) { + $ouverture = explode("/", $exif[EXIF][FNumber]); // 63/10 + $a = ($ouverture[0] / $ouverture[1]); + $metadata['image_meta']['aperture'] = ($ouverture[0] / $ouverture[1]); + } + if ($exif[EXIF][ExposureTime]) $metadata['image_meta']['shutter_speed'] = $exif[EXIF][ExposureTime]; + if ($exif[EXIF][FocalLength]) { + $focale = explode("/", $exif[EXIF][FocalLength]); + $metadata['image_meta']['focal_length'] = $focale[0]; + } + if ($exif[EXIF][Model]) $metadata['image_meta']['camera'] = $exif[EXIF][Model]; + //if ($exif[EXIF][DateTimeOriginal]) $metadata['image_meta']['created_timestamp'] = $exif[EXIF][DateTimeOriginal]; + if ($exif[EXIF][DateTimeOriginal]) { + $metadata['image_meta']['created_timestamp'] = strtotime($exif[EXIF][DateTimeOriginal]); + } + $metadata['image_meta']['caption'] = ''; + + //print_r($metadata); + //echo 'latitude_ref: ' . $metadata['image_meta']['latitude_ref']; + + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attachment); +//echo $exif_list; //ok + + $new_img .= $exif_list; + //$new_img .= '
    '."\r\n"; + $new_img .= '' . $gm_lat . ' ; ' . $gm_lng . '
    '."\r\n"; + +//echo $new_img; + + //print_r($exif_list); + + //$new_img = $ancien; + } + else { + + echo "autres..."; + + //$new_img = $ancien; + } + + $content = str_replace($ancien, $new_img, $content); + //echo $content; + + } + + echo $content; + + ?> + +

     

    + + + + + + + + '' ) ); ?> +
    + + +
    +
    + +
    + +
    + + + + + + + + +
    + + ', '' ); ?> +
    +
    + + + + + + + +
    + + + + diff --git a/exclus/single 5.php b/exclus/single 5.php new file mode 100644 index 0000000..f5ca272 --- /dev/null +++ b/exclus/single 5.php @@ -0,0 +1,149 @@ + + +
    +
    + + + + + +
    > +

    + + + + +
    + + + ', ']]>', $content); + + $pattern = '/]*>/Ui'; + preg_match_all($pattern, $content , $matches, PREG_SET_ORDER); + + for ($i = 0; $i <= (count($matches) - 1); $i++) { + $ancien = $matches[$i][0]; + + $new_img = $ancien . '' . "\r\n" . '
    Voir les Exif
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + $pattern2 = '#wp-image-[0-9]{1,3}#'; + preg_match($pattern2, $ancien, $matches2); + $metadata = wp_get_attachment_metadata( substr($matches2[0],9) ); + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata); + echo $gm_lat; + + $new_img .= $exif_list; + $new_img .= '
    '."\r\n"; + + $content = str_replace($ancien, $new_img, $content); + } + + echo $content; + + ?> + + '' ) ); ?> +
    + + +
    +
    + +
    + +
    + + + + + + + + +
    + + ', '' ); ?> +
    +
    + + + + + + + +
    +
    + + + diff --git a/exclus/single bof.php b/exclus/single bof.php new file mode 100644 index 0000000..3475efd --- /dev/null +++ b/exclus/single bof.php @@ -0,0 +1,145 @@ + + +
    +
    + + + + + +
    > +

    + + + +
    + + + ', ']]>', $content); + + $pattern = '/]*>/Ui'; + preg_match_all($pattern, $content , $matches, PREG_SET_ORDER); + + + preg_match_all('{}',$content,$attachment, PREG_SET_ORDER); + /* + preg_match_all('%]+rel=("([^"]+)"|\'([^\']+)\')[^>]*>%i', $content,$attachment);*/ + //print_r($attachment[0][1]); //attachment wp-att-293 + //print_r($attachment[1][1]); //attachment wp-att-294 + + for ($i = 0; $i <= (count($matches) - 1); $i++) { + $ancien = $matches[$i][0]; + //$new_img = $ancien . $ajout; + $new_img = $ancien . mod_image($i); + $content = str_replace($ancien, $new_img, $content); + } + + echo $content; + + ?> + + + + + '' ) ); ?> +
    + + +
    +
    + +
    +
    +
    + + + + + + + + +
    + + ', '' ); ?> +
    +
    + + + + + + + +
    +
    + + + diff --git a/exclus/single v2.php b/exclus/single v2.php new file mode 100644 index 0000000..b9271d2 --- /dev/null +++ b/exclus/single v2.php @@ -0,0 +1,198 @@ + + + + +
    +
    + + + + + +
    > +

    + + + + +
    + + + ', ']]>', $content); + + $pattern = '/]*>/Ui'; + preg_match_all($pattern, $content , $matches, PREG_SET_ORDER); + + for ($i = 0; $i <= (count($matches) - 1); $i++) { + $ancien = $matches[$i][0]; + + $new_img = $ancien . '' . "\r\n" . '
    Voir les Exif
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + $pattern2 = '#wp-image-[0-9]{1,3}#'; + preg_match($pattern2, $ancien, $matches2); + $attachment = substr($matches2[0],9); + $metadata = wp_get_attachment_metadata( $attachment ); + + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attachment); + //echo $gm_lat; + + $new_img .= $exif_list; + $new_img .= '
    '."\r\n"; + + //$new_img .= ''; + + //$new_img .= '
    '."\r\n"; + + $map = "map" . $attachment; + + + $new_img .= '
    test
    test
    test
    test
    '."\r\n"; + + + $new_img .= ''; + + + $content = str_replace($ancien, $new_img, $content); + //echo $content; + + } + + echo $content; + + ?> + + + + + + + + + '' ) ); ?> +
    + + +
    +
    + +
    + +
    + + + + + + + + +
    + + ', '' ); ?> +
    +
    + + + + + + + +
    +
    + + + diff --git a/exclus/single.php b/exclus/single.php new file mode 100644 index 0000000..ba2e4e5 --- /dev/null +++ b/exclus/single.php @@ -0,0 +1,314 @@ + + +
    +
    + + + + + +
    > +

    + + + + +
    + + + ', ']]>', $content); + + // retina 2x + if (function_exists( ' wr2x_init' ) ) $pattern = '/]* src=\"([^\"]*)\"[^>]*>/Ui'; + // sans retina + else $pattern = '/]*src=\"?([^\"]*)\"?([^>]*alt=\"?([^\"]*)\"?)?[^>]*>/Ui'; + preg_match_all($pattern, $content , $matches, PREG_SET_ORDER); + + //preprint($matches); + + for ($i = 0; $i <= (count($matches) - 1); $i++) { + $ancien = $matches[$i][0]; + + if (substr_count($ancien, 'wordpress') != 0) { + + $new_img = $ancien . '' . "\r\n" . '
    Voir les Exifs
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + $pattern2 = '#wp-image-[0-9]{1,4}#'; + preg_match($pattern2, $ancien, $matches2); + $attachment = substr($matches2[0],9); + //echo $attachment . "
      "; + + + $metadata = wp_get_attachment_metadata($attachment); + //preprint($metadata); + + //echo "erreur2: " . $ancien; + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attachment, $i); + //echo $gm_lat; + + $new_img .= $exif_list; + $new_img .= '
    '."\r\n"; + + //$new_img .= ''; + + //$new_img .= '
    '."\r\n"; + //$new_img .= '
    test
    '."\r\n"; + } + elseif (substr_count($ancien, 'zenphoto') != 0) { + + //echo "zenphoto"; + + //echo $ancien; + $ancien_img = 'http://macbook-pro.local/zenphoto/albums/becasseaux/2008-09-07_BecasseauVariable_0351.jpg'; + + $new_img = $ancien . '' . "\r\n" . '
    Voir les Exifs
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + //$exif = exif_read_data('http://alubook.local/zenphoto/zp-core/i.php?a=becasseaux&i=2008-09-07_BecasseauVariable_0351.jpg', 0, true); + $exif = exif_read_data($ancien_img, 0, true); + //print_r($exif); + //src = http://alubook.local/zenphoto/zp-core/i.php?a=becasseaux&i=2008-09-07_BecasseauVariable_0351.jpg + //2008-09-07_BecasseauVariable_0351 + + $metadata =array(); + if ($exif[GPS][GPSLatitude]) { + $metadata['image_meta']['latitude'] = $exif[GPS][GPSLatitude]; + //print_r($metadata['image_meta']['latitude']); + } + if ($exif[GPS][GPSLongitude]) $metadata['image_meta']['longitude'] = $exif[GPS][GPSLongitude]; + if ($exif[GPS][GPSLatitudeRef]) $metadata['image_meta']['latitude_ref'] = $exif[GPS][GPSLatitudeRef]; + if ($exif[GPS][GPSLongitudeRef]) $metadata['image_meta']['longitude_ref'] = $exif[GPS][GPSLongitudeRef]; + if ($exif[EXIF][FNumber]) { + $ouverture = explode("/", $exif[EXIF][FNumber]); // 63/10 + $a = ($ouverture[0] / $ouverture[1]); + $metadata['image_meta']['aperture'] = ($ouverture[0] / $ouverture[1]); + } + if ($exif[EXIF][ExposureTime]) $metadata['image_meta']['shutter_speed'] = $exif[EXIF][ExposureTime]; + if ($exif[EXIF][FocalLength]) { + $focale = explode("/", $exif[EXIF][FocalLength]); + $metadata['image_meta']['focal_length'] = $focale[0]; + } + if ($exif[EXIF][Model]) $metadata['image_meta']['camera'] = $exif[EXIF][Model]; + //if ($exif[EXIF][DateTimeOriginal]) $metadata['image_meta']['created_timestamp'] = $exif[EXIF][DateTimeOriginal]; + if ($exif[EXIF][DateTimeOriginal]) { + $metadata['image_meta']['created_timestamp'] = strtotime($exif[EXIF][DateTimeOriginal]); + } + $metadata['image_meta']['caption'] = ''; + + //print_r($metadata); + //echo 'latitude_ref: ' . $metadata['image_meta']['latitude_ref']; + + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attachment, $i); +//echo $exif_list; //ok + + $new_img .= $exif_list; + //$new_img .= '
    '."\r\n"; + $new_img .= '' . $gm_lat . ' ; ' . $gm_lng . '
    '."\r\n"; + + + +//echo $new_img; + + //print_r($exif_list); + + //$new_img = $ancien; + } + else { + + //echo "autres..."; + + //$new_img = $ancien; + } + + $content = str_replace($ancien, $new_img, $content); + //echo $content; + + } + + echo $content; + + ?> + +

     

    + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + '' ) ); ?> +
    + + +
    +
    + +
    + +
    + + + + + + + + +
    + + ', '' ); ?> +
    +
    + + + + + + + +
    + + + + diff --git a/exclus/single__.php b/exclus/single__.php new file mode 100644 index 0000000..f337a39 --- /dev/null +++ b/exclus/single__.php @@ -0,0 +1,318 @@ + + +
    +
    + + + + + +
    > +

    + + + + +
    + + + ', ']]>', $content); + + //$pattern = '/]*>/Ui'; + //$pattern = '/]* src=\"([^\"]*)\"[^>]*>/Ui'; + $pattern = '/]*src=\"?([^\"]*)\"?([^>]*alt=\"?([^\"]*)\"?)?[^>]*>/Ui'; + preg_match_all($pattern, $content , $matches, PREG_SET_ORDER); + + print_r($matches); + echo "

    "; + + for ($i = 0; $i <= (count($matches) - 1); $i++) { + $ancien = $matches[$i][0]; + + //echo $ancien . '
    '; + + if (substr_count($ancien, 'wordpress') != 0) { + + //echo "wordpress"; + + $new_img = $ancien . '' . "\r\n" . '
    Voir les Exifs
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + $pattern2 = '#wp-image-[0-9]{1,3}#'; + preg_match($pattern2, $ancien, $matches2); + $attachment = substr($matches2[0],9); + $metadata = wp_get_attachment_metadata( $attachment ); + + echo $attachment; + echo $metadata; + //print_r($metadata); + + //echo "erreur2: " . $ancien; + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attachment, $i); + //echo $gm_lat; + + $new_img .= $exif_list; + $new_img .= '
    '."\r\n"; + + //$new_img .= ''; + + //$new_img .= '
    '."\r\n"; + //$new_img .= '
    test
    '."\r\n"; + } + elseif (substr_count($ancien, 'zenphoto') != 0) { + + //echo "zenphoto"; + + //echo $ancien; + $ancien_img = 'http://macbook-pro.local/zenphoto/albums/becasseaux/2008-09-07_BecasseauVariable_0351.jpg'; + + $new_img = $ancien . '' . "\r\n" . '
    Voir les Exifs
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + //$exif = exif_read_data('http://alubook.local/zenphoto/zp-core/i.php?a=becasseaux&i=2008-09-07_BecasseauVariable_0351.jpg', 0, true); + $exif = exif_read_data($ancien_img, 0, true); + //print_r($exif); + //src = http://alubook.local/zenphoto/zp-core/i.php?a=becasseaux&i=2008-09-07_BecasseauVariable_0351.jpg + //2008-09-07_BecasseauVariable_0351 + + $metadata =array(); + if ($exif[GPS][GPSLatitude]) { + $metadata['image_meta']['latitude'] = $exif[GPS][GPSLatitude]; + //print_r($metadata['image_meta']['latitude']); + } + if ($exif[GPS][GPSLongitude]) $metadata['image_meta']['longitude'] = $exif[GPS][GPSLongitude]; + if ($exif[GPS][GPSLatitudeRef]) $metadata['image_meta']['latitude_ref'] = $exif[GPS][GPSLatitudeRef]; + if ($exif[GPS][GPSLongitudeRef]) $metadata['image_meta']['longitude_ref'] = $exif[GPS][GPSLongitudeRef]; + if ($exif[EXIF][FNumber]) { + $ouverture = explode("/", $exif[EXIF][FNumber]); // 63/10 + $a = ($ouverture[0] / $ouverture[1]); + $metadata['image_meta']['aperture'] = ($ouverture[0] / $ouverture[1]); + } + if ($exif[EXIF][ExposureTime]) $metadata['image_meta']['shutter_speed'] = $exif[EXIF][ExposureTime]; + if ($exif[EXIF][FocalLength]) { + $focale = explode("/", $exif[EXIF][FocalLength]); + $metadata['image_meta']['focal_length'] = $focale[0]; + } + if ($exif[EXIF][Model]) $metadata['image_meta']['camera'] = $exif[EXIF][Model]; + //if ($exif[EXIF][DateTimeOriginal]) $metadata['image_meta']['created_timestamp'] = $exif[EXIF][DateTimeOriginal]; + if ($exif[EXIF][DateTimeOriginal]) { + $metadata['image_meta']['created_timestamp'] = strtotime($exif[EXIF][DateTimeOriginal]); + } + $metadata['image_meta']['caption'] = ''; + + //print_r($metadata); + //echo 'latitude_ref: ' . $metadata['image_meta']['latitude_ref']; + + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attachment, $i); +//echo $exif_list; //ok + + $new_img .= $exif_list; + //$new_img .= '
    '."\r\n"; + $new_img .= '' . $gm_lat . ' ; ' . $gm_lng . '
    '."\r\n"; + + + +//echo $new_img; + + //print_r($exif_list); + + //$new_img = $ancien; + } + else { + + //echo "autres..."; + + //$new_img = $ancien; + } + + $content = str_replace($ancien, $new_img, $content); + //echo $content; + + } + + echo $content; + + ?> + +

     

    + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + '' ) ); ?> +
    + + +
    +
    + +
    + +
    + + + + + + + + +
    + + ', '' ); ?> +
    +
    + + + + + + + +
    + + + + diff --git a/exclus/style.css b/exclus/style.css new file mode 100644 index 0000000..2a2d883 --- /dev/null +++ b/exclus/style.css @@ -0,0 +1,710 @@ +/* +Theme Name: Twenty Ten Child +Description: Theme enfant pour Twenty Ten +Author: Le nom de l'auteur +Template: twentyten +*/ + +@import url("../twentyten/style.css"); + +body { + background-color: #e7e7e2; + /*background-color: #b7a691;*/ + } + +a:link, a:visited { + color: #858585; +} + +a:hover { + color: #373737; +} +a img { + padding: 4px; + border: thin solid #736c4d; +} +.iiframe { + text-align: center; +} + +#randomImg img { + padding: 10px; + background-color: #fff; + border: 1px solid #818181; + margin-right: auto; + margin-left: auto; + display: block; +} +/**/ + +#wrapper { + background-color: #e7e7e2; + /*background-color: #b7a691;*/ + /*margin-top: 20px; + padding: 0 20px;*/ + } + +#main { + /*background-color: #bfb68a;*/ + background-color: #fffefc; + -webkit-border-radius: 16px 16px 0 0; + -moz-border-radius: 16px 16px 0 0; border-radius: 16px 16px 0 0; + border: thin solid #a0966c; + padding-top: 30px; +} + +#main .widget-area ul { + padding: 0 20px; +} +/* +#container { + margin: 0 -260px 0 0; +} + +#primary { + width: 240px; +} +*/ +#container { + margin: 0 -230px 0 0; +} + +#container2, container-fullwidth { + margin: 0 0 0 0; +} + +#primary { + width: 230px; +} + +#content { + width: 660px; +} +#content2 { + margin: 0 20px; + width: 890px; +} + +/* Header */ + +#header { + margin-bottom:20px; + padding:0 10px; + /*width:940px;*/ + /*display:block;*/ + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} +#header #logo { + float:left; + } + +#header #pagenav { + float:right; + } + +#pagenav ul { + margin: 16px 0 0; + padding-left: 2em; +} + +#pagenav li { + display: inline; + list-style-type: none; + padding: 8px; + } +#pagenav li a { + text-decoration: none; + font-size: large; + padding-bottom: 20px; + text-shadow: 1px 1px 1px #aaa; + color: #fff; +} +#pagenav li a:hover { + border-bottom: 2px solid #fff; +} +#logo a { + color: #fff; + text-shadow: 1px 1px 1px #aaa; + text-decoration: none; + font-size: xx-large; + letter-spacing: 5px; + } + +/* + +#content { + color: #444; +} + */ +#content, +#content input, +#content textarea, +#content2, +#content2 input, +#content2 textarea { + color: #444; + font-size: 13px; + line-height: 24px; +} + +#content h2, #content2 h2 { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} +#content h2 a, #content2 h2 a { + font-weight: normal; + font-style: normal; + letter-spacing: 0.5px; + font-size: x-large; + color: #736c4d; + text-shadow: 3px 3px 3px #d9d3c1; +} + +#content a:hover, #content2 a:hover { + color: #373737; +} +.entry-content, .entry-summary p, .comment-body { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} + +.entry-content p, .entry-summary p, .comment-body p { + font-size: 13px; +} + +.entry-date { + +} + +.entry-meta a { + text-decoration: none; + margin-left: 5px; +} + +.entry-utility { + text-align: right; + color: #444; + margin-top: 30px; +} +.navigation { + line-height: 34px; +} +.nav-previous a, .nav-next a { + font-size: larger; +} + +/* */ + +.format-gallery .size-thumbnail img, +.category-gallery .size-thumbnail img { + border: 1px solid #f1f1f1; + margin-bottom: 0; +} + +.gallery img { + border-style: none; + border-width: 0; +} + +.gallery img { + border: 1px solid #f1f1f1; +} + +/* liens */ + +#content ul { + list-style-type: none; + margin-left: 3em; +} +#content2 ol { + list-style-type: none; + margin: 0 8em; +} + +#content h3 { + margin-bottom: 1em; + margin-top: 2em; +} +/* single */ + +#content h1.entry-title, #content2 h1.entry-title { + font-weight: normal; + font-style: normal; + letter-spacing: 0.5px; + font-size: x-large; + color: #736c4d; + text-shadow: 3px 3px 3px #d9d3c1; + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} + +#related { + margin-left: 3em; + margin-right: 2em; + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; + margin-bottom: 1em; +} + +.maj { + font-size: 10px; + font-style: italic; +} + +/* related post*/ +.related { + font-size: smaller; + line-height: 20px; +} + +/* author info */ +#entry-author-info { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; + /**/background: #e7e7e2; + border-top: 0px; + clear: both; + font-size: 14px; + line-height: 20px; + margin: 24px 0; + overflow: hidden; + padding: 18px 20px; +} + +#author-link { + clear: both; + color: #777; + font-size: 12px; + line-height: 18px; + +} +/* comments */ + +#comments h3 { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; + font-weight: normal; + font-style: normal; + color: #444; +} + +.comment-notes { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; + font-size: 13px; +} + +.comment-author cite { + color: #000; + font-style: italic; + font-family: Georgia, "Times New Roman", Times, serif; + font-weight: normal; +} + +.commentmetadata-guestbook { + text-align: right; + margin-bottom: 0; +} + +ol.commentlist{ + border-bottom: 1px solid #e7e7e7; +} + +#respond { + border-top: 0; + margin-left: 5em; + margin-right: 5em; +} + +#respond input { + margin: 0 0 9px; + width: 60%; + display: block; +} + +#respond textarea { + width: 98%; +} + +#respond label { + font-size: small; +} + +.form-submit { + text-align: right; + padding-right: 3em; +} + +/* livre d'or */ + +#randomImg { + margin-right: auto; + margin-left: auto; +} + +/* sidebar */ + +input[type="text"], +textarea { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} + +#primary h3 { + +} +.widget_search #s {/* This keeps the search inputs in line */ + width: 55%; +} + +.widget-container { + /*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/ + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} + +.widget-title { + color: #736c4d; + text-shadow: 0px 0px 3px #d9d3c1; + margin-bottom: 24px; + font: normal large "Lucida Grande", Lucida, Verdana, sans-serif; + padding-bottom: 10px; + border-bottom-style: solid; + border-bottom-width: thin; +} + +.widget-area ul ul { + margin-left: 0px; + /*list-style-image: url(images/icon_bullet.png);*/ +} + +/**/ +.widget-area ul ul li { + margin-left: 0px; + padding-bottom:0px; + padding-left:22px; + background: url(images/icon_bullet.png) 0 5px no-repeat; + list-style-type: none; + line-height: 24px; +} + +/* Footer */ + + +#colophon { + border-top: 1px solid #919191; + margin-top: -1px; + overflow: hidden; + padding: 18px 0; +} + +#site-info ul { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; } + +#site-info ul { + + } + +#site-info li { + display: inline; + list-style-type: none; + border-right: 1px solid #999; + padding-right: 3px + } +/**/ +#site-info li:last-child { + border-right:0px; + } + +#site-info li a { + color: #999; + text-decoration: none; + font-size: small; + font-weight: normal; + font-style: normal; + } + +/* contact form 7 */ + +.wpcf7-form { + border: thin solid #b1b1b1; + padding: 1em 1em 1em 2em; + margin: 3em 4em; +} + +/* caption */ + +.wp-caption, .entry-caption { + background: transparent; + line-height: 18px; + margin-bottom: 20px; + max-width: 632px !important; /* prevent too-wide images from breaking layout */ + padding: 0; + margin-right: auto; + margin-left: auto; +} +.wp-caption img { + margin: 0; +} +.wp-caption p.wp-caption-text, .entry-caption p { + background: #f1f1f1; + padding-top: 2px; + padding-bottom: 1px; + text-align: center; +} + +/* search */ + +#searchform input.inputfield { + width: 150px; +} +#searchform input.pushbutton { + width:20px; height: 20px;border:0;background: transparent url(images/search2.png) no-repeat 0 4px; text-indent: -9999px; cursor:pointer; +} +#searchform input.pushbutton:hover {cursor:pointer;} + +/* -------------------------------------------- + +#jquery-live-search { + background: #fff; + + padding: 5px 10px; + max-height: 400px; + overflow: auto; + + position: absolute; + z-index: 99; + + border: 1px solid #A9A9A9; + border-width: 0 1px 1px 1px; + + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); + -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); +} +*/ +/* -------------------------------------------- */ +/* ThreeWP_Ajax_Search */ +/* -------------------------------------------- */ + +/* + The container contains the whole ajax search results box. The "content". +*/ +div.threewp_ajax_search_container +{ + position: absolute; + z-index: 100; + width: 300px; + height: 400px; +} + +/** + Below are the default settings that look OK on TwentyTen. +**/ + +/** + Content box +**/ +div.threewp_ajax_search_results_content +{ + position: relative; + overflow: auto; + background-color: #e7e7e2; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + box-shadow: 0px 3px 3px rgba(0,0,0,0.2); + -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); + -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); + border-radius: 4px; + font-size: smaller; +} + +div.threewp_ajax_search_results_content ul +{ + list-style-type: none; + margin: 0 !important; +} + +div.threewp_ajax_search_results_content ul li +{ + padding: 4px; + background-image: none; +} + +div.threewp_ajax_search_results_content ul li a +{ + display: block; + height: 100%; /** So that clicking anywhere on that line will work. */ + width: 100%; +} + +div.threewp_ajax_search_results_content ul li a:link, +div.threewp_ajax_search_results_content ul li a:visited +{ + color: #858585; + text-decoration: none; +} +div.threewp_ajax_search_results_content ul li a:hover +{ + color: #373737; + text-decoration: underline; +} +/** + The first item has .item_first, which enables us to, in this case, have nice, rounded borders on the top. +*/ +div.threewp_ajax_search_results_content ul li.item_first +{ + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-radius-topleft: 4px; + -webkit-border-radius-topright: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} + +/** + The last item has .item_last, which enables us to, in this case, have nice, rounded borders on the bottom. +*/ +div.threewp_ajax_search_results_content ul li.item_last +{ + -moz-border-radius-bottomright: 4px; + -moz-border-radius-bottomleft: 4px; + -webkit-border-radius-bottomright: 4px; + -webkit-border-radius-bottomleft: 4px; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +/** + Since we parse actual search page results and display those, remove whatever we don't want. + + Another way of doing this would be to use a custom url, like http://testsite.com/?ajax_search&s= + + Will be sent as http://testsite.com/?ajax_search&s=text + + The theme could then detect $_GET['ajax_search'] and display simpler results. Either way, it's up to you. +**/ +div.threewp_ajax_search_results_content .entry-utility, +div.threewp_ajax_search_results_content .meta-nav, +div.threewp_ajax_search_results_content .entry-summary, +div.threewp_ajax_search_results_content .entry-meta, +div.threewp_ajax_search_results_content .entry-content +{ + display: none; +} + +div.threewp_ajax_search_results_content ul li.item_selected, +div.threewp_ajax_search_results_content ul li:hover +{ + background: #ccc; +} + +/** + Search in progress! + + The container gets the class threewp_ajax_search_in_progress when it's busy doing a search. + This allows us to have fancy loading graphics, which I've taken from the normal Wordpress graphics. + + If you've blocked access to /wp-admin then it's your own fault your users aren't seeing moving graphics. +*/ +.threewp_ajax_search_in_progress #s +{ + color: #ccc; +} + +.threewp_ajax_search_in_progress #s +{ + background-image: url("../../../../wp-admin/images/loading.gif"); + background-position: right; + background-repeat: no-repeat; +} + + +/* -------------------------------------------- */ +/* / ThreeWP_Ajax_Search */ +/* -------------------------------------------- */ + + +/* JW Player Plugin for WordPress */ + +.Custom { +/* background-color: maroon; + text-align: center; + margin-right: auto; + margin-left: auto;*/ +} +.JWPlayer { + max-width: 420px; + margin-right: auto; + margin-left: auto; +} + +.droite { + text-align: right; + font-style: italic; + font-size: x-small; + color: #858585; + margin-bottom: 3em; + text-decoration: underline; +} + +.droite:hover { + color: #373737; + cursor:pointer; + text-decoration: underline; +} + +.bloc_exif { + display: none; + text-align: center; +} + +#content .bloc_exif img { + border: none; + margin: 0; + display: inline; + vertical-align: bottom; +} + +#content .bloc_exif img { + cursor:pointer; +} +#content .bloc_exif ul { + list-style:none; + background:#fff; + border:solid #ddd; + border-width:1px; + margin-right: auto; + margin-left: auto; + width: 620px; + padding: 1em 0.5em; +} + + +/* +.bloc_exif img { + border: none; + margin: 0; + display: inline; +} +.bloc_exif ul {list-style:none; padding:1em; background:#fff; border:solid #ddd; border-width:1px; +} +*/ +#content .bloc_exif li {display:inline; padding-right:0.5em; font-size:0.857em; +} + +#map, #map_canvas1, #map_canvas2, #map_canvas3, #map_canvas4, #map_canvas5 { + width: 500px; + height: 350px; + display: none; + margin-right: auto; + margin-left: auto; + margin-bottom: 5em; +} +.close { + +} +.mappy { + display: none; +} +.infowindow ul { + list-style-image: none; + display: block; +} +.infowindow li { + font-size: x-small; + } +.infowindow { + width: 350px; +} \ No newline at end of file diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..7b5bd88 --- /dev/null +++ b/footer.php @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to reference JavaScript files. + */ + + wp_footer(); +?> + + diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..c2914ad --- /dev/null +++ b/functions.php @@ -0,0 +1,1057 @@ + + +
    +

    Options de mon thème

    + +
    + + + + + + + + + + + + + + + + + +
    />
    +

    + +

    +
    +
    +"; + $x .= print_r($s, 1); + $x .= ""; + if ($return) return $x; + else print $x; + } + + +/*** Ajout d'un bouton ZP dans l'éditeur visuel (tinymce) ***/ + +add_action('init','add_buttons'); +function add_buttons(){ + if(current_user_can('edit_posts') && current_user_can('edit_pages')){ + add_filter('mce_external_plugins','add_plugins'); + add_filter('mce_buttons','register_buttons'); + } +} + +function add_plugins($plugins){ + $plugins['zp'] = get_bloginfo('stylesheet_directory').'/js/zenphoto.js'; + return $plugins; +} +function register_buttons($buttons){ + array_push($buttons, 'zp'); + return $buttons; +} +/*** /ajout bouton ZP dans l'editeur ***/ + + +/* Shorcode Zenphoto +*/ + +function zenphoto_handler($atts, $content=null) { + + //utilise le cacheManager de zenphoto (extensions/utilitaires/cacheManager) + //utilisation: [zenphoto album="lievres" image="2008-08-18_Lievre_8927.jpg"] + // [zenphoto album="sports-mecaniques/gp-france" image="2010-05-23_gp-france-2010_5321.jpg"] + //taille des photos dans Worpress, theme Twenty Ten Child : 610x406 + + $host = (($_SERVER['HTTPS'] != "") ? "https" : "http") . '://' . $_SERVER['HTTP_HOST']; + + $zenphoto_url2 = get_option( 'zenphoto_url' ); + + if (substr_count($zenphoto_url2, 'https') == 0) { + $zenphoto_url = (($_SERVER['HTTPS'] != "") ? substr_replace($zenphoto_url2, 'https', 0, 4) : $zenphoto_url2); + } + + $size = get_option( 'img_size' ); + $folder = false; + $zenphoto_img = ""; +//preprint($atts); + $a = $atts['image']; + $b = zp_query($a); // ligne 808 + + if (isset($atts['folder'])) { + if ($atts['folder'] == "true") $folder = true; + } + + $img = substr($atts['image'], 0, strlen($atts['image']) - 4); + + $filename = $zenphoto_url . 'cache/' . $atts['album'] . '/' . urlencode($img) . '_' . $size . '_watermark.jpg'; + $zp_size = getimagesize(htmlentities($filename)); + + //if ($folder == false) $zenphoto_link = ''; + if ($folder == false) $zenphoto_link = ''; + else $zenphoto_link = ''; + + $zenphoto_img .= $zenphoto_link; + $zenphoto_img .= ' + + + + + + + '; + $zenphoto_img .= ''; + + /* + if ($b['image_meta']['description'] != "") { + $caption = ""; + $caption .= '

    '; + $caption .= $b['image_meta']['description'] . '

    '; + + $zenphoto_img .= $caption; + } + */ + return $zenphoto_img; +} + +add_shortcode( 'zenphoto', 'zenphoto_handler' ); + + + +/* NON UTILISE */ + +function field_func($atts) { + global $post; + $name = $atts['name']; + if (empty($name)) return; + return get_post_meta($post->ID, $name, true); +} +add_shortcode('field', 'field_func'); + + +/* +// http://wp.ruche.org/2010/12/20/utiliser-les-images-a-la-une/ +add_theme_support( 'post-thumbnails', array( 'post' ) ); // Ajouter sur les articles uniquement +add_theme_support( 'post-thumbnails', array( 'page' ) ); // Ajouter sur les pages uniquement +set_post_thumbnail_size( 50, 50 ); // 50 pixels en largeur par 50 pixels en hauteur, box resize +//set_post_thumbnail_size( 50, 50, true ); // 50 pixels en largeur par 50 pixels en hauteur, mode hard crop +//add_image_size( 'miniature-archives', 200, 9999 ); // Miniatures des archives +*/ + + +/* Ajoute les données GPS aux métadata lors de l'importation du média */ + +function add_geo_exif($meta,$file,$sourceImageType) { + $exif = @exif_read_data( $file ); + if (!empty($exif['GPSLatitude'])) + $meta['latitude'] = $exif['GPSLatitude'] ; + if (!empty($exif['GPSLatitudeRef'])) + $meta['latitude_ref'] = trim( $exif['GPSLatitudeRef'] ); + if (!empty($exif['GPSLongitude'])) + $meta['longitude'] = $exif['GPSLongitude'] ; + if (!empty($exif['GPSLongitudeRef'])) + $meta['longitude_ref'] = trim( $exif['GPSLongitudeRef'] ); + + return $meta; +} + +add_filter('wp_read_image_metadata', 'add_geo_exif','',3); + + +function favicon_link() { + echo '' . "\n"; +} + +add_action('wp_head', 'favicon_link'); + + +function childtheme_iefix() { ?> + + +
      + '

      ', + 'title_after' => '

      ', + ); + wp_list_bookmarks( $args ); ?> +
    + false + ), $atts)); + if ( $catagory_name == false ) + $bookmarks = get_bookmarks(); + else + $bookmarks = get_bookmarks("catagory_name=$catagory_name"); + ob_start(); + echo ""; + $list = ob_get_clean(); + return $list; +} +add_shortcode('show_bookmark_image_list', 'show_bookmark_image_list'); +//end show_bookmark_image_list + + +/* Signale que le post a été mis à jour +loop-single.php:365: +*/ + +function twentyten_post_updated() { + $u_time = get_the_time('U'); + $u_modified_time = get_the_modified_time('U'); + if ($u_modified_time >= $u_time + 86400) { + printf( __( ' Article updated the %1$s at %2$s ', 'twentyten-child'), + sprintf('%1$s', get_the_modified_time('j F Y')), + sprintf('%1$s', get_the_modified_time()) + ); + } +} + +/* Prints HTML with meta information for the current post—date/time and author. +livre-d-or.php:23: +loop-single.php:29: +loop.php:66: +loop.php:121: +loop.php:135: + */ + +function twentyten_posted_on() { + printf( __( '%1$s', 'twentyten-child' ), + sprintf( '', + get_permalink(), + esc_attr( get_the_time() ), + get_the_date() + ) + ); +} + +/* Prints HTML with meta information for the current post (category, tags and permalink). +livre-d-or.php:32: +loop-attachment.php:149: +loop-single.php:372: + */ + +function twentyten_posted_in() { + // Retrieves tag list of current post, separated by commas. + $tag_list = get_the_tag_list( '', ', ' ); + if ( $tag_list ) { + //$posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'twentyten' ); + $posted_in = __( 'Posted in %1$s and tagged %2$s. Permalink.', 'twentyten-child' ); + } elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) { + $posted_in = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'twentyten-child' ); + } else { + $posted_in = __( 'Bookmark the permalink.', 'twentyten-child' ); + } + // Prints the string, replacing the placeholders. + printf( + $posted_in, + get_the_category_list( ', ' ), + $tag_list, + get_permalink(), + the_title_attribute( 'echo=0' ) + ); +} + + +/* NON UTILISE */ + +function thirtyten_excerpt_more($more){ + return ' … ' . __('finish reading '.get_the_title() .'', 'twentyten-child') . ''; +} + +remove_filter( 'excerpt_more', 'twentyten_excerpt_more' ); +add_filter ('excerpt_more', 'thirtyten_excerpt_more' ); + + +/* Messages du livre d'or +livre-comments.php:54 +*/ + +function twentyten_comment_guestbook( $comment, $args, $depth ) { + $GLOBALS['comment'] = $comment; + // hack 'city' + $city = htmlspecialchars(ucwords(get_comment_meta($comment->comment_ID,'city',true))); + $pays = htmlentities(get_comment_meta($comment->comment_ID,'pays',true)); + $pays = str_replace('_',' ',$pays); + if (($city != "") and ($pays != "")) $a = "(" . $city . ", " . $pays . ")"; + if (($city != "") and ($pays == "")) $a = "(" . $city . ")"; + if (($city == "") and ($pays != "")) $a = "(" . $pays . ")"; + if (($city == "") and ($pays == "")) $a = ""; + + switch ( $comment->comment_type ) : + case '' : + ?> +
  • id="li-comment-"> +
    +
    + + says:', 'twentyten-child' ), sprintf( '%s', get_comment_author_link() ) ); ?> + says:', 'twentyten-child' ), sprintf( '%1$s', get_comment_author_link() ), sprintf($a) ); ?> +
    + comment_approved == '0' ) : ?> + +
    + + +
    + + + +
    + $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> +
    + + + +
    + + +
  • +

    + 3) and ($delta <= 7)) $text = sprintf( __('%1$s days ago', 'twentyten-child'), $delta ); + elseif (($delta > 7) and ($delta <= 14)) { + $nb = round ($delta / 7); + if ($nb < 2) $text = sprintf( __('%1$s week ago', 'twentyten-child'), $nb ); + else $text = sprintf( __('%1$s weeks ago', 'twentyten-child'), $nb ); + } + else $text = get_the_date(); + + printf( __( '%1$s', 'twentyten-child' ), + sprintf( '', + get_permalink(), + esc_attr( get_the_date() . ' ' . get_the_time() ) + ) + ); +} + +/* +function exif_get_float($value) { + $pos = strpos($value, '/'); + if ($pos === false) return (float) $value; + $a = (float) substr($value, 0, $pos); + $b = (float) substr($value, $pos+1); + return ($b == 0) ? ($a) : ($a / $b); +} + + +function exif_get_shutter($apex) { + $apex = exif_get_float($apex); + $shutter = pow(2, -$apex); + if ($shutter == 0) return false; + if ($shutter >= 1) return round($shutter) . 's'; + return '1/' . round(1 / $shutter) . 's'; +} + +function exif_get_fstop(&$exif) { + if (!isset($exif['ApertureValue'])) return false; + $apex = exif_get_float($exif['ApertureValue']); + $fstop = pow(2, $apex/2); + if ($fstop == 0) return false; + return 'f/' . round($fstop,1); +} +*/ + +// === DISPLAY EXIF === // + +/* return geo exif in a nice form + +*/ + +function geo_frac2dec($str) { + @list( $n, $d ) = explode( '/', $str ); + if ( !empty($d) ) + return $n / $d; + return $str; +} + + +/* +33° 52.37′ 0″ S 151° 9.06′ 0″ E +*/ + + +function geo_pretty_fracs2dec($fracs) { + return geo_frac2dec($fracs[0]) . '° ' . + geo_frac2dec($fracs[1]) . '′ ' . + geo_frac2dec($fracs[2]) . '″ '; +} + + +/* +to GoogleMaps +*/ + +function geo_single_fracs2dec($fracs) { + return geo_frac2dec($fracs[0]) + + geo_frac2dec($fracs[1]) / 60 + + geo_frac2dec($fracs[2]) / 3600; +} + +/* Crée le cadre Afficher les exifs (WorPress) +single.php:67: +single.php:123: +functions.php:555: +functions.php:794: +loop-attachment.php:138: +loop-single.php:117: +loop-single.php:151: +loop-single.php:197: +*/ + +function ListeExif($meta, $attach, $i){ + $before_item = '
  • '; + $after_item = '
  • '; + $sep = ': '; + $zoom = '11'; + $exif_list = ''; + $gm_lat = ''; + $gm_lng = ''; + + if (!empty($meta['image_meta']['latitude'])) + $latitude = $meta['image_meta']['latitude']; + if (!empty($meta['image_meta']['longitude'])) + $longitude = $meta['image_meta']['longitude']; + if (!empty($meta['image_meta']['latitude_ref'])) + $lat_ref = $meta['image_meta']['latitude_ref']; + if (!empty($meta['image_meta']['longitude_ref'])) + $lng_ref = $meta['image_meta']['longitude_ref']; + + // Aperture + if (!empty($meta['image_meta']['aperture'])) + $exif_list .= $before_item . __('Aperture', 'twentyten-child') . $sep . "f/" . $meta['image_meta']['aperture'] . $after_item; + + // Shutter speed + if (!empty($meta['image_meta']['shutter_speed'])) { + $exif_list .= $before_item . __('Shutter speed', 'twentyten-child') . $sep; + if ((1 / $meta['image_meta']['shutter_speed']) > 1) { + $exif_list .= "1/"; + if ((number_format((1 / $meta['image_meta']['shutter_speed']), 1)) == 1.3 + or number_format((1 / $meta['image_meta']['shutter_speed']), 1) == 1.5 + or number_format((1 / $meta['image_meta']['shutter_speed']), 1) == 1.6 + or number_format((1 / $meta['image_meta']['shutter_speed']), 1) == 2.5) { + $exif_list .= number_format((1 / $meta['image_meta']['shutter_speed']), 1, '.', '') . " s" . $after_item; + } + else { + $exif_list .= number_format((1 / $meta['image_meta']['shutter_speed']), 0, '.', '') . " s" . $after_item; + } + } + else { + $exif_list .= $meta['image_meta']['shutter_speed']." s" . $after_item; + } + } + // Focal length + if (!empty($meta['image_meta']['focal_length'])) + $exif_list .= $before_item . __('Focal length', 'twentyten-child') . $sep . $meta['image_meta']['focal_length'] . " mm" . $after_item; + // Camera + if (!empty($meta['image_meta']['camera'])) + $exif_list .= $before_item . __('Camera', 'twentyten-child') . $sep . $meta['image_meta']['camera'] . $after_item; + // Creation time + if (!empty($meta['image_meta']['created_timestamp'])) + /* + setlocale(LC_TIME, 'fr_FR'); + echo $meta['image_meta']['created_timestamp']; + $dt = strftime("%e %B %Y", $meta['image_meta']['created_timestamp']); + $dt = mb_convert_encoding($dt, 'utf-8'); + echo $dt; + */ + $exif_list .= $before_item . __('Taken', 'twentyten-child') . $sep . date(__('j F, Y', 'twentyten-child'),$meta['image_meta']['created_timestamp']) . $after_item; + + // Latitude and Longtitude + //if ($latitude != 0 && $longitude != 0) { + if (isset($latitude) && isset($longitude)) { + + $lat = geo_single_fracs2dec($latitude); + $lng = geo_single_fracs2dec($longitude); + + if ($lat_ref == 'S') { $neg_lat = '-'; } else { $neg_lat = ''; } + if ($lng_ref == 'W') { $neg_lng = '-'; } else { $neg_lng = ''; } + + $gm_lat = $neg_lat . number_format($lat,6); + $gm_lng = $neg_lng . number_format($lng, 6); + + $geo_link = ''; + $geo_link .= ''; + $geo_link .= ''; + + $exif_list .= $before_item . $geo_link . $after_item; + //affichage dans un cadre map caché + //$exif_list .= $before_item . '' . $after_item; + } + + // Titre du marker + if (!empty($meta['image_meta']['title'])) $title_marker = $meta['image_meta']['title']; + elseif (!empty($meta['file'])) { + // en 2 lignes, sinon erreur Strict Standards: Only variables should be passed by reference + $tmp = explode("/", $meta['file']); + $title_marker = end($tmp); + } + + //if ((isset($exif_list)) & (isset($gm_lat)) & (isset($gm_lng)) & (isset($title_marker))) { + return array($exif_list, $gm_lat, $gm_lng, $title_marker); + //} + } + + +/* NON UTILISE */ + +function _ListeExif($meta, $attachment){ + $before_item = '
  • '; + $after_item = '
  • '; + $sep = ': '; + $zoom = '11'; +//print_r($meta); + if ($meta['image_meta']['latitude']) + $latitude = $meta['image_meta']['latitude']; + if ($meta['image_meta']['longitude']) + $longitude = $meta['image_meta']['longitude']; + if ($meta['image_meta']['latitude_ref']) + $lat_ref = $meta['image_meta']['latitude_ref']; + if ($meta['image_meta']['longitude_ref']) + $lng_ref = $meta['image_meta']['longitude_ref']; + + $lat = geo_single_fracs2dec($latitude); + $lng = geo_single_fracs2dec($longitude); + if ($lat_ref == 'S') { $neg_lat = '-'; } else { $neg_lat = ''; } + if ($lng_ref == 'W') { $neg_lng = '-'; } else { $neg_lng = ''; } + + $gm_lat = $neg_lat . number_format($lat,6); + $gm_lng = $neg_lng . number_format($lng, 6); + $start_geo_link = ''; + $end_geo_link = ''; + + // Aperture + if (!empty($meta['image_meta']['aperture'])) + $exif_list .= $before_item . __('Aperture', 'twentyten-child') . $sep . "f/" . $meta['image_meta']['aperture'] . $after_item; + + // Shutter speed + if (!empty($meta['image_meta']['shutter_speed'])) { + $exif_list .= $before_item . __('Shutter speed', 'twentyten-child') . $sep; + if ((1 / $meta['image_meta']['shutter_speed']) > 1) { + $exif_list .= "1/"; + if ((number_format((1 / $meta['image_meta']['shutter_speed']), 1)) == 1.3 + or number_format((1 / $meta['image_meta']['shutter_speed']), 1) == 1.5 + or number_format((1 / $meta['image_meta']['shutter_speed']), 1) == 1.6 + or number_format((1 / $meta['image_meta']['shutter_speed']), 1) == 2.5) { + $exif_list .= number_format((1 / $meta['image_meta']['shutter_speed']), 1, '.', '') . " s" . $after_item; + } + else { + $exif_list .= number_format((1 / $meta['image_meta']['shutter_speed']), 0, '.', '') . " s" . $after_item; + } + } + else { + $exif_list .= $meta['image_meta']['shutter_speed']." s" . $after_item; + } + } + // Focal length + if (!empty($meta['image_meta']['focal_length'])) + $exif_list .= $before_item . __('Focal length', 'twentyten-child') . $sep . $meta['image_meta']['focal_length'] . " mm" . $after_item; + // Camera + if (!empty($meta['image_meta']['camera'])) + $exif_list .= $before_item . __('Camera', 'twentyten-child') . $sep . $meta['image_meta']['camera'] . $after_item; + // Creation time + if (!empty($meta['image_meta']['created_timestamp'])) + $exif_list .= $before_item . __('Taken', 'twentyten-child') . $sep . date('j F, Y',$meta['image_meta']['created_timestamp']) . $after_item; + // F j, Y, g:i a + + //echo $exif_list; + + // Latitude and Longtitude + if ($latitude != 0 && $longitude != 0) + //affichage dans un cadre map caché + //$exif_list .= $before_item . '
    ' . $after_item; + $exif_list .= $before_item . '' . $after_item; + //$exif_list .= $before_item . '' . $after_item; + + // Titre du marker + if ($meta['image_meta']['caption']) $title_marker = $meta['image_meta']['caption']; + elseif ($meta['file']) $title_marker = $meta['file']; + + + +//echo "exif_list: " . $exif_list; + return array($exif_list, $gm_lat, $gm_lng, $title_marker); + } + + +/* NON UTILISE */ + +function mod_image($id){ + + $ajout .= '

    ' . "\n" . '
    Voir les Exif
    '; + $ajout .= '
    ' . "\n"; + $ajout .= '
      '; + list($liste_exif, $gm_lat, $gm_lng, $title_marker) = att_exif($id); + //$ajout .= att_exif($id); + $ajout .= $liste_exif; + $ajout .= '
    '; + + $ajout .= '
    '; + + // + + $ajout .= ''; + ?> + + +
      '; + $after_block = '
    '; + + $liste_exif = $before_block; + */ + // ListeExif renvoie 3 paramètres dans un tableau: + // -les exifs sous forme de liste + // -latitude et longitude pour le javascript + // -le caption ou le nom du fichier pour l'infoWindow + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata,$a); + + //echo $exif_list; + + $liste_exif .= $exif_list; + $liste_exif .= $after_block; + //echo $liste_exif; + + //return $liste_exif; + return array($liste_exif, $gm_lat, $gm_lng, $title_marker); + } + + +/* Requete pour récupérer les exifs d'une image dans Zenphoto +loop-single.php:147 +*/ + +function zp_query($zpimage) { + $exif = array(); + require('../Connections/cnx.php'); + + $mysqli = new mysqli($dbhost, $dbuser, $dbpassword, $dbtable); + + if (mysqli_connect_errno()) { + printf("Échec de la connexion : %s\n", mysqli_connect_error()); + exit(); + } + + $excquery = "SELECT `EXIFModel`, `EXIFDateTimeOriginal`, `EXIFExposureTime`, `EXIFFNumber`, `EXIFISOSpeedRatings`, `EXIFFocalLength`, `EXIFGPSLatitude`, `EXIFGPSLatitudeRef`, `EXIFGPSLongitude`, `EXIFGPSLongitudeRef`, `EXIFGPSAltitude`, `EXIFGPSAltitudeRef`, `desc`, `title` FROM `" . $zp_prefix . "images` WHERE `filename` = \"$zpimage\""; + //echo $excquery; + if ($result = $mysqli->query($excquery)) { + $exif = $result->fetch_row(); + $result->close(); + } + + //preprint($exif); + + /* + Array +( + [0] => Canon EOS 7D + [1] => 2011:06:30 20:43:30 + [2] => 1/400 sec + [3] => f/6,3 + [4] => 640 + [5] => 600 mm + [6] => lat + [7] => lat ref + [8] => long + [9] => long ref + [10] => alt + [11] => alt ref + [12] => desc + [13] => title +)*/ + $meta = array(); + $meta['image_meta']['camera'] = $exif[0]; + $meta['image_meta']['created_timestamp'] = $exif[1]; + $meta['image_meta']['shutter_speed'] = $exif[2]; + $meta['image_meta']['aperture'] = $exif[3]; + $meta['image_meta']['iso'] = $exif[4]; + $meta['image_meta']['focal_length'] = $exif[5]; + $meta['image_meta']['latitude'] = $exif[6]; + $meta['image_meta']['latitude_ref'] = $exif[7]; + $meta['image_meta']['longitude'] = $exif[8]; + $meta['image_meta']['longitude_ref'] = $exif[9]; + $meta['image_meta']['altitude'] = $exif[10]; + $meta['image_meta']['altitude_ref'] = $exif[11]; + + if ($exif[12] != "") { + $desc = explode(':', $exif[12]); + $description = explode('"', end($desc)); + //print_r($description); + $meta['image_meta']['description'] = utf8_encode($description[1]); + } + else $meta['image_meta']['description'] = ""; + + if ($exif[13] != "") { + //echo "exif: " . $exif[13] . "
    "; + // a:1:{s:5:"fr_FR";s:30:"2011-05-15_GP-France-2011_9798";} + + $titr = explode(':', $exif[13]); + //echo count($titr) . "
    "; + + if (count($titr) == 1) { + //print_r($titr); + //$titr[0] + $meta['image_meta']['title'] = utf8_encode($titr[0]); + } + else { + $titre = explode('"', end($titr)); + //print_r($titre); + //$titre[1] + $meta['image_meta']['title'] = utf8_encode($titre[1]); + } + /* + echo "titr: "; + print_r($titr); + echo "
    "; + + $titre = explode('"', end($titr)); + print_r($titre); + + foreach ($titr as $var) { + echo "" . $var . "
    "; + } + + */ + //$meta['image_meta']['title'] = utf8_encode($titre[1]); + } + else $meta['image_meta']['title'] = ""; + + //echo "

    "; + $meta['image_meta']['file'] = $image; + + //preprint($meta['image_meta']); + + /* + [camera] => Canon EOS-1D Mark IV + [created_timestamp] => 2014:10:21 14:42:26 + [shutter_speed] => 1/80 sec + [aperture] => f/9 + [iso] => 320 + [focal_length] => 17 mm + [latitude] => 44,381861666667 + [latitude_ref] => N + [longitude] => 4,4162216666667 + [longitude_ref] => E + [altitude] => 104,1771m + [altitude_ref] => + [description] => + [title] => + */ + return $meta; + } + +function Getfloat($str) { + if(strstr($str, ",")) { + $str = str_replace(".", "", $str); // replace dots (thousand seps) with blancs + $str = str_replace(",", ".", $str); // replace ',' with '.' + } + + if(preg_match("#([0-9\.]+)#", $str, $match)) { // search for number that may contain '.' + return floatval($match[0]); + } else { + return floatval($str); // take some last chances with floatval + } +} + +/* Crée le cadre Afficher les exifs (Zenphoto) +loop-single.php:151 +*/ + +function ListeExifZP($meta){ + $before_item = '
  • '; + $after_item = '
  • '; + $sep = ': '; + $zoom = '11'; + $exif_list = ""; + $latitude = ""; + $longitude = ""; + $gm_lat = ""; + $gm_lng = ""; + + if (!empty($meta['image_meta']['latitude'])) + $latitude = $meta['image_meta']['latitude']; + if (!empty($meta['image_meta']['longitude'])) + $longitude = $meta['image_meta']['longitude']; + if (!empty($meta['image_meta']['latitude_ref'])) + $lat_ref = $meta['image_meta']['latitude_ref']; + if (!empty($meta['image_meta']['longitude_ref'])) + $lng_ref = $meta['image_meta']['longitude_ref']; + + // Aperture + if (!empty($meta['image_meta']['aperture'])) + $exif_list .= $before_item . __('Aperture', 'twentyten-child') . $sep . str_replace(',', '.', $meta['image_meta']['aperture']) . $after_item; + + // Shutter speed + if (!empty($meta['image_meta']['shutter_speed'])) + $exif_list .= $before_item . __('Shutter speed', 'twentyten-child') . $sep . str_replace('sec', 's', $meta['image_meta']['shutter_speed']) . $after_item; + + // Focal length + if (!empty($meta['image_meta']['focal_length'])) + $exif_list .= $before_item . __('Focal length', 'twentyten-child') . $sep . $meta['image_meta']['focal_length'] . $after_item; + // Camera + if (!empty($meta['image_meta']['camera'])) + $exif_list .= $before_item . __('Camera', 'twentyten-child') . $sep . $meta['image_meta']['camera'] . $after_item; + // Creation time + if (!empty($meta['image_meta']['created_timestamp'])) + /* + setlocale(LC_TIME, 'fr_FR'); + echo $meta['image_meta']['created_timestamp']; + $dt = strftime("%e %B %Y", $meta['image_meta']['created_timestamp']); + $dt = mb_convert_encoding($dt, 'utf-8'); + echo $dt; + */ + + $pieces = explode(' ', $meta['image_meta']['created_timestamp']); + list($yy, $mm, $dd) = explode(':', $pieces[0]); + list($hh, $min, $ss) = explode(':', $pieces[1]); + $timestamp = mktime((int) $hh, (int) $min, (int) $ss, (int) $mm, (int) $dd, (int) $yy); + $ddate = date('d.m.Y à H:i',$timestamp); + + $exif_list .= $before_item . __('Taken', 'twentyten-child') . $sep . $ddate . $after_item; + + // Latitude and Longtitude + if (($latitude != "") && ($longitude != "")) { + + if ($lat_ref == 'S') { $neg_lat = '-'; } else { $neg_lat = ''; } + if ($lng_ref == 'W') { $neg_lng = '-'; } else { $neg_lng = ''; } + + $gm_lat = $neg_lat . number_format(Getfloat($latitude), 6); + $gm_lng = $neg_lng . number_format(Getfloat($longitude), 6); + + $geo_link = ''; + $geo_link .= ''; + $geo_link .= ''; + + //affichage dans un cadre map caché + //$exif_list .= $before_item . '' . $after_item; + $exif_list .= $before_item . $geo_link . $after_item; + } + // Titre du marker + if (!empty($meta['image_meta']['description'])) $title_marker = $meta['image_meta']['description']; + elseif (!empty($meta['image_meta']['title'])) $title_marker = $meta['image_meta']['title']; + //elseif (!empty($meta['image_meta']['file'])) $title_marker = $meta['image_meta']['file']; + + return array($exif_list, $gm_lat, $gm_lng, $title_marker); + } + + + +/* +add_filter('the_content', 'exif_content', 20); + +function exif_content($content) { + if ( is_single() ) + $content = $content . "exif"; + return $content; +} + + +function replace_http( $original ) { + // use preg_replace() to replace http:// with https:// + //$output = preg_replace( "^http:", "https:", $original ); + + $output = preg_replace( "/^http:/i", "https:", $original ); + + return $output; +} + +add_filter( 'the_content', 'replace_http' ); +*/ +?> diff --git a/header.php b/header.php new file mode 100644 index 0000000..08af102 --- /dev/null +++ b/header.php @@ -0,0 +1,101 @@ + section and everything up till
    + * + * @package WordPress + * @subpackage Twenty_Ten + * @since Twenty Ten 1.0 + */ +?> +> + + + +<?php + $host = (($_SERVER['HTTPS'] != "") ? "https" : "http") . '://' . $_SERVER['HTTP_HOST']; + + /* + * Print the <title> tag based on what is being viewed. + */ + global $page, $paged; + + wp_title( '|', true, 'right' ); + + // Add the blog name. + bloginfo( 'name' ); + + // Add the blog description for the home/front page. + $site_description = get_bloginfo( 'description', 'display' ); + if ( $site_description && ( is_home() || is_front_page() ) ) + echo " | $site_description"; + + // Add a page number if necessary: + if ( $paged >= 2 || $page >= 2 ) + echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) ); + + ?> + + + + + + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to add elements to such + * as styles, scripts, and meta tags. + wp_enqueue_script('liveSearch', WP_CONTENT_URL.'/themes/twentyten-child/js/jquery.liveSearch.js', array('jquery')); + */ + wp_head(); +?> + + + + + + + + + + + + + + +> +
    + + +
    diff --git a/images/-favicon.ico b/images/-favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..05de6aa7bfd1c277f2456c1b29b9df24ab294cc8 GIT binary patch literal 1406 zcmds1&r4KM7(Ig&kHjAk1mz;zM2kSFg+YsXimF?>pZ)-;ev=4B+FZ zx*B@59s-WhI>W7?T5cZ z=O4kAJ}qkhXl>I*9pf2vNRDTg+r{9TiL_zC%LFh@Jk#_8f#ns=6IT$;hB&X_4s#u+ zZ5~NdFR&8Sv%X8oL_?YW;Gy~ zx=GtbA|S}KpPjnY2dD|A5-4Z<)d}X$H0k{3HLpeY*JYK#D!&SeKVhD2)IaTm*ZC8j zi3Nl{c^F-MM?9nFNJ(Dndz4;6h{`6mS;LrT&z^~O+L;SmkkBF~`CMyEgZ0ZW6dFfn zl>M=%Y^X4UycCRvdiacHckqsE2PCiV*2675<3-+Ao}7;`)=$H`Zz81bAzF?`zDHk2 zvuI!q<%`V2TNcC_chi+HTH1)2=#ydk6*|7Dw8Mg7o|SRI8#j$5-rF^W%MzmHRcM}~ zt#XoQG{4X}rkF!y3cbbLYG#>eN4l~XE$nkphIGwzqHWJx^Z+ABW<5lGCi%8@ptlq#3Os`??fc?4Q`@ZLS zAcL{~huT(d0RLdDxhdA!>UpVMB-KveUf5f&r>ps7&XlO!K>|HN#5$+3vPAM@ZKUz? zY&3m@^_CBcE)A~_5{)zlUL!@H8Iu904p^m`CuYVP4}{m89os?A5Ij`@yvixMpsK9g zDw0CI>pD(&eh9ZsOK$g=TS^xPbPgx8xY%ITuB5bkBEf2$!c`f-m@_kso3D0|?^k!H zh=6w&)BDaXO{CC1#T%+V)hA#FRib#2;KEymqE`HtAu<@1t*PxkhcP#YDFz|O14AUb z@sB@hi870}?#J^LE6-;uE#&wLm}p%&w||lUlBTj4FznIX<=#1qHpi+FM!F8yA1TAe zCDv~Wna}b3Q3g+18i_#a*cCY=f`HGA2;-?{w+WG{rRz`-?s?V|ka{b40mfHcB|_I#20 zbQ=3`)JUR+JbZvW5fg0$^@3_nhhy0A++{0I6uxF4MfSqlK!fI7x1Z~{w&g4X%WB^; cE!SNYcjL0bZ!BR)g(|pi{eAzrck#dWzZ=oK!vFvP literal 0 HcmV?d00001 diff --git a/js/child.js b/js/child.js new file mode 100755 index 0000000..98b4cc2 --- /dev/null +++ b/js/child.js @@ -0,0 +1,81 @@ +function toggleExif(id) { + /*alert(id);*/ + /**/id2 = id.toString(); + var exifDiv = document.getElementById(id2); + if (exifDiv.style.display == "block") { + exifDiv.style.display = "none"; + } + else { + exifDiv.style.display = "block"; + google.maps.event.trigger(map, 'resize'); + map.setZoom( map.getZoom() ); + map.setCenter(marker.getPosition()); + } + } + +function initialize(lat, lng, mark, mapNum) { + + var contentString = mark; + var latlng = new google.maps.LatLng(lat,lng); + /*alert(latlng);*/ + var myOptions = { + /* http://code.google.com/intl/fr/apis/maps/documentation/javascript/reference.html#MapOptions */ + zoom: 11, + center: latlng, + scrollwheel: true, + scaleControl: false, + disableDefaultUI: false, + mapTypeId: google.maps.MapTypeId.ROADMAP + /* + navigationControl: true, + navigationControlOptions: { + style: google.maps.NavigationControlStyle.SMALL + }*/ + }; + map = new google.maps.Map(document.getElementById("map"+mapNum), myOptions); + + marker = createMarker(latlng, '', contentString, map); + } + +function createMarker(point, title, content, map) { + var myMarkerImage = new google.maps.MarkerImage('http://maps.google.com/mapfiles/arrow.png'); + var myMarkerShadow = new google.maps.MarkerImage('http://maps.google.com/mapfiles/arrowshadow.png'); + var marker = new google.maps.Marker({ + position: point, + map: map, + icon: myMarkerImage, + shadow: myMarkerShadow, + title: title + }); + var infowindow = new google.maps.InfoWindow({ + //content: content + content: createInfo(content,content, point), + //width: 500, + //height: 400 + }); + + google.maps.event.addListener(marker, 'click', function() { /* mouseover */ + if(curr_infw) { curr_infw.close();} // We check to see if there is an info window stored in curr_infw, if there is, we use .close() to hide the window + curr_infw = infowindow; // Now we put our new info window in to the curr_infw variable + infowindow.open(map, marker); // Now we open the window + }); + return marker; + }; + +// Create information window +function createInfo(title, content, point) { + + point = point.toString(); + var coord = point.split(','); + latitude = coord[0].substring(1); + var t = coord[1].length; + longitude = coord[1].substring(0,(t-1)); + + var html = '
    '; + html += ''+ title +''; + html += '

    '+content+'

    '; + html += '
    • Lat: '+(Math.floor(latitude * 100000)/100000)+'
    • '; + html += '
    • Long: '+(Math.floor(longitude * 100000)/100000)+'
    • '; + html += '
    '; + return html; + } diff --git a/js/infobubble-compiled.js b/js/infobubble-compiled.js new file mode 100755 index 0000000..2b3faa0 --- /dev/null +++ b/js/infobubble-compiled.js @@ -0,0 +1,37 @@ +(function(){var b; +function h(a){this.extend(h,google.maps.OverlayView);this.b=[];this.d=null;this.g=100;this.m=!1;a=a||{};void 0==a.backgroundColor&&(a.backgroundColor=this.A);void 0==a.borderColor&&(a.borderColor=this.B);void 0==a.borderRadius&&(a.borderRadius=this.C);void 0==a.borderWidth&&(a.borderWidth=this.D);void 0==a.padding&&(a.padding=this.H);void 0==a.arrowPosition&&(a.arrowPosition=this.u);void 0==a.disableAutoPan&&(a.disableAutoPan=!1);void 0==a.disableAnimation&&(a.disableAnimation=!1);void 0==a.minWidth&&(a.minWidth= +this.G);void 0==a.shadowStyle&&(a.shadowStyle=this.I);void 0==a.arrowSize&&(a.arrowSize=this.v);void 0==a.arrowStyle&&(a.arrowStyle=this.w);void 0==a.closeSrc&&(a.closeSrc=this.F);m(this);this.setValues(a)}window.InfoBubble=h;b=h.prototype;b.v=15;b.w=0;b.I=1;b.G=50;b.u=50;b.H=10;b.D=1;b.B="#ccc";b.C=10;b.A="#fff";b.F="https://maps.gstatic.com/intl/en_us/mapfiles/iw_close.gif";b.extend=function(a,c){return function(a){for(var c in a.prototype)this.prototype[c]=a.prototype[c];return this}.apply(a,[c])}; +function m(a){var c=a.c=document.createElement("DIV");c.style.position="absolute";c.style.zIndex=a.g;(a.i=document.createElement("DIV")).style.position="relative";var d=a.j=document.createElement("IMG");d.style.position="absolute";d.style.border=0;d.style.zIndex=a.g+1;d.style.cursor="pointer";d.src=a.get("closeSrc");google.maps.event.addDomListener(d,"click",function(){a.close();google.maps.event.trigger(a,"closeclick")});var e=a.e=document.createElement("DIV");e.style.overflowX="auto";e.style.overflowY= +"auto";e.style.cursor="default";e.style.clear="both";e.style.position="relative";var f=a.k=document.createElement("DIV");e.appendChild(f);f=a.N=document.createElement("DIV");f.style.position="relative";var k=a.n=document.createElement("DIV"),g=a.l=document.createElement("DIV"),l=n(a);k.style.position=g.style.position="absolute";k.style.left=g.style.left="50%";k.style.height=g.style.height="0";k.style.width=g.style.width="0";k.style.marginLeft=t(-l);k.style.borderWidth=t(l);k.style.borderBottomWidth= +0;l=a.a=document.createElement("DIV");l.style.position="absolute";c.style.display=l.style.display="none";c.appendChild(a.i);c.appendChild(d);c.appendChild(e);f.appendChild(k);f.appendChild(g);c.appendChild(f);c=document.createElement("style");c.setAttribute("type","text/css");a.h="_ibani_"+Math.round(1E4*Math.random());c.textContent="."+a.h+"{-webkit-animation-name:"+a.h+";-webkit-animation-duration:0.5s;-webkit-animation-iteration-count:1;}@-webkit-keyframes "+a.h+" {from {-webkit-transform: scale(0)}50% {-webkit-transform: scale(1.2)}90% {-webkit-transform: scale(0.95)}to {-webkit-transform: scale(1)}}"; +document.getElementsByTagName("head")[0].appendChild(c)}b.ea=function(a){this.set("backgroundClassName",a)};h.prototype.setBackgroundClassName=h.prototype.ea;h.prototype.O=function(){this.k.className=this.get("backgroundClassName")};h.prototype.backgroundClassName_changed=h.prototype.O;h.prototype.pa=function(a){this.set("tabClassName",a)};h.prototype.setTabClassName=h.prototype.pa;h.prototype.sa=function(){w(this)};h.prototype.tabClassName_changed=h.prototype.sa; +h.prototype.da=function(a){this.set("arrowStyle",a)};h.prototype.setArrowStyle=h.prototype.da;h.prototype.M=function(){this.p()};h.prototype.arrowStyle_changed=h.prototype.M;function n(a){return parseInt(a.get("arrowSize"),10)||0}h.prototype.ca=function(a){this.set("arrowSize",a)};h.prototype.setArrowSize=h.prototype.ca;h.prototype.p=function(){this.r()};h.prototype.arrowSize_changed=h.prototype.p;h.prototype.ba=function(a){this.set("arrowPosition",a)};h.prototype.setArrowPosition=h.prototype.ba; +h.prototype.L=function(){var a=parseInt(this.get("arrowPosition"),10)||0;this.n.style.left=this.l.style.left=a+"%";x(this)};h.prototype.arrowPosition_changed=h.prototype.L;h.prototype.setZIndex=function(a){this.set("zIndex",a)};h.prototype.setZIndex=h.prototype.setZIndex;h.prototype.getZIndex=function(){return parseInt(this.get("zIndex"),10)||this.g};h.prototype.ua=function(){var a=this.getZIndex();this.c.style.zIndex=this.g=a;this.j.style.zIndex=a+1};h.prototype.zIndex_changed=h.prototype.ua; +h.prototype.na=function(a){this.set("shadowStyle",a)};h.prototype.setShadowStyle=h.prototype.na;h.prototype.qa=function(){var a="",c="",d="";switch(parseInt(this.get("shadowStyle"),10)||0){case 0:a="none";break;case 1:c="40px 15px 10px rgba(33,33,33,0.3)";d="transparent";break;case 2:c="0 0 2px rgba(33,33,33,0.3)",d="rgba(33,33,33,0.35)"}this.a.style.boxShadow=this.a.style.webkitBoxShadow=this.a.style.MozBoxShadow=c;this.a.style.backgroundColor=d;this.m&&(this.a.style.display=a,this.draw())}; +h.prototype.shadowStyle_changed=h.prototype.qa;h.prototype.ra=function(){this.set("hideCloseButton",!1)};h.prototype.showCloseButton=h.prototype.ra;h.prototype.R=function(){this.set("hideCloseButton",!0)};h.prototype.hideCloseButton=h.prototype.R;h.prototype.S=function(){this.j.style.display=this.get("hideCloseButton")?"none":""};h.prototype.hideCloseButton_changed=h.prototype.S;h.prototype.setBackgroundColor=function(a){a&&this.set("backgroundColor",a)};h.prototype.setBackgroundColor=h.prototype.setBackgroundColor; +h.prototype.P=function(){var a=this.get("backgroundColor");this.e.style.backgroundColor=a;this.l.style.borderColor=a+" transparent transparent";w(this)};h.prototype.backgroundColor_changed=h.prototype.P;h.prototype.setBorderColor=function(a){a&&this.set("borderColor",a)};h.prototype.setBorderColor=h.prototype.setBorderColor; +h.prototype.Q=function(){var a=this.get("borderColor"),c=this.e,d=this.n;c.style.borderColor=a;d.style.borderColor=a+" transparent transparent";c.style.borderStyle=d.style.borderStyle=this.l.style.borderStyle="solid";w(this)};h.prototype.borderColor_changed=h.prototype.Q;h.prototype.fa=function(a){this.set("borderRadius",a)};h.prototype.setBorderRadius=h.prototype.fa;function z(a){return parseInt(a.get("borderRadius"),10)||0} +h.prototype.q=function(){var a=z(this),c=A(this);this.e.style.borderRadius=this.e.style.MozBorderRadius=this.e.style.webkitBorderRadius=this.a.style.borderRadius=this.a.style.MozBorderRadius=this.a.style.webkitBorderRadius=t(a);this.i.style.paddingLeft=this.i.style.paddingRight=t(a+c);x(this)};h.prototype.borderRadius_changed=h.prototype.q;function A(a){return parseInt(a.get("borderWidth"),10)||0}h.prototype.ga=function(a){this.set("borderWidth",a)};h.prototype.setBorderWidth=h.prototype.ga; +h.prototype.r=function(){var a=A(this);this.e.style.borderWidth=t(a);this.i.style.top=t(a);var a=A(this),c=n(this),d=parseInt(this.get("arrowStyle"),10)||0,e=t(c),f=t(Math.max(0,c-a)),k=this.n,g=this.l;this.N.style.marginTop=t(-a);k.style.borderTopWidth=e;g.style.borderTopWidth=f;0==d||1==d?(k.style.borderLeftWidth=e,g.style.borderLeftWidth=f):k.style.borderLeftWidth=g.style.borderLeftWidth=0;0==d||2==d?(k.style.borderRightWidth=e,g.style.borderRightWidth=f):k.style.borderRightWidth=g.style.borderRightWidth= +0;2>d?(k.style.marginLeft=t(-c),g.style.marginLeft=t(-(c-a))):k.style.marginLeft=g.style.marginLeft=0;k.style.display=0==a?"none":"";w(this);this.q();x(this)};h.prototype.borderWidth_changed=h.prototype.r;h.prototype.ma=function(a){this.set("padding",a)};h.prototype.setPadding=h.prototype.ma;h.prototype.ha=function(a){a&&this.j&&(this.j.src=a)};h.prototype.setCloseSrc=h.prototype.ha;function B(a){return parseInt(a.get("padding"),10)||0} +h.prototype.Z=function(){var a=B(this);this.e.style.padding=t(a);w(this);x(this)};h.prototype.padding_changed=h.prototype.Z;function t(a){return a?a+"px":a}function C(a){var c="mousedown mousemove mouseover mouseout mouseup mousewheel DOMMouseScroll touchstart touchend touchmove dblclick contextmenu click".split(" "),d=a.c;a.s=[];for(var e=0,f;f=c[e];e++)a.s.push(google.maps.event.addDomListener(d,f,function(a){a.cancelBubble=!0;a.stopPropagation&&a.stopPropagation()}))} +h.prototype.onAdd=function(){this.c||m(this);C(this);var a=this.getPanes();a&&(a.floatPane.appendChild(this.c),a.floatShadow.appendChild(this.a))};h.prototype.onAdd=h.prototype.onAdd; +h.prototype.draw=function(){var a=this.getProjection();if(a){var c=this.get("position");if(c){var d=0;this.d&&(d=this.d.offsetHeight);var e=D(this),f=n(this),k=parseInt(this.get("arrowPosition"),10)||0,k=k/100,a=a.fromLatLngToDivPixel(c),c=this.e.offsetWidth,g=this.c.offsetHeight;if(c){g=a.y-(g+f);e&&(g-=e);var l=a.x-c*k;this.c.style.top=t(g);this.c.style.left=t(l);switch(parseInt(this.get("shadowStyle"),10)){case 1:this.a.style.top=t(g+d-1);this.a.style.left=t(l);this.a.style.width=t(c);this.a.style.height= +t(this.e.offsetHeight-f);break;case 2:c*=.8,this.a.style.top=e?t(a.y):t(a.y+f),this.a.style.left=t(a.x-c*k),this.a.style.width=t(c),this.a.style.height=t(2)}}}else this.close()}};h.prototype.draw=h.prototype.draw;h.prototype.onRemove=function(){this.c&&this.c.parentNode&&this.c.parentNode.removeChild(this.c);this.a&&this.a.parentNode&&this.a.parentNode.removeChild(this.a);for(var a=0,c;c=this.s[a];a++)google.maps.event.removeListener(c)};h.prototype.onRemove=h.prototype.onRemove;h.prototype.T=function(){return this.m}; +h.prototype.isOpen=h.prototype.T;h.prototype.close=function(){this.c&&(this.c.style.display="none",this.c.className=this.c.className.replace(this.h,""));this.a&&(this.a.style.display="none",this.a.className=this.a.className.replace(this.h,""));this.m=!1};h.prototype.close=h.prototype.close;h.prototype.open=function(a,c){var d=this;window.setTimeout(function(){E(d,a,c)},0)}; +function E(a,c,d){F(a);c&&a.setMap(c);d&&(a.set("anchor",d),a.bindTo("anchorPoint",d),a.bindTo("position",d));a.c.style.display=a.a.style.display="";a.get("disableAnimation")||(a.c.className+=" "+a.h,a.a.className+=" "+a.h);x(a);a.m=!0;a.get("disableAutoPan")||window.setTimeout(function(){a.o()},200)}h.prototype.open=h.prototype.open;h.prototype.setPosition=function(a){a&&this.set("position",a)};h.prototype.setPosition=h.prototype.setPosition;h.prototype.getPosition=function(){return this.get("position")}; +h.prototype.getPosition=h.prototype.getPosition;h.prototype.$=function(){this.draw()};h.prototype.position_changed=h.prototype.$;h.prototype.o=function(){var a=this.getProjection();if(a&&this.c){var c=D(this),d=this.c.offsetHeight+c,c=this.get("map"),e=c.getDiv().offsetHeight,f=this.getPosition(),k=a.fromLatLngToContainerPixel(c.getCenter()),f=a.fromLatLngToContainerPixel(f),d=k.y-d,e=e-k.y,k=0;0>d&&(k=(-1*d+e)/2);f.y-=k;f=a.fromContainerPixelToLatLng(f);c.getCenter()!=f&&c.panTo(f)}}; +h.prototype.panToView=h.prototype.o;function G(a){a=a.replace(/^\s*([\S\s]*)\b\s*$/,"$1");var c=document.createElement("DIV");c.innerHTML=a;if(1==c.childNodes.length)return c.removeChild(c.firstChild);for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);return a}function H(a){if(a)for(var c;c=a.firstChild;)a.removeChild(c)}h.prototype.setContent=function(a){this.set("content",a)};h.prototype.setContent=h.prototype.setContent;h.prototype.getContent=function(){return this.get("content")}; +h.prototype.getContent=h.prototype.getContent;function F(a){if(a.k){H(a.k);var c=a.getContent();if(c){"string"==typeof c&&(c=G(c));a.k.appendChild(c);for(var c=a.k.getElementsByTagName("IMG"),d=0,e;e=c[d];d++)google.maps.event.addDomListener(e,"load",function(){var c=!a.get("disableAutoPan");x(a);!c||0!=a.b.length&&0!=a.d.index||a.o()});google.maps.event.trigger(a,"domready")}x(a)}} +function w(a){if(a.b&&a.b.length){for(var c=0,d;d=a.b[c];c++)I(a,d.f);a.d.style.zIndex=a.g;c=A(a);d=B(a)/2;a.d.style.borderBottomWidth=0;a.d.style.paddingBottom=t(d+c)}} +function I(a,c){var d=a.get("backgroundColor"),e=a.get("borderColor"),f=z(a),k=A(a),g=B(a),l=t(-Math.max(g,f)),f=t(f),r=a.g;c.index&&(r-=c.index);var d={cssFloat:"left",position:"relative",cursor:"pointer",backgroundColor:d,border:t(k)+" solid "+e,padding:t(g/2)+" "+t(g),marginRight:l,whiteSpace:"nowrap",borderRadiusTopLeft:f,MozBorderRadiusTopleft:f,webkitBorderTopLeftRadius:f,borderRadiusTopRight:f,MozBorderRadiusTopright:f,webkitBorderTopRightRadius:f,zIndex:r,display:"inline"},p;for(p in d)c.style[p]= +d[p];p=a.get("tabClassName");void 0!=p&&(c.className+=" "+p)}function J(a,c){c.U=google.maps.event.addDomListener(c,"click",function(){K(a,this)})}h.prototype.oa=function(a){(a=this.b[a-1])&&K(this,a.f)};h.prototype.setTabActive=h.prototype.oa; +function K(a,c){if(c){var d=B(a)/2,e=A(a);if(a.d){var f=a.d;f.style.zIndex=a.g-f.index;f.style.paddingBottom=t(d);f.style.borderBottomWidth=t(e)}c.style.zIndex=a.g;c.style.borderBottomWidth=0;c.style.marginBottomWidth="-10px";c.style.paddingBottom=t(d+e);a.setContent(a.b[c.index].content);F(a);a.d=c;x(a)}else a.setContent(""),F(a)}h.prototype.ja=function(a){this.set("maxWidth",a)};h.prototype.setMaxWidth=h.prototype.ja;h.prototype.W=function(){x(this)};h.prototype.maxWidth_changed=h.prototype.W; +h.prototype.ia=function(a){this.set("maxHeight",a)};h.prototype.setMaxHeight=h.prototype.ia;h.prototype.V=function(){x(this)};h.prototype.maxHeight_changed=h.prototype.V;h.prototype.la=function(a){this.set("minWidth",a)};h.prototype.setMinWidth=h.prototype.la;h.prototype.Y=function(){x(this)};h.prototype.minWidth_changed=h.prototype.Y;h.prototype.ka=function(a){this.set("minHeight",a)};h.prototype.setMinHeight=h.prototype.ka;h.prototype.X=function(){x(this)};h.prototype.minHeight_changed=h.prototype.X; +h.prototype.J=function(a,c){var d=document.createElement("DIV");d.innerHTML=a;I(this,d);J(this,d);this.i.appendChild(d);this.b.push({label:a,content:c,f:d});d.index=this.b.length-1;d.style.zIndex=this.g-d.index;this.d||K(this,d);d.className=d.className+" "+this.h;x(this)};h.prototype.addTab=h.prototype.J; +h.prototype.ta=function(a,c,d){!this.b.length||0>a||a>=this.b.length||(a=this.b[a],void 0!=c&&(a.f.innerHTML=a.label=c),void 0!=d&&(a.content=d),this.d==a.f&&(this.setContent(a.content),F(this)),x(this))};h.prototype.updateTab=h.prototype.ta; +h.prototype.aa=function(a){if(!(!this.b.length||0>a||a>=this.b.length)){var c=this.b[a];c.f.parentNode.removeChild(c.f);google.maps.event.removeListener(c.f.U);this.b.splice(a,1);delete c;for(var d=0,e;e=this.b[d];d++)e.f.index=d;c.f==this.d&&(this.d=this.b[a]?this.b[a].f:this.b[a-1]?this.b[a-1].f:void 0,K(this,this.d));x(this)}};h.prototype.removeTab=h.prototype.aa; +function L(a,c,d){var e=document.createElement("DIV");e.style.display="inline";e.style.position="absolute";e.style.visibility="hidden";"string"==typeof a?e.innerHTML=a:e.appendChild(a.cloneNode(!0));document.body.appendChild(e);a=new google.maps.Size(e.offsetWidth,e.offsetHeight);c&&a.width>c&&(e.style.width=t(c),a=new google.maps.Size(e.offsetWidth,e.offsetHeight));d&&a.height>d&&(e.style.height=t(d),a=new google.maps.Size(e.offsetWidth,e.offsetHeight));document.body.removeChild(e);delete e;return a} +function x(a){var c=a.get("map");if(c){var d=B(a);A(a);z(a);var e=n(a),f=c.getDiv(),k=2*e,c=f.offsetWidth-k,f=f.offsetHeight-k-D(a),k=0,g=a.get("minWidth")||0,l=a.get("minHeight")||0,r=a.get("maxWidth")||0,p=a.get("maxHeight")||0,r=Math.min(c,r),p=Math.min(f,p),y=0;if(a.b.length)for(var u=0,q;q=a.b[u];u++){var v=L(q.f,r,p);q=L(q.content,r,p);gk&&(k=v.height);gc&&(g=c);l>f&&(l=f-k);a.i&&(a.t=k,a.i.style.width=t(y));a.e.style.width=t(g);a.e.style.height=t(l)}z(a);d=A(a);c=2;a.b.length&&a.t&&(c+=a.t);e=2+d;(f=a.e)&&f.clientHeighta?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=o.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return o.each(this,a,b)},map:function(a){return this.pushStack(o.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},o.extend=o.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||o.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(o.isPlainObject(d)||(e=o.isArray(d)))?(e?(e=!1,f=c&&o.isArray(c)?c:[]):f=c&&o.isPlainObject(c)?c:{},g[b]=o.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},o.extend({expando:"jQuery"+(n+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===o.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return a-parseFloat(a)>=0},isPlainObject:function(a){if("object"!==o.type(a)||a.nodeType||o.isWindow(a))return!1;try{if(a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(b){return!1}return!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=o.trim(a),a&&(1===a.indexOf("use strict")?(b=m.createElement("script"),b.text=a,m.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":k.call(a)},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?o.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),o.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||o.guid++,f):void 0},now:Date.now,support:l}),o.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=o.type(a);return"function"===c||o.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s="sizzle"+-new Date,t=a.document,u=0,v=0,w=eb(),x=eb(),y=eb(),z=function(a,b){return a===b&&(j=!0),0},A="undefined",B=1<<31,C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=D.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",M=L.replace("w","w#"),N="\\["+K+"*("+L+")"+K+"*(?:([*^$|!~]?=)"+K+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+M+")|)|)"+K+"*\\]",O=":("+L+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+N.replace(3,8)+")*)|.*)\\)|)",P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(O),U=new RegExp("^"+M+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L.replace("w","w*")+")"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=/'|\\/g,ab=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),bb=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{G.apply(D=H.call(t.childNodes),t.childNodes),D[t.childNodes.length].nodeType}catch(cb){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function db(a,b,d,e){var f,g,h,i,j,m,p,q,u,v;if((b?b.ownerDocument||b:t)!==l&&k(b),b=b||l,d=d||[],!a||"string"!=typeof a)return d;if(1!==(i=b.nodeType)&&9!==i)return[];if(n&&!e){if(f=Z.exec(a))if(h=f[1]){if(9===i){if(g=b.getElementById(h),!g||!g.parentNode)return d;if(g.id===h)return d.push(g),d}else if(b.ownerDocument&&(g=b.ownerDocument.getElementById(h))&&r(b,g)&&g.id===h)return d.push(g),d}else{if(f[2])return G.apply(d,b.getElementsByTagName(a)),d;if((h=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(h)),d}if(c.qsa&&(!o||!o.test(a))){if(q=p=s,u=b,v=9===i&&a,1===i&&"object"!==b.nodeName.toLowerCase()){m=ob(a),(p=b.getAttribute("id"))?q=p.replace(_,"\\$&"):b.setAttribute("id",q),q="[id='"+q+"'] ",j=m.length;while(j--)m[j]=q+pb(m[j]);u=$.test(a)&&mb(b.parentNode)||b,v=m.join(",")}if(v)try{return G.apply(d,u.querySelectorAll(v)),d}catch(w){}finally{p||b.removeAttribute("id")}}}return xb(a.replace(P,"$1"),b,d,e)}function eb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function fb(a){return a[s]=!0,a}function gb(a){var b=l.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function hb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function ib(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||B)-(~a.sourceIndex||B);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function jb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function kb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function lb(a){return fb(function(b){return b=+b,fb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function mb(a){return a&&typeof a.getElementsByTagName!==A&&a}c=db.support={},f=db.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},k=db.setDocument=function(a){var b,e=a?a.ownerDocument||a:t,g=e.defaultView;return e!==l&&9===e.nodeType&&e.documentElement?(l=e,m=e.documentElement,n=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){k()},!1):g.attachEvent&&g.attachEvent("onunload",function(){k()})),c.attributes=gb(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=gb(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(e.getElementsByClassName)&&gb(function(a){return a.innerHTML="
    ",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=gb(function(a){return m.appendChild(a).id=s,!e.getElementsByName||!e.getElementsByName(s).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==A&&n){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){var c=typeof a.getAttributeNode!==A&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==A?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==A&&n?b.getElementsByClassName(a):void 0},p=[],o=[],(c.qsa=Y.test(e.querySelectorAll))&&(gb(function(a){a.innerHTML="",a.querySelectorAll("[t^='']").length&&o.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||o.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll(":checked").length||o.push(":checked")}),gb(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&o.push("name"+K+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||o.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),o.push(",.*:")})),(c.matchesSelector=Y.test(q=m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&gb(function(a){c.disconnectedMatch=q.call(a,"div"),q.call(a,"[s!='']:x"),p.push("!=",O)}),o=o.length&&new RegExp(o.join("|")),p=p.length&&new RegExp(p.join("|")),b=Y.test(m.compareDocumentPosition),r=b||Y.test(m.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},z=b?function(a,b){if(a===b)return j=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===t&&r(t,a)?-1:b===e||b.ownerDocument===t&&r(t,b)?1:i?I.call(i,a)-I.call(i,b):0:4&d?-1:1)}:function(a,b){if(a===b)return j=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],k=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:i?I.call(i,a)-I.call(i,b):0;if(f===g)return ib(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)k.unshift(c);while(h[d]===k[d])d++;return d?ib(h[d],k[d]):h[d]===t?-1:k[d]===t?1:0},e):l},db.matches=function(a,b){return db(a,null,null,b)},db.matchesSelector=function(a,b){if((a.ownerDocument||a)!==l&&k(a),b=b.replace(S,"='$1']"),!(!c.matchesSelector||!n||p&&p.test(b)||o&&o.test(b)))try{var d=q.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return db(b,l,null,[a]).length>0},db.contains=function(a,b){return(a.ownerDocument||a)!==l&&k(a),r(a,b)},db.attr=function(a,b){(a.ownerDocument||a)!==l&&k(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!n):void 0;return void 0!==f?f:c.attributes||!n?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},db.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},db.uniqueSort=function(a){var b,d=[],e=0,f=0;if(j=!c.detectDuplicates,i=!c.sortStable&&a.slice(0),a.sort(z),j){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return i=null,a},e=db.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=db.selectors={cacheLength:50,createPseudo:fb,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ab,bb),a[3]=(a[4]||a[5]||"").replace(ab,bb),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||db.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&db.error(a[0]),a},PSEUDO:function(a){var b,c=!a[5]&&a[2];return V.CHILD.test(a[0])?null:(a[3]&&void 0!==a[4]?a[2]=a[4]:c&&T.test(c)&&(b=ob(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ab,bb).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=w[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&w(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==A&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=db.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),t=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&t){k=q[s]||(q[s]={}),j=k[a]||[],n=j[0]===u&&j[1],m=j[0]===u&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[u,n,m];break}}else if(t&&(j=(b[s]||(b[s]={}))[a])&&j[0]===u)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(t&&((l[s]||(l[s]={}))[a]=[u,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||db.error("unsupported pseudo: "+a);return e[s]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?fb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:fb(function(a){var b=[],c=[],d=g(a.replace(P,"$1"));return d[s]?fb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:fb(function(a){return function(b){return db(a,b).length>0}}),contains:fb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:fb(function(a){return U.test(a||"")||db.error("unsupported lang: "+a),a=a.replace(ab,bb).toLowerCase(),function(b){var c;do if(c=n?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===m},focus:function(a){return a===l.activeElement&&(!l.hasFocus||l.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:lb(function(){return[0]}),last:lb(function(a,b){return[b-1]}),eq:lb(function(a,b,c){return[0>c?c+b:c]}),even:lb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:lb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:lb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:lb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function qb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=v++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[u,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[s]||(b[s]={}),(h=i[d])&&h[0]===u&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function rb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function tb(a,b,c,d,e,f){return d&&!d[s]&&(d=tb(d)),e&&!e[s]&&(e=tb(e,f)),fb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||wb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:sb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=sb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=sb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ub(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],i=g||d.relative[" "],j=g?1:0,k=qb(function(a){return a===b},i,!0),l=qb(function(a){return I.call(b,a)>-1},i,!0),m=[function(a,c,d){return!g&&(d||c!==h)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>j;j++)if(c=d.relative[a[j].type])m=[qb(rb(m),c)];else{if(c=d.filter[a[j].type].apply(null,a[j].matches),c[s]){for(e=++j;f>e;e++)if(d.relative[a[e].type])break;return tb(j>1&&rb(m),j>1&&pb(a.slice(0,j-1).concat({value:" "===a[j-2].type?"*":""})).replace(P,"$1"),c,e>j&&ub(a.slice(j,e)),f>e&&ub(a=a.slice(e)),f>e&&pb(a))}m.push(c)}return rb(m)}function vb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,i,j,k){var m,n,o,p=0,q="0",r=f&&[],s=[],t=h,v=f||e&&d.find.TAG("*",k),w=u+=null==t?1:Math.random()||.1,x=v.length;for(k&&(h=g!==l&&g);q!==x&&null!=(m=v[q]);q++){if(e&&m){n=0;while(o=a[n++])if(o(m,g,i)){j.push(m);break}k&&(u=w)}c&&((m=!o&&m)&&p--,f&&r.push(m))}if(p+=q,c&&q!==p){n=0;while(o=b[n++])o(r,s,g,i);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=E.call(j));s=sb(s)}G.apply(j,s),k&&!f&&s.length>0&&p+b.length>1&&db.uniqueSort(j)}return k&&(u=w,h=t),r};return c?fb(f):f}g=db.compile=function(a,b){var c,d=[],e=[],f=y[a+" "];if(!f){b||(b=ob(a)),c=b.length;while(c--)f=ub(b[c]),f[s]?d.push(f):e.push(f);f=y(a,vb(e,d))}return f};function wb(a,b,c){for(var d=0,e=b.length;e>d;d++)db(a,b[d],c);return c}function xb(a,b,e,f){var h,i,j,k,l,m=ob(a);if(!f&&1===m.length){if(i=m[0]=m[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&c.getById&&9===b.nodeType&&n&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(ab,bb),b)||[])[0],!b)return e;a=a.slice(i.shift().value.length)}h=V.needsContext.test(a)?0:i.length;while(h--){if(j=i[h],d.relative[k=j.type])break;if((l=d.find[k])&&(f=l(j.matches[0].replace(ab,bb),$.test(i[0].type)&&mb(b.parentNode)||b))){if(i.splice(h,1),a=f.length&&pb(i),!a)return G.apply(e,f),e;break}}}return g(a,m)(f,b,!n,e,$.test(a)&&mb(b.parentNode)||b),e}return c.sortStable=s.split("").sort(z).join("")===s,c.detectDuplicates=!!j,k(),c.sortDetached=gb(function(a){return 1&a.compareDocumentPosition(l.createElement("div"))}),gb(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||hb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&gb(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||hb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),gb(function(a){return null==a.getAttribute("disabled")})||hb(J,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),db}(a);o.find=t,o.expr=t.selectors,o.expr[":"]=o.expr.pseudos,o.unique=t.uniqueSort,o.text=t.getText,o.isXMLDoc=t.isXML,o.contains=t.contains;var u=o.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(o.isFunction(b))return o.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return o.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return o.filter(b,a,c);b=o.filter(b,a)}return o.grep(a,function(a){return g.call(b,a)>=0!==c})}o.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?o.find.matchesSelector(d,a)?[d]:[]:o.find.matches(a,o.grep(b,function(a){return 1===a.nodeType}))},o.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(o(a).filter(function(){for(b=0;c>b;b++)if(o.contains(e[b],this))return!0}));for(b=0;c>b;b++)o.find(a,e[b],d);return d=this.pushStack(c>1?o.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?o(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=o.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof o?b[0]:b,o.merge(this,o.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:m,!0)),v.test(c[1])&&o.isPlainObject(b))for(c in b)o.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=m.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=m,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):o.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(o):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),o.makeArray(a,this))};A.prototype=o.fn,y=o(m);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};o.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&o(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),o.fn.extend({has:function(a){var b=o(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(o.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?o(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&o.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?o.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(o(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(o.unique(o.merge(this.get(),o(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}o.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return o.dir(a,"parentNode")},parentsUntil:function(a,b,c){return o.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return o.dir(a,"nextSibling")},prevAll:function(a){return o.dir(a,"previousSibling")},nextUntil:function(a,b,c){return o.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return o.dir(a,"previousSibling",c)},siblings:function(a){return o.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return o.sibling(a.firstChild)},contents:function(a){return a.contentDocument||o.merge([],a.childNodes)}},function(a,b){o.fn[a]=function(c,d){var e=o.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=o.filter(d,e)),this.length>1&&(C[a]||o.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return o.each(a.match(E)||[],function(a,c){b[c]=!0}),b}o.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):o.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){o.each(b,function(b,c){var d=o.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&o.each(arguments,function(a,b){var c;while((c=o.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?o.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},o.extend({Deferred:function(a){var b=[["resolve","done",o.Callbacks("once memory"),"resolved"],["reject","fail",o.Callbacks("once memory"),"rejected"],["notify","progress",o.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return o.Deferred(function(c){o.each(b,function(b,f){var g=o.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&o.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?o.extend(a,d):d}},e={};return d.pipe=d.then,o.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&o.isFunction(a.promise)?e:0,g=1===f?a:o.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&o.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;o.fn.ready=function(a){return o.ready.promise().done(a),this},o.extend({isReady:!1,readyWait:1,holdReady:function(a){a?o.readyWait++:o.ready(!0)},ready:function(a){(a===!0?--o.readyWait:o.isReady)||(o.isReady=!0,a!==!0&&--o.readyWait>0||(H.resolveWith(m,[o]),o.fn.trigger&&o(m).trigger("ready").off("ready")))}});function I(){m.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),o.ready()}o.ready.promise=function(b){return H||(H=o.Deferred(),"complete"===m.readyState?setTimeout(o.ready):(m.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},o.ready.promise();var J=o.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===o.type(c)){e=!0;for(h in c)o.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,o.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(o(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};o.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=o.expando+Math.random()}K.uid=1,K.accepts=o.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,o.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(o.isEmptyObject(f))o.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,o.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{o.isArray(b)?d=b.concat(b.map(o.camelCase)):(e=o.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!o.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?o.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}o.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),o.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length; +while(c--)d=g[c].name,0===d.indexOf("data-")&&(d=o.camelCase(d.slice(5)),P(f,d,e[d]));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=o.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),o.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||o.isArray(c)?d=L.access(a,b,o.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=o.queue(a,b),d=c.length,e=c.shift(),f=o._queueHooks(a,b),g=function(){o.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:o.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),o.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length",l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";l.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return m.activeElement}catch(a){}}o.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=o.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof o!==U&&o.event.triggered!==b.type?o.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],n=q=h[1],p=(h[2]||"").split(".").sort(),n&&(l=o.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=o.event.special[n]||{},k=o.extend({type:n,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&o.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(n,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),o.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],n=q=h[1],p=(h[2]||"").split(".").sort(),n){l=o.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||o.removeEvent(a,n,r.handle),delete i[n])}else for(n in i)o.event.remove(a,n+b[j],c,d,!0);o.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,p=[d||m],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||m,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+o.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[o.expando]?b:new o.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:o.makeArray(c,[b]),n=o.event.special[q]||{},e||!n.trigger||n.trigger.apply(d,c)!==!1)){if(!e&&!n.noBubble&&!o.isWindow(d)){for(i=n.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||m)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:n.bindType||q,l=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),l&&l.apply(g,c),l=k&&g[k],l&&l.apply&&o.acceptData(g)&&(b.result=l.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||n._default&&n._default.apply(p.pop(),c)!==!1||!o.acceptData(d)||k&&o.isFunction(d[q])&&!o.isWindow(d)&&(h=d[k],h&&(d[k]=null),o.event.triggered=q,d[q](),o.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=o.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=o.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=o.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((o.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?o(e,this).index(i)>=0:o.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,gb=/^true\/(.*)/,hb=/^\s*\s*$/g,ib={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return o.nodeName(a,"table")&&o.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)o.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=o.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&o.nodeName(a,b)?o.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}o.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=o.contains(a.ownerDocument,a);if(!(l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||o.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,n=a.length;n>m;m++)if(e=a[m],e||0===e)if("object"===o.type(e))o.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1>")+h[2],j=h[0];while(j--)f=f.lastChild;o.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===o.inArray(e,d))&&(i=o.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f,g,h=o.event.special,i=0;void 0!==(c=a[i]);i++){if(o.acceptData(c)&&(f=c[L.expando],f&&(b=L.cache[f]))){if(d=Object.keys(b.events||{}),d.length)for(g=0;void 0!==(e=d[g]);g++)h[e]?o.event.remove(c,e):o.removeEvent(c,e,b.handle);L.cache[f]&&delete L.cache[f]}delete M.cache[c[M.expando]]}}}),o.fn.extend({text:function(a){return J(this,function(a){return void 0===a?o.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?o.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||o.cleanData(ob(c)),c.parentNode&&(b&&o.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(o.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return o.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(o.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,o.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,k=this.length,m=this,n=k-1,p=a[0],q=o.isFunction(p);if(q||k>1&&"string"==typeof p&&!l.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(k&&(c=o.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=o.map(ob(c,"script"),kb),g=f.length;k>j;j++)h=c,j!==n&&(h=o.clone(h,!0,!0),g&&o.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,o.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&o.contains(i,h)&&(h.src?o._evalUrl&&o._evalUrl(h.src):o.globalEval(h.textContent.replace(hb,"")))}return this}}),o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){o.fn[a]=function(a){for(var c,d=[],e=o(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),o(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d=o(c.createElement(b)).appendTo(c.body),e=a.getDefaultComputedStyle?a.getDefaultComputedStyle(d[0]).display:o.css(d[0],"display");return d.detach(),e}function tb(a){var b=m,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||o("'):e?(f=g.parseUri(a,{autoplay:j.settings.autoplayVideos?"1":"0",byline:"0",portrait:"0",color:j.settings.vimeoColor}),b=''):b='','
    '+b+"
    "},loadMedia:function(a,b){if(0===a.trim().indexOf("#"))b.call(c("
    ",{"class":"swipebox-inline-container"}).append(c(a).clone().toggleClass(j.settings.toggleClassOnLoad)));else if(!this.isVideo(a)){var d=c("").on("load",function(){b.call(d)});d.attr("src",a)}},getNext:function(){var a,b=this,d=c("#swipebox-slider .slide").index(c("#swipebox-slider .slide.current"));d+10?(a=c("#swipebox-slider .slide").eq(b).contents().find("iframe").attr("src"),c("#swipebox-slider .slide").eq(b).contents().find("iframe").attr("src",a),b--,this.setSlide(b),this.preloadMedia(b-1),j.settings.prevSlide&&j.settings.prevSlide(b)):(c("#swipebox-overlay").addClass("leftSpring"),setTimeout(function(){c("#swipebox-overlay").removeClass("leftSpring")},500))},nextSlide:function(a){},prevSlide:function(a){},closeSlide:function(){c("html").removeClass("swipebox-html"),c("html").removeClass("swipebox-touch"),c(a).trigger("resize"),this.destroy()},destroy:function(){c(a).unbind("keyup"),c("body").unbind("touchstart"),c("body").unbind("touchmove"),c("body").unbind("touchend"),c("#swipebox-slider").unbind(),c("#swipebox-overlay").remove(),c.isArray(e)||e.removeData("_swipebox"),this.target&&this.target.trigger("swipebox-destroy"),c.swipebox.isOpen=!1,j.settings.afterClose&&j.settings.afterClose()}},j.init()},c.fn.swipebox=function(a){if(!c.data(this,"_swipebox")){var b=new c.swipebox(this,a);this.data("_swipebox",b)}return this.data("_swipebox")}}(window,document,jQuery); \ No newline at end of file diff --git a/js/zenphoto.js b/js/zenphoto.js new file mode 100644 index 0000000..4a0725a --- /dev/null +++ b/js/zenphoto.js @@ -0,0 +1,41 @@ +// JavaScript Document +// [zenphoto album="sports-mecaniques/gp-france" image="2010-05-23_gp-france-2010_5321.jpg"] +// ed.selection.setContent('[mylink]' + ed.selection.getContent() + '[/mylink]'); +//image : url+'/mylink.png', + +tinymce.create('tinymce.plugins.zp', { + init : function(editor, url) { + editor.addButton('zp', { + title : 'Zenphoto', + image : url+'/zenphoto.gif', + onclick : function() { + editor.selection.setContent('[zenphoto album="" image=""]'); + editor.undoManager.add(); + } + }); + }, + createControl : function(n, cm) { + return null; + }, +}); +tinymce.PluginManager.add('zp', tinymce.plugins.zp); + + + +/* +tinymce.create('tinymce.plugins.spoil',{ + init : function(editor,url){ + editor.addButton('spoiler',{ + title : 'Ajouter un Spoiler', + image : url + '/zenphoto.gif', + onclick : function(){ + editor.selection.setContent('[spoiler]'+editor.selection.getContent()+'[/spoiler]') + } + }) + }, + createControl : function(n,cm){ + return null; + } +}); +tinymce.PluginManager.add('spoiler',tinymce.plugins.spoil); +*/ \ No newline at end of file diff --git a/languages/Archive 6.zip b/languages/Archive 6.zip new file mode 100644 index 0000000000000000000000000000000000000000..ee1866bef3ff9f0ec1cd5fcda995a4bf15f14169 GIT binary patch literal 3618 zcmai%cQ_k-yT|iX&Dzw8(JHkbV$+(fy+T7u?W(;6F=~_A)T&m^S~U}!7@<`fqKG}4 zrbST%6{A(Bz0P&c`<(Os@&4{Ve)oOd*Y&yo{9Io%BZ|xH0Gi*m5U!*S_{XCGFaum+ z4!RI2A3vxSJ%CD=3*2=})#T_ec0k)R6F;GM+{3B$G7B=@pM;-k>c38#P09}%pMR+> z-A)Zp=WIZ6K6;rinpI!0Tkzt5Y!O^rJ51l9Pb*R(N)5IZ6i%dvz%=zEVpt$BeektG z#0}nTznG^d8g^kGavqX#3jY)04(7B`*GqafG2^fAE=m_k9Fu_oiOm`mgF)TNYq1Sm;^z(yF~cpG&Z z5gJX|1L#u|_#Q#CN)bh;PAi~6jY&LiYZ)lv>=%gVLs9+W@Q%kIPe3S&;yOx9AW4s% ziL^v0@fyHj;zF`ktWiJsPkxi>15emq8$k{n+v<>^gc7QkDc z9ce{eD{D2_??M)6-6~}jvI~es@*q;fJc}6RbyOsOuSfaH(Osr@ z2$&9BVyhNn$mM>?+h9U_;gAOl5Ag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g~T31?@*+?Yk=~v9NfczVSzR)%aYT*n!2+ucgdxJMKlx%dU?R4y!`OD760b z;Z^tDg|?~M(Z-^b{HD20{B`ZceG@YISKaAK8?p66CzkLmCBih|5z#Am#^rQZFc@T3 z0XjA}Hxh;tW_AmY1-fxYR%AHm<&;@6YxGDy9DNG4!JzyBnL HKhu8!oWtE6 literal 0 HcmV?d00001 diff --git a/languages/Archive 7.zip b/languages/Archive 7.zip new file mode 100644 index 0000000000000000000000000000000000000000..5235f0b38067551ff74d41373bdca03a56499011 GIT binary patch literal 3982 zcmai%Rag}6wueb!2qmRUknS7_G3b^Qqfi2oFx*3M&`e>`Fw3LHmoD;0fVHxHwi zWH=PB7<7D%7<5i>X>jU|wO@0o(pEaOE%mzEQ4s?GioHEcuOna#!BJ{`r(CVcbnt4K zboA@4fhpggLsRa$M#W`8P=NUpVuE;J1nM1u23Mx%YD9F}+JfF)%6J+IeH}Gu>S^M+ zrO9Zr+j`H_0*5o1#gnp~;N{>d%Z`BCDG~b0e$4G7>_Lvro@=LxVqg63yc5Hfq#jOj zL@3Gu6%bL^`7?5|QxV4`A{@^WcZqNxPehln^*|@)LJ>x?d+p1=cWicX9snD>OSdSA8Rh z2}6a}MULX7;OF9m-8+}3;IKKs%e`|GDt&(Z-F$3iy!rEdMx+!vpl9_wjl~;4>l;hECh4efcD3xSc9_g)EIe=Vg3#JjUUf9 zJSJADNEr>x`O+uUw8W)d#*x+hxA^c|5JHm` z%L~IwqlQ9soFQnIzWtma>19@>k=e$Sh6K~AiW#N4!I_w32a>ApI?>usAX$R_sPS;v9aoMO=W zlmNKg(#BPm#ko|HZa-x?rG7%tRuu+iC;sLAG1wicr~R!IDBXMtaeRc4)OM6n)~(Gx zLZu*!k3E^Nv9e!WtKHNlsSa7N;v+;O99YI?b`qJ`L-p5+z>s;>?nXCl*ptqo2)X+n z{`O`Cxy0MVj&c*5#u?8JG;G$~0bku-N1@A-e=UD6JVwyXbHdr9STOjpFqXrj zLB)72!G?k)Acvu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B;m z1dz{FcSHkVG{5j1oO%-*)+|+F^uY9bC?XX{uat0_hinBCMAO`A8U(bum;q#d(abVo z)@V$;oUY=#fqxVsUNqPoSx?mk7%Ra@x$diXEgYHDI)U-4hHNBEpHm0OxW#--Z4%iS z;{$LKyab_!aP!F|XkAZs>kD{Eghs_E?Q|~$DAq%~vw0Z|%;frN?-I--a~kfx72}N! z`e<3GqFbP)+}BcXGE$MBjD)|BF{2A%U%5)7sBVRp`2UPl3UA%btx_%q>M@*bRiq<@ zT1FPFgc>Az`UxDrmRdMya6=zzI8GXt=gBzo-?V?)HkLgB!1 zDVbnq(BPX)CMBx}6{iK;zV};E%x+~Hs*8jJ?C7$h^!-{jMYg=K%a!hP5iAWN(aY`T zy*d&vKVxI#IL&(kb8l;(m^XpyhE=&2;a4I}7|(MNkN zs$^O_FNZrOaFT8V@JtL$JxUD%g9qj6!fkQP0OdK7jCuayW_M3xc;ga7mpVIU#a(>S|-LJ z``--wq#*Kd`>zcAClUWo2LAtqf71Ui;mx0$|4sNS^M4Wu@BF3X{i*0b|L?nhr~d-| C9fGR> literal 0 HcmV?d00001 diff --git a/languages/Archive 8.zip b/languages/Archive 8.zip new file mode 100644 index 0000000000000000000000000000000000000000..0ae59e2ca329124a18d6e06172111263ec56c66b GIT binary patch literal 4320 zcma)=WmFXIwugrX$zi||5Tu3{X-6rghZ2WWMp8h!OBxALy1N@Gi2(s;kZ$Sj5u_Y? zK)!Lf_k20;{_yU-)?Uxo{j8ss8UZ04fb>sAc^u0C{_#iwGyqE%Vt@&YuOY;Pe4$z>lVaKUVUqxBlX6v)J_=NVFH|*p(c8_6x_WjUIc9iE@DE(=- zS0)iBXGL*|C89-oQA76x3gRW9xkaj|63E^Tkt356hI3MpvUL(gJ-PeDiImhCkdHV6 zsjx!v)_h)xv&6)K-pwSppth>Y^|5}~>dOkBU;fFf=^a-d3&zsj2J~JBlmaNh<)N93 zKx%@69)}fYJOctv{2csfd|7e?z@Np7>dbuQ9U6rfL+~Kdgw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(r g`u`=U{_&0fCj7ODe-em@|I+dQRLGxSiRSP0UyKDQy#N3J literal 0 HcmV?d00001 diff --git a/languages/fr_FR.mo b/languages/fr_FR.mo new file mode 100644 index 0000000000000000000000000000000000000000..1efbaa0d35744f2ad3e1448b6f1bea635fe7a4e7 GIT binary patch literal 7592 zcmcJTYiwLc6@aJE@-VN`7AU2Ui5n+Qn_b&U+NSHospHs5T03#QPSQ}7FuOb6y~*8s zZ|}p-M&i*5(W)&%0#zyk2}F^oc}NwHA0YYzETr<3`VT5pq#_|zsw#ny5U47AXYO5l z9VM-c=#^)``Gv}N+;}@>D^l`;?FXdXwKi;O)XW(xy|ncPe!i{1xnjFThLT zOK=-}1-=(v{Vt{62L}r7gzx8h9KHk2!gs?Ha1a_e03U&)@M*Xez6^K5tEfB-4?$k3 zPQeFZ#Pg%Y^Q*AR^JNGpIpn*?AX?F#kX?P73c}Ah=<&NU{D3tlmLz(Zx zkSVF3Kxw}MMb6(qncs88_dmevd43Ttz)MiR$ki%%7RtOHhHr;ohaZJcLYk;&;0NKa zi|0Q<(eq1C#`!yB3hH0*3V0bpi~LtZUa9M#%;RQ$#BM531n}i>N$Dqi623`$g zDD!<3O8qC`li2t-p{&;wi-<_-6VTZU9OOBM((bEJ^z;@W^^zjP3 z3BC$t{#&Uu2JeDf;UmTK58$ml{|(Bxg9t5h-3Gr1$DyplbFc=VFP`_Zm^4vSQ1pB+ zl=U}o2mCCQc0YtNkDo!A|Igt8_&gN7+`y#e{T3+o_rXo@5R`R34Mm@yf;3TIfEs=a zJ^+6SWt|SvNf{o6BG0EGDpj9@VsDSbeef&rR`^FK_H;Q$DDAI>(rz;pxo(1@hY`39 zj>6AF3q}7gLz(|;Q0(o>Yw~f1Au3Y4pvZqGlyUBZG7k^RJUdYOf3W!e7?l2=fFjTL z3;q~NyJz5b_&X^2{5O>K{ZH|H)5r4oH3T2y{V~{pFG3mTAVQAAyP=H#Wq25V4T_%r z3Wwo8p~yQ(a1lG&1*QFdDDq81RH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|CVTxlDw`3*IkL)J)P6SkIks1+sYc7{+Wb}a<3v0@u} za1fglojcJ@SB$c>jJsi|TrQrAg^?+mCF2o?o4OscyA>Yd8d(=*dzUBgED(ohcOm0g zjoqr1rcq^RNR$;xJT8ZEb4Z=mQ`_}PCCVa~KzMA=>W=JUF)viQ6v~G@k63$+XPidc zrNfQVaT_Ou>55L5u!Bx&gA#k6-{>QfhH+Y&Nt#}xv_ESmrTMU;`(}^MmnPUzB(|3h zV38HQV|e7&((umG$WA@7v$E^vC#~q+H81VEr!*T{w#(98 zwj=A3OnXUM(Wg$0p0cA&i<_TKyF3+yVKjQ`R8YLHjBMYr*1>+0*vO=(p7FnzxB9%tQnyqsnJd%TF_gVjR-@=RkCga}!&B3Dv#PFGAooMV7Pz*?1F zKb;oC)fil&{jHuH12E|xf#mcQutj22tX^u+FSgN>8f@rvP-R=j+VifE6GO*VkRwWM z|JZq7w*<8$8g&PTJwwsjp<$YZC=$V7YaR_(mUF=t!w&YTnR7{MbZpEKf{zC6V$lrO zG~H7~*zO(^dpsD+a=y4hE6K%JbK#9OJ0jUBx%lGB@*5p2W^hVReSDxeXI#Wx*YdkJ>#HnYaU}1$>*013dz{Ky*OZNl zQ^>kEh0&`iZ{;bbMA&mNFY^;b$I(|0B+j$sRI<)h#tWa32(a>P7c`HDXvJhn;<>{J zVTE*{u=UmR2#1(FyvcDUzvD>ankK}d-b2Y`fDzf4$U?|XIA3rgp+j~Q-&^EAD8~Zs zNz7^HqNKqeoZ0m_9YRML!I0JMxc|c7I_FAxbpl3@-w~?lNYqH8URIJna^_{tH|gUp zws$Sv==CxlvyNdms%ug K#cj_E_x8W>Nf\n" +"Language-Team: bruno@clicclac.info\n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;_e;gettext;gettext_noop;__ngettext:1,2\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Generator: Poedit 1.8.7\n" +"X-Poedit-SearchPath-0: /Library/WebServer/Documents/wordpress/wp-content/" +"themes/twentyten-child\n" +"X-Poedit-SearchPathExcluded-0: /Library/WebServer/Documents/wordpress/wp-" +"content/themes/twentyten-child/exclus\n" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/-sidebar.php:19 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:19 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:39 +msgid "Archives" +msgstr "Archives" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/-sidebar.php:28 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:94 +msgid "Recent Posts" +msgstr "Articles réçents" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/-sidebar.php:61 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:84 +msgid "Pages" +msgstr "Pages" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/-sidebar.php:78 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/-sidebar.php:109 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:46 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:135 +msgid "Meta" +msgstr "Méta" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/-sidebar.php:114 +msgid "RSS" +msgstr "RSS" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/-sidebar.php:115 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:147 +msgid "Trackback" +msgstr "Trackback" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/-sidebar.php:117 +msgid "Print This Post" +msgstr "Imprimer cet article" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/-sidebar.php:117 +msgid "Print This Page" +msgstr "Imprimer cet page" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/footer.php:34 +msgid "http://wordpress.org/" +msgstr "http://fr.wordpress.org/" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/footer.php:36 +#, php-format +msgid "Proudly powered by %s." +msgstr "Fièrement propulsé par %s." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:314 +#, php-format +msgid " Article updated the %1$s at %2$s " +msgstr " Article mis à jour le %1$s à %2$s " + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:330 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:485 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-attachment.php:34 +#, php-format +msgid "%1$s" +msgstr "%1$s" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:350 +#, php-format +msgid "" +"Posted in %1$s and tagged %2$s. Permalink." +msgstr "" +"Publié dans %1$s. Mots-clés %2$s. Mettre en favoris avec ce permalien." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:352 +#, php-format +msgid "" +"This entry was posted in %1$s. Bookmark the permalink." +msgstr "" +"Cette entrée a été publiée dans %1$s. Mettre en favoris avec ce permalien." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:354 +#, php-format +msgid "" +"Bookmark the permalink." +msgstr "" +"Mettre en favoris avec ce permalien." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:370 +msgid "finish reading " +msgstr "Continuer la lecture" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:400 +#, php-format +msgid "%1$s %2$s says:" +msgstr "%1$s %2$s dit:" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:403 +msgid "Your comment is awaiting moderation." +msgstr "Votre commentaire est en attente de modération." + +#. translators: 1: date, 2: time +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:411 +#, php-format +msgid "%1$s at %2$s" +msgstr "%1$s à %2$s" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:411 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:436 +msgid "(Edit)" +msgstr "(Modifier)" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:436 +msgid "Pingback:" +msgstr "Pingback:" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:474 +msgid "yesterday" +msgstr "hier" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:475 +msgid "the day before yesterday" +msgstr "avant-hier" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:476 +msgid "two days ago" +msgstr "avant-avant-hier" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:477 +#, php-format +msgid "%1$s days ago" +msgstr "il y a %1$s jours" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:480 +#, php-format +msgid "%1$s week ago" +msgstr "il y a %1$s semaine" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:481 +#, php-format +msgid "%1$s weeks ago" +msgstr "il y a %1$s semaines" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:584 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:680 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:944 +msgid "Aperture" +msgstr "Ouverture" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:588 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:684 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:948 +msgid "Shutter speed" +msgstr "Vitesse" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:607 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:703 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:952 +msgid "Focal length" +msgstr "Focale" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:610 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:706 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:955 +msgid "Camera" +msgstr "Appareil" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:620 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:709 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:972 +msgid "Taken" +msgstr "Date" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:620 +msgid "j F, Y" +msgstr "d.m.Y à H:i" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/functions.php:983 +msgid "See on Google Maps" +msgstr "Voir sur Google Maps" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/header.php:36 +#, php-format +msgid "Page %s" +msgstr "Page %s" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:18 +msgid "" +"This post is password protected. Enter the password to view any comments." +msgstr "" +"Cet article est protégé par un mot de passe. Saisissez le mot de passe pour " +"lire les commentaires." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:41 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:60 +msgid " Older Comments" +msgstr " Commentaires plus anciens" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:42 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:61 +msgid "Newer Comments " +msgstr "Commentaires plus récents " + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:72 +msgid "Comments are closed." +msgstr "Les commentaires sont fermés." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:80 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:261 +msgid "Name" +msgstr "Nom" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:82 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:264 +msgid "Email" +msgstr "Mail" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:82 +msgid " (not be published)." +msgstr " (ne sera pas publié)." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:84 +msgid "Website" +msgstr "Site web" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:87 +msgid "City" +msgstr "Ville" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:89 +msgid "State" +msgstr "Pays" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:289 +msgid "Your message" +msgstr "Votre message" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:290 +#, php-format +msgid "You must be logged in to post a comment." +msgstr "" +"Vous devez être connecté pour rédiger un commentaire." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:291 +#, php-format +msgid "" +"Logged in as %2$s. Log out?" +msgstr "" +"Connecté en tant que %2$s. Se déconnecter ?

    " + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:299 +msgid "Leave a Message" +msgstr "Laisser un message" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:300 +#, php-format +msgid "Leave a Reply to %s" +msgstr "Répondre à %s" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:301 +msgid "Cancel reply" +msgstr "Annuler la réponse." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-comments.php:302 +msgid "Sign Guestbook" +msgstr "Signer le livre" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/livre-d-or.php:28 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-attachment.php:139 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-page.php:29 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-single.php:163 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:145 +msgid "Pages:" +msgstr "Pages:" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-attachment.php:22 +#, php-format +msgid "Return to %s" +msgstr "Retourner à %s" + +#. translators: %s - title of parent post +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-attachment.php:24 +#, php-format +msgid " %s" +msgstr " %s" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-attachment.php:44 +#, php-format +msgid "Full size is %s pixels" +msgstr "Pleine taille: %s pixels" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-attachment.php:47 +msgid "Link to full-size image" +msgstr "Liens vers l'image pleine taille" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-attachment.php:54 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-attachment.php:150 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-page.php:30 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-single.php:230 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:101 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:124 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:166 +msgid "Edit" +msgstr "Modifier" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-attachment.php:137 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:116 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:144 +msgid "Continue reading " +msgstr "Lire la suite " + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-single.php:172 +#, php-format +msgid "About %s" +msgstr "A propos de %s" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-single.php:176 +#, php-format +msgid "View all posts by %s " +msgstr "Voir tous les articles de %s " + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop-single.php:204 +msgid "Related articles:" +msgstr "Voir aussi:" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:25 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:179 +msgid " Older posts" +msgstr " Messages récents" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:26 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:180 +msgid "Newer posts " +msgstr "Messages récents " + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:33 +msgid "Not Found" +msgstr "Non trouvé" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:35 +msgid "" +"Apologies, but no results were found for the requested archive. Perhaps " +"searching will help find a related post." +msgstr "" +"Toutes nos excuses, mais votre requête n’a donné aucun résultat. Peut-" +"être qu’une recherche peut vous indiquer un article lié." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:94 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:97 +msgid "More Galleries" +msgstr "Plus de galeries" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:100 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:123 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:165 +msgid "Leave a comment" +msgstr "Laisser un commentaire" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:100 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:123 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:165 +msgid "1 Comment" +msgstr "1 commentaire" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:100 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:123 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:165 +msgid "% Comments" +msgstr "% commentaires" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:152 +#, php-format +msgid "Posted in %2$s" +msgstr "Posté dans %2$s" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/loop.php:161 +#, php-format +msgid "Tagged %2$s" +msgstr "Tags %2$s" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:69 +msgid "Human verification incorrect." +msgstr "Vérification humaine incorrecte." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:70 +msgid "Please supply all information." +msgstr "Merci de remplir toutes les informations." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:71 +msgid "Email Address Invalid." +msgstr "Adresse mail non-valide." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:72 +msgid "Message was not sent. Try Again." +msgstr "Le message n'a pas été envoyé. Ré-essayer." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:73 +msgid "Thanks! Your message has been sent." +msgstr "Merci! Votre message a été envoyé." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:74 +msgid "SPAM !!!" +msgstr "SPAM !!!" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:101 +msgid "Someone sent a message from " +msgstr "Un lecteur vous a envoyé un message depuis " + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:262 +msgid "Your name" +msgstr "Votre nom" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:265 +msgid "Your email" +msgstr "Votre email" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:267 +msgid "Message" +msgstr "Message" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:268 +msgid "Your Message..." +msgstr "Votre message..." + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:270 +msgid "Human ?" +msgstr "Humain ?" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/page-contact.php:274 +msgid "Send" +msgstr "Envoyer" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/searchform.php:2 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/searchform.php:11 +msgid "Search for:" +msgstr "Rechercher:" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/searchform.php:4 +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/searchform.php:13 +msgid "Search" +msgstr "Recherche" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:140 +msgid "RSS Feed for Blog Entries" +msgstr "Flux RSS des articles" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:140 +msgid "Entries RSS" +msgstr "Flux RSS des articles" + +#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentyten-child/sidebar.php:144 +msgid "Subscribe to comments on this post." +msgstr "Abonnez-vous aux commentaires sur ce post." + +#~ msgid "" +#~ "RSS feed for comments on " +#~ "this post." +#~ msgstr "" +#~ "Flux RSS des " +#~ "commentaires sur cet article." + +#~ msgid "Display/hide on map" +#~ msgstr "Afficher/masquer la carte" + +#~ msgid "Human Verification" +#~ msgstr "Vérification humaine" + +#~ msgid "%1$s day ago" +#~ msgstr "il y a %1$s jour" + +#, fuzzy +#~ msgid " jour" +#~ msgstr "heure" + +#~ msgid "sec" +#~ msgstr "sec" + +#~ msgid "min" +#~ msgstr "min" + +#~ msgid "day" +#~ msgstr "jour" + +#~ msgid "week" +#~ msgstr "semaine" + +#~ msgid "month" +#~ msgstr "mois" + +#~ msgid "year" +#~ msgstr "an" + +#~ msgid "ago" +#~ msgstr "il y a" diff --git a/livre-comments.php b/livre-comments.php new file mode 100644 index 0000000..21cda79 --- /dev/null +++ b/livre-comments.php @@ -0,0 +1,307 @@ + + +
    + +

    +
    + + + + + +

    ' . get_the_title() . '' ); */ + ?>

    + + 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> + + + +
      + 'twentyten_comment_guestbook' ) ); + ?> +
    + + 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> + + + + +

    + + + + + '

    ' . + ' ' . ( $req ? '*' : '' ) . '' .'

    ', + 'email' => '', + 'url' => '

    ' . + '' . '

    ', + + 'city' => '

    ' . + '' . '

    ', + 'pays' => '

    ' . + '
    ' . '

    ', +); + +$guestbook = array( + 'fields' => apply_filters( 'comment_form_default_fields', $fields ), + //'comment_field' => '

    ', + 'comment_field' => '

    ', + 'must_log_in' => '', + 'logged_in_as' => '

    ' . sprintf( __( 'Logged in as %2$s. Log out?','twentyten-child' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '

    ', + //'comment_notes_before' => '

    ' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '

    ', + 'comment_notes_before' => '', + //'comment_notes_after' => '

    ' . sprintf( __( 'You may use these HTML tags and attributes: %s' ), ' ' . allowed_tags() . '' ) . '

    ', + 'comment_notes_after' => '', + 'id_form' => 'commentform', + 'id_submit' => 'submit', + //'title_reply' => __( 'Leave a Reply' ), + 'title_reply' => __( 'Leave a Message','twentyten-child' ), + 'title_reply_to' => __( 'Leave a Reply to %s','twentyten-child' ), + 'cancel_reply_link' => __( 'Cancel reply','twentyten-child' ), + 'label_submit' => __( 'Sign Guestbook','twentyten-child' ) +); + +comment_form($guestbook); ?> + +
    diff --git a/livre-d-or.php b/livre-d-or.php new file mode 100644 index 0000000..83a0205 --- /dev/null +++ b/livre-d-or.php @@ -0,0 +1,55 @@ + + +
    +
    + + + + + +
    > +

    + + + +
    + + '' ) ); ?> +
    + +
    + + ', '' ); ?> +
    +
    + +
    '; +?> + + + + + + +
    +
    + + + diff --git a/loop-attachment.php b/loop-attachment.php new file mode 100644 index 0000000..4fc0d6f --- /dev/null +++ b/loop-attachment.php @@ -0,0 +1,156 @@ + + + + + post_parent ) ) : ?> + + + +
    > +

    + + + +
    +
    + $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 image attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image attachment, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } +?> +

    ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height. + ?>

    + + + + + + + + + + +
    post_excerpt ) ) the_excerpt(); ?> +
    + + + + +
    Voir les Exif
    + + + + +ID; + + //echo $attachment->ID; + $before_block = '
      '; + $after_block = '
    '; + $liste_exif = $before_block; + + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attach); + + $liste_exif .= $exif_list; + $liste_exif .= $after_block; + + echo $liste_exif; + +?> + +
    + + + + +
    + + +
    + + +→', 'twentyten' ) ); ?> + + '' ) ); ?> + + + +
    + +
    + + ', '' ); ?> +
    +
    + + + + \ No newline at end of file diff --git a/loop-page.php b/loop-page.php new file mode 100644 index 0000000..731b999 --- /dev/null +++ b/loop-page.php @@ -0,0 +1,36 @@ + + + + +
    > + +

    + +

    + + +
    + + '' ) ); ?> + ', '' ); ?> +
    +
    + + + + \ No newline at end of file diff --git a/loop-single.php b/loop-single.php new file mode 100644 index 0000000..a5ec754 --- /dev/null +++ b/loop-single.php @@ -0,0 +1,379 @@ + + + + + + +
    > +

    + + + +
    + + + ', ']]>', $content); + + // retina 2x + if (function_exists( ' wr2x_init' ) ) $pattern = '/]* src=\"([^\"]*)\"[^>]*>/Ui'; + // sans retina + else $pattern = '/]*src=\"?([^\"]*)\"?([^>]*alt=\"?([^\"]*)\"?)?[^>]*>/Ui'; + preg_match_all($pattern, $content , $matches, PREG_SET_ORDER); + //$x = count($matches); + //echo "matches wp: " . $x; + + //$pattern2 = '/]* srcset=\"([^\"]*)\"[^>]*>/Ui'; + $pattern2 = '/]*href=\"([^\"]*)\"[^>]*>(.*)<\/a>/siU'; + //$pattern2 = '/]* src=\"([^\"]*)\"[^>]*>/Ui'; + preg_match_all($pattern2, $content , $matches, PREG_SET_ORDER); + + //preprint($matches); + /* + echo "matches2 zp: " . (count($matches) - $x); + + for ($i = 0; $i <= (count($matches) - 1); $i++) { + //echo "" . $i . $matches[$i][0] . "
    "; + echo "" . $i . $matches[$i][1] . "
    -----------------------------------------------
    "; + } + echo "--------------------------------------------";*/ + + $coord = array(); + $j = 0; + $portrait = false; + $new_img = ""; + + for ($i = 0; $i <= (count($matches) - 1); $i++) { + $ancien = $matches[$i][0]; + + //echo $ancien; + + if (substr_count($ancien, 'wordpress') != 0) { + + $patternWP = '#wp-image-[0-9]{1,4}#'; + if (preg_match($patternWP, $ancien, $matches2) === 1) { + $attachment = substr($matches2[0],9); + + //$new_img = $ancien . '' . "\r\n" . '
    Voir les Exifs
    '."\r\n"; + //echo "ancien wp: " . $ancien; + //echo $ancien; + //$ancien2 = str_replace("rel=\"", "rel=\"lightbox ", $ancien); + $ancien2 = str_replace("Voir les Exifs
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + $metadata = wp_get_attachment_metadata($attachment); + + list($exif_list, $gm_lat, $gm_lng, $title_marker) = ListeExif($metadata, $attachment, $i); + + if ($gm_lat != "") { + $coord[$j]['lat'] = $gm_lat; + $coord[$j]['lng'] = $gm_lng; + $coord[$j]['mark'] = $title_marker; + $j++; + } + + $new_img .= $exif_list; + $new_img .= '
    '."\r\n"; + } + } + // elseif (substr_count($ancien, 'zenphoto') != 0) { + elseif ((substr_count($ancien, 'zenphoto') != 0) and (substr_count($ancien, '' . "\r\n"; + $new_img = $ancien . "\r\n"; + + // $caption .= '

    '; + $new_img .= ($title_marker != "") ? ('

    ' . $title_marker . '

    ') : "" . "\r\n"; + //$new_img .= '

    ' . $title_marker . '

    ' . "\r\n"; + $new_img .= '
    Voir les Exifs
    '."\r\n"; + $new_img .= '
    '."\r\n"; + $new_img .= '
      '."\r\n"; + + $new_img .= $exif_list; + $new_img .= '
    '."\r\n"; + } + + else { + // Autres sources que WP et ZP + + //
    + //echo $ancien; + + if (substr_count($ancien, " portrait") != 0) { + $ancien2 = str_replace(" portrait", " ", $ancien); + $portrait = true; + } + else { + $portrait = false; + } + + //$anc = str_replace("/>", "class='aligncenter' style='width: " . (($portrait === false) ? "610" : "408") . "px;' />", $ancien); + + //$new_img = $anc . "\r\n"; + } + + $content = str_replace($ancien, $new_img, $content); + //echo $content; + + } + + echo $content; + + //preprint($coord); + + ?> + +

     

    + + + + + + + 0) ? "block" : "none") . ';">
    '; +?> + + + + + '' ) ); ?> +
    + + +
    +
    + +
    + +
    + + + + + + + + +
    + + ', '' ); ?> +
    + + + + + + + \ No newline at end of file diff --git a/loop.php b/loop.php new file mode 100644 index 0000000..ca1b59c --- /dev/null +++ b/loop.php @@ -0,0 +1,182 @@ +get_template_part( 'loop', 'index' ); + * + * @package WordPress + * @subpackage Twenty_Ten + * @since Twenty Ten 1.0 + */ +?> + + +max_num_pages > 1 ) : ?> + + + + + +
    +

    +
    +

    + +
    +
    + + + + + + + + ID ) ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?> +
    > +

    + + + +
    + + + + $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); + if ( $images ) : + $total_images = count( $images ); + $image = array_shift( $images ); + $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' ); + ?> + +

    %2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyten' ), + 'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"', + number_format_i18n( $total_images ) + ); ?>

    + + + +
    + +
    + ID ) ) : ?> + + | + + + | + + + | ', '' ); ?> +
    +
    + + + + ID ) ) || in_category( _x( 'asides', 'asides category slug', 'twentyten' ) ) ) : ?> +
    > + + +
    + +
    + +
    + →', 'twentyten' ) ); ?> +
    + + +
    + + | + + | ', '' ); ?> +
    +
    + + + + +
    > +

    + + + + +
    + +
    + +
    + →', 'twentyten' ) ); ?> + '' ) ); ?> +
    + + +
    + + + Posted in %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> + + | + + + + Tagged %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + | + + + | ', '' ); ?> +
    +
    + + + + + + + + +max_num_pages > 1 ) : ?> + + diff --git a/page-contact.php b/page-contact.php new file mode 100644 index 0000000..1b5c3bd --- /dev/null +++ b/page-contact.php @@ -0,0 +1,290 @@ +{$message}"; + else $response = "
    {$message}
    "; + + } + +//http://www.binarymoon.co.uk/2010/03/akismet-plugin-theme-stop-spam-dead/ + +function bm_checkSpam ($content) { + + // innocent until proven guilty + $isSpam = FALSE; + + $content = (array) $content; + + if (function_exists('akismet_init')) { + + $wpcom_api_key = get_option('wordpress_api_key'); + + if (!empty($wpcom_api_key)) { + + global $akismet_api_host, $akismet_api_port; + + // set remaining required values for akismet api + $content['user_ip'] = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] ); + $content['user_agent'] = $_SERVER['HTTP_USER_AGENT']; + $content['referrer'] = $_SERVER['HTTP_REFERER']; + $content['blog'] = get_option('home'); + + if (empty($content['referrer'])) { + $content['referrer'] = get_permalink(); + } + + $queryString = ''; + + foreach ($content as $key => $data) { + if (!empty($data)) { + $queryString .= $key . '=' . urlencode(stripslashes($data)) . '&'; + } + } + //echo $queryString; + + $response = akismet_http_post($queryString, $akismet_api_host, '/1.1/comment-check', $akismet_api_port); + + if ($response[1] == 'true') { + update_option('akismet_spam_count', get_option('akismet_spam_count') + 1); + $isSpam = TRUE; + } + + } + + } + + return $isSpam; + +} + + //response messages + $not_human = __( "Human verification incorrect.", 'twentyten-child' ); + $missing_content = __( "Please supply all information.", 'twentyten-child' ); + $email_invalid = __( "Email Address Invalid.", 'twentyten-child' ); + $message_unsent = __( "Message was not sent. Try Again.", 'twentyten-child' ); + $message_sent = __( "Thanks! Your message has been sent.", 'twentyten-child' ); + $message_spam = __( "SPAM !!!", 'twentyten-child' ); + + //user posted variables + $name = $_POST['message_name']; + $email = $_POST['message_email']; + $message = $_POST['message_text']; + $human = $_POST['message_human']; + $website = ""; + + $content['comment_author'] = $name; + $content['comment_author_email'] = $email; + $content['comment_author_url'] = $website; + $content['comment_content'] = $message; + //print_r($content); + /* + if (bm_checkSpam ($content)) { + // stuff here + echo "spam !!"; + } + else { + echo "No spam !!"; + } + */ + + //php mailer variables + $to = get_option('admin_email'); + //$subject = "Someone sent a message from ".get_bloginfo('name'); + $subject = __( "Someone sent a message from ", 'twentyten-child' ).get_bloginfo('name'); + $headers = 'From: '. $email . "\r\n" . + 'Reply-To: ' . $email . "\r\n"; + + if(!$human == 0){ + + if($human != 2) my_contact_form_generate_response("error", $not_human); //not human! + + else { //human! + + //validate email + if(!filter_var($email, FILTER_VALIDATE_EMAIL)) + my_contact_form_generate_response("error", $email_invalid); + else //email is valid + { + //validate presence of name and message + if(empty($name) || empty($message)){ + my_contact_form_generate_response("error", $missing_content); + } + else + { + // spam + if (bm_checkSpam ($content)) { + my_contact_form_generate_response("error", $message_spam); + } + else { //ready to go! + $sent = wp_mail($to, $subject, strip_tags($message), $headers); + if($sent) my_contact_form_generate_response("success", $message_sent); //message sent! + else my_contact_form_generate_response("error", $message_unsent); //message wasn't sent + } + } + } + } + } + + else if ($_POST['submitted']) my_contact_form_generate_response("error", $missing_content); + +?> + + + +
    +
    + + + +
    > + +
    +

    +
    + +
    + + + + +
    + +
    + + + + + + + + + + + +
    + +

    ( * ) Veuillez remplir tous les champs

    +
    + + +
    + +
    + + + +
    +
    + + \ No newline at end of file diff --git a/scripts/contact-form.js b/scripts/contact-form.js new file mode 100644 index 0000000..908c0a0 --- /dev/null +++ b/scripts/contact-form.js @@ -0,0 +1,34 @@ +$(document).ready(function() { + $('form#contactForm').submit(function() { + $('form#contactForm .error').remove(); + var hasError = false; + $('.requiredField').each(function() { + if(jQuery.trim($(this).val()) == '') { + var labelText = $(this).prev('label').text(); + $(this).parent().append('You forgot to enter your '+labelText+'.'); + hasError = true; + } else if($(this).hasClass('email')) { + var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/; + if(!emailReg.test(jQuery.trim($(this).val()))) { + var labelText = $(this).prev('label').text(); + $(this).parent().append('You entered an invalid '+labelText+'.'); + hasError = true; + } + } + }); + if(!hasError) { + $('form#contactForm li.buttons button').fadeOut('normal', function() { + $(this).parent().append('Loading…'); + }); + var formInput = $(this).serialize(); + $.post($(this).attr('action'),formInput, function(data){ + $('form#contactForm').slideUp("fast", function() { + $(this).before('

    Thanks! Your email was successfully sent. I check my email all the time, so I should be in touch soon.

    '); + }); + }); + } + + return false; + + }); +}); \ No newline at end of file diff --git a/scripts/jquery.js b/scripts/jquery.js new file mode 100644 index 0000000..b1ae21d --- /dev/null +++ b/scripts/jquery.js @@ -0,0 +1,19 @@ +/* + * jQuery JavaScript Library v1.3.2 + * http://jquery.com/ + * + * Copyright (c) 2009 John Resig + * Dual licensed under the MIT and GPL licenses. + * http://docs.jquery.com/License + * + * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) + * Revision: 6246 + */ +(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("",""]||!O.indexOf("",""]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
    "]||!O.indexOf("",""]||(!O.indexOf("",""]||!O.indexOf("",""]||!o.support.htmlSerialize&&[1,"div
    ","
    "]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); +/* + * Sizzle CSS Selector Engine - v0.9.3 + * Copyright 2009, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return UT[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="

    ";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="
    ";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("
    ").append(M.responseText.replace(//g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='
    ';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); \ No newline at end of file diff --git a/searchform.php b/searchform.php new file mode 100755 index 0000000..70c6b21 --- /dev/null +++ b/searchform.php @@ -0,0 +1,16 @@ + + + +
    + +
    diff --git a/sidebar.php b/sidebar.php new file mode 100644 index 0000000..84e9c4f --- /dev/null +++ b/sidebar.php @@ -0,0 +1,127 @@ + + + + + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..1aa8a46 --- /dev/null +++ b/style.css @@ -0,0 +1,711 @@ +/* +Theme Name: Twenty Ten Child +Description: Theme enfant pour Twenty Ten +Author: Le nom de l'auteur +Template: twentyten +*/ + +@import url("../twentyten/style.css"); + +body { + background-color: #e7e7e2; + /*background-color: #b7a691;*/ + } + +a:link, a:visited { + color: #858585; +} + +a:hover { + color: #373737; +} +a img { + padding: 4px; + border: thin solid #736c4d; +} +.iiframe { + text-align: center; +} + +#randomImg img { + padding: 10px; + background-color: #fff; + border: 1px solid #818181; + margin-right: auto; + margin-left: auto; + display: block; +} +/**/ + +#wrapper { + background-color: #e7e7e2; + /*background-color: #b7a691;*/ + /*margin-top: 20px; + padding: 0 20px;*/ + } + +#main { + /*background-color: #bfb68a;*/ + background-color: #fffefc; + -webkit-border-radius: 16px 16px 0 0; + -moz-border-radius: 16px 16px 0 0; + border-radius: 16px 16px 0 0; + border: thin solid #a0966c; + padding-top: 30px; +} + +#main .widget-area ul { + padding: 0 20px; +} +/* +#container { + margin: 0 -260px 0 0; +} + +#primary { + width: 240px; +} +*/ +#container { + margin: 0 -230px 0 0; +} + +#container2, container-fullwidth { + margin: 0 0 0 0; +} + +#primary { + width: 230px; +} + +#content { + width: 660px; +} +#content2 { + margin: 0 20px; + width: 890px; +} + +/* Header */ + +#header { + margin-bottom:20px; + padding:0 10px; + /*width:940px;*/ + /*display:block;*/ + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} +#header #logo { + float:left; + } + +#header #pagenav { + float:right; + } + +#pagenav ul { + margin: 16px 0 0; + padding-left: 2em; +} + +#pagenav li { + display: inline; + list-style-type: none; + padding: 8px; + } +#pagenav li a { + text-decoration: none; + font-size: large; + padding-bottom: 20px; + text-shadow: 1px 1px 1px #aaa; + color: #fff; +} +#pagenav li a:hover { + border-bottom: 2px solid #fff; +} +#logo a { + color: #fff; + text-shadow: 1px 1px 1px #aaa; + text-decoration: none; + font-size: xx-large; + letter-spacing: 5px; + } + +/* + +#content { + color: #444; +} + */ +#content, +#content input, +#content textarea, +#content2, +#content2 input, +#content2 textarea { + color: #444; + font-size: 13px; + line-height: 24px; +} + +#content h2, #content2 h2 { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} +#content h2 a, #content2 h2 a { + font-weight: normal; + font-style: normal; + letter-spacing: 0.5px; + font-size: x-large; + color: #736c4d; + text-shadow: 3px 3px 3px #d9d3c1; +} + +#content a:hover, #content2 a:hover { + color: #373737; +} +.entry-content, .entry-summary p, .comment-body { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} + +.entry-content p, .entry-summary p, .comment-body p { + font-size: 13px; +} + +.entry-date { + +} + +.entry-meta a { + text-decoration: none; + margin-left: 5px; +} + +.entry-utility { + text-align: right; + color: #444; + margin-top: 30px; +} +.navigation { + line-height: 34px; +} +.nav-previous a, .nav-next a { + font-size: larger; +} + +/* */ + +.format-gallery .size-thumbnail img, +.category-gallery .size-thumbnail img { + border: 1px solid #f1f1f1; + margin-bottom: 0; +} + +.gallery img { + border-style: none; + border-width: 0; +} + +.gallery img { + border: 1px solid #f1f1f1; +} + +/* liens */ + +#content ul { + list-style-type: none; + margin-left: 3em; +} +#content2 ol { + list-style-type: none; + margin: 0 8em; +} + +#content h3 { + margin-bottom: 1em; + margin-top: 2em; +} +/* single */ + +#content h1.entry-title, #content2 h1.entry-title { + font-weight: normal; + font-style: normal; + letter-spacing: 0.5px; + font-size: x-large; + color: #736c4d; + text-shadow: 3px 3px 3px #d9d3c1; + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} + +#related { + margin-left: 3em; + margin-right: 2em; + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; + margin-bottom: 1em; +} + +.maj { + font-size: 10px; + font-style: italic; +} + +/* related post*/ +.related { + font-size: smaller; + line-height: 20px; +} + +/* author info */ +#entry-author-info { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; + /**/background: #e7e7e2; + border-top: 0px; + clear: both; + font-size: 14px; + line-height: 20px; + margin: 24px 0; + overflow: hidden; + padding: 18px 20px; +} + +#author-link { + clear: both; + color: #777; + font-size: 12px; + line-height: 18px; + +} +/* comments */ + +#comments h3 { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; + font-weight: normal; + font-style: normal; + color: #444; +} + +.comment-notes { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; + font-size: 13px; +} + +.comment-author cite { + color: #000; + font-style: italic; + font-family: Georgia, "Times New Roman", Times, serif; + font-weight: normal; +} + +.commentmetadata-guestbook { + text-align: right; + margin-bottom: 0; +} + +ol.commentlist{ + border-bottom: 1px solid #e7e7e7; +} + +#respond { + border-top: 0; + margin-left: 5em; + margin-right: 5em; +} + +#respond input { + margin: 0 0 9px; + width: 60%; + display: block; +} + +#respond textarea { + width: 98%; +} + +#respond label { + font-size: small; +} + +.form-submit { + text-align: right; + padding-right: 3em; +} + +/* livre d'or */ + +#randomImg { + margin-right: auto; + margin-left: auto; +} + +/* sidebar */ + +input[type="text"], +textarea { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} + +#primary h3 { + +} +.widget_search #s {/* This keeps the search inputs in line */ + width: 55%; +} + +.widget-container { + /*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/ + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; +} + +.widget-title { + color: #736c4d; + text-shadow: 0px 0px 3px #d9d3c1; + margin-bottom: 24px; + font: normal large "Lucida Grande", Lucida, Verdana, sans-serif; + padding-bottom: 10px; + border-bottom-style: solid; + border-bottom-width: thin; +} + +.widget-area ul ul { + margin-left: 0px; + /*list-style-image: url(images/icon_bullet.png);*/ +} + +/**/ +.widget-area ul ul li { + margin-left: 0px; + padding-bottom:0px; + padding-left:22px; + background: url(images/icon_bullet.png) 0 5px no-repeat; + list-style-type: none; + line-height: 24px; +} + +/* Footer */ + + +#colophon { + border-top: 1px solid #919191; + margin-top: -1px; + overflow: hidden; + padding: 18px 0; +} + +#site-info ul { + font-family: "Lucida Grande", Lucida, Verdana, sans-serif; } + +#site-info ul { + + } + +#site-info li { + display: inline; + list-style-type: none; + border-right: 1px solid #999; + padding-right: 3px + } +/**/ +#site-info li:last-child { + border-right:0px; + } + +#site-info li a { + color: #999; + text-decoration: none; + font-size: small; + font-weight: normal; + font-style: normal; + } + +/* contact form 7 */ + +.wpcf7-form { + border: thin solid #b1b1b1; + padding: 1em 1em 1em 2em; + margin: 3em 4em; +} + +/* caption */ + +.wp-caption, .entry-caption { + background: transparent; + line-height: 18px; + margin-bottom: 20px; + max-width: 632px !important; /* prevent too-wide images from breaking layout */ + padding: 0; + margin-right: auto; + margin-left: auto; +} +.wp-caption img { + margin: 0; +} +.wp-caption p.wp-caption-text, .entry-caption p, .wp-caption-text { + background: #f1f1f1; + padding-top: 2px; + padding-bottom: 1px; + text-align: center; +} + +/* search */ + +#searchform input.inputfield { + width: 150px; +} +#searchform input.pushbutton { + width:20px; height: 20px;border:0;background: transparent url(images/search2.png) no-repeat 0 4px; text-indent: -9999px; cursor:pointer; +} +#searchform input.pushbutton:hover {cursor:pointer;} + +/* -------------------------------------------- + +#jquery-live-search { + background: #fff; + + padding: 5px 10px; + max-height: 400px; + overflow: auto; + + position: absolute; + z-index: 99; + + border: 1px solid #A9A9A9; + border-width: 0 1px 1px 1px; + + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); + -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); +} +*/ +/* -------------------------------------------- */ +/* ThreeWP_Ajax_Search */ +/* -------------------------------------------- */ + +/* + The container contains the whole ajax search results box. The "content". +*/ +div.threewp_ajax_search_container +{ + position: absolute; + z-index: 100; + width: 300px; + height: 400px; +} + +/** + Below are the default settings that look OK on TwentyTen. +**/ + +/** + Content box +**/ +div.threewp_ajax_search_results_content +{ + position: relative; + overflow: auto; + background-color: #e7e7e2; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + box-shadow: 0px 3px 3px rgba(0,0,0,0.2); + -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); + -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); + border-radius: 4px; + font-size: smaller; +} + +div.threewp_ajax_search_results_content ul +{ + list-style-type: none; + margin: 0 !important; +} + +div.threewp_ajax_search_results_content ul li +{ + padding: 4px; + background-image: none; +} + +div.threewp_ajax_search_results_content ul li a +{ + display: block; + height: 100%; /** So that clicking anywhere on that line will work. */ + width: 100%; +} + +div.threewp_ajax_search_results_content ul li a:link, +div.threewp_ajax_search_results_content ul li a:visited +{ + color: #858585; + text-decoration: none; +} +div.threewp_ajax_search_results_content ul li a:hover +{ + color: #373737; + text-decoration: underline; +} +/** + The first item has .item_first, which enables us to, in this case, have nice, rounded borders on the top. +*/ +div.threewp_ajax_search_results_content ul li.item_first +{ + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-radius-topleft: 4px; + -webkit-border-radius-topright: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} + +/** + The last item has .item_last, which enables us to, in this case, have nice, rounded borders on the bottom. +*/ +div.threewp_ajax_search_results_content ul li.item_last +{ + -moz-border-radius-bottomright: 4px; + -moz-border-radius-bottomleft: 4px; + -webkit-border-radius-bottomright: 4px; + -webkit-border-radius-bottomleft: 4px; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +/** + Since we parse actual search page results and display those, remove whatever we don't want. + + Another way of doing this would be to use a custom url, like http://testsite.com/?ajax_search&s= + + Will be sent as http://testsite.com/?ajax_search&s=text + + The theme could then detect $_GET['ajax_search'] and display simpler results. Either way, it's up to you. +**/ +div.threewp_ajax_search_results_content .entry-utility, +div.threewp_ajax_search_results_content .meta-nav, +div.threewp_ajax_search_results_content .entry-summary, +div.threewp_ajax_search_results_content .entry-meta, +div.threewp_ajax_search_results_content .entry-content +{ + display: none; +} + +div.threewp_ajax_search_results_content ul li.item_selected, +div.threewp_ajax_search_results_content ul li:hover +{ + background: #ccc; +} + +/** + Search in progress! + + The container gets the class threewp_ajax_search_in_progress when it's busy doing a search. + This allows us to have fancy loading graphics, which I've taken from the normal Wordpress graphics. + + If you've blocked access to /wp-admin then it's your own fault your users aren't seeing moving graphics. +*/ +.threewp_ajax_search_in_progress #s +{ + color: #ccc; +} + +.threewp_ajax_search_in_progress #s +{ + background-image: url("../../../../wp-admin/images/loading.gif"); + background-position: right; + background-repeat: no-repeat; +} + + +/* -------------------------------------------- */ +/* / ThreeWP_Ajax_Search */ +/* -------------------------------------------- */ + + +/* JW Player Plugin for WordPress */ + +.Custom { +/* background-color: maroon; + text-align: center; + margin-right: auto; + margin-left: auto;*/ +} +.JWPlayer { + max-width: 420px; + margin-right: auto; + margin-left: auto; +} + +.droite { + text-align: right; + font-style: italic; + font-size: x-small; + color: #858585; + margin-bottom: 3em; + text-decoration: underline; +} + +.droite:hover { + color: #373737; + cursor:pointer; + text-decoration: underline; +} + +.bloc_exif { + display: none; + text-align: center; +} + +#content .bloc_exif img { + border: none; + margin: 0; + display: inline; + vertical-align: bottom; +} + +#content .bloc_exif img { + cursor:pointer; +} +#content .bloc_exif ul { + list-style:none; + background:#fff; + border:solid #ddd; + border-width:1px; + margin-right: auto; + margin-left: auto; + width: 620px; + padding: 1em 0.5em; +} + + +/* +.bloc_exif img { + border: none; + margin: 0; + display: inline; +} +.bloc_exif ul {list-style:none; padding:1em; background:#fff; border:solid #ddd; border-width:1px; +} +*/ +#content .bloc_exif li {display:inline; padding-right:0.5em; font-size:0.857em; +} + +#map, #map_canvas1, #map_canvas2, #map_canvas3, #map_canvas4, #map_canvas5 { + width: 500px; + height: 400px; + display: none; + margin-right: auto; + margin-left: auto; + margin-bottom: 5em; +} +.close { + +} +.mappy { + display: none; +} +.infowindow ul { + list-style-image: none; + display: block; +} +.infowindow li { + font-size: x-small; + } +.infowindow { + width: 350px; +} \ No newline at end of file