Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
- <head>
- <link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css'/>
- <b:include data='blog' name='all-head-content'/>
- <title>
- <b:if cond='data:blog.homepageUrl == data:blog.url'>
- <data:blog.title/>
- <b:else/>
- <data:blog.pageName/> | <data:blog.title/>
- </b:if>
- </title>
- <b:skin><![CDATA[/*
- -----------------------------------------------
- Template Name : Landis
- Author : NewBloggerThemes.com
- Author URL : http://newbloggerthemes.com/
- Theme URL : http://newbloggerthemes.com/landis-blogger-template/
- Created Date : Saturday, April 20, 2013
- License : This template is free for both personal and commercial use, But to satisfy the 'attribution' clause of the license, you are required to keep the footer links intact which provides due credit to its authors.For more information about this license, please use this link :http://creativecommons.org/licenses/by/3.0/
- ----------------------------------------------- */
- body#layout ul{list-style-type:none;list-style:none}
- body#layout ul li{list-style-type:none;list-style:none}
- body#layout #nbtbottomsec {display:none;}
- /* Variable definitions
- ====================
- */
- /* Use this with templates/template-twocol.html */
- /*---------[RESET]---------*/
- html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
- b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
- body, .body-fauxcolumn-outer { line-height: 1; }
- ol, ul { list-style: none; }
- blockquote, q { quotes: none; }
- blockquote:before, blockquote:after,q:before, q:after { content: ''; content: none; }
- :focus { outline: 0; }
- ins { text-decoration: none; }
- del { text-decoration: line-through; }
- table { border-collapse: collapse; border-spacing: 0; }
- *{font-family:Helvetica}
- a,img{outline:none!important}
- /*---------[BODY]---------*/
- body, .body-fauxcolumn-outer { font-size:11px; color:#414141; font-weight:normal; text-align:left; line-height:14px; cursor:default; background:transparent url(http://3.bp.blogspot.com/-kyLC80ZqmZc/UYllvAl3U3I/AAAAAAAAI8o/EX6mG6LLJnk/s000/footer_bg.png); background-repeat:repeat;}
- img {padding:0px; margin:0px; border:0px solid green;}
- a {color:#3693B7; text-decoration: none;} a:hover {color:#3693B7; text-decoration:none;}
- h1,h2,h3,h4,h5,h6{margin-top:0; text-align: left; font-weight:normal;}
- h1 {font-size:22px;}
- h2 {font-size:20px; padding:15px 5px 10px 0px; color:#777777;}
- h3{ font-size:18px; padding:13px 10px 3px 5px; color:#777777;}
- h4{ font-size:16px; padding:13px 10px 3px 5px; color:#777777;}
- h5{ font-size:14px; padding:5px 10px 3px 5px; color:#777777;}
- h6{ font-size:12px; padding:5px 10px 2px 5px; color:#777777;}
- /*--------[HELPERS]---------*/
- .left {float:left;}
- .right { float:right!important;}
- *+html .right{float:left!important;}
- .align_left {text-align:left;}
- .align_center {text-align:center;}
- .align_right {text-align:right;}
- .show{display:none;}
- /*----------[TIMER]---------*/
- #countdowntext{text-shadow:0 2px 0 #000;color:#fff;font:18px/30px 'Droid Sans'}
- .countdown{margin:23px auto;width:460px;height:93px;background:url(http://3.bp.blogspot.com/-ayjuDj3QlDk/UYllvnwUNDI/AAAAAAAAI8w/mvUehbMX3AY/s000/countdown.png) top center no-repeat;display:block;padding:18px 0 45px}
- .countdown_section{width:115px;height:93px;float:left;text-align:center}
- .countdown_amount{color:#fff;font:bold 40px/40px 'Droid Sans'}
- .countdown_day{font:14px 'Droid Sans';text-transform:lowercase;color:#fff}
- /*---------[404]----------*/
- .page404{font-size:96px!important;color:#fbdc00!important;float:left;display:block;height:59px;margin:40px 0 0 0;}
- .page404span{font-size:31px;font-family:Helvetica;text-align:center;float:left;width:80%;line-height:46px;text-shadow:0px 1px 0px #fcfcf9;color:#777777;}
- /*---------[CONTAINER]---------*/
- #container { width:961px; margin:0 auto 0 auto; text-align:left; }
- .container { width:961px; margin:0px auto 0 auto; text-align:left; }
- /*---------[HEADER]---------*/
- #header-holder { width:100%; float:left; color:#fff; background-image:url(http://i.imgur.com/q230YxY.png);background-repeat:repeat-x;}
- #logo{margin:113px 0 45px 0; width:100%;text-align:center; display:block;}
- .Page_title{font-family:'Droid Sans';font-weight:bold;font-size:27px;text-shadow:0px 2px 0px #000;width:800px;text-align:center;padding:10px;margin:17px auto 30px auto;}
- .Page_content{font-family:'Droid Sans';font-size:13px;width:560px;text-align:center;margin:0 auto;padding:0 0 56px 0;line-height:22px;color:#ffbda4;text-shadow:0px 1px 0px #000}
- /*---------[FRONT-PAGE]---------*/
- #front_page_container {width:100%; height:218px; margin:0 auto 0 auto; background:transparent url(http://i.imgur.com/DVmTNbb.png); background-repeat:repeat;float:left;}
- /*---------[front-page content]---------*/
- /*---[front-left-cell]---*/
- #front_left_cell {float:left; margin:30px 0px 50px 0px; width:973px;text-align:center; }
- /*---[front-right-cell]---*/
- #front_right_cell {float:left; margin:10px 0px 50px 0px;width:280px; padding:0 20px 0 0;}
- /*---------[FOOTER]---------*/
- #footer *{font-family:Helvetica}
- #footer {margin:0px 0px 0px 0px;text-align:center;background:transparent url(http://3.bp.blogspot.com/-kyLC80ZqmZc/UYllvAl3U3I/AAAAAAAAI8o/EX6mG6LLJnk/s000/footer_bg.png) repeat top center ;clear:both;width:100%;float:left;font-family:Helvetica;height:400px;}
- #footer_wrap{ margin:0px 0px 0px 0px; padding:0 0 0 0px!important;float:left;width:980px;width:980px\0/;}
- .footer_box {float:left;color:#fff; margin:1px 30px 25px 8px; padding:0px 0px 0px 0px!important;width:207px; }
- .footer_box ul {margin:0px 0px 25px 0px; width:206px;}
- /*---------[copyright]---------*/
- #copyright *{color:#fff;font:12px/18px Helvetica}
- #copyright {text-align:left; margin:0 auto 0 auto; background:transparent url(http://3.bp.blogspot.com/-nAZ4ZYYd-wI/UYllwzx_SFI/AAAAAAAAI9I/LjOnUFbKqE8/s000/copyright_bg_red.png) repeat-x top center ;clear:both;width:100%;float:left;height:32px;padding:31px 0;}
- #spreadtheword{background-image:url(http://3.bp.blogspot.com/-egR6jDDZHXU/UYllxBfmKfI/AAAAAAAAI9Q/MU9d3pXhStU/s000/spreadtheword.png);background-position:top center;background-repeat:no-repeat;width:227px;height:78px;margin:0 auto;padding:65px 0 0 24px;}
- #copyright-wrap {width:961px;margin:0 auto;text-align:center;font-family:'Droid Sans';color:#8c8c8c;}
- #copyright a, a:href{color:#000; display:inline; font-family:'Droid Sans'; }
- #copyright a{color:#000!important;font-family:'Droid Sans';}
- h2.date-header{margin:1.5em 0 .5em;display:none}
- .main .widget{margin:0 0 5px;padding:0 0 2px}
- .main .Blog{border-bottom-width:0}
- #Blog1, #Blog2 {display:none;}
- .nbtbottomsec {display:none;}
- .nbtbottomsec .widget {display:none;}
- #header .description{color:#fff;font-size:14px;text-shadow:0 1px 0 #000}
- #comments{padding:10px;color:#666;margin-bottom:20px}
- #comments h4{font-size:22px;margin-bottom:10px}
- #comment-name-url{width:365px;float:left}
- #comment-date{width:365px;float:left;margin-top:5px;font-size:10px}
- #comment-header{float:left;padding:5px 0 40px 10px;margin:5px 0 15px 0;position:relative;background-color:#fff;border:1px dashed #eee}
- .avatar-image-container{background:url(http://2.bp.blogspot.com/-Ay9Jn2-BxYM/UYllxvGJa2I/AAAAAAAAI9Y/HpNgzjh9eZU/s000/comment-avatar.jpg);width:32px;height:32px;float:right;margin:5px 10px 5px 5px;border:1px solid #ddd}
- .avatar-image-container img{width:32px;height:32px}
- a.comments-autor-name{color:#000;font:normal bold 14px Arial,Tahoma,Verdana}
- a.says{color:#000;font:normal 14px Arial,Tahoma,Verdana}
- .says a:hover{text-decoration:none}
- .deleted-comment{font-style:italic;color:gray}
- #blog-pager-newer-link{float:left}
- #blog-pager-older-link{float:right}
- #blog-pager{text-align:center;padding:5px}
- .feed-links{clear:both}
- .profile-img{float:left;margin-top:0;margin-right:5px;margin-bottom:5px;margin-left:0;padding:4px;border:1px solid #eee}
- .profile-data{margin:0;text-transform:uppercase;letter-spacing:.1em;color:#000;font-weight:bold;line-height:1.6em}
- .profile-datablock{margin:.5em 0 .5em}
- .profile-textblock{margin:0.5em 0;line-height:1.6em}
- .avatar-image-container{background:url(http://2.bp.blogspot.com/-Ay9Jn2-BxYM/UYllxvGJa2I/AAAAAAAAI9Y/HpNgzjh9eZU/s000/comment-avatar.jpg);width:32px;height:32px;float:right;margin:5px 10px 5px 5px;border:1px solid #ddd}
- .avatar-image-container img{width:32px;height:32px}
- .profile-link{text-transform:uppercase;letter-spacing:.1em}
- .comment-form{max-width:600px}
- #navbar-iframe{height:0;visibility:hidden;display:none}
- .PopularPosts .widget-content ul li{padding:6px 0}
- .reaction-buttons table{border:none;margin-bottom:5px}
- .reaction-buttons table,.reaction-buttons td{border:none}
- ]]></b:skin>
- <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js' type='text/javascript'/>
- <script type='text/javascript'>
- //<![CDATA[
- /* http://keith-wood.name/countdown.html
- Countdown for jQuery v1.5.9.
- Written by Keith Wood (kbwood{at}iinet.com.au) January 2008.
- Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and
- MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses.
- Please attribute the author if you use it. */
- /* Display a countdown timer.
- Attach it with options like:
- $('div selector').countdown(
- {until: new Date(2009, 1 - 1, 1, 0, 0, 0), onExpiry: happyNewYear}); */
- (function($) { // Hide scope, no $ conflict
- /* Countdown manager. */
- function Countdown() {
- this.regional = []; // Available regional settings, indexed by language code
- this.regional[''] = { // Default regional settings
- // The display texts for the counters
- labels: ['Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'],
- // The display texts for the counters if only one
- labels1: ['Year', 'Month', 'Week', 'Day', 'Hour', 'Minute', 'Second'],
- compactLabels: ['y', 'm', 'w', 'd'], // The compact texts for the counters
- whichLabels: null, // Function to determine which labels to use
- timeSeparator: ':', // Separator for time periods
- isRTL: false // True for right-to-left languages, false for left-to-right
- };
- this._defaults = {
- until: null, // new Date(year, mth - 1, day, hr, min, sec) - date/time to count down to
- // or numeric for seconds offset, or string for unit offset(s):
- // 'Y' years, 'O' months, 'W' weeks, 'D' days, 'H' hours, 'M' minutes, 'S' seconds
- since: null, // new Date(year, mth - 1, day, hr, min, sec) - date/time to count up from
- // or numeric for seconds offset, or string for unit offset(s):
- // 'Y' years, 'O' months, 'W' weeks, 'D' days, 'H' hours, 'M' minutes, 'S' seconds
- timezone: null, // The timezone (hours or minutes from GMT) for the target times,
- // or null for client local
- serverSync: null, // A function to retrieve the current server time for synchronisation
- format: 'dHMS', // Format for display - upper case for always, lower case only if non-zero,
- // 'Y' years, 'O' months, 'W' weeks, 'D' days, 'H' hours, 'M' minutes, 'S' seconds
- layout: '', // Build your own layout for the countdown
- compact: false, // True to display in a compact format, false for an expanded one
- significant: 0, // The number of periods with values to show, zero for all
- description: '', // The description displayed for the countdown
- expiryUrl: '', // A URL to load upon expiry, replacing the current page
- expiryText: '', // Text to display upon expiry, replacing the countdown
- alwaysExpire: false, // True to trigger onExpiry even if never counted down
- onExpiry: null, // Callback when the countdown expires -
- // receives no parameters and 'this' is the containing division
- onTick: null, // Callback when the countdown is updated -
- // receives int[7] being the breakdown by period (based on format)
- // and 'this' is the containing division
- tickInterval: 1 // Interval (seconds) between onTick callbacks
- };
- $.extend(this._defaults, this.regional['']);
- this._serverSyncs = [];
- }
- var PROP_NAME = 'countdown';
- var Y = 0; // Years
- var O = 1; // Months
- var W = 2; // Weeks
- var D = 3; // Days
- var H = 4; // Hours
- var M = 5; // Minutes
- var S = 6; // Seconds
- $.extend(Countdown.prototype, {
- /* Class name added to elements to indicate already configured with countdown. */
- markerClassName: 'hasCountdown',
- /* Shared timer for all countdowns. */
- _timer: setInterval(function() { $.countdown._updateTargets(); }, 980),
- /* List of currently active countdown targets. */
- _timerTargets: [],
- /* Override the default settings for all instances of the countdown widget.
- @param options (object) the new settings to use as defaults */
- setDefaults: function(options) {
- this._resetExtraLabels(this._defaults, options);
- extendRemove(this._defaults, options || {});
- },
- /* Convert a date/time to UTC.
- @param tz (number) the hour or minute offset from GMT, e.g. +9, -360
- @param year (Date) the date/time in that timezone or
- (number) the year in that timezone
- @param month (number, optional) the month (0 - 11) (omit if year is a Date)
- @param day (number, optional) the day (omit if year is a Date)
- @param hours (number, optional) the hour (omit if year is a Date)
- @param mins (number, optional) the minute (omit if year is a Date)
- @param secs (number, optional) the second (omit if year is a Date)
- @param ms (number, optional) the millisecond (omit if year is a Date)
- @return (Date) the equivalent UTC date/time */
- UTCDate: function(tz, year, month, day, hours, mins, secs, ms) {
- if (typeof year == 'object' && year.constructor == Date) {
- ms = year.getMilliseconds();
- secs = year.getSeconds();
- mins = year.getMinutes();
- hours = year.getHours();
- day = year.getDate();
- month = year.getMonth();
- year = year.getFullYear();
- }
- var d = new Date();
- d.setUTCFullYear(year);
- d.setUTCDate(1);
- d.setUTCMonth(month || 0);
- d.setUTCDate(day || 1);
- d.setUTCHours(hours || 0);
- d.setUTCMinutes((mins || 0) - (Math.abs(tz) < 30 ? tz * 60 : tz));
- d.setUTCSeconds(secs || 0);
- d.setUTCMilliseconds(ms || 0);
- return d;
- },
- /* Convert a set of periods into seconds.
- Averaged for months and years.
- @param periods (number[7]) the periods per year/month/week/day/hour/minute/second
- @return (number) the corresponding number of seconds */
- periodsToSeconds: function(periods) {
- return periods[0] * 31557600 + periods[1] * 2629800 + periods[2] * 604800 +
- periods[3] * 86400 + periods[4] * 3600 + periods[5] * 60 + periods[6];
- },
- /* Retrieve one or more settings values.
- @param name (string, optional) the name of the setting to retrieve
- or 'all' for all instance settings or omit for all default settings
- @return (any) the requested setting(s) */
- _settingsCountdown: function(target, name) {
- if (!name) {
- return $.countdown._defaults;
- }
- var inst = $.data(target, PROP_NAME);
- return (name == 'all' ? inst.options : inst.options[name]);
- },
- /* Attach the countdown widget to a div.
- @param target (element) the containing division
- @param options (object) the initial settings for the countdown */
- _attachCountdown: function(target, options) {
- var $target = $(target);
- if ($target.hasClass(this.markerClassName)) {
- return;
- }
- $target.addClass(this.markerClassName);
- var inst = {options: $.extend({}, options),
- _periods: [0, 0, 0, 0, 0, 0, 0]};
- $.data(target, PROP_NAME, inst);
- this._changeCountdown(target);
- },
- /* Add a target to the list of active ones.
- @param target (element) the countdown target */
- _addTarget: function(target) {
- if (!this._hasTarget(target)) {
- this._timerTargets.push(target);
- }
- },
- /* See if a target is in the list of active ones.
- @param target (element) the countdown target
- @return (boolean) true if present, false if not */
- _hasTarget: function(target) {
- return ($.inArray(target, this._timerTargets) > -1);
- },
- /* Remove a target from the list of active ones.
- @param target (element) the countdown target */
- _removeTarget: function(target) {
- this._timerTargets = $.map(this._timerTargets,
- function(value) { return (value == target ? null : value); }); // delete entry
- },
- /* Update each active timer target. */
- _updateTargets: function() {
- for (var i = this._timerTargets.length - 1; i >= 0; i--) {
- this._updateCountdown(this._timerTargets[i]);
- }
- },
- /* Redisplay the countdown with an updated display.
- @param target (jQuery) the containing division
- @param inst (object) the current settings for this instance */
- _updateCountdown: function(target, inst) {
- var $target = $(target);
- inst = inst || $.data(target, PROP_NAME);
- if (!inst) {
- return;
- }
- $target.html(this._generateHTML(inst));
- $target[(this._get(inst, 'isRTL') ? 'add' : 'remove') + 'Class']('countdown_rtl');
- var onTick = this._get(inst, 'onTick');
- if (onTick) {
- var periods = inst._hold != 'lap' ? inst._periods :
- this._calculatePeriods(inst, inst._show, this._get(inst, 'significant'), new Date());
- var tickInterval = this._get(inst, 'tickInterval');
- if (tickInterval == 1 || this.periodsToSeconds(periods) % tickInterval == 0) {
- onTick.apply(target, [periods]);
- }
- }
- var expired = inst._hold != 'pause' &&
- (inst._since ? inst._now.getTime() < inst._since.getTime() :
- inst._now.getTime() >= inst._until.getTime());
- if (expired && !inst._expiring) {
- inst._expiring = true;
- if (this._hasTarget(target) || this._get(inst, 'alwaysExpire')) {
- this._removeTarget(target);
- var onExpiry = this._get(inst, 'onExpiry');
- if (onExpiry) {
- onExpiry.apply(target, []);
- }
- var expiryText = this._get(inst, 'expiryText');
- if (expiryText) {
- var layout = this._get(inst, 'layout');
- inst.options.layout = expiryText;
- this._updateCountdown(target, inst);
- inst.options.layout = layout;
- }
- var expiryUrl = this._get(inst, 'expiryUrl');
- if (expiryUrl) {
- window.location = expiryUrl;
- }
- }
- inst._expiring = false;
- }
- else if (inst._hold == 'pause') {
- this._removeTarget(target);
- }
- $.data(target, PROP_NAME, inst);
- },
- /* Reconfigure the settings for a countdown div.
- @param target (element) the containing division
- @param options (object) the new settings for the countdown or
- (string) an individual property name
- @param value (any) the individual property value
- (omit if options is an object) */
- _changeCountdown: function(target, options, value) {
- options = options || {};
- if (typeof options == 'string') {
- var name = options;
- options = {};
- options[name] = value;
- }
- var inst = $.data(target, PROP_NAME);
- if (inst) {
- this._resetExtraLabels(inst.options, options);
- extendRemove(inst.options, options);
- this._adjustSettings(target, inst);
- $.data(target, PROP_NAME, inst);
- var now = new Date();
- if ((inst._since && inst._since < now) ||
- (inst._until && inst._until > now)) {
- this._addTarget(target);
- }
- this._updateCountdown(target, inst);
- }
- },
- /* Reset any extra labelsn and compactLabelsn entries if changing labels.
- @param base (object) the options to be updated
- @param options (object) the new option values */
- _resetExtraLabels: function(base, options) {
- var changingLabels = false;
- for (var n in options) {
- if (n != 'whichLabels' && n.match(/[Ll]abels/)) {
- changingLabels = true;
- break;
- }
- }
- if (changingLabels) {
- for (var n in base) { // Remove custom numbered labels
- if (n.match(/[Ll]abels[0-9]/)) {
- base[n] = null;
- }
- }
- }
- },
- /* Calculate interal settings for an instance.
- @param target (element) the containing division
- @param inst (object) the current settings for this instance */
- _adjustSettings: function(target, inst) {
- var now;
- var serverSync = this._get(inst, 'serverSync');
- var serverOffset = 0;
- var serverEntry = null;
- for (var i = 0; i < this._serverSyncs.length; i++) {
- if (this._serverSyncs[i][0] == serverSync) {
- serverEntry = this._serverSyncs[i][1];
- break;
- }
- }
- if (serverEntry != null) {
- serverOffset = (serverSync ? serverEntry : 0);
- now = new Date();
- }
- else {
- var serverResult = (serverSync ? serverSync.apply(target, []) : null);
- now = new Date();
- serverOffset = (serverResult ? now.getTime() - serverResult.getTime() : 0);
- this._serverSyncs.push([serverSync, serverOffset]);
- }
- var timezone = this._get(inst, 'timezone');
- timezone = (timezone == null ? -now.getTimezoneOffset() : timezone);
- inst._since = this._get(inst, 'since');
- if (inst._since != null) {
- inst._since = this.UTCDate(timezone, this._determineTime(inst._since, null));
- if (inst._since && serverOffset) {
- inst._since.setMilliseconds(inst._since.getMilliseconds() + serverOffset);
- }
- }
- inst._until = this.UTCDate(timezone, this._determineTime(this._get(inst, 'until'), now));
- if (serverOffset) {
- inst._until.setMilliseconds(inst._until.getMilliseconds() + serverOffset);
- }
- inst._show = this._determineShow(inst);
- },
- /* Remove the countdown widget from a div.
- @param target (element) the containing division */
- _destroyCountdown: function(target) {
- var $target = $(target);
- if (!$target.hasClass(this.markerClassName)) {
- return;
- }
- this._removeTarget(target);
- $target.removeClass(this.markerClassName).empty();
- $.removeData(target, PROP_NAME);
- },
- /* Pause a countdown widget at the current time.
- Stop it running but remember and display the current time.
- @param target (element) the containing division */
- _pauseCountdown: function(target) {
- this._hold(target, 'pause');
- },
- /* Pause a countdown widget at the current time.
- Stop the display but keep the countdown running.
- @param target (element) the containing division */
- _lapCountdown: function(target) {
- this._hold(target, 'lap');
- },
- /* Resume a paused countdown widget.
- @param target (element) the containing division */
- _resumeCountdown: function(target) {
- this._hold(target, null);
- },
- /* Pause or resume a countdown widget.
- @param target (element) the containing division
- @param hold (string) the new hold setting */
- _hold: function(target, hold) {
- var inst = $.data(target, PROP_NAME);
- if (inst) {
- if (inst._hold == 'pause' && !hold) {
- inst._periods = inst._savePeriods;
- var sign = (inst._since ? '-' : '+');
- inst[inst._since ? '_since' : '_until'] =
- this._determineTime(sign + inst._periods[0] + 'y' +
- sign + inst._periods[1] + 'o' + sign + inst._periods[2] + 'w' +
- sign + inst._periods[3] + 'd' + sign + inst._periods[4] + 'h' +
- sign + inst._periods[5] + 'm' + sign + inst._periods[6] + 's');
- this._addTarget(target);
- }
- inst._hold = hold;
- inst._savePeriods = (hold == 'pause' ? inst._periods : null);
- $.data(target, PROP_NAME, inst);
- this._updateCountdown(target, inst);
- }
- },
- /* Return the current time periods.
- @param target (element) the containing division
- @return (number[7]) the current periods for the countdown */
- _getTimesCountdown: function(target) {
- var inst = $.data(target, PROP_NAME);
- return (!inst ? null : (!inst._hold ? inst._periods :
- this._calculatePeriods(inst, inst._show, this._get(inst, 'significant'), new Date())));
- },
- /* Get a setting value, defaulting if necessary.
- @param inst (object) the current settings for this instance
- @param name (string) the name of the required setting
- @return (any) the setting's value or a default if not overridden */
- _get: function(inst, name) {
- return (inst.options[name] != null ?
- inst.options[name] : $.countdown._defaults[name]);
- },
- /* A time may be specified as an exact value or a relative one.
- @param setting (string or number or Date) - the date/time value
- as a relative or absolute value
- @param defaultTime (Date) the date/time to use if no other is supplied
- @return (Date) the corresponding date/time */
- _determineTime: function(setting, defaultTime) {
- var offsetNumeric = function(offset) { // e.g. +300, -2
- var time = new Date();
- time.setTime(time.getTime() + offset * 1000);
- return time;
- };
- var offsetString = function(offset) { // e.g. '+2d', '-4w', '+3h +30m'
- offset = offset.toLowerCase();
- var time = new Date();
- var year = time.getFullYear();
- var month = time.getMonth();
- var day = time.getDate();
- var hour = time.getHours();
- var minute = time.getMinutes();
- var second = time.getSeconds();
- var pattern = /([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g;
- var matches = pattern.exec(offset);
- while (matches) {
- switch (matches[2] || 's') {
- case 's': second += parseInt(matches[1], 10); break;
- case 'm': minute += parseInt(matches[1], 10); break;
- case 'h': hour += parseInt(matches[1], 10); break;
- case 'd': day += parseInt(matches[1], 10); break;
- case 'w': day += parseInt(matches[1], 10) * 7; break;
- case 'o':
- month += parseInt(matches[1], 10);
- day = Math.min(day, $.countdown._getDaysInMonth(year, month));
- break;
- case 'y':
- year += parseInt(matches[1], 10);
- day = Math.min(day, $.countdown._getDaysInMonth(year, month));
- break;
- }
- matches = pattern.exec(offset);
- }
- return new Date(year, month, day, hour, minute, second, 0);
- };
- var time = (setting == null ? defaultTime :
- (typeof setting == 'string' ? offsetString(setting) :
- (typeof setting == 'number' ? offsetNumeric(setting) : setting)));
- if (time) time.setMilliseconds(0);
- return time;
- },
- /* Determine the number of days in a month.
- @param year (number) the year
- @param month (number) the month
- @return (number) the days in that month */
- _getDaysInMonth: function(year, month) {
- return 32 - new Date(year, month, 32).getDate();
- },
- /* Determine which set of labels should be used for an amount.
- @param num (number) the amount to be displayed
- @return (number) the set of labels to be used for this amount */
- _normalLabels: function(num) {
- return num;
- },
- /* Generate the HTML to display the countdown widget.
- @param inst (object) the current settings for this instance
- @return (string) the new HTML for the countdown display */
- _generateHTML: function(inst) {
- // Determine what to show
- var significant = this._get(inst, 'significant');
- inst._periods = (inst._hold ? inst._periods :
- this._calculatePeriods(inst, inst._show, significant, new Date()));
- // Show all 'asNeeded' after first non-zero value
- var shownNonZero = false;
- var showCount = 0;
- var sigCount = significant;
- var show = $.extend({}, inst._show);
- for (var period = Y; period <= S; period++) {
- shownNonZero |= (inst._show[period] == '?' && inst._periods[period] > 0);
- show[period] = (inst._show[period] == '?' && !shownNonZero ? null : inst._show[period]);
- showCount += (show[period] ? 1 : 0);
- sigCount -= (inst._periods[period] > 0 ? 1 : 0);
- }
- var showSignificant = [false, false, false, false, false, false, false];
- for (var period = S; period >= Y; period--) { // Determine significant periods
- if (inst._show[period]) {
- if (inst._periods[period]) {
- showSignificant[period] = true;
- }
- else {
- showSignificant[period] = sigCount > 0;
- sigCount--;
- }
- }
- }
- var compact = this._get(inst, 'compact');
- var layout = this._get(inst, 'layout');
- var labels = (compact ? this._get(inst, 'compactLabels') : this._get(inst, 'labels'));
- var whichLabels = this._get(inst, 'whichLabels') || this._normalLabels;
- var timeSeparator = this._get(inst, 'timeSeparator');
- var description = this._get(inst, 'description') || '';
- var showCompact = function(period) {
- var labelsNum = $.countdown._get(inst,
- 'compactLabels' + whichLabels(inst._periods[period]));
- return (show[period] ? inst._periods[period] +
- (labelsNum ? labelsNum[period] : labels[period]) + ' ' : '');
- };
- var showFull = function(period) {
- var labelsNum = $.countdown._get(inst, 'labels' + whichLabels(inst._periods[period]));
- return ((!significant && show[period]) || (significant && showSignificant[period]) ?
- '<span class="countdown_section">'+ '<span class="countdown_amount">' +
- inst._periods[period] + '</span><br/><span class="countdown_day">' +
- (labelsNum ? labelsNum[period] : labels[period]) + '</span></span>' : '');
- };
- return (layout ? this._buildLayout(inst, show, layout, compact, significant, showSignificant) :
- ((compact ? // Compact version
- '<span class="countdown_row countdown_amount' +
- (inst._hold ? ' countdown_holding' : '') + '">' +
- showCompact(Y) + showCompact(O) + showCompact(W) + showCompact(D) +
- (show[H] ? this._minDigits(inst._periods[H], 2) : '') +
- (show[M] ? (show[H] ? timeSeparator : '') +
- this._minDigits(inst._periods[M], 2) : '') +
- (show[S] ? (show[H] || show[M] ? timeSeparator : '') +
- this._minDigits(inst._periods[S], 2) : '') :
- // Full version
- '<span class="countdown_row countdown_show' + (significant || showCount) +
- (inst._hold ? ' countdown_holding' : '') + '">' +
- showFull(Y) + showFull(O) + showFull(W) + showFull(D) +
- showFull(H) + showFull(M) + showFull(S)) + '</span>' +
- (description ? '<span class="countdown_row countdown_descr">' + description + '</span>' : '')));
- },
- /* Construct a custom layout.
- @param inst (object) the current settings for this instance
- @param show (string[7]) flags indicating which periods are requested
- @param layout (string) the customised layout
- @param compact (boolean) true if using compact labels
- @param significant (number) the number of periods with values to show, zero for all
- @param showSignificant (boolean[7]) other periods to show for significance
- @return (string) the custom HTML */
- _buildLayout: function(inst, show, layout, compact, significant, showSignificant) {
- var labels = this._get(inst, (compact ? 'compactLabels' : 'labels'));
- var whichLabels = this._get(inst, 'whichLabels') || this._normalLabels;
- var labelFor = function(index) {
- return ($.countdown._get(inst,
- (compact ? 'compactLabels' : 'labels') + whichLabels(inst._periods[index])) ||
- labels)[index];
- };
- var digit = function(value, position) {
- return Math.floor(value / position) % 10;
- };
- var subs = {desc: this._get(inst, 'description'), sep: this._get(inst, 'timeSeparator'),
- yl: labelFor(Y), yn: inst._periods[Y], ynn: this._minDigits(inst._periods[Y], 2),
- ynnn: this._minDigits(inst._periods[Y], 3), y1: digit(inst._periods[Y], 1),
- y10: digit(inst._periods[Y], 10), y100: digit(inst._periods[Y], 100),
- y1000: digit(inst._periods[Y], 1000),
- ol: labelFor(O), on: inst._periods[O], onn: this._minDigits(inst._periods[O], 2),
- onnn: this._minDigits(inst._periods[O], 3), o1: digit(inst._periods[O], 1),
- o10: digit(inst._periods[O], 10), o100: digit(inst._periods[O], 100),
- o1000: digit(inst._periods[O], 1000),
- wl: labelFor(W), wn: inst._periods[W], wnn: this._minDigits(inst._periods[W], 2),
- wnnn: this._minDigits(inst._periods[W], 3), w1: digit(inst._periods[W], 1),
- w10: digit(inst._periods[W], 10), w100: digit(inst._periods[W], 100),
- w1000: digit(inst._periods[W], 1000),
- dl: labelFor(D), dn: inst._periods[D], dnn: this._minDigits(inst._periods[D], 2),
- dnnn: this._minDigits(inst._periods[D], 3), d1: digit(inst._periods[D], 1),
- d10: digit(inst._periods[D], 10), d100: digit(inst._periods[D], 100),
- d1000: digit(inst._periods[D], 1000),
- hl: labelFor(H), hn: inst._periods[H], hnn: this._minDigits(inst._periods[H], 2),
- hnnn: this._minDigits(inst._periods[H], 3), h1: digit(inst._periods[H], 1),
- h10: digit(inst._periods[H], 10), h100: digit(inst._periods[H], 100),
- h1000: digit(inst._periods[H], 1000),
- ml: labelFor(M), mn: inst._periods[M], mnn: this._minDigits(inst._periods[M], 2),
- mnnn: this._minDigits(inst._periods[M], 3), m1: digit(inst._periods[M], 1),
- m10: digit(inst._periods[M], 10), m100: digit(inst._periods[M], 100),
- m1000: digit(inst._periods[M], 1000),
- sl: labelFor(S), sn: inst._periods[S], snn: this._minDigits(inst._periods[S], 2),
- snnn: this._minDigits(inst._periods[S], 3), s1: digit(inst._periods[S], 1),
- s10: digit(inst._periods[S], 10), s100: digit(inst._periods[S], 100),
- s1000: digit(inst._periods[S], 1000)};
- var html = layout;
- // Replace period containers: {p<}...{p>}
- for (var i = Y; i <= S; i++) {
- var period = 'yowdhms'.charAt(i);
- var re = new RegExp('\\{' + period + '<\\}(.*)\\{' + period + '>\\}', 'g');
- html = html.replace(re, ((!significant && show[i]) ||
- (significant && showSignificant[i]) ? '$1' : ''));
- }
- // Replace period values: {pn}
- $.each(subs, function(n, v) {
- var re = new RegExp('\\{' + n + '\\}', 'g');
- html = html.replace(re, v);
- });
- return html;
- },
- /* Ensure a numeric value has at least n digits for display.
- @param value (number) the value to display
- @param len (number) the minimum length
- @return (string) the display text */
- _minDigits: function(value, len) {
- value = '' + value;
- if (value.length >= len) {
- return value;
- }
- value = '0000000000' + value;
- return value.substr(value.length - len);
- },
- /* Translate the format into flags for each period.
- @param inst (object) the current settings for this instance
- @return (string[7]) flags indicating which periods are requested (?) or
- required (!) by year, month, week, day, hour, minute, second */
- _determineShow: function(inst) {
- var format = this._get(inst, 'format');
- var show = [];
- show[Y] = (format.match('y') ? '?' : (format.match('Y') ? '!' : null));
- show[O] = (format.match('o') ? '?' : (format.match('O') ? '!' : null));
- show[W] = (format.match('w') ? '?' : (format.match('W') ? '!' : null));
- show[D] = (format.match('d') ? '?' : (format.match('D') ? '!' : null));
- show[H] = (format.match('h') ? '?' : (format.match('H') ? '!' : null));
- show[M] = (format.match('m') ? '?' : (format.match('M') ? '!' : null));
- show[S] = (format.match('s') ? '?' : (format.match('S') ? '!' : null));
- return show;
- },
- /* Calculate the requested periods between now and the target time.
- @param inst (object) the current settings for this instance
- @param show (string[7]) flags indicating which periods are requested/required
- @param significant (number) the number of periods with values to show, zero for all
- @param now (Date) the current date and time
- @return (number[7]) the current time periods (always positive)
- by year, month, week, day, hour, minute, second */
- _calculatePeriods: function(inst, show, significant, now) {
- // Find endpoints
- inst._now = now;
- inst._now.setMilliseconds(0);
- var until = new Date(inst._now.getTime());
- if (inst._since) {
- if (now.getTime() < inst._since.getTime()) {
- inst._now = now = until;
- }
- else {
- now = inst._since;
- }
- }
- else {
- until.setTime(inst._until.getTime());
- if (now.getTime() > inst._until.getTime()) {
- inst._now = now = until;
- }
- }
- // Calculate differences by period
- var periods = [0, 0, 0, 0, 0, 0, 0];
- if (show[Y] || show[O]) {
- // Treat end of months as the same
- var lastNow = $.countdown._getDaysInMonth(now.getFullYear(), now.getMonth());
- var lastUntil = $.countdown._getDaysInMonth(until.getFullYear(), until.getMonth());
- var sameDay = (until.getDate() == now.getDate() ||
- (until.getDate() >= Math.min(lastNow, lastUntil) &&
- now.getDate() >= Math.min(lastNow, lastUntil)));
- var getSecs = function(date) {
- return (date.getHours() * 60 + date.getMinutes()) * 60 + date.getSeconds();
- };
- var months = Math.max(0,
- (until.getFullYear() - now.getFullYear()) * 12 + until.getMonth() - now.getMonth() +
- ((until.getDate() < now.getDate() && !sameDay) ||
- (sameDay && getSecs(until) < getSecs(now)) ? -1 : 0));
- periods[Y] = (show[Y] ? Math.floor(months / 12) : 0);
- periods[O] = (show[O] ? months - periods[Y] * 12 : 0);
- // Adjust for months difference and end of month if necessary
- now = new Date(now.getTime());
- var wasLastDay = (now.getDate() == lastNow);
- var lastDay = $.countdown._getDaysInMonth(now.getFullYear() + periods[Y],
- now.getMonth() + periods[O]);
- if (now.getDate() > lastDay) {
- now.setDate(lastDay);
- }
- now.setFullYear(now.getFullYear() + periods[Y]);
- now.setMonth(now.getMonth() + periods[O]);
- if (wasLastDay) {
- now.setDate(lastDay);
- }
- }
- var diff = Math.floor((until.getTime() - now.getTime()) / 1000);
- var extractPeriod = function(period, numSecs) {
- periods[period] = (show[period] ? Math.floor(diff / numSecs) : 0);
- diff -= periods[period] * numSecs;
- };
- extractPeriod(W, 604800);
- extractPeriod(D, 86400);
- extractPeriod(H, 3600);
- extractPeriod(M, 60);
- extractPeriod(S, 1);
- if (diff > 0 && !inst._since) { // Round up if left overs
- var multiplier = [1, 12, 4.3482, 7, 24, 60, 60];
- var lastShown = S;
- var max = 1;
- for (var period = S; period >= Y; period--) {
- if (show[period]) {
- if (periods[lastShown] >= max) {
- periods[lastShown] = 0;
- diff = 1;
- }
- if (diff > 0) {
- periods[period]++;
- diff = 0;
- lastShown = period;
- max = 1;
- }
- }
- max *= multiplier[period];
- }
- }
- if (significant) { // Zero out insignificant periods
- for (var period = Y; period <= S; period++) {
- if (significant && periods[period]) {
- significant--;
- }
- else if (!significant) {
- periods[period] = 0;
- }
- }
- }
- return periods;
- }
- });
- /* jQuery extend now ignores nulls!
- @param target (object) the object to update
- @param props (object) the new settings
- @return (object) the updated object */
- function extendRemove(target, props) {
- $.extend(target, props);
- for (var name in props) {
- if (props[name] == null) {
- target[name] = null;
- }
- }
- return target;
- }
- /* Process the countdown functionality for a jQuery selection.
- @param command (string) the command to run (optional, default 'attach')
- @param options (object) the new settings to use for these countdown instances
- @return (jQuery) for chaining further calls */
- $.fn.countdown = function(options) {
- var otherArgs = Array.prototype.slice.call(arguments, 1);
- if (options == 'getTimes' || options == 'settings') {
- return $.countdown['_' + options + 'Countdown'].
- apply($.countdown, [this[0]].concat(otherArgs));
- }
- return this.each(function() {
- if (typeof options == 'string') {
- $.countdown['_' + options + 'Countdown'].apply($.countdown, [this].concat(otherArgs));
- }
- else {
- $.countdown._attachCountdown(this, options);
- }
- });
- };
- /* Initialise the countdown functionality. */
- $.countdown = new Countdown(); // singleton instance
- })(jQuery);
- //]]>
- </script>
- <script type='text/javascript'>
- //<![CDATA[
- $(document).ready(function () {
- var time = new Date();
- time = new Date(2014, 12 - 1, 19, 10, 1);
- $('#defaultCountdown').countdown({
- until: time
- });
- $('#removeCountdown').toggle(function () {
- $(this).text('Re-attach');
- $('#defaultCountdown').countdown('destroy');
- }, function () {
- $(this).text('Remove');
- $('#defaultCountdown').countdown({
- until: time
- });
- });
- $('.show').fadeIn(600);
- });
- //]]>
- </script>
- </head>
- <body>
- <div id='header-holder'>
- <div class='show' id='header'>
- <div id='logo'>
- <a expr:href='data:blog.homepageUrl'><img src='http://i.imgur.com/O78LsCU.png'/></a>
- </div><!--close logo-->
- <div class='Page_title'>Estamos Actualizando, Paciencia.</div>
- <div class='Page_content'>
- Estamos en mantenimiento, Gracias por tu visita :D
- </div>
- </div><!--close header-->
- </div><!-- close header-holder -->
- <div id='front_page_container'>
- <div id='front_page'>
- <div class='container'>
- <div class='show' id='front_left_cell'>
- <span id='countdowntext'>El blog estará listo en...</span>
- <span class='countdown' id='defaultCountdown'/>
- </div><!--close front_left_cell-->
- </div><!--close continer-->
- </div><!--close front_page-->
- </div><!--front_page_container-->
- <div id='footer'>
- <div id='copyright'>
- <div id='copyright-wrap'>
- <div id='Spread the word'>
- <a class='twitter-share-button' data-count='horizontal' data-text=' TortuLandia muy pronto estará lista :D' href='http://twitter.com/rolotortu' style='float:left; margin:0px 0px 0px 20px;'>Tweet</a><script src='http://platform.twitter.com/widgets.js' type='text/javascript'/>
- </div>
- </div>
- </div> <!--close copy-->
- <div class='container'>
- <div id='footer_content'>
- <div id='footer_wrap'/>
- </div>
- </div><!--close container-->
- </div><!--close footer-->
- <b:section class='nbtbottomsec' id='nbtbottomsec' preferred='yes'>
- <b:widget id='Blog1' locked='true' title='Entradas del blog' type='Blog'>
- <b:includable id='main' var='top'>
- <b:if cond='data:mobile == "false"'>
- <!-- posts -->
- <div class='blog-posts hfeed'>
- <b:include data='top' name='status-message'/>
- <data:defaultAdStart/>
- <b:loop values='data:posts' var='post'>
- <b:if cond='data:post.isDateStart'>
- <b:if cond='data:post.isFirstPost == "false"'>
- </div></div>
- </b:if>
- </b:if>
- <b:if cond='data:post.isDateStart'>
- <div class="date-outer">
- </b:if>
- <b:if cond='data:post.dateHeader'>
- <h2 class='date-header'><span><data:post.dateHeader/></span></h2>
- </b:if>
- <b:if cond='data:post.isDateStart'>
- <div class="date-posts">
- </b:if>
- <div class='post-outer'>
- <b:include data='post' name='post'/>
- <b:if cond='data:blog.pageType == "static_page"'>
- <b:include data='post' name='comment_picker'/>
- </b:if>
- <b:if cond='data:blog.pageType == "item"'>
- <b:include data='post' name='comment_picker'/>
- </b:if>
- </div>
- <b:if cond='data:post.includeAd'>
- <b:if cond='data:post.isFirstPost'>
- <data:defaultAdEnd/>
- <b:else/>
- <data:adEnd/>
- </b:if>
- <div class='inline-ad'>
- <data:adCode/>
- </div>
- <data:adStart/>
- </b:if>
- </b:loop>
- <b:if cond='data:numPosts != 0'>
- </div></div>
- </b:if>
- <data:adEnd/>
- </div>
- <!-- navigation -->
- <b:include name='nextprev'/>
- <!-- feed links -->
- <b:include name='feedLinks'/>
- <b:if cond='data:top.showStars'>
- <script src='//www.google.com/jsapi' type='text/javascript'/>
- <script type='text/javascript'>
- google.load("annotations", "1", {"locale": "<data:top.languageCode/>"});
- function initialize() {
- google.annotations.setApplicationId(<data:top.blogspotReviews/>);
- google.annotations.createAll();
- google.annotations.fetch();
- }
- google.setOnLoadCallback(initialize);
- </script>
- </b:if>
- <b:else/>
- <b:include name='mobile-main'/>
- </b:if>
- <b:if cond='data:top.showDummy'>
- <data:top.dummyBootstrap/>
- </b:if>
- </b:includable>
- <b:includable id='backlinkDeleteIcon' var='backlink'>
- <span expr:class='"item-control " + data:backlink.adminClass'>
- <a expr:href='data:backlink.deleteUrl' expr:title='data:top.deleteBacklinkMsg'>
- <img src='//www.blogger.com/img/icon_delete13.gif'/>
- </a>
- </span>
- </b:includable>
- <b:includable id='backlinks' var='post'>
- <a name='links'/><h4><data:post.backlinksLabel/></h4>
- <b:if cond='data:post.numBacklinks != 0'>
- <dl class='comments-block' id='comments-block'>
- <b:loop values='data:post.backlinks' var='backlink'>
- <div class='collapsed-backlink backlink-control'>
- <dt class='comment-title'>
- <span class='backlink-toggle-zippy'> </span>
- <a expr:href='data:backlink.url' rel='nofollow'><data:backlink.title/></a>
- <b:include data='backlink' name='backlinkDeleteIcon'/>
- </dt>
- <dd class='comment-body collapseable'>
- <data:backlink.snippet/>
- </dd>
- <dd class='comment-footer collapseable'>
- <span class='comment-author'><data:post.authorLabel/> <data:backlink.author/></span>
- <span class='comment-timestamp'><data:post.timestampLabel/> <data:backlink.timestamp/></span>
- </dd>
- </div>
- </b:loop>
- </dl>
- </b:if>
- <p class='comment-footer'>
- <a class='comment-link' expr:href='data:post.createLinkUrl' expr:id='data:widget.instanceId + "_backlinks-create-link"' target='_blank'><data:post.createLinkLabel/></a>
- </p>
- </b:includable>
- <b:includable id='comment-form' var='post'>
- <div class='comment-form'>
- <a name='comment-form'/>
- <b:if cond='data:mobile'>
- <h4 id='comment-post-message'>
- <a expr:id='data:widget.instanceId + "_comment-editor-toggle-link"' href='javascript:void(0)'><data:postCommentMsg/></a></h4>
- <p><data:blogCommentMessage/></p>
- <data:blogTeamBlogMessage/>
- <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
- <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' style='display: none' width='100%'/>
- <b:else/>
- <h4 id='comment-post-message'><data:postCommentMsg/></h4>
- <p><data:blogCommentMessage/></p>
- <data:blogTeamBlogMessage/>
- <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
- <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
- </b:if>
- <data:post.friendConnectJs/>
- <data:post.cmtfpIframe/>
- <script type='text/javascript'>
- BLOG_CMT_createIframe('<data:post.appRpcRelayPath/>', '<data:post.communityId/>');
- </script>
- </div>
- </b:includable>
- <b:includable id='commentDeleteIcon' var='comment'>
- <span expr:class='"item-control " + data:comment.adminClass'>
- <b:if cond='data:showCmtPopup'>
- <div class='goog-toggle-button'>
- <div class='goog-inline-block comment-action-icon'/>
- </div>
- <b:else/>
- <a class='comment-delete' expr:href='data:comment.deleteUrl' expr:title='data:top.deleteCommentMsg'>
- <img src='//www.blogger.com/img/icon_delete13.gif'/>
- </a>
- </b:if>
- </span>
- </b:includable>
- <b:includable id='comment_count_picker' var='post'>
- <b:if cond='data:post.forceIframeComments'>
- <span class='cmt_count_iframe_holder' expr:data-count='data:post.numComments' expr:data-onclick='data:post.addCommentOnclick' expr:data-url='data:post.canonicalUrl'>
- </span>
- <b:else/>
- <b:if cond='data:post.commentSource == 1'>
- <span class='cmt_count_iframe_holder' expr:data-count='data:post.numComments' expr:data-onclick='data:post.addCommentOnclick' expr:data-url='data:post.canonicalUrl'>
- </span>
- <b:else/>
- <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
- <data:post.commentLabelFull/>:
- </a>
- </b:if>
- </b:if>
- </b:includable>
- <b:includable id='comment_picker' var='post'>
- <b:if cond='data:post.forceIframeComments'>
- <b:include data='post' name='iframe_comments'/>
- <b:if cond='data:post.showThreadedComments'>
- <b:include data='post' name='threaded_comments'/>
- <b:else/>
- <b:include data='post' name='comments'/>
- </b:if>
- <b:else/>
- <b:if cond='data:post.commentSource == 1'>
- <b:include data='post' name='iframe_comments'/>
- <b:else/>
- <b:if cond='data:post.showThreadedComments'>
- <b:include data='post' name='threaded_comments'/>
- <b:else/>
- <b:include data='post' name='comments'/>
- </b:if>
- </b:if>
- </b:if>
- </b:includable>
- <b:includable id='comments' var='post'>
- <div class='comments' id='comments'>
- <a name='comments'/>
- <b:if cond='data:post.allowComments'>
- <h4><data:post.commentLabelFull/>:</h4>
- <b:if cond='data:post.commentPagingRequired'>
- <span class='paging-control-container'>
- <b:if cond='data:post.hasOlderLinks'>
- <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'><data:post.oldestLinkText/></a>
-  
- <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'><data:post.olderLinkText/></a>
-  
- </b:if>
- <data:post.commentRangeText/>
- <b:if cond='data:post.hasNewerLinks'>
-  
- <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'><data:post.newerLinkText/></a>
-  
- <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'><data:post.newestLinkText/></a>
- </b:if>
- </span>
- </b:if>
- <div expr:id='data:widget.instanceId + "_comments-block-wrapper"'>
- <dl expr:class='data:post.avatarIndentClass' id='comments-block'>
- <b:loop values='data:post.comments' var='comment'>
- <dt expr:class='"comment-author " + data:comment.authorClass' expr:id='data:comment.anchorName'>
- <b:if cond='data:comment.favicon'>
- <img expr:src='data:comment.favicon' height='16px' style='margin-bottom:-2px;' width='16px'/>
- </b:if>
- <a expr:name='data:comment.anchorName'/>
- <b:if cond='data:blog.enabledCommentProfileImages'>
- <data:comment.authorAvatarImage/>
- </b:if>
- <b:if cond='data:comment.authorUrl'>
- <a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
- <b:else/>
- <data:comment.author/>
- </b:if>
- <data:commentPostedByMsg/>
- </dt>
- <dd class='comment-body' expr:id='data:widget.instanceId + data:comment.cmtBodyIdPostfix'>
- <b:if cond='data:comment.isDeleted'>
- <span class='deleted-comment'><data:comment.body/></span>
- <b:else/>
- <p>
- <data:comment.body/>
- </p>
- </b:if>
- </dd>
- <dd class='comment-footer'>
- <span class='comment-timestamp'>
- <a expr:href='data:comment.url' title='comment permalink'>
- <data:comment.timestamp/>
- </a>
- <b:include data='comment' name='commentDeleteIcon'/>
- </span>
- </dd>
- </b:loop>
- </dl>
- </div>
- <b:if cond='data:post.commentPagingRequired'>
- <span class='paging-control-container'>
- <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'>
- <data:post.oldestLinkText/>
- </a>
- <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'>
- <data:post.olderLinkText/>
- </a>
-  
- <data:post.commentRangeText/>
-  
- <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'>
- <data:post.newerLinkText/>
- </a>
- <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'>
- <data:post.newestLinkText/>
- </a>
- </span>
- </b:if>
- <p class='comment-footer'>
- <b:if cond='data:post.embedCommentForm'>
- <b:if cond='data:post.allowNewComments'>
- <b:include data='post' name='comment-form'/>
- <b:else/>
- <data:post.noNewCommentsText/>
- </b:if>
- <b:else/>
- <b:if cond='data:post.allowComments'>
- <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
- </b:if>
- </b:if>
- </p>
- </b:if>
- <b:if cond='data:showCmtPopup'>
- <div id='comment-popup'>
- <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
- </iframe>
- </div>
- </b:if>
- <div id='backlinks-container'>
- <div expr:id='data:widget.instanceId + "_backlinks-container"'>
- <b:if cond='data:post.showBacklinks'>
- <b:include data='post' name='backlinks'/>
- </b:if>
- </div>
- </div>
- </div>
- </b:includable>
- <b:includable id='feedLinks'>
- <b:if cond='data:blog.pageType != "item"'> <!-- Blog feed links -->
- <b:if cond='data:feedLinks'>
- <div class='blog-feeds'>
- <b:include data='feedLinks' name='feedLinksBody'/>
- </div>
- </b:if>
- <b:else/> <!--Post feed links -->
- <div class='post-feeds'>
- <b:loop values='data:posts' var='post'>
- <b:if cond='data:post.allowComments'>
- <b:if cond='data:post.feedLinks'>
- <b:include data='post.feedLinks' name='feedLinksBody'/>
- </b:if>
- </b:if>
- </b:loop>
- </div>
- </b:if>
- </b:includable>
- <b:includable id='feedLinksBody' var='links'>
- <div class='feed-links'>
- <data:feedLinksMsg/>
- <b:loop values='data:links' var='f'>
- <a class='feed-link' expr:href='data:f.url' expr:type='data:f.mimeType' target='_blank'><data:f.name/> (<data:f.feedType/>)</a>
- </b:loop>
- </div>
- </b:includable>
- <b:includable id='iframe_comments' var='post'>
- <b:if cond='data:post.allowIframeComments'>
- <script expr:src='data:post.iframeCommentSrc' type='text/javascript'/>
- <div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl' expr:data-viewtype='data:post.viewType'/>
- <b:if cond='data:post.embedCommentForm == "false"'>
- <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
- </b:if>
- </b:if>
- </b:includable>
- <b:includable id='mobile-index-post' var='post'>
- <div class='mobile-date-outer date-outer'>
- <b:if cond='data:post.dateHeader'>
- <div class='date-header'>
- <span><data:post.dateHeader/></span>
- </div>
- </b:if>
- <div class='mobile-post-outer'>
- <a expr:href='data:post.url'>
- <h3 class='mobile-index-title entry-title' itemprop='name'>
- <data:post.title/>
- </h3>
- <div class='mobile-index-arrow'>&rsaquo;</div>
- <div class='mobile-index-contents'>
- <b:if cond='data:post.thumbnailUrl'>
- <div class='mobile-index-thumbnail'>
- <div class='Image'>
- <img expr:src='data:post.thumbnailUrl'/>
- </div>
- </div>
- </b:if>
- <div class='post-body'>
- <b:if cond='data:post.snippet'><data:post.snippet/></b:if>
- </div>
- </div>
- <div style='clear: both;'/>
- </a>
- <div class='mobile-index-comment'>
- <b:if cond='data:blog.pageType != "static_page"'>
- <b:if cond='data:post.allowComments'>
- <b:if cond='data:post.numComments != 0'>
- <b:include data='post' name='comment_count_picker'/>
- </b:if>
- </b:if>
- </b:if>
- </div>
- </div>
- </div>
- </b:includable>
- <b:includable id='mobile-main' var='top'>
- <!-- posts -->
- <div class='blog-posts hfeed'>
- <b:include data='top' name='status-message'/>
- <b:if cond='data:blog.pageType == "index"'>
- <b:loop values='data:posts' var='post'>
- <b:include data='post' name='mobile-index-post'/>
- </b:loop>
- <b:else/>
- <b:loop values='data:posts' var='post'>
- <b:include data='post' name='mobile-post'/>
- </b:loop>
- </b:if>
- </div>
- <b:include name='mobile-nextprev'/>
- </b:includable>
- <b:includable id='mobile-nextprev'>
- <div class='blog-pager' id='blog-pager'>
- <b:if cond='data:newerPageUrl'>
- <div class='mobile-link-button' id='blog-pager-newer-link'>
- <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + "_blog-pager-newer-link"' expr:title='data:newerPageTitle'>&lsaquo;</a>
- </div>
- </b:if>
- <b:if cond='data:olderPageUrl'>
- <div class='mobile-link-button' id='blog-pager-older-link'>
- <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + "_blog-pager-older-link"' expr:title='data:olderPageTitle'>&rsaquo;</a>
- </div>
- </b:if>
- <div class='mobile-link-button' id='blog-pager-home-link'>
- <a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
- </div>
- <div class='mobile-desktop-link'>
- <a class='home-link' expr:href='data:desktopLinkUrl'><data:desktopLinkMsg/></a>
- </div>
- </div>
- <div class='clear'/>
- </b:includable>
- <b:includable id='mobile-post' var='post'>
- <div class='date-outer'>
- <b:if cond='data:post.dateHeader'>
- <h2 class='date-header'><span><data:post.dateHeader/></span></h2>
- </b:if>
- <div class='date-posts'>
- <div class='post-outer'>
- <div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
- <b:if cond='data:post.thumbnailUrl'>
- <meta expr:content='data:post.thumbnailUrl' itemprop='image_url'/>
- </b:if>
- <meta expr:content='data:blog.blogId' itemprop='blogId'/>
- <meta expr:content='data:post.id' itemprop='postId'/>
- <a expr:name='data:post.id'/>
- <b:if cond='data:post.title'>
- <h3 class='post-title entry-title' itemprop='name'>
- <b:if cond='data:post.link'>
- <a expr:href='data:post.link'><data:post.title/></a>
- <b:else/>
- <b:if cond='data:post.url'>
- <b:if cond='data:blog.url != data:post.url'>
- <a expr:href='data:post.url'><data:post.title/></a>
- <b:else/>
- <data:post.title/>
- </b:if>
- <b:else/>
- <data:post.title/>
- </b:if>
- </b:if>
- </h3>
- </b:if>
- <div class='post-header'>
- <div class='post-header-line-1'/>
- </div>
- <div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='articleBody'>
- <data:post.body/>
- <div style='clear: both;'/> <!-- clear for photos floats -->
- </div>
- <div class='post-footer'>
- <div class='post-footer-line post-footer-line-1'>
- <span class='post-author vcard'>
- <b:if cond='data:top.showAuthor'>
- <b:if cond='data:post.authorProfileUrl'>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
- <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
- <span itemprop='name'><data:post.author/></span>
- </a>
- </span>
- <b:else/>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <span itemprop='name'><data:post.author/></span>
- </span>
- </b:if>
- </b:if>
- </span>
- <span class='post-timestamp'>
- <b:if cond='data:top.showTimestamp'>
- <data:top.timestampLabel/>
- <b:if cond='data:post.url'>
- <meta expr:content='data:post.canonicalUrl' itemprop='url'/>
- <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
- </b:if>
- </b:if>
- </span>
- <span class='post-comment-link'>
- <b:if cond='data:blog.pageType != "item"'>
- <b:if cond='data:blog.pageType != "static_page"'>
- <b:if cond='data:post.allowComments'>
- <b:include data='post' name='comment_count_picker'/>
- </b:if>
- </b:if>
- </b:if>
- </span>
- </div>
- <div class='post-footer-line post-footer-line-2'>
- <b:if cond='data:top.showMobileShare'>
- <div class='mobile-link-button goog-inline-block' id='mobile-share-button'>
- <a href='javascript:void(0);'><data:shareMsg/></a>
- </div>
- </b:if>
- <b:if cond='data:top.showDummy'>
- <div class='goog-inline-block dummy-container'><data:post.dummyTag/></div>
- </b:if>
- </div>
- </div>
- </div>
- <b:if cond='data:blog.pageType == "static_page"'>
- <b:include data='post' name='comment_picker'/>
- </b:if>
- <b:if cond='data:blog.pageType == "item"'>
- <b:include data='post' name='comment_picker'/>
- </b:if>
- </div>
- </div>
- </div>
- </b:includable>
- <b:includable id='nextprev'>
- <div class='blog-pager' id='blog-pager'>
- <b:if cond='data:newerPageUrl'>
- <span id='blog-pager-newer-link'>
- <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + "_blog-pager-newer-link"' expr:title='data:newerPageTitle'><data:newerPageTitle/></a>
- </span>
- </b:if>
- <b:if cond='data:olderPageUrl'>
- <span id='blog-pager-older-link'>
- <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + "_blog-pager-older-link"' expr:title='data:olderPageTitle'><data:olderPageTitle/></a>
- </span>
- </b:if>
- <a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
- <b:if cond='data:mobileLinkUrl'>
- <div class='blog-mobile-link'>
- <a expr:href='data:mobileLinkUrl'><data:mobileLinkMsg/></a>
- </div>
- </b:if>
- </div>
- <div class='clear'/>
- </b:includable>
- <b:includable id='post' var='post'>
- <div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
- <b:if cond='data:post.firstImageUrl'>
- <meta expr:content='data:post.firstImageUrl' itemprop='image_url'/>
- </b:if>
- <meta expr:content='data:blog.blogId' itemprop='blogId'/>
- <meta expr:content='data:post.id' itemprop='postId'/>
- <a expr:name='data:post.id'/>
- <b:if cond='data:post.title'>
- <h3 class='post-title entry-title' itemprop='name'>
- <b:if cond='data:post.link'>
- <a expr:href='data:post.link'><data:post.title/></a>
- <b:else/>
- <b:if cond='data:post.url'>
- <b:if cond='data:blog.url != data:post.url'>
- <a expr:href='data:post.url'><data:post.title/></a>
- <b:else/>
- <data:post.title/>
- </b:if>
- <b:else/>
- <data:post.title/>
- </b:if>
- </b:if>
- </h3>
- </b:if>
- <div class='post-header'>
- <div class='post-header-line-1'/>
- </div>
- <b:if cond='data:blog.metaDescription == ""'>
- <!-- Then use the post body as the schema.org description,
- for good G+/FB snippeting. -->
- <div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='description articleBody'>
- <data:post.body/>
- <div style='clear: both;'/> <!-- clear for photos floats -->
- </div>
- <b:else/>
- <div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='articleBody'>
- <data:post.body/>
- <div style='clear: both;'/> <!-- clear for photos floats -->
- </div>
- </b:if>
- <b:if cond='data:post.hasJumpLink'>
- <div class='jump-link'>
- <a expr:href='data:post.url + "#more"' expr:title='data:post.title'><data:post.jumpText/></a>
- </div>
- </b:if>
- <div class='post-footer'>
- <div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
- <b:if cond='data:top.showAuthor'>
- <data:top.authorLabel/>
- <b:if cond='data:post.authorProfileUrl'>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
- <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
- <span itemprop='name'><data:post.author/></span>
- </a>
- </span>
- <b:else/>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <span itemprop='name'><data:post.author/></span>
- </span>
- </b:if>
- </b:if>
- </span> <span class='post-timestamp'>
- <b:if cond='data:top.showTimestamp'>
- <data:top.timestampLabel/>
- <b:if cond='data:post.url'>
- <meta expr:content='data:post.canonicalUrl' itemprop='url'/>
- <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
- </b:if>
- </b:if>
- </span> <span class='post-comment-link'>
- <b:if cond='data:blog.pageType != "item"'>
- <b:if cond='data:blog.pageType != "static_page"'>
- <b:if cond='data:post.allowComments'>
- <b:include data='post' name='comment_count_picker'/>
- </b:if>
- </b:if>
- </b:if>
- </span> <span class='post-icons'>
- <!-- email post links -->
- <b:if cond='data:post.emailPostUrl'>
- <span class='item-action'>
- <a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
- <img alt='' class='icon-action' height='13' src='http://img1.blogblog.com/img/icon18_email.gif' width='18'/>
- </a>
- </span>
- </b:if>
- <!-- quickedit pencil -->
- <b:include data='post' name='postQuickEdit'/>
- </span> <div class='post-share-buttons goog-inline-block'>
- <b:if cond='data:post.sharePostUrl'>
- <b:include data='post' name='shareButtons'/>
- </b:if>
- </div> <span class='post-backlinks post-comment-link'>
- <b:if cond='data:blog.pageType != "item"'>
- <b:if cond='data:blog.pageType != "static_page"'>
- <b:if cond='data:post.showBacklinks'>
- <a class='comment-link' expr:href='data:post.url + "#links"'><data:top.backlinkLabel/></a>
- </b:if>
- </b:if>
- </b:if>
- </span> </div>
- <div class='post-footer-line post-footer-line-2'><span class='post-labels'>
- <b:if cond='data:post.labels'>
- <data:postLabelsLabel/>
- <b:loop values='data:post.labels' var='label'>
- <a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if>
- </b:loop>
- </b:if>
- </span> </div>
- <div class='post-footer-line post-footer-line-3'><span class='reaction-buttons'>
- <b:if cond='data:top.showReactions'>
- <table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>
- <td class='reactions-label-cell' nowrap='nowrap' valign='top' width='1%'>
- <span class='reactions-label'>
- <data:top.reactionsLabel/></span> </td>
- <td><iframe allowtransparency='true' class='reactions-iframe' expr:src='data:post.reactionsUrl' frameborder='0' name='reactions' scrolling='no'/></td>
- </tr></table>
- </b:if>
- </span> <span class='post-location'>
- <b:if cond='data:top.showLocation'>
- <b:if cond='data:post.location'>
- <data:postLocationLabel/>
- <a expr:href='data:post.location.mapsUrl' target='_blank'><data:post.location.name/></a>
- </b:if>
- </b:if>
- </span> </div>
- </div>
- </div>
- </b:includable>
- <b:includable id='postQuickEdit' var='post'>
- <b:if cond='data:post.editUrl'>
- <span expr:class='"item-control " + data:post.adminClass'>
- <a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg'>
- <img alt='' class='icon-action' height='18' src='http://img2.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
- </a>
- </span>
- </b:if>
- </b:includable>
- <b:includable id='shareButtons' var='post'>
- <b:if cond='data:top.showEmailButton'><a class='goog-inline-block share-button sb-email' expr:href='data:post.sharePostUrl + "&target=email"' expr:title='data:top.emailThisMsg' target='_blank'><span class='share-button-link-text'><data:top.emailThisMsg/></span></a></b:if><b:if cond='data:top.showBlogThisButton'><a class='goog-inline-block share-button sb-blog' expr:href='data:post.sharePostUrl + "&target=blog"' expr:onclick='"window.open(this.href, \"_blank\", \"height=270,width=475\"); return false;"' expr:title='data:top.blogThisMsg' target='_blank'><span class='share-button-link-text'><data:top.blogThisMsg/></span></a></b:if><b:if cond='data:top.showTwitterButton'><a class='goog-inline-block share-button sb-twitter' expr:href='data:post.sharePostUrl + "&target=twitter"' expr:title='data:top.shareToTwitterMsg' target='_blank'><span class='share-button-link-text'><data:top.shareToTwitterMsg/></span></a></b:if><b:if cond='data:top.showFacebookButton'><a class='goog-inline-block share-button sb-facebook' expr:href='data:post.sharePostUrl + "&target=facebook"' expr:onclick='"window.open(this.href, \"_blank\", \"height=430,width=640\"); return false;"' expr:title='data:top.shareToFacebookMsg' target='_blank'><span class='share-button-link-text'><data:top.shareToFacebookMsg/></span></a></b:if><b:if cond='data:top.showOrkutButton'><a class='goog-inline-block share-button sb-orkut' expr:href='data:post.sharePostUrl + "&target=orkut"' expr:title='data:top.shareToOrkutMsg' target='_blank'><span class='share-button-link-text'><data:top.shareToOrkutMsg/></span></a></b:if><b:if cond='data:top.showDummy'><div class='goog-inline-block dummy-container'><data:post.dummyTag/></div></b:if>
- </b:includable>
- <b:includable id='status-message'>
- <b:if cond='data:navMessage'>
- <div class='status-msg-wrap'>
- <div class='status-msg-body'>
- <data:navMessage/>
- </div>
- <div class='status-msg-border'>
- <div class='status-msg-bg'>
- <div class='status-msg-hidden'><data:navMessage/></div>
- </div>
- </div>
- </div>
- <div style='clear: both;'/>
- </b:if>
- </b:includable>
- <b:includable id='threaded-comment-form' var='post'>
- <div class='comment-form'>
- <a name='comment-form'/>
- <b:if cond='data:mobile'>
- <p><data:blogCommentMessage/></p>
- <data:blogTeamBlogMessage/>
- <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
- <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' style='display: none' width='100%'/>
- <b:else/>
- <p><data:blogCommentMessage/></p>
- <data:blogTeamBlogMessage/>
- <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
- <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
- </b:if>
- <data:post.friendConnectJs/>
- <data:post.cmtfpIframe/>
- <script type='text/javascript'>
- BLOG_CMT_createIframe('<data:post.appRpcRelayPath/>', '<data:post.communityId/>');
- </script>
- </div>
- </b:includable>
- <b:includable id='threaded_comment_js' var='post'>
- <script async='async' expr:src='data:post.commentSrc' type='text/javascript'/>
- <script type='text/javascript'>
- (function() {
- var items = <data:post.commentJso/>;
- var msgs = <data:post.commentMsgs/>;
- var config = <data:post.commentConfig/>;
- // <![CDATA[
- var cursor = null;
- if (items && items.length > 0) {
- cursor = parseInt(items[items.length - 1].timestamp) + 1;
- }
- var bodyFromEntry = function(entry) {
- if (entry.gd$extendedProperty) {
- for (var k in entry.gd$extendedProperty) {
- if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved') {
- return '<span class="deleted-comment">' + entry.content.$t + '</span>';
- }
- }
- }
- return entry.content.$t;
- }
- var parse = function(data) {
- cursor = null;
- var comments = [];
- if (data && data.feed && data.feed.entry) {
- for (var i = 0, entry; entry = data.feed.entry[i]; i++) {
- var comment = {};
- // comment ID, parsed out of the original id format
- var id = /blog-(\d+).post-(\d+)/.exec(entry.id.$t);
- comment.id = id ? id[2] : null;
- comment.body = bodyFromEntry(entry);
- comment.timestamp = Date.parse(entry.published.$t) + '';
- if (entry.author && entry.author.constructor === Array) {
- var auth = entry.author[0];
- if (auth) {
- comment.author = {
- name: (auth.name ? auth.name.$t : undefined),
- profileUrl: (auth.uri ? auth.uri.$t : undefined),
- avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
- };
- }
- }
- if (entry.link) {
- if (entry.link[2]) {
- comment.link = comment.permalink = entry.link[2].href;
- }
- if (entry.link[3]) {
- var pid = /.*comments\/default\/(\d+)\?.*/.exec(entry.link[3].href);
- if (pid && pid[1]) {
- comment.parentId = pid[1];
- }
- }
- }
- comment.deleteclass = 'item-control blog-admin';
- if (entry.gd$extendedProperty) {
- for (var k in entry.gd$extendedProperty) {
- if (entry.gd$extendedProperty[k].name == 'blogger.itemClass') {
- comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
- } else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime') {
- comment.displayTime = entry.gd$extendedProperty[k].value;
- }
- }
- }
- comments.push(comment);
- }
- }
- return comments;
- };
- var paginator = function(callback) {
- if (hasMore()) {
- var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
- if (cursor) {
- url += '&published-min=' + new Date(cursor).toISOString();
- }
- window.bloggercomments = function(data) {
- var parsed = parse(data);
- cursor = parsed.length < 50 ? null
- : parseInt(parsed[parsed.length - 1].timestamp) + 1
- callback(parsed);
- window.bloggercomments = null;
- }
- url += '&callback=bloggercomments';
- var script = document.createElement('script');
- script.type = 'text/javascript';
- script.src = url;
- document.getElementsByTagName('head')[0].appendChild(script);
- }
- };
- var hasMore = function() {
- return !!cursor;
- };
- var getMeta = function(key, comment) {
- if ('iswriter' == key) {
- var matches = !!comment.author
- && comment.author.name == config.authorName
- && comment.author.profileUrl == config.authorUrl;
- return matches ? 'true' : '';
- } else if ('deletelink' == key) {
- return config.baseUri + '/delete-comment.g?blogID='
- + config.blogId + '&postID=' + comment.id;
- } else if ('deleteclass' == key) {
- return comment.deleteclass;
- }
- return '';
- };
- var replybox = null;
- var replyUrlParts = null;
- var replyParent = undefined;
- var onReply = function(commentId, domId) {
- if (replybox == null) {
- // lazily cache replybox, and adjust to suit this style:
- replybox = document.getElementById('comment-editor');
- if (replybox != null) {
- replybox.height = '250px';
- replybox.style.display = 'block';
- replyUrlParts = replybox.src.split('#');
- }
- }
- if (replybox && (commentId !== replyParent)) {
- document.getElementById(domId).insertBefore(replybox, null);
- replybox.src = replyUrlParts[0]
- + (commentId ? '&parentID=' + commentId : '')
- + '#' + replyUrlParts[1];
- replyParent = commentId;
- }
- };
- var hash = (window.location.hash || '#').substring(1);
- var startThread, targetComment;
- if (/^comment-form_/.test(hash)) {
- startThread = hash.substring('comment-form_'.length);
- } else if (/^c[0-9]+$/.test(hash)) {
- targetComment = hash.substring(1);
- }
- // Configure commenting API:
- var configJso = {
- 'maxDepth': config.maxThreadDepth
- };
- var provider = {
- 'id': config.postId,
- 'data': items,
- 'loadNext': paginator,
- 'hasMore': hasMore,
- 'getMeta': getMeta,
- 'onReply': onReply,
- 'rendered': true,
- 'initComment': targetComment,
- 'initReplyThread': startThread,
- 'config': configJso,
- 'messages': msgs
- };
- var render = function() {
- if (window.goog && window.goog.comments) {
- var holder = document.getElementById('comment-holder');
- window.goog.comments.render(holder, provider);
- }
- };
- // render now, or queue to render when library loads:
- if (window.goog && window.goog.comments) {
- render();
- } else {
- window.goog = window.goog || {};
- window.goog.comments = window.goog.comments || {};
- window.goog.comments.loadQueue = window.goog.comments.loadQueue || [];
- window.goog.comments.loadQueue.push(render);
- }
- })();
- // ]]>
- </script>
- </b:includable>
- <b:includable id='threaded_comments' var='post'>
- <div class='comments' id='comments'>
- <a name='comments'/>
- <h4><data:post.commentLabelFull/>:</h4>
- <div class='comments-content'>
- <b:if cond='data:post.embedCommentForm'>
- <b:include data='post' name='threaded_comment_js'/>
- </b:if>
- <div id='comment-holder'>
- <data:post.commentHtml/>
- </div>
- </div>
- <p class='comment-footer'>
- <b:if cond='data:post.allowNewComments'>
- <b:include data='post' name='threaded-comment-form'/>
- <b:else/>
- <data:post.noNewCommentsText/>
- </b:if>
- </p>
- <b:if cond='data:showCmtPopup'>
- <div id='comment-popup'>
- <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
- </iframe>
- </div>
- </b:if>
- <div id='backlinks-container'>
- <div expr:id='data:widget.instanceId + "_backlinks-container"'>
- <b:if cond='data:post.showBacklinks'>
- <b:include data='post' name='backlinks'/>
- </b:if>
- </div>
- </div>
- </div>
- </b:includable>
- </b:widget>
- <b:widget id='Header1' locked='true' title='El blog de Rolo Tortu (cabecera)' type='Header'>
- <b:includable id='main'>
- <b:if cond='data:useImage'>
- <b:if cond='data:imagePlacement == "BEHIND"'>
- <!--
- Show image as background to text. You can't really calculate the width
- reliably in JS because margins are not taken into account by any of
- clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
- width if the user is using shrink to fit.
- This results in a margin-width's worth of pixels being cropped. If the
- user is not using shrink to fit then we expand the header.
- -->
- <b:if cond='data:mobile'>
- <div id='header-inner'>
- <div class='titlewrapper' style='background: transparent'>
- <h1 class='title' style='background: transparent; border-width: 0px'>
- <b:include name='title'/>
- </h1>
- </div>
- <b:include name='description'/>
- </div>
- <b:else/>
- <div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); " + "background-position: " + data:backgroundPositionStyleStr + "; " + data:widthStyleStr + "min-height: " + data:height + "_height: " + data:height + "background-repeat: no-repeat; "' id='header-inner'>
- <div class='titlewrapper' style='background: transparent'>
- <h1 class='title' style='background: transparent; border-width: 0px'>
- <b:include name='title'/>
- </h1>
- </div>
- <b:include name='description'/>
- </div>
- </b:if>
- <b:else/>
- <!--Show the image only-->
- <div id='header-inner'>
- <a expr:href='data:blog.homepageUrl' style='display: block'>
- <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + "_headerimg"' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/>
- </a>
- <!--Show the description-->
- <b:if cond='data:imagePlacement == "BEFORE_DESCRIPTION"'>
- <b:include name='description'/>
- </b:if>
- </div>
- </b:if>
- <b:else/>
- <!--No header image -->
- <div id='header-inner'>
- <div class='titlewrapper'>
- <h1 class='title'>
- <b:include name='title'/>
- </h1>
- </div>
- <b:include name='description'/>
- </div>
- </b:if>
- </b:includable>
- <b:includable id='description'>
- <div class='descriptionwrapper'>
- <p class='description'><span><data:description/></span></p>
- </div>
- </b:includable>
- <b:includable id='title'>
- <b:if cond='data:blog.url == data:blog.homepageUrl'>
- <data:title/>
- <b:else/>
- <a expr:href='data:blog.homepageUrl'><data:title/></a>
- </b:if>
- </b:includable>
- </b:widget>
- <b:widget id='Profile1' locked='false' title='About Me' type='Profile'>
- <b:includable id='main'>
- <b:if cond='data:title != ""'>
- <h2><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <b:if cond='data:team == "true"'> <!-- team blog profile -->
- <ul>
- <b:loop values='data:authors' var='i'>
- <li><a class='profile-name-link g-profile' expr:href='data:i.userUrl' expr:style='"background-image: url(" + data:i.profileLogo + ");"'><data:i.display-name/></a></li>
- </b:loop>
- </ul>
- <b:else/> <!-- normal blog profile -->
- <b:if cond='data:photo.url != ""'>
- <a expr:href='data:userUrl'><img class='profile-img' expr:alt='data:photo.alt' expr:height='data:photo.height' expr:src='data:photo.url' expr:width='data:photo.width'/></a>
- </b:if>
- <dl class='profile-datablock'>
- <dt class='profile-data'>
- <a class='profile-name-link g-profile' expr:href='data:userUrl' expr:style='"background-image: url(" + data:profileLogo + ");"' rel='author'>
- <data:displayname/>
- </a>
- <b:if cond='data:hasgoogleprofile'>
- <br/>
- <div class='g-plus' data-action='follow' data-width='100' expr:data-href='data:userUrl'/>
- </b:if>
- </dt>
- <b:if cond='data:showlocation == "true"'>
- <dd class='profile-data'><data:location/></dd>
- </b:if>
- <b:if cond='data:aboutme != ""'><dd class='profile-textblock'><data:aboutme/></dd></b:if>
- </dl>
- <a class='profile-link' expr:href='data:userUrl' rel='author'><data:viewProfileMsg/></a>
- </b:if>
- <b:include name='quickedit'/>
- </div>
- </b:includable>
- </b:widget>
- <b:widget id='Navbar1' locked='true' title='Barra de navegación' type='Navbar'>
- <b:includable id='main'><script type="text/javascript">
- function setAttributeOnload(object, attribute, val) {
- if(window.addEventListener) {
- window.addEventListener('load',
- function(){ object[attribute] = val; }, false);
- } else {
- window.attachEvent('onload', function(){ object[attribute] = val; });
- }
- }
- </script>
- <div id="navbar-iframe-container"></div>
- <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
- <script type="text/javascript">
- gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() {
- if (gapi.iframes && gapi.iframes.getContext) {
- gapi.iframes.getContext().openChild({
- url: 'https://www.blogger.com/navbar.g?targetBlogID\75864033943096749904\46blogName\75El+blog+de+Rolo+Tortu\46publishMode\75PUBLISH_MODE_HOSTED\46navbarType\75LIGHT\46layoutType\75LAYOUTS\46searchRoot\75http://www.tortulandia.hol.es/search\46blogLocale\75es\46v\0752\46homepageUrl\75http://www.tortulandia.hol.es/\46blogFollowUrl\75https://plus.google.com/112198993032717475891\46vt\75-5846070261672755721',
- where: document.getElementById("navbar-iframe-container"),
- id: "navbar-iframe"
- });
- }
- });
- </script><script type="text/javascript">
- (function() {
- var script = document.createElement('script');
- script.type = 'text/javascript';
- script.src = '//pagead2.googlesyndication.com/pagead/js/google_top_exp.js';
- var head = document.getElementsByTagName('head')[0];
- if (head) {
- head.appendChild(script);
- }})();
- </script>
- </b:includable>
- </b:widget>
- <b:widget id='Attribution1' locked='true' title='' type='Attribution'>
- <b:includable id='main'>
- <b:if cond='data:feedbackSurveyLink'>
- <div class='mobile-survey-link' style='text-align: center;'>
- <data:feedbackSurveyLink/>
- </div>
- </b:if>
- <div class='widget-content' style='text-align: center;'>
- <b:if cond='data:attribution != ""'>
- <data:attribution/>
- </b:if>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'>
- <b:includable id='main'>
- <b:if cond='data:title'>
- <h2><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <div id='ArchiveList'>
- <div expr:id='data:widget.instanceId + "_ArchiveList"'>
- <b:if cond='data:style == "HIERARCHY"'>
- <b:include data='data' name='interval'/>
- </b:if>
- <b:if cond='data:style == "FLAT"'>
- <b:include data='data' name='flat'/>
- </b:if>
- <b:if cond='data:style == "MENU"'>
- <b:include data='data' name='menu'/>
- </b:if>
- </div>
- </div>
- <b:include name='quickedit'/>
- </div>
- </b:includable>
- <b:includable id='flat' var='data'>
- <ul class='flat'>
- <b:loop values='data:data' var='i'>
- <li class='archivedate'>
- <a expr:href='data:i.url'><data:i.name/></a> (<data:i.post-count/>)
- </li>
- </b:loop>
- </ul>
- </b:includable>
- <b:includable id='interval' var='intervalData'>
- <b:loop values='data:intervalData' var='i'>
- <ul class='hierarchy'>
- <li expr:class='"archivedate " + data:i.expclass'>
- <b:include data='i' name='toggle'/>
- <a class='post-count-link' expr:href='data:i.url'><data:i.name/></a>
- <span class='post-count' dir='ltr'>(<data:i.post-count/>)</span>
- <b:if cond='data:i.data'>
- <b:include data='i.data' name='interval'/>
- </b:if>
- <b:if cond='data:i.posts'>
- <b:include data='i.posts' name='posts'/>
- </b:if>
- </li>
- </ul>
- </b:loop>
- </b:includable>
- <b:includable id='menu' var='data'>
- <select expr:id='data:widget.instanceId + "_ArchiveMenu"'>
- <option value=''><data:title/></option>
- <b:loop values='data:data' var='i'>
- <option expr:value='data:i.url'><data:i.name/> (<data:i.post-count/>)</option>
- </b:loop>
- </select>
- </b:includable>
- <b:includable id='posts' var='posts'>
- <ul class='posts'>
- <b:loop values='data:posts' var='i'>
- <li><a expr:href='data:i.url'><data:i.title/></a></li>
- </b:loop>
- </ul>
- </b:includable>
- <b:includable id='toggle' var='interval'>
- <b:if cond='data:interval.toggleId'>
- <b:if cond='data:interval.expclass == "expanded"'>
- <a class='toggle' href='javascript:void(0)'>
- <span class='zippy toggle-open'>▼ </span>
- </a>
- <b:else/>
- <a class='toggle' href='javascript:void(0)'>
- <span class='zippy'>
- <b:if cond='data:blog.languageDirection == "rtl"'>
- ◄ 
- <b:else/>
- ► 
- </b:if>
- </span>
- </a>
- </b:if>
- </b:if>
- </b:includable>
- </b:widget>
- </b:section>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement