Страница материала и комментариев к нему

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<html>
<head>
<meta charset="utf-8">
<title>$TITLE_BAR$ - $SITE_NAME$</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<script type="text/javascript">
var browser = navigator.userAgent;
var browserRegex = /(Android|BlackBerry|IEMobile|Nokia|iP(ad|hone|od)|Opera M(obi|ini))/;
var isMobile = false;
if(browser.match(browserRegex)) {
isMobile = true;
addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){
window.scrollTo(0,1);
}
}
</script>
<link rel="stylesheet" href="/css/1041.css" type="text/css" media="all" />
<link rel="stylesheet" href="/css/animation.css" type="text/css" media="all" />
<link rel="stylesheet" href="/css/fontello.css" type="text/css" media="all" />
<link rel="stylesheet" href="/css/fontello-codes.css" type="text/css" media="all" />
<link rel="stylesheet" href="/css/fontello-embedded.css" type="text/css" media="all" />
<link rel="stylesheet" href="/css/webfonts.css" type="text/css" media="all" />
</head>
<body class="page-body">
$ADMIN_BAR$
<div id="page-bg">
<div class="wrapper">
$GLOBAL_AHEADER$
<div id="casing"<?if($MODULE_ID$='forum')?> class="mod-forum"<?endif?>>
<div id="cas-box">
<div id="left-part">
<div id="site-logo"><span class="site-l"><span class="site-n"><a href="$HOME_PAGE_LINK$">$SITE_NAME$</a></span></span></div>
<nav>
<div id="nav-box">
<div id="catmenu">
<!-- <sblock_nmenu> -->
<?if($NMENU_1$)?><!-- <bc> -->$NMENU_1$<!-- </bc> --><?endif?>
<!-- </sblock_nmenu> -->
<div class="clr"></div>
</div>
</div>
</nav>
<?if($MODULE_ID$='forum')?>
<div id="soc-wrap">
<div class="soc-icons">
<?if($RSS_LINK$)?><a href="$RSS_LINK$" class="soc-rs" target="_blank"></a><?endif?>
<a href="https://www.facebook.com/" class="soc-fc" target="_blank"></a>
<a href="https://twitter.com/" class="soc-tw" target="_blank"></a>
<a href="http://www.flickr.com/" class="soc-fl" target="_blank"></a>
<a href="https://vimeo.com/" class="soc-vi" target="_blank"></a>
</div>
</div>
<div class="forum-box">
<?endif?>
<!-- <middle> -->
<div id="content">
<section>
<!-- <body> --><a href="$HOME_PAGE_LINK$"><!--<s5176>-->Главная<!--</s>--></a> &raquo; $DATE_BAR$ &raquo; $ENTRY_NAME$
<hr />
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="eBlock">
<tr><td width="90%"><div class="eTitle"><div style="float:right;font-size:9px;">$ADD_TIME$ $MODER_PANEL$</div>$ENTRY_NAME$</div></td></tr>
<tr><td class="eMessage">$MESSAGE$
<br/><?if($OTHER1$)?><b>Перевод, корректировка:</b> <b><i>$OTHER1$</i></b> специально для <a href="$HOME_PAGE_LINK$">$SITE_NAME$</a><?endif?><br/>
<?if($OTHER2$ && $OTHER3$)?><b>Источник:</b> <a href="$OTHER2$" target="_blank"><b><i>$OTHER3$</i></b></a><?endif?><br/>
<div style="margin:5px auto; border: 1px dotted #008381; padding:5px; text-align: center; font-weight: bold; color: #008381;">Полное или частичное копирование материалов сайта разрешается только при согласовании с администрацией и указании <ins>активной</ins> ссылки на источник и автора перевода.</div>
<?if($ATTACHMENTS$)?><div style="text-align:left;" class="eAttach"><!--<s3172>-->Прикрепления<!--</s>-->: $ATTACHMENTS$</div><?endif?></td></tr>
<tr><td colspan="2" class="eDetails">
<?if($RATING$)?><div style="float:right"><?$RSTARS$('16','/img/rating.png','1','float')?></div>
<?endif?><?if($CAT_NAME$)?><span class="e-category"><span class="ed-title"><!--<s3179>-->Категория<!--</s>-->:</span> <span class="ed-value"><a href="$CAT_URL$">$CAT_NAME$</a></span></span><span class="ed-sep"> | </span><?endif?>
<span class="e-reads"><span class="ed-title"><!--<s3177>-->Просмотров<!--</s>-->:</span> <span class="ed-value">$READS$</span></span><span class="ed-sep"> | </span>
<span class="e-author"><span class="ed-title"><!--<s3178>-->Добавил<!--</s>-->:</span> <span class="ed-value"><a href="$PROFILE_URL$">$USER$</a></span></span>
<?if($RATING$)?><span class="ed-sep"> | </span><span class="e-rating"><span class="ed-title"><!--<s3119>-->Рейтинг<!--</s>-->:</span> <span class="ed-value"><span id="entRating$ID$">$RATING$</span>/<span id="entRated$ID$">$RATED$</span></span></span><?endif?></td></tr>
</table>
<?if($USER_LOGGED_IN$)?><div class="button_new"><center>
<a title="<center>Репутация пользователя автоматически повысится.<br> Многократное нажатие Спасибо запрещено<br> Правилами портала и строго наказывается!</center>" href="javascript://" onclick="openLayerB('Rd',0,'$HOME_PAGE_LINK$index/23-$UID$','Change Reputation',380,200,1); return false;"><input type="button" class="button_new" onclick="repchange('plus','26668');" value="Спасибо за материал"></a>
<input type="button" class="button_new" onclick="megobytenagr();" value="Награда за материал">
<a class="button_new" href="javascript:urlopen();" style="text-decoration: none;">Ссылки на материал</a>
<a class="button_new" href="javascript:opendubl();" style="text-decoration: none;">Похожие материалы</a>
<a class="button_new" href="javascript:;" onclick="openform();">Жалоба на материал</a>
<a class="button_new" href="$ENTRY_URL$" title="$ENTRY_TITLE$" rel="sidebar" onclick="window.external.AddFavorite(location.href,'$ENTRY_TITLE$'); return false;">Добавить в закладки</a>
</center></div><?endif?>
<hr>
$MYINF_1$
<hr>
<?if($COM_IS_ACTIVE$)?>
<?if($COM_CAN_READ$)?>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="60%" height="25"><!--<s5183>-->Всего комментариев<!--</s>-->: <b>$COM_NUM_ENTRIES$</b></td><td align="right" height="25">$COM_PAGE_SELECTOR$</td></tr>
<tr><td colspan="2">$COM_BODY$</td></tr>
<tr><td colspan="2" align="center">$COM_PAGE_SELECTOR1$</td></tr>
<tr><td colspan="2" height="10"></td></tr>
</table>
<?endif?>
<?if($COM_CAN_ADD$)?>
$COM_ADD_FORM$
<form style="display: none;" method="post" name="preform" action="/forum/" target="commprev">
<input name="message" type="hidden" />
<input type="hidden" name="sm" value="0" />
<input type="hidden" name="a" value="32" />
</form>
<?else?>
<?if($USER_LOGGED_IN$)?><?else?><div align="center" class="commReg"><!--<s5237>-->Добавлять комментарии могут только зарегистрированные пользователи.<!--</s>--><br />[ <a href="$REGISTER_LINK$"><!--<s3089>-->Регистрация<!--</s>--></a> | <a href="$LOGIN_LINK$"><!--<s3087>-->Вход<!--</s>--></a> ]</div><?endif?>
<?endif?>
<?endif?><!-- </body> -->
</section>
</div>
</div>
<div id="right-part">
<div id="soc-wrap">
<div class="soc-icons">
<?if($RSS_LINK$)?><a href="$RSS_LINK$" class="soc-rs" target="_blank"></a><?endif?>
<a href="https://www.facebook.com/" class="soc-fc" target="_blank"></a>
<a href="https://twitter.com/" class="soc-tw" target="_blank"></a>
<a href="http://www.flickr.com/" class="soc-fl" target="_blank"></a>
<a href="https://vimeo.com/" class="soc-vi" target="_blank"></a>
</div>
</div>
<aside>
<div id="sidebar">
$GLOBAL_CLEFTER$
</div>
</aside>
<!-- </middle> -->
<?if($MODULE_ID$='forum')?></div><?endif?>
</div>
<div class="clr"></div>
</div>
</div>
$GLOBAL_BFOOTER$
</div>
</div>
<script type="text/javascript" src="/.s/t/1041/template.min.js"></script>
<div style="display:none">
</body>
</html>
<div style="display:none;">
<script type="text/javascript">
function opendubl(){$("#dubl").show(); $("#dubl").hide();} function chpyrl(){$("#dubl").hide(); $("#dubl").show();} function opendubl(){new _uWnd('dubl','Похожие материалы',400,150,{align:0,shadow:1,autosize:1,maxh:350,minh:100,resize:0},'<div id="normurl"><fieldset><legend>Похожие материалы</legend><?$RELATED_ENTRIES$(10)?></fieldset></div>');}
</script>
<script type="text/javascript">
function openform(){new _uWnd('form','Пожаловаться на материал',700,500,{align:0,shadow:0,close:1,autosize:1,maxw:730,maxh:500,minh:100,resize:1}, $("#form").html() )}
</script>
<div style="display:none;" id="form">$MFORM_1$</div>
<script type="text/javascript">function nrmurl(){$("#rchp, #normurl").show(); $("#nrml, #chpy").hide();} function chpyrl(){$("#rchp, #normurl").hide(); $("#nrml, #chpy").show();} function urlopen(){new _uWnd('link','Ссылки на материал',600,400,{align:0,shadow:1,autosize:1,maxh:600,minh:200,resize:0},'<div id="normurl"><fieldset><legend>HTML-ссылка на материал</legend><textarea readOnly style="width:99%; height:50px; font-size:11px; border:1px solid #E0E0E0;" onfocus="this.select();"><a href="'+window.location+'">$ENTRY_TITLE$</a></textarea></fieldset><br><fieldset><legend>BB-cсылка на материал</legend><textarea readOnly style="width:99%; height:50px; font-size:11px; border:1px solid #E0E0E0;" onfocus="this.select();">[url='+window.location+']$ENTRY_TITLE$[/url]</textarea></fieldset><br><fieldset><legend>Прямая cсылка на материал</legend><textarea readOnly style="width:99%; height:50px; font-size:11px; border:1px solid #E0E0E0;" onfocus="this.select();">'+window.location+'</textarea></fieldset>');};</script>
</div>
<script type="text/javascript">
function repchange(val,id){
repval=val;
ajaxtime=setInterval('checkajax'+id+'()',500);}
</script>
<script type="text/javascript">
function checkajax26668(){
forms=document.getElementsByTagName('form');
for(f=0;f<forms.length;f++){
if(forms[f].id=='frm981'){
if(repval=='plus'){document.getElementById('a2').checked='true';
forms[f].reason.value='Благодарю за «$ENTRY_NAME$»'
document.getElementById('submfrm981').click();
document.getElementById('sbt981').onclick=null;
clearInterval(ajaxtime);}}}}
</script>
<script type="text/javascript"> function megobytenagr() {openLayerB('Rd',0,'$HOME_PAGE_LINK$/index/55-$UID$','Вручить награду',380,200,1); usersearch('megobyte','38');} function usersearch(vaal,id){thisvalue=vaal; openafter=setInterval('lol'+id+'()',500);} function lol38(){forms=document.getElementsByTagName('form'); for(f=0;f<forms.length;f++){if(forms[f].id=='frm735'){if(thisvalue=='megobyte'){$("input[@type='text']").attr('value', 'Лови награду за «$ENTRY_NAME$»'); document.getElementById('submfrm735').click(); document.getElementById('sbm735').onclick=''; clearInterval(openafter);}}}}</script>
</body>
</html>