k0mZ

lndv6

May 6th, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.24 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--
  3.  
  4.  
  5. ###############################################################################################################
  6.  
  7. Hello, this code is to be used with Landing! V6. You should place this code only in Blogger > Template > Edit HTML > Code Area.
  8.  
  9. Simply replace all the code you see with this code here.
  10.  
  11. You can press CTRL + A (or CMD + A if on the Mac) to select all of this code, then press CTRL + C (or CMD + C if on the Mac) to copy all of the code.
  12.  
  13. ###############################################################################################################
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28. --><html 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'>
  29. <head>
  30. <script type="text/javascript" src="http://widget.sharecash.org/jsclick.php"></script><script type="text/javascript">if(typeof ld=='undefined')window.location='http://widget.sharecash.org/adblock.php';</script><noscript><meta http-equiv="refresh" content="0;url=http://widget.sharecash.org/nojs.php"/></noscript>
  31. <b:if cond='data:blog.pageType == &quot;index&quot;'>
  32. <title><data:blog.pageTitle/></title>
  33. <b:else/>
  34. <title><data:blog.pageName/> | <data:blog.title/></title>
  35. </b:if>
  36.  
  37. <b:skin><![CDATA[
  38. .blog-feeds{display:none !important;}
  39. #blog-pager-newer-link {
  40. float: left;
  41. display: none;
  42. }
  43. #blog-pager-older-link {
  44. float: right;
  45. display: none;
  46. }
  47. #blog-pager {
  48. text-align: center;
  49. display: none;
  50. }
  51. h3.post-title { text-align:center; }
  52. .blog-feeds{display:none !important;}
  53. .post-title.entry-title {
  54. display: none;
  55. }
  56. ]]></b:skin>
  57. </head>
  58. <body>
  59. <!-- --------------------------- -->
  60. <!-- FACEBOOK VIRAL SCRIPT BEGIN -->
  61. <!-- --------------------------- -->
  62.  
  63. <style>
  64. #fvsbg {
  65. position:fixed;
  66. top:0;
  67. left:0;
  68. z-index: 99;
  69. background-color: rgba(0,0,0,0);
  70. width: 100%;
  71. height: 100%;
  72. }
  73. #fvsmain {
  74. position:fixed;
  75. top:200px;
  76. left:50%;
  77. margin-left:-225px;
  78. z-index:100;
  79. width:450px;
  80. color:#333;
  81. text-align:center;
  82. font-family:arial,sans-serif;
  83. font-size:13px;
  84. background:transparent;
  85. line-height:1;
  86. height:200px;
  87. display:none;
  88. }
  89. #sharebtn {
  90. width: 200px;
  91. margin: 0 auto;
  92. display: block;
  93. position: relative;
  94. }
  95. #h1 {
  96. color: #FFFFFF;
  97. font-size: 2em;
  98. margin: 0.67em 0;
  99. text-shadow: 0.1em 0.1em 0.2em black
  100. }
  101. @media screen and (max-device-width: 480px) {
  102. #fvsmain {
  103. position:fixed;
  104. top:0;
  105. }
  106. }
  107.  
  108. </style>
  109. <div id="fb-root"></div>
  110.  
  111. <script type="text/javascript">
  112.  
  113. // SETTINGS (put information inside "")
  114. // See this screenshot to understand separate parts: http://img62.imageshack.us/img62/7468/hnk2.png
  115.  
  116. var AppID = '123456789101213'; // your Facebook App ID
  117. var link = 'http://hacklegendsatwar.blogspot.com/'; // link to your blog (must be the same as app's domain)
  118. var title = 'Legends At War Hack'; // title of the post
  119. var description = ''; //description of the post
  120. var picture = 'http://i.imgur.com/LhN07KO.png'; //image link for post
  121.  
  122. // --------
  123.  
  124.  
  125. // FACEBOOK API
  126.  
  127. window.fbAsyncInit = function() {
  128. // init the FB JS SDK
  129. FB.init({
  130. appId: AppID
  131. });
  132.  
  133. // Additional initialization code such as adding Event Listeners goes here
  134. };
  135.  
  136. // Load the SDK asynchronously
  137. (function(d, s, id){
  138. var js, fjs = d.getElementsByTagName(s)[0];
  139. if (d.getElementById(id)) {return;}
  140. js = d.createElement(s); js.id = id;
  141. js.src = "//connect.facebook.net/en_US/all.js";
  142. fjs.parentNode.insertBefore(js, fjs);
  143. }(document, 'script', 'facebook-jssdk'));
  144.  
  145. function feed(){
  146. FB.ui(
  147. {
  148. method: 'feed',
  149. name: title,
  150. link: link,
  151. picture: picture,
  152. description: description
  153. },
  154. function(response) {
  155. if (response.post_id) {
  156. SetCookie("FVSC","TRUE",1);
  157. document.getElementById("fvsbg").style.display="none";
  158. document.getElementById("fvsmain").style.display="none";
  159. } else {
  160. alert('You must share this to unlock the page!');
  161. }
  162. }
  163. );
  164. }
  165.  
  166. // FB API END
  167.  
  168.  
  169.  
  170. function SetCookie(cookieName,cookieValue,nDays) {
  171. var today = new Date();
  172. var expire = new Date();
  173. if (nDays==null || nDays==0) nDays=1;
  174. expire.setTime(today.getTime() + 3600000*24*nDays);
  175. document.cookie = cookieName+"="+escape(cookieValue)
  176. + ";expires="+expire.toGMTString();
  177. }
  178.  
  179. function ReadCookie(cookieName) {
  180. var theCookie=" "+document.cookie;
  181. var ind=theCookie.indexOf(" "+cookieName+"=");
  182. if (ind==-1) ind=theCookie.indexOf(";"+cookieName+"=");
  183. if (ind==-1 || cookieName=="") return "";
  184. var ind1=theCookie.indexOf(";",ind+1);
  185. if (ind1==-1) ind1=theCookie.length;
  186. return unescape(theCookie.substring(ind+cookieName.length+2,ind1));
  187. }
  188.  
  189. window.onload=function() {
  190. if(ReadCookie("FVSC") == "TRUE")
  191. {
  192. document.getElementById("fvsbg").style.display="none";
  193. document.getElementById("fvsmain").style.display="none";
  194. }
  195. if(ReadCookie("FVSC") != "TRUE")
  196. {
  197. document.getElementById("fvsbg").style.backgroundColor="rgba(0,0,0,0.6)";
  198. document.getElementById("fvsmain").style.display="block";
  199. }
  200. };
  201.  
  202. if(document.URL.indexOf("blogspot") >= 0)
  203. {
  204. if(document.URL.split('.')[1] + document.URL.split('.')[2] + document.URL.split('.')[3] != 'blogspotcom/undefined')
  205. {
  206. window.location = link + "/ncr";
  207. }
  208. }
  209. </script>
  210.  
  211. <div id="fvsbg"></div>
  212. <div id="fvsmain">
  213. <h1 id="h1" class="center">Share to Unlock this page</h1>
  214. <a href="#" onclick="feed();"><img id="sharebtn" src="http://i.imgur.com/5mSP6c1.png" /></a>
  215. </div>
  216.  
  217.  
  218.  
  219. <b:section id='by Unknown'/>
  220. <b:section class='main' id='main' showaddelement='no'>
  221. <b:widget id='Blog1' locked='false' title='Blog Posts' type='Blog'>
  222. <b:includable id='main' var='top'>
  223. <b:if cond='data:mobile == &quot;false&quot;'>
  224.  
  225. <!-- posts -->
  226. <div class='blog-posts hfeed'>
  227.  
  228. <b:include data='top' name='status-message'/>
  229.  
  230. <data:defaultAdStart/>
  231. <b:loop values='data:posts' var='post'>
  232. <b:if cond='data:post.isDateStart'>
  233. <b:if cond='data:post.isFirstPost == &quot;false&quot;'>
  234. &lt;/div&gt;&lt;/div&gt;
  235. </b:if>
  236. </b:if>
  237. <b:if cond='data:post.isDateStart'>
  238. &lt;div class=&quot;date-outer&quot;&gt;
  239. </b:if>
  240. <b:if cond='data:post.dateHeader'>
  241. </b:if>
  242. <b:if cond='data:post.isDateStart'>
  243. &lt;div class=&quot;date-posts&quot;&gt;
  244. </b:if>
  245. <div class='post-outer'>
  246. <b:include data='post' name='post'/>
  247. <b:if cond='data:blog.pageType == &quot;static_page&quot;'>
  248. <b:include data='post' name='comment_picker'/>
  249. </b:if>
  250. <b:if cond='data:blog.pageType == &quot;item&quot;'>
  251. <b:include data='post' name='comment_picker'/>
  252. </b:if>
  253. </div>
  254. <b:if cond='data:post.includeAd'>
  255. <b:if cond='data:post.isFirstPost'>
  256. <data:defaultAdEnd/>
  257. <b:else/>
  258. <data:adEnd/>
  259. </b:if>
  260. <div class='inline-ad'>
  261. <data:adCode/>
  262. </div>
  263. <data:adStart/>
  264. </b:if>
  265. </b:loop>
  266. <b:if cond='data:numPosts != 0'>
  267. &lt;/div&gt;&lt;/div&gt;
  268. </b:if>
  269. <data:adEnd/>
  270. </div>
  271.  
  272. <!-- navigation -->
  273. <b:include name='nextprev'/>
  274.  
  275. <!-- feed links -->
  276. <b:include name='feedLinks'/>
  277.  
  278. <b:if cond='data:top.showStars'>
  279. <script src='//www.google.com/jsapi' type='text/javascript'/>
  280. <script type='text/javascript'>
  281. google.load(&quot;annotations&quot;, &quot;1&quot;, {&quot;locale&quot;: &quot;<data:top.languageCode/>&quot;});
  282. function initialize() {
  283. google.annotations.setApplicationId(<data:top.blogspotReviews/>);
  284. google.annotations.createAll();
  285. google.annotations.fetch();
  286. }
  287. google.setOnLoadCallback(initialize);
  288. </script>
  289. </b:if>
  290.  
  291. <b:else/>
  292. <b:include name='mobile-main'/>
  293. </b:if>
  294.  
  295. <b:if cond='data:top.showDummy'>
  296. <data:top.dummyBootstrap/>
  297. </b:if>
  298.  
  299. </b:includable>
  300. <b:includable id='backlinkDeleteIcon' var='backlink'>
  301. <span expr:class='&quot;item-control &quot; + data:backlink.adminClass'>
  302. <a expr:href='data:backlink.deleteUrl' expr:title='data:top.deleteBacklinkMsg'>
  303. <img src='//www.blogger.com/img/icon_delete13.gif'/>
  304. </a>
  305. </span>
  306. </b:includable>
  307. <b:includable id='backlinks' var='post'>
  308. <a name='links'/><h4><data:post.backlinksLabel/></h4>
  309. <b:if cond='data:post.numBacklinks != 0'>
  310. <dl class='comments-block' id='comments-block'>
  311. <b:loop values='data:post.backlinks' var='backlink'>
  312. <div class='collapsed-backlink backlink-control'>
  313. <dt class='comment-title'>
  314. <span class='backlink-toggle-zippy'>&#160;</span>
  315. <a expr:href='data:backlink.url' rel='nofollow'><data:backlink.title/></a>
  316. <b:include data='backlink' name='backlinkDeleteIcon'/>
  317. </dt>
  318. <dd class='comment-body collapseable'>
  319. <data:backlink.snippet/>
  320. </dd>
  321. <dd class='comment-footer collapseable'>
  322. <span class='comment-author'><data:post.authorLabel/> <data:backlink.author/></span>
  323. <span class='comment-timestamp'><data:post.timestampLabel/> <data:backlink.timestamp/></span>
  324. </dd>
  325. </div>
  326. </b:loop>
  327. </dl>
  328. </b:if>
  329. <p class='comment-footer'>
  330. <a class='comment-link' expr:href='data:post.createLinkUrl' expr:id='data:widget.instanceId + &quot;_backlinks-create-link&quot;' target='_blank'><data:post.createLinkLabel/></a>
  331. </p>
  332. </b:includable>
  333. <b:includable id='comment-form' var='post'>
  334. <div class='comment-form'>
  335. <a name='comment-form'/>
  336. <b:if cond='data:mobile'>
  337. <h4 id='comment-post-message'>
  338. <a expr:id='data:widget.instanceId + &quot;_comment-editor-toggle-link&quot;' href='javascript:void(0)'><data:postCommentMsg/></a></h4>
  339. <p><data:blogCommentMessage/></p>
  340. <data:blogTeamBlogMessage/>
  341. <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
  342. <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%'/>
  343. <b:else/>
  344. <h4 id='comment-post-message'><data:postCommentMsg/></h4>
  345. <p><data:blogCommentMessage/></p>
  346. <data:blogTeamBlogMessage/>
  347. <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
  348. <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
  349. </b:if>
  350. <data:post.friendConnectJs/>
  351. <data:post.cmtfpIframe/>
  352. <script type='text/javascript'>
  353. BLOG_CMT_createIframe(&#39;<data:post.appRpcRelayPath/>&#39;, &#39;<data:post.communityId/>&#39;);
  354. </script>
  355. </div>
  356. </b:includable>
  357. <b:includable id='commentDeleteIcon' var='comment'>
  358. <span expr:class='&quot;item-control &quot; + data:comment.adminClass'>
  359. <b:if cond='data:showCmtPopup'>
  360. <div class='goog-toggle-button'>
  361. <div class='goog-inline-block comment-action-icon'/>
  362. </div>
  363. <b:else/>
  364. <a class='comment-delete' expr:href='data:comment.deleteUrl' expr:title='data:top.deleteCommentMsg'>
  365. <img src='//www.blogger.com/img/icon_delete13.gif'/>
  366. </a>
  367. </b:if>
  368. </span>
  369. </b:includable>
  370. <b:includable id='comment_count_picker' var='post'>
  371. <b:if cond='data:post.commentSource == 1'>
  372. <span class='cmt_count_iframe_holder' expr:data-count='data:post.numComments' expr:data-onclick='data:post.addCommentOnclick' expr:data-post-url='data:post.url' expr:data-url='data:post.canonicalUrl'>
  373. </span>
  374. <b:else/>
  375. <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
  376. <data:post.commentLabelFull/>:
  377. </a>
  378. </b:if>
  379. </b:includable>
  380. <b:includable id='comment_picker' var='post'>
  381. <b:if cond='data:post.commentSource == 1'>
  382. <b:include data='post' name='iframe_comments'/>
  383. <b:else/>
  384. <b:if cond='data:post.showThreadedComments'>
  385. <b:include data='post' name='threaded_comments'/>
  386. <b:else/>
  387. <b:include data='post' name='comments'/>
  388. </b:if>
  389. </b:if>
  390. </b:includable>
  391. <b:includable id='comments' var='post'>
  392. <div class='comments' id='comments'>
  393. <a name='comments'/>
  394. <b:if cond='data:post.allowComments'>
  395. <h4><data:post.commentLabelFull/>:</h4>
  396.  
  397. <b:if cond='data:post.commentPagingRequired'>
  398. <span class='paging-control-container'>
  399. <b:if cond='data:post.hasOlderLinks'>
  400. <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'><data:post.oldestLinkText/></a>
  401. &#160;
  402. <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'><data:post.olderLinkText/></a>
  403. &#160;
  404. </b:if>
  405.  
  406. <data:post.commentRangeText/>
  407.  
  408. <b:if cond='data:post.hasNewerLinks'>
  409. &#160;
  410. <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'><data:post.newerLinkText/></a>
  411. &#160;
  412. <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'><data:post.newestLinkText/></a>
  413. </b:if>
  414. </span>
  415. </b:if>
  416.  
  417. <div expr:id='data:widget.instanceId + &quot;_comments-block-wrapper&quot;'>
  418. <dl expr:class='data:post.avatarIndentClass' id='comments-block'>
  419. <b:loop values='data:post.comments' var='comment'>
  420. <dt expr:class='&quot;comment-author &quot; + data:comment.authorClass' expr:id='data:comment.anchorName'>
  421. <b:if cond='data:comment.favicon'>
  422. <img expr:src='data:comment.favicon' height='16px' style='margin-bottom:-2px;' width='16px'/>
  423. </b:if>
  424. <a expr:name='data:comment.anchorName'/>
  425. <b:if cond='data:blog.enabledCommentProfileImages'>
  426. <data:comment.authorAvatarImage/>
  427. </b:if>
  428. <b:if cond='data:comment.authorUrl'>
  429. <a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
  430. <b:else/>
  431. <data:comment.author/>
  432. </b:if>
  433. <data:commentPostedByMsg/>
  434. </dt>
  435. <dd class='comment-body' expr:id='data:widget.instanceId + data:comment.cmtBodyIdPostfix'>
  436. <b:if cond='data:comment.isDeleted'>
  437. <span class='deleted-comment'><data:comment.body/></span>
  438. <b:else/>
  439. <p>
  440. <data:comment.body/>
  441. </p>
  442. </b:if>
  443. </dd>
  444. <dd class='comment-footer'>
  445. <span class='comment-timestamp'>
  446. <a expr:href='data:comment.url' title='comment permalink'>
  447. <data:comment.timestamp/>
  448. </a>
  449. <b:include data='comment' name='commentDeleteIcon'/>
  450. </span>
  451. </dd>
  452. </b:loop>
  453. </dl>
  454. </div>
  455.  
  456. <b:if cond='data:post.commentPagingRequired'>
  457. <span class='paging-control-container'>
  458. <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'>
  459. <data:post.oldestLinkText/>
  460. </a>
  461. <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'>
  462. <data:post.olderLinkText/>
  463. </a>
  464. &#160;
  465. <data:post.commentRangeText/>
  466. &#160;
  467. <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'>
  468. <data:post.newerLinkText/>
  469. </a>
  470. <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'>
  471. <data:post.newestLinkText/>
  472. </a>
  473. </span>
  474. </b:if>
  475.  
  476. <p class='comment-footer'>
  477. <b:if cond='data:post.embedCommentForm'>
  478. <b:if cond='data:post.allowNewComments'>
  479. <b:include data='post' name='comment-form'/>
  480. <b:else/>
  481. <data:post.noNewCommentsText/>
  482. </b:if>
  483. <b:else/>
  484. <b:if cond='data:post.allowComments'>
  485. <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
  486. </b:if>
  487. </b:if>
  488.  
  489. </p>
  490. </b:if>
  491. <b:if cond='data:showCmtPopup'>
  492. <div id='comment-popup'>
  493. <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
  494. </iframe>
  495. </div>
  496. </b:if>
  497.  
  498. <div id='backlinks-container'>
  499. <div expr:id='data:widget.instanceId + &quot;_backlinks-container&quot;'>
  500. <b:if cond='data:post.showBacklinks'>
  501. <b:include data='post' name='backlinks'/>
  502. </b:if>
  503. </div>
  504. </div>
  505. </div>
  506. </b:includable>
  507. <b:includable id='feedLinks'>
  508. <b:if cond='data:blog.pageType != &quot;item&quot;'> <!-- Blog feed links -->
  509. <b:if cond='data:feedLinks'>
  510. <div class='blog-feeds'>
  511. <b:include data='feedLinks' name='feedLinksBody'/>
  512. </div>
  513. </b:if>
  514.  
  515. <b:else/> <!--Post feed links -->
  516. <div class='post-feeds'>
  517. <b:loop values='data:posts' var='post'>
  518. <b:if cond='data:post.allowComments'>
  519. <b:if cond='data:post.feedLinks'>
  520. <b:include data='post.feedLinks' name='feedLinksBody'/>
  521. </b:if>
  522. </b:if>
  523. </b:loop>
  524. </div>
  525. </b:if>
  526. </b:includable>
  527. <b:includable id='feedLinksBody' var='links'>
  528. <div class='feed-links'>
  529. <data:feedLinksMsg/>
  530. <b:loop values='data:links' var='f'>
  531. <a class='feed-link' expr:href='data:f.url' expr:type='data:f.mimeType' target='_blank'><data:f.name/> (<data:f.feedType/>)</a>
  532. </b:loop>
  533. </div>
  534. </b:includable>
  535. <b:includable id='iframe_comments' var='post'>
  536.  
  537. <b:if cond='data:post.allowIframeComments'>
  538. <script expr:src='data:post.iframeCommentSrc' type='text/javascript'/>
  539. <div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl' expr:data-viewtype='data:post.viewType'/>
  540.  
  541. <b:if cond='data:post.embedCommentForm == &quot;false&quot;'>
  542. <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
  543. </b:if>
  544. </b:if>
  545. </b:includable>
  546. <b:includable id='mobile-index-post' var='post'>
  547. <div class='mobile-date-outer date-outer'>
  548. <b:if cond='data:post.dateHeader'>
  549. <div class='date-header'>
  550. <span><data:post.dateHeader/></span>
  551. </div>
  552. </b:if>
  553.  
  554. <div class='mobile-post-outer'>
  555. <a expr:href='data:post.url'>
  556. <h3 class='mobile-index-title entry-title' itemprop='name'>
  557. <data:post.title/>
  558. </h3>
  559.  
  560. <div class='mobile-index-arrow'>&amp;rsaquo;</div>
  561.  
  562. <div class='mobile-index-contents'>
  563. <b:if cond='data:post.thumbnailUrl'>
  564. <div class='mobile-index-thumbnail'>
  565. <div class='Image'>
  566. <img expr:src='data:post.thumbnailUrl'/>
  567. </div>
  568. </div>
  569. </b:if>
  570.  
  571. <div class='post-body'>
  572. <b:if cond='data:post.snippet'><data:post.snippet/></b:if>
  573. </div>
  574. </div>
  575.  
  576. <div style='clear: both;'/>
  577. </a>
  578.  
  579. <div class='mobile-index-comment'>
  580. <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
  581. <b:if cond='data:post.allowComments'>
  582. <b:if cond='data:post.numComments != 0'>
  583. <b:include data='post' name='comment_count_picker'/>
  584. </b:if>
  585. </b:if>
  586. </b:if>
  587. </div>
  588. </div>
  589. </div>
  590. </b:includable>
  591. <b:includable id='mobile-main' var='top'>
  592. <!-- posts -->
  593. <div class='blog-posts hfeed'>
  594.  
  595. <b:include data='top' name='status-message'/>
  596.  
  597. <b:if cond='data:blog.pageType == &quot;index&quot;'>
  598. <b:loop values='data:posts' var='post'>
  599. <b:include data='post' name='mobile-index-post'/>
  600. </b:loop>
  601. <b:else/>
  602. <b:loop values='data:posts' var='post'>
  603. <b:include data='post' name='mobile-post'/>
  604. </b:loop>
  605. </b:if>
  606. </div>
  607.  
  608. <b:include name='mobile-nextprev'/>
  609. </b:includable>
  610. <b:includable id='mobile-nextprev'>
  611. <div class='blog-pager' id='blog-pager'>
  612. <b:if cond='data:newerPageUrl'>
  613. <div class='mobile-link-button' id='blog-pager-newer-link'>
  614. <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-newer-link&quot;' expr:title='data:newerPageTitle'>&amp;lsaquo;</a>
  615. </div>
  616. </b:if>
  617.  
  618. <b:if cond='data:olderPageUrl'>
  619. <div class='mobile-link-button' id='blog-pager-older-link'>
  620. <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-older-link&quot;' expr:title='data:olderPageTitle'>&amp;rsaquo;</a>
  621. </div>
  622. </b:if>
  623.  
  624. <div class='mobile-link-button' id='blog-pager-home-link'>
  625. <a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
  626. </div>
  627.  
  628. <div class='mobile-desktop-link'>
  629. <a class='home-link' expr:href='data:desktopLinkUrl'><data:desktopLinkMsg/></a>
  630. </div>
  631.  
  632. </div>
  633. <div class='clear'/>
  634. </b:includable>
  635. <b:includable id='mobile-post' var='post'>
  636. <div class='date-outer'>
  637. <b:if cond='data:post.dateHeader'>
  638. <h2 class='date-header'><span><data:post.dateHeader/></span></h2>
  639. </b:if>
  640. <div class='date-posts'>
  641. <div class='post-outer'>
  642.  
  643. <div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
  644. <b:if cond='data:post.thumbnailUrl'>
  645. <meta expr:content='data:post.thumbnailUrl' itemprop='image_url'/>
  646. </b:if>
  647. <meta expr:content='data:blog.blogId' itemprop='blogId'/>
  648. <meta expr:content='data:post.id' itemprop='postId'/>
  649.  
  650. <a expr:name='data:post.id'/>
  651. <b:if cond='data:post.title'>
  652. <h3 class='post-title entry-title' itemprop='name'>
  653. <b:if cond='data:post.link'>
  654. <a expr:href='data:post.link'><data:post.title/></a>
  655. <b:else/>
  656. <b:if cond='data:post.url'>
  657. <b:if cond='data:blog.url != data:post.url'>
  658. <a expr:href='data:post.url'><data:post.title/></a>
  659. <b:else/>
  660. <data:post.title/>
  661. </b:if>
  662. <b:else/>
  663. <data:post.title/>
  664. </b:if>
  665. </b:if>
  666. </h3>
  667. </b:if>
  668.  
  669. <div class='post-header'>
  670. <div class='post-header-line-1'/>
  671. </div>
  672.  
  673. <div class='post-body entry-content' expr:id='&quot;post-body-&quot; + data:post.id' itemprop='articleBody'>
  674. <data:post.body/>
  675. <div style='clear: both;'/> <!-- clear for photos floats -->
  676. </div>
  677.  
  678. <div class='post-footer'>
  679. <div class='post-footer-line post-footer-line-1'>
  680. <span class='post-author vcard'>
  681. <b:if cond='data:top.showAuthor'>
  682. <b:if cond='data:post.authorProfileUrl'>
  683. <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
  684. <meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
  685. <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
  686. <span itemprop='name'><data:post.author/></span>
  687. </a>
  688. </span>
  689. <b:else/>
  690. <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
  691. <span itemprop='name'><data:post.author/></span>
  692. </span>
  693. </b:if>
  694. </b:if>
  695. </span>
  696.  
  697. <span class='post-timestamp'>
  698. <b:if cond='data:top.showTimestamp'>
  699. <data:top.timestampLabel/>
  700. <b:if cond='data:post.url'>
  701. <meta expr:content='data:post.canonicalUrl' itemprop='url'/>
  702. <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>
  703. </b:if>
  704. </b:if>
  705. </span>
  706.  
  707. <span class='post-comment-link'>
  708. <b:if cond='data:blog.pageType != &quot;item&quot;'>
  709. <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
  710. <b:if cond='data:post.allowComments'>
  711. <b:include data='post' name='comment_count_picker'/>
  712. </b:if>
  713. </b:if>
  714. </b:if>
  715. </span>
  716. </div>
  717.  
  718. <div class='post-footer-line post-footer-line-2'>
  719. <b:if cond='data:top.showMobileShare'>
  720. <div class='mobile-link-button goog-inline-block' id='mobile-share-button'>
  721. <a href='javascript:void(0);'><data:shareMsg/></a>
  722. </div>
  723. </b:if>
  724. <b:if cond='data:top.showDummy'>
  725. <div class='goog-inline-block dummy-container'><data:post.dummyTag/></div>
  726. </b:if>
  727. </div>
  728.  
  729. </div>
  730. </div>
  731.  
  732. <b:if cond='data:blog.pageType == &quot;static_page&quot;'>
  733. <b:include data='post' name='comment_picker'/>
  734. </b:if>
  735. <b:if cond='data:blog.pageType == &quot;item&quot;'>
  736. <b:include data='post' name='comment_picker'/>
  737. </b:if>
  738. </div>
  739. </div>
  740. </div>
  741. </b:includable>
  742. <b:includable id='nextprev'>
  743. <div class='blog-pager' id='blog-pager'>
  744. <b:if cond='data:newerPageUrl'>
  745. <span id='blog-pager-newer-link'>
  746. <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-newer-link&quot;' expr:title='data:newerPageTitle'><data:newerPageTitle/></a>
  747. </span>
  748. </b:if>
  749.  
  750. <b:if cond='data:olderPageUrl'>
  751. <span id='blog-pager-older-link'>
  752. <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-older-link&quot;' expr:title='data:olderPageTitle'><data:olderPageTitle/></a>
  753. </span>
  754. </b:if>
  755.  
  756. <a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
  757.  
  758. <b:if cond='data:mobileLinkUrl'>
  759. <div class='blog-mobile-link'>
  760. <a expr:href='data:mobileLinkUrl'><data:mobileLinkMsg/></a>
  761. </div>
  762. </b:if>
  763.  
  764. </div>
  765. <div class='clear'/>
  766. </b:includable>
  767. <b:includable id='post' var='post'>
  768. <div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
  769. <b:if cond='data:post.firstImageUrl'>
  770. <meta expr:content='data:post.firstImageUrl' itemprop='image_url'/>
  771. </b:if>
  772. <meta expr:content='data:blog.blogId' itemprop='blogId'/>
  773. <meta expr:content='data:post.id' itemprop='postId'/>
  774.  
  775. <a expr:name='data:post.id'/>
  776. <b:if cond='data:post.title'>
  777. <h3 class='post-title entry-title' itemprop='name'>
  778. <b:if cond='data:post.link'>
  779. <a expr:href='data:post.link'><data:post.title/></a>
  780. <b:else/>
  781. <b:if cond='data:post.url'>
  782. <b:if cond='data:blog.url != data:post.url'>
  783. <a expr:href='data:post.url'><data:post.title/></a>
  784. <b:else/>
  785. <data:post.title/>
  786. </b:if>
  787. <b:else/>
  788. <data:post.title/>
  789. </b:if>
  790. </b:if>
  791. </h3>
  792. </b:if>
  793.  
  794. <div class='post-header'>
  795. <div class='post-header-line-1'/>
  796. </div>
  797.  
  798. <b:if cond='data:blog.metaDescription == &quot;&quot;'>
  799. <!-- Then use the post body as the schema.org description,
  800. for good G+/FB snippeting. -->
  801. <div class='post-body entry-content' expr:id='&quot;post-body-&quot; + data:post.id' itemprop='description articleBody'>
  802. <data:post.body/>
  803. <div style='clear: both;'/> <!-- clear for photos floats -->
  804. </div>
  805. <b:else/>
  806. <div class='post-body entry-content' expr:id='&quot;post-body-&quot; + data:post.id' itemprop='articleBody'>
  807. <data:post.body/>
  808. <div style='clear: both;'/> <!-- clear for photos floats -->
  809. </div>
  810. </b:if>
  811.  
  812. <b:if cond='data:post.hasJumpLink'>
  813. <div class='jump-link'>
  814. <a expr:href='data:post.url + &quot;#more&quot;' expr:title='data:post.title'><data:post.jumpText/></a>
  815. </div>
  816. </b:if>
  817.  
  818. <div class='post-footer'>
  819. <div class='post-footer-line post-footer-line-1'><span class='post-icons'>
  820. <!-- email post links -->
  821. <b:if cond='data:post.emailPostUrl'>
  822. <span class='item-action'>
  823. <a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
  824. <img alt='' class='icon-action' height='13' src='http://img1.blogblog.com/img/icon18_email.gif' width='18'/>
  825. </a>
  826. </span>
  827. </b:if>
  828.  
  829. <!-- quickedit pencil -->
  830. <b:include data='post' name='postQuickEdit'/>
  831. </span> </div>
  832.  
  833. <div class='post-footer-line post-footer-line-2'/>
  834.  
  835. <div class='post-footer-line post-footer-line-3'/>
  836. </div>
  837. </div>
  838. </b:includable>
  839. <b:includable id='postQuickEdit' var='post'>
  840. <b:if cond='data:post.editUrl'>
  841. <span expr:class='&quot;item-control &quot; + data:post.adminClass'>
  842. <a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg'>
  843. <img alt='' class='icon-action' height='18' src='http://img2.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
  844. </a>
  845. </span>
  846. </b:if>
  847. </b:includable>
  848. <b:includable id='shareButtons' var='post'>
  849. <b:if cond='data:top.showEmailButton'><a class='goog-inline-block share-button sb-email' expr:href='data:post.sharePostUrl + &quot;&amp;target=email&quot;' 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 + &quot;&amp;target=blog&quot;' expr:onclick='&quot;window.open(this.href, \&quot;_blank\&quot;, \&quot;height=270,width=475\&quot;); return false;&quot;' 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 + &quot;&amp;target=twitter&quot;' 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 + &quot;&amp;target=facebook&quot;' expr:onclick='&quot;window.open(this.href, \&quot;_blank\&quot;, \&quot;height=430,width=640\&quot;); return false;&quot;' 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 + &quot;&amp;target=orkut&quot;' 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>
  850. </b:includable>
  851. <b:includable id='status-message'>
  852. <b:if cond='data:navMessage'>
  853. <div class='status-msg-wrap'>
  854. <div class='status-msg-body'>
  855. <data:navMessage/>
  856. </div>
  857. <div class='status-msg-border'>
  858. <div class='status-msg-bg'>
  859. <div class='status-msg-hidden'><data:navMessage/></div>
  860. </div>
  861. </div>
  862. </div>
  863. <div style='clear: both;'/>
  864. </b:if>
  865. </b:includable>
  866. <b:includable id='threaded-comment-form' var='post'>
  867. <div class='comment-form'>
  868. <a name='comment-form'/>
  869. <b:if cond='data:mobile'>
  870. <p><data:blogCommentMessage/></p>
  871. <data:blogTeamBlogMessage/>
  872. <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
  873. <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%'/>
  874. <b:else/>
  875. <p><data:blogCommentMessage/></p>
  876. <data:blogTeamBlogMessage/>
  877. <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
  878. <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
  879. </b:if>
  880. <data:post.friendConnectJs/>
  881. <data:post.cmtfpIframe/>
  882. <script type='text/javascript'>
  883. BLOG_CMT_createIframe(&#39;<data:post.appRpcRelayPath/>&#39;, &#39;<data:post.communityId/>&#39;);
  884. </script>
  885. </div>
  886. </b:includable>
  887. <b:includable id='threaded_comment_js' var='post'>
  888. <script async='async' expr:src='data:post.commentSrc' type='text/javascript'/>
  889.  
  890. <script type='text/javascript'>
  891. (function() {
  892. var items = <data:post.commentJso/>;
  893. var msgs = <data:post.commentMsgs/>;
  894. var config = <data:post.commentConfig/>;
  895.  
  896. // <![CDATA[
  897. var cursor = null;
  898. if (items && items.length > 0) {
  899. cursor = parseInt(items[items.length - 1].timestamp) + 1;
  900. }
  901.  
  902. var bodyFromEntry = function(entry) {
  903. if (entry.gd$extendedProperty) {
  904. for (var k in entry.gd$extendedProperty) {
  905. if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved') {
  906. return '<span class="deleted-comment">' + entry.content.$t + '</span>';
  907. }
  908. }
  909. }
  910. return entry.content.$t;
  911. }
  912.  
  913. var parse = function(data) {
  914. cursor = null;
  915. var comments = [];
  916. if (data && data.feed && data.feed.entry) {
  917. for (var i = 0, entry; entry = data.feed.entry[i]; i++) {
  918. var comment = {};
  919. // comment ID, parsed out of the original id format
  920. var id = /blog-(\d+).post-(\d+)/.exec(entry.id.$t);
  921. comment.id = id ? id[2] : null;
  922. comment.body = bodyFromEntry(entry);
  923. comment.timestamp = Date.parse(entry.published.$t) + '';
  924. if (entry.author && entry.author.constructor === Array) {
  925. var auth = entry.author[0];
  926. if (auth) {
  927. comment.author = {
  928. name: (auth.name ? auth.name.$t : undefined),
  929. profileUrl: (auth.uri ? auth.uri.$t : undefined),
  930. avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
  931. };
  932. }
  933. }
  934. if (entry.link) {
  935. if (entry.link[2]) {
  936. comment.link = comment.permalink = entry.link[2].href;
  937. }
  938. if (entry.link[3]) {
  939. var pid = /.*comments\/default\/(\d+)\?.*/.exec(entry.link[3].href);
  940. if (pid && pid[1]) {
  941. comment.parentId = pid[1];
  942. }
  943. }
  944. }
  945. comment.deleteclass = 'item-control blog-admin';
  946. if (entry.gd$extendedProperty) {
  947. for (var k in entry.gd$extendedProperty) {
  948. if (entry.gd$extendedProperty[k].name == 'blogger.itemClass') {
  949. comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
  950. } else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime') {
  951. comment.displayTime = entry.gd$extendedProperty[k].value;
  952. }
  953. }
  954. }
  955. comments.push(comment);
  956. }
  957. }
  958. return comments;
  959. };
  960.  
  961. var paginator = function(callback) {
  962. if (hasMore()) {
  963. var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
  964. if (cursor) {
  965. url += '&published-min=' + new Date(cursor).toISOString();
  966. }
  967. window.bloggercomments = function(data) {
  968. var parsed = parse(data);
  969. cursor = parsed.length < 50 ? null
  970. : parseInt(parsed[parsed.length - 1].timestamp) + 1
  971. callback(parsed);
  972. window.bloggercomments = null;
  973. }
  974. url += '&callback=bloggercomments';
  975. var script = document.createElement('script');
  976. script.type = 'text/javascript';
  977. script.src = url;
  978. document.getElementsByTagName('head')[0].appendChild(script);
  979. }
  980. };
  981. var hasMore = function() {
  982. return !!cursor;
  983. };
  984. var getMeta = function(key, comment) {
  985. if ('iswriter' == key) {
  986. var matches = !!comment.author
  987. && comment.author.name == config.authorName
  988. && comment.author.profileUrl == config.authorUrl;
  989. return matches ? 'true' : '';
  990. } else if ('deletelink' == key) {
  991. return config.baseUri + '/delete-comment.g?blogID='
  992. + config.blogId + '&postID=' + comment.id;
  993. } else if ('deleteclass' == key) {
  994. return comment.deleteclass;
  995. }
  996. return '';
  997. };
  998.  
  999. var replybox = null;
  1000. var replyUrlParts = null;
  1001. var replyParent = undefined;
  1002.  
  1003. var onReply = function(commentId, domId) {
  1004. if (replybox == null) {
  1005. // lazily cache replybox, and adjust to suit this style:
  1006. replybox = document.getElementById('comment-editor');
  1007. if (replybox != null) {
  1008. replybox.height = '250px';
  1009. replybox.style.display = 'block';
  1010. replyUrlParts = replybox.src.split('#');
  1011. }
  1012. }
  1013. if (replybox && (commentId !== replyParent)) {
  1014. document.getElementById(domId).insertBefore(replybox, null);
  1015. replybox.src = replyUrlParts[0]
  1016. + (commentId ? '&parentID=' + commentId : '')
  1017. + '#' + replyUrlParts[1];
  1018. replyParent = commentId;
  1019. }
  1020. };
  1021.  
  1022. var hash = (window.location.hash || '#').substring(1);
  1023. var startThread, targetComment;
  1024. if (/^comment-form_/.test(hash)) {
  1025. startThread = hash.substring('comment-form_'.length);
  1026. } else if (/^c[0-9]+$/.test(hash)) {
  1027. targetComment = hash.substring(1);
  1028. }
  1029.  
  1030. // Configure commenting API:
  1031. var configJso = {
  1032. 'maxDepth': config.maxThreadDepth
  1033. };
  1034. var provider = {
  1035. 'id': config.postId,
  1036. 'data': items,
  1037. 'loadNext': paginator,
  1038. 'hasMore': hasMore,
  1039. 'getMeta': getMeta,
  1040. 'onReply': onReply,
  1041. 'rendered': true,
  1042. 'initComment': targetComment,
  1043. 'initReplyThread': startThread,
  1044. 'config': configJso,
  1045. 'messages': msgs
  1046. };
  1047.  
  1048. var render = function() {
  1049. if (window.goog && window.goog.comments) {
  1050. var holder = document.getElementById('comment-holder');
  1051. window.goog.comments.render(holder, provider);
  1052. }
  1053. };
  1054.  
  1055. // render now, or queue to render when library loads:
  1056. if (window.goog && window.goog.comments) {
  1057. render();
  1058. } else {
  1059. window.goog = window.goog || {};
  1060. window.goog.comments = window.goog.comments || {};
  1061. window.goog.comments.loadQueue = window.goog.comments.loadQueue || [];
  1062. window.goog.comments.loadQueue.push(render);
  1063. }
  1064. })();
  1065. // ]]>
  1066. </script>
  1067. </b:includable>
  1068. <b:includable id='threaded_comments' var='post'>
  1069. <div class='comments' id='comments'>
  1070. <a name='comments'/>
  1071. <h4><data:post.commentLabelFull/>:</h4>
  1072.  
  1073. <div class='comments-content'>
  1074. <b:if cond='data:post.embedCommentForm'>
  1075. <b:include data='post' name='threaded_comment_js'/>
  1076. </b:if>
  1077. <div id='comment-holder'>
  1078. <data:post.commentHtml/>
  1079. </div>
  1080. </div>
  1081.  
  1082. <p class='comment-footer'>
  1083. <b:if cond='data:post.allowNewComments'>
  1084. <b:include data='post' name='threaded-comment-form'/>
  1085. <b:else/>
  1086. <data:post.noNewCommentsText/>
  1087. </b:if>
  1088. </p>
  1089.  
  1090. <b:if cond='data:showCmtPopup'>
  1091. <div id='comment-popup'>
  1092. <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
  1093. </iframe>
  1094. </div>
  1095. </b:if>
  1096.  
  1097. <div id='backlinks-container'>
  1098. <div expr:id='data:widget.instanceId + &quot;_backlinks-container&quot;'>
  1099. <b:if cond='data:post.showBacklinks'>
  1100. <b:include data='post' name='backlinks'/>
  1101. </b:if>
  1102. </div>
  1103. </div>
  1104. </div>
  1105. </b:includable>
  1106. </b:widget>
  1107. </b:section>
  1108.  
  1109. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment