More Related Content More from Otgoo Lxam (17) Blog code1. <?xml version="1.0"encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTDXHTML 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>
<!-- b:include data='blog'name='all-head-content'/-->
<title>УлаанбаатарИх Сургууль</title>
<b:skin><![CDATA[/*
**************************************************
Template name:CitrusSquare Burst
Version:1.0
Author:Biyan
url:http://www.dzignine.com
**************************************************
Thistemplate,all content,imagesand anythinghere,licenseunderCreativeCommons.orgAttribution-
NonCommercial 3.0Unported.
http://creativecommons.org/licenses/by-nc/3.0/
You mau use it,distributedit,modifiedaslongasit footerorcreditdidnot change or delete.
2. ************************************************** */
/* Variable definitions
--------------------
<Variable name="bgcolor"description="Page BackgroundColor"
type="color"default="#f7f4d5"value="#f7f4d5">
<Variable name="textcolor"description="TextColor"
type="color"default="#3d3d3d"value="#3d3d3d">
<Variable name="linkcolor"description="LinkColor"
type="color"default="#6d3701"value="#6d3701">
<Variable name="sidebartextcolor"description="SidebarTextColor"
type="color"default="#666"value="#666666">
<Variable name="bodyfont"description="TextFont"
type="font"default="normalnormal 13px 'TrebuchetMS', Halvetica,Arial,Sans-serif"
value="normal normal 13px 'TrebuchetMS', Halvetica,Arial,Sans-serif">
<Variable name="postfooterfont"description="PostFooterFont"
type="font"default="normalnormal 78% 'TrebuchetMS', Trebuchet,Arial,Verdana,Sans-serif"
value="normal normal 78%'TrebuchetMS', Trebuchet,Arial,Verdana,Sans-serif">
<Variable name="startSide"description="Sidewhere textstartsinbloglanguage"
type="automatic"default="left"value="left">
<Variable name="endSide"description="Sidewhere textendsinbloglanguage"
type="automatic"default="right"value="right">
*/
/* RESET & GENERAL --------------------------------------- */
body{
3. background:$bgcolorurl(http://2.bp.blogspot.com/_xpQK9GsnDPs/TOr9p9-
ZoiI/AAAAAAAAATQ/tZsyNhynA08/s000/bg.png)repeat-x centertop;
margin:0;
color:$textcolor;}
a:link{color:$linkcolor;text-decoration:none;}
a:visited{color:$linkcolor;text-decoration:none;}
//a:hover{color:$linkcolor;text-decoration:underline;}
a:hover{color:#B18904;text-decoration:underline;}
a img {border-width:0;}
#navbar-iframe,.feed-links{display:none}
h1, h2, h3, h4, h5, h6 {
font-family:Arial,Helvetica,sans-serif;
font-weight:normal;
clear:both;}
h1 {font-size:30px;}
h2 {font-size:25px;}
h3 {font-size:22px;}
h4 {font-size:12px;}
h5 {font-size:10px;}
h6 {font-size:8px;}
hr {background-color:$textcolor;border:0;height:1px;margin-bottom:2px;clear:both;}
span.amp{
font-family:Baskerville,Baskerville BT,'GoudyOldStyle','Palatino','BookAntiqua',serif;
font-style:italic;
font-size:110%;}
#outer-wrapper{
7. line-height:normal;}
#menuli {float:left;}
#menua {
background:#a65302;
display:block;
margin:22px 10px 0 0;
padding:6px 10px;
text-align:center;
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
color:#ffffd6;
-moz-border-radius:5px;
-webkit-border-radius:5px;
text-shadow:1px 1px 2px #222;}
#menua:hover,#menu.current_page_itema{background:#6d3701;text-decoration:none;}
#top_search{
width:225px;
margin:20px 0 0 0;
float:right;}
.search-input{
background:url(http://4.bp.blogspot.com/_xpQK9GsnDPs/TOr9s-
tmbEI/AAAAAAAAATo/FWtyfknLCLc/s000/search.png) no-repeatscroll 00;
border:mediumnone;
color:$textcolor;
float:left;
font-family:Arial;
8. font-size:13px;
height:32px;
margin:0;
padding:5px 0 5px 10px;
width:143px;}
.search-submit{
border:0none;
float:right;
height:30px;
padding:6px 10px;
background:#6d3701;
height:20px;
color:#ffffd6;
-moz-border-radius:5px;
-webkit-border-radius:5px;
text-shadow:1px 1px 2px #222;}
/* PrimaryContent------------------------ */
#main-wrapper{
float:right;
width:529px;
text-align:left;
display:inline;}
.main.widget{ margin:10px 0;padding:0;}
.main.Blog{border-bottom-width:0;}
10. font-style:italic;
color:#814001;
border-top:1px solid#d3a248;
border-bottom:1px solid#d3a248;}
.postblockquote {margin:1em20px;}
.postblockquote p{margin:0;padding:0}
.post-footer{
border-top:1px solid #f0e9a2;
margin:20px 0 0;
padding:10px 0 0;
color:$textcolor;
text-transform:uppercase;
font:$postfooterfont;
line-height:1.4em;}
.postimg,table.tr-caption-container{max-width:529px;height:auto;}
.tr-caption-containerimg{border: none;padding:0;}
/* CommentsContent ------------------------ */
.comment-link{margin-$startSide:.6em;}
#commentsh4 {
color:$textcolor;
font-size:18px;
font-weight:bold;
line-height:1.4em;
margin:1em0;}
14. margin:10px 0 30px;
padding:10px;
background:#f6f1ba;
-moz-border-radius:10px;
-webkit-border-radius:10px;}
/* Adminprofile ------------------------ */
.profile-img{ float:$startSide;margin-top:05px 0 0;}
.profile-data{
margin:0;
text-transform:uppercase;
font:$postfooterfont;
color:$textcolor;
font-weight:bold;
line-height:1.6em;
font-size:15px;}
.profile-datablock{ margin:.5em0.5em;}
.profile-textblock{ margin:0.5em0;line-height:1.6em;}
.profile-link{font:$postfooterfont;}
/* Footer------------------------ */
#footer-wrapper{
width:799px;
height:100px;
margin:0 auto;
17. clientWidth,offsetWidthorscrollWidth,sowe don'tforce a minimum
widthif the userisusingshrinkto fit.
Thisresultsina margin-width'sworthof pixelsbeingcropped.If the
useris notusingshrinkto fitthenwe expandthe header.
-->
<divexpr:style='"background-image:url(""+data:sourceUrl + "");
" + "background-position:" + data:backgroundPositionStyleStr
+ ";" + data:widthStyleStr + "min-height:"+data:height
+ "px;" + "_height:"+ data:height+"px;" +
"background-repeat:no-repeat;"'id='header-inner'>
<divclass='titlewrapper'style='background:transparent'>
<h1 class='title'style='background:transparent;border-width:0px'>
<b:include name='УлаанбаатарИх Сургууль'/>
</h1>
</div>
<b:include name='description'/>
</div>
<b:else/>
<!--Showthe image only-->
<divid='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>
<!--Showthe description-->
<b:if cond='data:imagePlacement=="BEFORE_DESCRIPTION"'>
18. <b:include name='description'/>
</b:if>
</div>
</b:if>
<b:else/>
<!--Noheaderimage -->
<div id='header-inner'>
<divclass='titlewrapper'>
<h1 class='title'>
<!-- b:include name='title'/ -->
УлаанбаатарИх Сургууль
</h1>
</div>
<!-- b:include name='description'/-->
КПХ тэнхимийнбагш:Г.Өсөхжаргал
</div>
</b:if>
</b:includable>
<b:includable id='description'>
<divclass='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'>
20. <a href='#main'>skiptomain</a> |
<a href='#sidebar'>skiptosidebar</a>
</span>
<div id='content-wrapper'>
<divid='crosscol-wrapper'style='text-align:center'>
<b:sectionclass='crosscol'id='crosscol'/>
</div>
<divid='main-wrapper'>
<b:sectionclass='main'id='main'showaddelement='no'>
<b:widgetid='Blog1'locked='true'title='BlogPosts'type='Blog'>
<b:includable id='main'var='top'>
<!-- posts-->
<divclass='blog-postshfeed'>
<b:include data='top'name='status-message'/>
<data:defaultAdStart/>
<b:loopvalues='data:posts'var='post'>
<b:if cond='data:post.isDateStart'>
<b:if cond='data:post.isFirstPost=="false"'>
</div></div>
</b:if>
24. <data:backlink.snippet/>
</dd>
<dd class='comment-footercollapseable'>
<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'>
<divclass='comment-form'>
<a name='comment-form'/>
<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%'/>
<data:post.friendConnectJs/>
<data:post.cmtfpIframe/>
26. </a>
</b:if>
</b:includable>
<b:includable id='comment_picker'var='post'>
<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:includable>
<b:includable id='comments'var='post'>
<divclass='comments'id='comments'>
<a name='comments'/>
<b:if cond='data:post.allowComments'>
<h4>
<b:if cond='data:post.numComments==1'>
1 <data:commentLabel/>:
<b:else/>
<data:post.numComments/><data:commentLabelPlural/>:
</b:if>
</h4>
27. <b:if cond='data:post.commentPagingRequired'>
<spanclass='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>
<divexpr:class='data:post.postAuthorClass'expr:id='data:widget.instanceId+"_comments-
block-wrapper"'>
<dl expr:class='data:post.avatarIndentClass'id='comments-block'>
<b:loopvalues='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>
28. <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>at:
<span class='comment-timestamp'>
<a expr:href='data:comment.url'title='commentpermalink'>
<data:comment.timestamp/>
</a>
<data:commentPostedByMsg/>
<b:include data='comment'name='commentDeleteIcon'/>
</span>
</dt>
<dd class='comment-body'>
<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'>
30. <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>
<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>
31. <b:includable id='feedLinks'>
<b:if cond='data:blog.pageType !="item"'><!-- Blogfeedlinks -->
<b:if cond='data:feedLinks'>
<divclass='blog-feeds'>
<b:include data='feedLinks'name='feedLinksBody'/>
</div>
</b:if>
<b:else/><!--Postfeedlinks -->
<div class='post-feeds'>
<b:loopvalues='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'>
<divclass='feed-links'>
</div>
</b:includable>
<b:includable id='iframe_comments'var='post'>
32. <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'>
<divclass='mobile-date-outerdate-outer'>
<b:if cond='data:post.dateHeader'>
<divclass='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>
35. <b:includable id='mobile-nextprev'>
<divclass='blog-pager'id='blog-pager'>
<b:if cond='data:newerPageUrl'>
<divclass='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'>
<divclass='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>
<divclass='clear'/>
36. </b:includable>
<b:includable id='mobile-post'var='post'>
<divclass='date-outer'>
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'><span><data:post.dateHeader/></span></h2>
</b:if>
<div class='date-posts'>
<divclass='post-outer'>
<divclass='posthentryuncustomized-post-template'itemscope='itemscope'
itemtype='http://schema.org/BlogPosting'>
<b:if cond='data:post.thumbnailUrl'>
<metaexpr: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>
38. <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='authorprofile'>
<spanitemprop='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'><abbrclass='published'expr:title='data:post.timestampISO8601'
itemprop='datePublished'><data:post.timestamp/></abbr></a>
</b:if>
</b:if>
</span>
39. <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>
<divclass='post-footer-linepost-footer-line-2'>
<b:if cond='data:top.showMobileShare'>
<divclass='mobile-link-buttongoog-inline-block'id='mobile-share-button'>
<a href='javascript:void(0);'><data:shareMsg/></a>
</div>
</b:if>
<b:if cond='data:top.showDummy'>
<divclass='goog-inline-blockdummy-container'><data:post.dummyTag/></div>
</b:if>
</div>
</div>
</div>
40. <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'>
<divclass='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>
42. <div class='post-header-line-1'>
<span class='date-post'><data:post.dateHeader/></span>
</div>
</div>
<div class='post-bodyentry-content'>
<data:post.body/>
<divstyle='clear:both;'/><!-- clearfor photosfloats -->
</div>
<b:if cond='data:post.hasJumpLink'>
<divclass='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-authorvcard'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/>
<span class='fn'><data:post.author/></span>
</b:if>
</span>
<span class='post-comment-link'><b:if cond='data:blog.pageType !="item"'>
43. <b:if cond='data:blog.pageType!="static_page"'>
<b:if cond='data:post.allowComments'>
<a class='comment-link'expr:href='data:post.addCommentUrl'
expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments==1'>1
<data:top.commentLabel/><b:else/><data:post.numComments/>
<data:top.commentLabelPlural/></b:if></a>
</b:if>
</b:if>
</b:if>
</span>
<span class='post-labels'>
<b:if cond='data:post.labels'>
<data:postLabelsLabel/>
<b:loopvalues='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>
<span class='post-icons'>
<!-- email postlinks -->
<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>
44. </span>
</b:if>
<!-- quickeditpencil -->
<b:include data='post'name='postQuickEdit'/>
</span> <divclass='post-share-buttons'>
<b:include data='post'name='shareButtons'/>
</div></div>
<divclass='post-footer-linepost-footer-line-2'>
</div>
<divclass='post-footer-linepost-footer-line-3'><spanclass='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'>
45. <span expr:class='"item-control "+data:post.adminClass'>
<a expr:href='data:post.editUrl'expr:title='data:top.editPostMsg'>
<imgalt='' 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:post.sharePostUrl'>
<a class='share-buttonsb-email'expr:href='data:post.sharePostUrl +
"&target=email"'expr:title='data:top.emailThisMsg'target='_blank'>
<spanclass='share-button-link-text'><data:top.emailThisMsg/></span></a>
<a class='share-buttonsb-blog'expr:href='data:post.sharePostUrl +"&target=blog"'
expr:onclick='"window.open(this.href, "_blank",
"height=270,width=475");returnfalse;"'expr:title='data:top.blogThisMsg'
target='_blank'>
<spanclass='share-button-link-text'><data:top.blogThisMsg/></span></a>
<a class='share-buttonsb-twitter'expr:href='data:post.sharePostUrl +
"&target=twitter"'expr:title='data:top.shareToTwitterMsg'target='_blank'>
<spanclass='share-button-link-text'><data:top.shareToTwitterMsg/></span></a>
<a class='share-buttonsb-facebook'expr:href='data:post.sharePostUrl +
"&target=facebook"'expr:onclick='"window.open(this.href,
"_blank", "height=430,width=640");returnfalse;"'
expr:title='data:top.shareToFacebookMsg'target='_blank'>
<spanclass='share-button-link-text'><data:top.shareToFacebookMsg/></span></a>
<a class='share-buttonsb-buzz'expr:href='data:post.sharePostUrl +"&target=buzz"'
expr:onclick='"window.open(this.href, "_blank",
"height=415,width=690");returnfalse;"'expr:title='data:top.shareToBuzzMsg'
target='_blank'>
47. <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'>
<scriptasync='async' expr:src='data:post.commentSrc'type='text/javascript'/>
<scripttype='text/javascript'>
(function() {
var items= <data:post.commentJso/>;
var msgs= <data:post.commentMsgs/>;
var config= <data:post.commentConfig/>;
48. // <![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 (vark in entry.gd$extendedProperty){
if (entry.gd$extendedProperty[k].name =='blogger.contentRemoved') {
return '<span class="deleted-comment">'+ entry.content.$t+ '</span>';
}
}
}
returnentry.content.$t;
}
var parse = function(data) {
cursor= null;
var comments= [];
if (data&& data.feed&&data.feed.entry) {
for (vari = 0, entry;entry= data.feed.entry[i];i++) {
var comment= {};
//commentID, parsedoutof the original idformat
var id= /blog-(d+).post-(d+)/.exec(entry.id.$t);
49. 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';
50. if (entry.gd$extendedProperty) {
for (var k inentry.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);
}
}
returncomments;
};
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='+ newDate(cursor).toISOString();
}
window.bloggercomments=function(data) {
var parsed= parse(data);
cursor = parsed.length<50 ? null
: parseInt(parsed[parsed.length - 1].timestamp) +1
51. 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;
returnmatches? 'true' : '';
} else if ('deletelink'== key) {
returnconfig.baseUri +'/delete-comment.g?blogID='
+ config.blogId+'&postID=' + comment.id;
} else if ('deleteclass'== key) {
returncomment.deleteclass;
}
52. return'';
};
var replybox =null;
var replyUrlParts=null;
var replyParent=undefined;
var onReply=function(commentId,domId) {
if (replybox==null) {
// lazilycache replybox,andadjusttosuitthisstyle:
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;
}
};
53. 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 commentingAPI:
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
54. };
var render= function() {
if (window.goog&&window.goog.comments){
var holder= document.getElementById('comment-holder');
window.goog.comments.render(holder,provider);
}
};
// rendernow,orqueue torenderwhenlibraryloads:
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'>
<divclass='comments'id='comments'>
<a name='comments'/>
56. <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:section>
</div>
<divid='sidebar-wrapper'>
<b:sectionclass='sidebar'id='sidebar'preferred='yes'>
<b:widgetid='TextList1'locked='false'title='Зарлал,Мэдээлэл'type='TextList'>
<b:includable id='main'>
<h2><data:title/></h2>
<div class='widget-content'>
<ul>
<b:loopvalues='data:items'var='item'>
<li><data:item/></li>
</b:loop>
</ul>
60. <dd class='profile-data'><data:location/></dd>
</b:if>
<b:if cond='data:aboutme !=""'><ddclass='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:widgetid='Stats1'locked='false'title='Статистик'type='Stats'>
<b:includable id='main'>
<b:if cond='data:title'><h2><data:title/></h2></b:if>
<divclass='widget-content'>
<!-- Contentisgoingtobe visible whendatawill be fetchedfromserver. -->
<div expr:id='data:widget.instanceId+"_content"'style='display:none;'>
<!-- Counterand image will be injectedlatervia AJAXcall. -->
<b:if cond='data:showSparkline'>
<imgalt='Sparkline'expr:id='data:widget.instanceId+"_sparkline"'height='30'
width='75'/>
</b:if>
<b:if cond='data:showGraphicalCounter'>
<spanclass='counter-wrappergraph-counter-wrapper'expr:id='data:widget.instanceId+
"_totalCount"'/>
63. </b:section>
</div>
<!-- spacer forskinsthat wantsidebarandmainto be the same height-->
<divclass='clear'> </div>
</div> <!-- endcontent-wrapper-->
</div></div><!-- endouter-wrapper-->
<div id='footer-wrapper'>
<divclass='footer'>
<p>© 2010 <data:blog.title/>.<ahref='http://www.dzignine.com'title='bloggertemplate'>Blogger
Template</a>by<a href='http://www.dzignine.com'title='blogger
template'>Dzignine</a><br/>OriginalPSDdesign by<ahref='http://www.bevelandemboss.net'>Bevel
<span class='amp'>&</span>Emboss</a></p>
</div>
</div>
</body>
</html>