удаляем шаблон Хабра :(
|
@ -1,77 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
|
||||
{if $sEvent=='add'}
|
||||
<h1>{$aLang.blog_create}</h1>
|
||||
{else}
|
||||
<h1>{$aLang.blog_admin}: <a href="{$DIR_WEB_ROOT}/blog/{$oBlogEdit->getUrl()}/" class="blog_headline_group">{$oBlogEdit->getTitle()}</a></h1>
|
||||
{include file='menu.blog_edit.tpl'}
|
||||
{/if}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
<div class="backoffice">
|
||||
|
||||
|
||||
<form action="" method="POST" id="thisform" enctype="multipart/form-data">
|
||||
|
||||
<label for="blog_title">{$aLang.blog_create_title}:</label>
|
||||
<input type="text" id="blog_title" name="blog_title" value="{$_aRequest.blog_title}" style="width: 100%;" /><br />
|
||||
<span class="form_note">{$aLang.blog_create_title_notice}</span><br />
|
||||
<span class="form_note_red"></span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="blog_url">{$aLang.blog_create_url}:</label>
|
||||
<input type="text" id="blog_url" name="blog_url" value="{$_aRequest.blog_url}" style="width: 100%;" {if $_aRequest.blog_id}disabled{/if} /><br />
|
||||
<span class="form_note">{$aLang.blog_create_url_notice}</span><br />
|
||||
<span class="form_note_red"></span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="blog_type">{$aLang.blog_create_type}:</label>
|
||||
<select name="blog_type" id="blog_type" style="width: 100%;" onChange="">
|
||||
<option value="open">{$aLang.blog_create_type_open}</option>
|
||||
</select><br />
|
||||
<span class="form_note">{$aLang.blog_create_type_notice}</span><br />
|
||||
<span class="form_note_red"></span>
|
||||
</p>
|
||||
|
||||
|
||||
<label for="blog_description">{$aLang.blog_create_description}:</label>
|
||||
<textarea style="width: 100%;" name="blog_description" id="blog_description" rows="10">{$_aRequest.blog_description}</textarea><br>
|
||||
<span class="form_note">{$aLang.blog_create_description_notice}</span>
|
||||
<br />
|
||||
|
||||
|
||||
<p>
|
||||
<label for="blog_limit_rating_topic">{$aLang.blog_create_rating}:</label>
|
||||
<input type="text" id="blog_limit_rating_topic" name="blog_limit_rating_topic" value="{$_aRequest.blog_limit_rating_topic}" style="width: 100%;" /><br />
|
||||
<span class="form_note">{$aLang.blog_create_rating_notice}</span>
|
||||
</p>
|
||||
|
||||
{if $oBlogEdit and $oBlogEdit->getAvatar()}
|
||||
<img src="{$oBlogEdit->getAvatarPath(48)}" border="0">
|
||||
<img src="{$oBlogEdit->getAvatarPath(24)}" border="0">
|
||||
<input type="checkbox" id="avatar_delete" name="avatar_delete" value="on"> — <label for="avatar_delete"><span class="form">{$aLang.blog_create_avatar_delete}</span></label><br /><br>
|
||||
{/if}
|
||||
<span class="form">{$aLang.blog_create_avatar}:</span><br /> <input type="file" name="avatar" ><br>
|
||||
|
||||
<p class="l-bot">
|
||||
<input type="submit" name="submit_blog_add" value="{$aLang.blog_create_submit}">
|
||||
</p>
|
||||
|
||||
<div class="form_note">{$aLang.blog_create_submit_notice}</div>
|
||||
|
||||
|
||||
<input type="hidden" name="blog_id" value="{$_aRequest.blog_id}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
|
||||
{if $sEvent=='add'}
|
||||
<h1>{$aLang.blog_create}</h1>
|
||||
{else}
|
||||
<h1>{$aLang.blog_admin}: <a href="{$DIR_WEB_ROOT}/blog/{$oBlogEdit->getUrl()}/" class="blog_headline_group">{$oBlogEdit->getTitle()}</a></h1>
|
||||
{include file='menu.blog_edit.tpl'}
|
||||
{/if}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
<div class="backoffice">
|
||||
|
||||
{if $aBlogUsers}
|
||||
|
||||
<form action="" method="POST" id="thisform" enctype="multipart/form-data">
|
||||
|
||||
<table width="100%" bgcolor="White" border="0" cellspacing="0" cellpadding="0" class="inbox">
|
||||
<tr>
|
||||
<td width="200px"></td>
|
||||
<td align="center">{$aLang.blog_admin_users_administrator}</td>
|
||||
<td align="center">{$aLang.blog_admin_users_moderator}</td>
|
||||
<td align="center">{$aLang.blog_admin_users_reader}</td>
|
||||
</tr>
|
||||
{foreach from=$aBlogUsers item=oBlogUser}
|
||||
<tr>
|
||||
<td><a href="{$DIR_WEB_ROOT}/profile/{$oBlogUser->getUserLogin()}/">{$oBlogUser->getUserLogin()}</a></td>
|
||||
{if $oBlogUser->getUserId()==$oUserCurrent->getId()}
|
||||
<td colspan="3" align="center">{$aLang.blog_admin_users_current_administrator}</td>
|
||||
{else}
|
||||
<td align="center">
|
||||
<input type="radio" name="user_rank[{$oBlogUser->getUserId()}]" value="administrator" {if $oBlogUser->getIsAdministrator()}checked{/if}>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="radio" name="user_rank[{$oBlogUser->getUserId()}]" value="moderator" {if $oBlogUser->getIsModerator()}checked{/if}>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="radio" name="user_rank[{$oBlogUser->getUserId()}]" value="reader" {if !$oBlogUser->getIsAdministrator() and !$oBlogUser->getIsModerator()}checked{/if}>
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table><br>
|
||||
|
||||
|
||||
|
||||
<p class="l-bot">
|
||||
<input type="submit" name="submit_blog_admin" value="{$aLang.blog_admin_users_submit}">
|
||||
</p>
|
||||
|
||||
<div class="form_note">{$aLang.blog_admin_users_submit_notice}</div>
|
||||
{else}
|
||||
{$aLang.blog_admin_users_empty}
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="blog_id" value="{$_aRequest.blog_id}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
|
||||
|
||||
<div class="blog_profile">
|
||||
<div id="karmadiv">
|
||||
<div class="userinfo_karma_section_3">
|
||||
<p style="margin-top: 0px;" align="center">
|
||||
<span class="userinfo_karma">
|
||||
<nobr>
|
||||
|
||||
|
||||
|
||||
<span id="blog_vote_self_{$oBlog->getId()}" style="display: none;" >
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_up_gray.gif" width="16" height="16" alt="нравится" title="нельзя голосовать за свой блог" />
|
||||
<span id="blog_rating_self_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_down_gray.gif" width="16" height="16" alt="не нравится" title="нельзя голосовать за свой блог" />
|
||||
</span>
|
||||
<span id="blog_vote_anonim_{$oBlog->getId()}" style="display: none;" >
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_up_gray.gif" width="16" height="16" alt="нравится" title="для голосования необходимо авторизоваться" />
|
||||
<span id="blog_rating_anonim_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_down_gray.gif" width="16" height="16" alt="не нравится" title="для голосования необходимо авторизоваться" />
|
||||
</span>
|
||||
<span id="blog_vote_is_vote_down_{$oBlog->getId()}" style="display: none;" >
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_up_gray.gif" width="16" height="16" alt="нравится" title="вы уже голосовали за этот блог" />
|
||||
<span id="blog_rating_is_vote_down_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_down.gif" width="16" height="16" alt="не нравится" title="вы уже голосовали за этот блог" />
|
||||
</span>
|
||||
<span id="blog_vote_is_vote_up_{$oBlog->getId()}" style="display: none;" >
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_up.gif" width="16" height="16" alt="нравится" title="вы уже голосовали за этот блог" />
|
||||
<span id="blog_rating_is_vote_up_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_down_gray.gif" width="16" height="16" alt="не нравится" title="вы уже голосовали за этот блог" />
|
||||
</span>
|
||||
<span id="blog_vote_ok_{$oBlog->getId()}" style="display: none;" >
|
||||
<a href="#" onclick="ajaxVoteBlog({$oBlog->getId()},1); return false;"><img src="{$DIR_STATIC_SKIN}/img/vote_up.gif" width="16" height="16" alt="нравится" title="нравится" /></a>
|
||||
<span id="blog_rating_ok_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<a href="#" onclick="ajaxVoteBlog({$oBlog->getId()},-1); return false;"><img src="{$DIR_STATIC_SKIN}/img/vote_down.gif" width="16" height="16" alt="не нравится" title="не нравится" /></a>
|
||||
</span>
|
||||
|
||||
{if $oUserCurrent}
|
||||
{if $oBlog->getOwnerId()==$oUserCurrent->getId()}
|
||||
<script>showBlogVote('blog_vote_self',{$oBlog->getId()});</script>
|
||||
{else}
|
||||
{if $oBlog->getUserIsVote()}
|
||||
{if $oBlog->getUserVoteDelta()>0}
|
||||
<script>showBlogVote('blog_vote_is_vote_up',{$oBlog->getId()});</script>
|
||||
{else}
|
||||
<script>showBlogVote('blog_vote_is_vote_down',{$oBlog->getId()});</script>
|
||||
{/if}
|
||||
{else}
|
||||
<script>showBlogVote('blog_vote_ok',{$oBlog->getId()});</script>
|
||||
{/if}
|
||||
{/if}
|
||||
{else}
|
||||
<script>showBlogVote('blog_vote_anonim',{$oBlog->getId()});</script>
|
||||
{/if}
|
||||
|
||||
|
||||
</nobr>
|
||||
</span>
|
||||
</p>
|
||||
<p style="margin-top: 7px;" align="center">
|
||||
<span class="userinfo_karma_text">проголосовало<br><span id="blog_count_vote_{$oBlog->getId()}">{$oBlog->getCountVote()}</span> пользователей<br /></span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="blog_page">
|
||||
<img class="blog_avatar" src="{$oBlog->getAvatarPath(48)}" width="48" height="48" alt="" title="{$oBlog->getTitle()|escape:'html'}" border="0">
|
||||
<a href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/profile/">{$oBlog->getTitle()|escape:'html'}</a>
|
||||
(<a id="groupuserscnt" href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/profile/"><span id="blog_user_count_{$oBlog->getId()}">{$oBlog->getCountUser()}</span></a>)
|
||||
{if $oUserCurrent and $oUserCurrent->getId()!=$oBlog->getOwnerId()}
|
||||
<span id="blog_action_join_{$oBlog->getId()}" {if !$bNeedJoin}style="display: none;"{/if}>
|
||||
<a href="#" onclick="ajaxJoinLeaveBlog({$oBlog->getId()},'join'); return false;" title="вступить в блог"><img src="{$DIR_STATIC_SKIN}/img/blog_join.gif" border="0" alt="вступить"></a>
|
||||
</span>
|
||||
<span id="blog_action_leave_{$oBlog->getId()}" {if $bNeedJoin}style="display: none;"{/if}>
|
||||
<a href="#" onclick="ajaxJoinLeaveBlog({$oBlog->getId()},'leave'); return false;" title="покинуть блог"><img src="{$DIR_STATIC_SKIN}/img/blog_leave.gif" border="0" alt="покинуть"></a>
|
||||
</span>
|
||||
{/if}
|
||||
<a href="{$DIR_WEB_ROOT}/rss/blog/{$oBlog->getUrl()}/" title="RSS лента"><IMG height=12 src="{$DIR_STATIC_SKIN}/img/rss_small.gif" width=12></a>
|
||||
{if $oUserCurrent and ($oUserCurrent->getId()==$oBlog->getOwnerId() or $oUserCurrent->isAdministrator() or ($oBlogUser and $oBlogUser->getIsAdministrator()) )}
|
||||
<a href="{$DIR_WEB_ROOT}/blog/edit/{$oBlog->getId()}/" title="отредактировать блог"><img src="{$DIR_STATIC_SKIN}/img/blog_edit.gif" border="0" title="отредактировать блог"></a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="about_company">{$oBlog->getDescription()|nl2br}</p>
|
||||
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,199 +0,0 @@
|
|||
<div id="form_comment" style="display: none;">
|
||||
<div class="comment_text" id="text_preview"></div>
|
||||
<div style="clear: both;"></div><br>
|
||||
<div class="panel_topic_form" style="background: #eaecea; ">
|
||||
<a href="#" onclick="voidPutTag2('form_comment_text','b'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/bold_ru.gif" width="20" height="20" title="жирный"></a>
|
||||
<a href="#" onclick="voidPutTag2('form_comment_text','i'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/italic_ru.gif" width="20" height="20" title="курсив"></a>
|
||||
<a href="#" onclick="voidPutTag2('form_comment_text','u'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/underline_ru.gif" width="20" height="20" title="подчеркнуть"></a>
|
||||
<a href="#" onclick="voidPutTag2('form_comment_text','s'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/strikethrough.gif" width="20" height="20" title="зачеркнутый"></a>
|
||||
|
||||
<a href="#" onclick="voidPutURL('form_comment_text'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/link.gif" width="20" height="20" title="вставить ссылку"></a>
|
||||
<a href="#" onclick="voidPutTag2('form_comment_text','code'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/code.gif" width="30" height="20" title="код"></a>
|
||||
<a href="#" onclick="showWindow('window_load_img'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/img.gif" width="20" height="20" title="изображение"></a>
|
||||
|
||||
</div>
|
||||
<form action="" method="POST">
|
||||
<textarea class="input_comments_reply" name="comment_text" id="form_comment_text" style="width: 100%; height: 100px;"></textarea>
|
||||
<input type="submit" name="submit_comment" value="добавить"> <input type="submit" name="submit_preview" value="предпросмотр" onclick="ajaxTextPreview('form_comment_text',false); return false;">
|
||||
<input type="hidden" name="reply" value="" id="form_comment_reply">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{include file='window_load_img.tpl' sToLoad='form_comment_text'}
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
var currentShowForm=-1;
|
||||
|
||||
function showCommentForm(reply) {
|
||||
if (document.getElementById('reply_'+currentShowForm)) {
|
||||
var div_form_comment=document.getElementById('reply_'+currentShowForm);
|
||||
div_form_comment.style.display='none';
|
||||
} else {
|
||||
var div_form_comment=document.getElementById('form_comment');
|
||||
}
|
||||
var div_reply=document.getElementById('reply_'+reply);
|
||||
|
||||
var form_comment_reply=document.getElementById('form_comment_reply');
|
||||
|
||||
document.getElementById('text_preview').innerHTML='';
|
||||
|
||||
form_comment_reply.value=reply;
|
||||
var s=div_form_comment.innerHTML;
|
||||
div_form_comment.innerHTML='';
|
||||
div_reply.innerHTML=s;
|
||||
div_reply.style.display='block';
|
||||
currentShowForm=reply;
|
||||
document.getElementById('form_comment_text').focus();
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="commentsdiv">
|
||||
<div class="text_comments">
|
||||
|
||||
{if count($aComments)}
|
||||
|
||||
<div class="head_comments_holder">
|
||||
<a name="comments"><img src="{$DIR_STATIC_SKIN}/img/comment.gif"></a>
|
||||
<span class="news_page_comments_title">комментарии({$oTopic->getCountComment()}):</span>
|
||||
</div>
|
||||
|
||||
{foreach from=$aComments item=oComment}
|
||||
|
||||
<div class=
|
||||
{if $oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
|
||||
"comment_item_del_admin"
|
||||
{elseif $oUserCurrent and $oComment->getUserId()==$oUserCurrent->getId()}
|
||||
"comment_item_self"
|
||||
{elseif $dDateTopicRead<=$oComment->getDate()}
|
||||
"comment_item_new2"
|
||||
{else}
|
||||
"comment_item"
|
||||
{/if}
|
||||
style="margin-left: {$oComment->getLevel()*30}px;">
|
||||
|
||||
<a name="comment{$oComment->getId()}" href="{$DIR_WEB_ROOT}/profile/{$oComment->getUserLogin()}/"><img class="comments_avatar" src="{$oComment->getUserProfileAvatarPath(24)}" width="24" height="24" alt="" title="{$oComment->getUserLogin()}" border="0"></a>
|
||||
<div class="service_text_comments_holder">
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oComment->getUserLogin()}/" class="comments_nickname">{$oComment->getUserLogin()}</a>
|
||||
<span class="comments_date">{date_format date=$oComment->getDate()}</span>
|
||||
<a href="#comment{$oComment->getId()}" class="small" title=" ссылка ">#</a>
|
||||
{if !$oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
|
||||
<span id="comment_delete_{$oComment->getId()}"> <a href="#" title="удалить комментарий" onclick="ajaxCommentDelete({$oComment->getId()}); return false;"><img src="{$DIR_STATIC_SKIN}/img/comment_del.gif" border="0" alt="удалить"></a></span>
|
||||
{/if}
|
||||
{if $oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
|
||||
<span id="comment_repair_{$oComment->getId()}"> <a href="#" title="восстановить комментарий" onclick="ajaxCommentRepair({$oComment->getId()}); return false;"><img src="{$DIR_STATIC_SKIN}/img/comment_repair.gif" border="0" alt="восстановить"></a></span>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="rating_comment_holder" id="voter{$oComment->getId()}">
|
||||
{if !$oComment->getDelete()}
|
||||
<span class="comments_rating_off" style="color: {if $oComment->getRating()<0}#d00000{else}#008000{/if};" id="comment_rating_{$oComment->getId()}">{$oComment->getRating()}</span>
|
||||
|
||||
<span class="voter">
|
||||
<a class="vote_down" href="#" onclick="ajaxVoteComment2({$oComment->getId()},this,-1); return false;"></a>
|
||||
<a class="vote_up" href="#" onclick="ajaxVoteComment2({$oComment->getId()},this,1); return false;"></a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span id="comment_vote_self_{$oComment->getId()}" style="display: none;">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_down_gray.gif" border="0" alt="-" title="нельзя голосовать за свой комментарий">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_up_gray.gif" border="0" alt="+" title="нельзя голосовать за свой комментарий">
|
||||
</span>
|
||||
<span id="comment_vote_is_vote_up_{$oComment->getId()}" style="display: none;">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_down_gray.gif" border="0" alt="-" title="вы уже голосовали за этот комментарий">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_up.gif" border="0" alt="+" title="вы уже голосовали за этот комментарий">
|
||||
</span>
|
||||
<span id="comment_vote_is_vote_down_{$oComment->getId()}" style="display: none;">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_down.gif" border="0" alt="-" title="вы уже голосовали за этот комментарий">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_up_gray.gif" border="0" alt="+" title="вы уже голосовали за этот комментарий">
|
||||
</span>
|
||||
<span id="comment_vote_ok_{$oComment->getId()}" style="display: none;">
|
||||
<a href="#" onclick="ajaxVoteComment({$oComment->getId()},-1); return false;"><img src="{$DIR_STATIC_SKIN}/img/vote_comment_down.gif" border="0" alt="-" title="плохой комментарий"></a>
|
||||
<a href="#" onclick="ajaxVoteComment({$oComment->getId()},1); return false;"><img src="{$DIR_STATIC_SKIN}/img/vote_comment_up.gif" border="0" alt="+" title="хороший комментарий"></a>
|
||||
</span>
|
||||
<span id="comment_vote_anonim_{$oComment->getId()}" style="display: none;">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_down_gray.gif" border="0" alt="-" title="для голосования необходимо авторизоваться">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_up_gray.gif" border="0" alt="+" title="для голосования необходимо авторизоваться">
|
||||
</span>
|
||||
|
||||
{if $oUserCurrent}
|
||||
{if $oComment->getUserId()==$oUserCurrent->getId()}
|
||||
<script>showCommentVote('comment_vote_self',{$oComment->getId()});</script>
|
||||
{else}
|
||||
{if $oComment->getUserIsVote()}
|
||||
{if $oComment->getUserVoteDelta()>0}
|
||||
<script>showCommentVote('comment_vote_is_vote_up',{$oComment->getId()});</script>
|
||||
{else}
|
||||
<script>showCommentVote('comment_vote_is_vote_down',{$oComment->getId()});</script>
|
||||
{/if}
|
||||
{else}
|
||||
<script>showCommentVote('comment_vote_ok',{$oComment->getId()});</script>
|
||||
{/if}
|
||||
{/if}
|
||||
{else}
|
||||
<script>showCommentVote('comment_vote_anonim',{$oComment->getId()});</script>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
<div class="comment_text" id="comment_content_{$oComment->getId()}">
|
||||
|
||||
{if !$oComment->getDelete() or ($oUserCurrent and $oUserCurrent->isAdministrator())}
|
||||
{if $oComment->isBad()}
|
||||
<div style="display: none;" id="comment_text_{$oComment->getId()}">
|
||||
{$oComment->getText()}
|
||||
</div>
|
||||
<a href="#" onclick="$('comment_text_{$oComment->getId()}').style.display='block';$(this).style.display='none';return false;">раскрыть комментарий</a>
|
||||
{else}
|
||||
{$oComment->getText()}
|
||||
{/if}
|
||||
{else}
|
||||
<font color="#c5c5c5">комментарий был удален</font>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
{if $oUserCurrent and !$oComment->getDelete() and !$oTopic->getForbidComment()}
|
||||
<div class="comments_reply">
|
||||
<div class="reply_word_holder">(<a href="javascript:showCommentForm({$oComment->getId()});">ответить</a>)</div>
|
||||
<div style="display: none;" id="reply_{$oComment->getId()}"></div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{if $oTopic->getForbidComment()}
|
||||
<div class="text">
|
||||
<br />
|
||||
Автор топика запретил оставлять комментарии.
|
||||
</div>
|
||||
{else}
|
||||
{if $oUserCurrent}
|
||||
<div class="WriteCommentHolder">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/comment.gif"> <a name="comment" href="javascript:showCommentForm(0);" class="news_page_comments_title">написать комментарий</a>
|
||||
<br />
|
||||
<span class="form_note">
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oUserCurrent->getLogin()}/"><img class="img_border" src="{if $oUserCurrent->getProfileAvatar()}{$oUserCurrent->getProfileAvatarPath(24)}{else}{$DIR_STATIC_SKIN}/img/avatar_24x24.jpg{/if}" width="24" height="24" alt="" title=" это я! " border="0"></a>
|
||||
вы —
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oUserCurrent->getLogin()}/" class="comments_nickname">{$oUserCurrent->getLogin()}</a>
|
||||
</span><br /><br />
|
||||
<div style="display: none;" id="reply_0"></div>
|
||||
</div>
|
||||
{else}
|
||||
<div class="text">
|
||||
<br />
|
||||
Только зарегистрированные и авторизованные пользователи могут оставлять комментарии.
|
||||
<a href="{$DIR_WEB_ROOT}/login/">Авторизуйтесь</a>, пожалуйста, или
|
||||
<a href="{$DIR_WEB_ROOT}/registration/">зарегистрируйтесь</a>, если не зарегистрированы.<br><br>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,135 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<DIV class=blog_profile>
|
||||
|
||||
<div id="karmadiv">
|
||||
<div class="userinfo_karma_section_3">
|
||||
<p style="margin-top: 0px;" align="center">
|
||||
<span class="userinfo_karma">
|
||||
<nobr>
|
||||
|
||||
<span id="blog_vote_self_{$oBlog->getId()}" style="display: none;" >
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_up_gray.gif" width="16" height="16" alt="нравится" title="нельзя голосовать за свой блог" />
|
||||
<span id="blog_rating_self_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_down_gray.gif" width="16" height="16" alt="не нравится" title="нельзя голосовать за свой блог" />
|
||||
</span>
|
||||
<span id="blog_vote_anonim_{$oBlog->getId()}" style="display: none;" >
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_up_gray.gif" width="16" height="16" alt="нравится" title="для голосования необходимо авторизоваться" />
|
||||
<span id="blog_rating_anonim_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_down_gray.gif" width="16" height="16" alt="не нравится" title="для голосования необходимо авторизоваться" />
|
||||
</span>
|
||||
<span id="blog_vote_is_vote_down_{$oBlog->getId()}" style="display: none;" >
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_up_gray.gif" width="16" height="16" alt="нравится" title="вы уже голосовали за этот блог" />
|
||||
<span id="blog_rating_is_vote_down_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_down.gif" width="16" height="16" alt="не нравится" title="вы уже голосовали за этот блог" />
|
||||
</span>
|
||||
<span id="blog_vote_is_vote_up_{$oBlog->getId()}" style="display: none;" >
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_up.gif" width="16" height="16" alt="нравится" title="вы уже голосовали за этот блог" />
|
||||
<span id="blog_rating_is_vote_up_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_down_gray.gif" width="16" height="16" alt="не нравится" title="вы уже голосовали за этот блог" />
|
||||
</span>
|
||||
<span id="blog_vote_ok_{$oBlog->getId()}" style="display: none;" >
|
||||
<a href="#" onclick="ajaxVoteBlog({$oBlog->getId()},1); return false;"><img src="{$DIR_STATIC_SKIN}/img/vote_up.gif" width="16" height="16" alt="нравится" title="нравится" /></a>
|
||||
<span id="blog_rating_ok_{$oBlog->getId()}" style="color: {if $oBlog->getRating()<0}#d00000{else}#008000{/if};">{$oBlog->getRating()}</span>
|
||||
<a href="#" onclick="ajaxVoteBlog({$oBlog->getId()},-1); return false;"><img src="{$DIR_STATIC_SKIN}/img/vote_down.gif" width="16" height="16" alt="не нравится" title="не нравится" /></a>
|
||||
</span>
|
||||
|
||||
{if $oUserCurrent}
|
||||
{if $oBlog->getOwnerId()==$oUserCurrent->getId()}
|
||||
<script>showBlogVote('blog_vote_self',{$oBlog->getId()});</script>
|
||||
{else}
|
||||
{if $oBlog->getUserIsVote()}
|
||||
{if $oBlog->getUserVoteDelta()>0}
|
||||
<script>showBlogVote('blog_vote_is_vote_up',{$oBlog->getId()});</script>
|
||||
{else}
|
||||
<script>showBlogVote('blog_vote_is_vote_down',{$oBlog->getId()});</script>
|
||||
{/if}
|
||||
{else}
|
||||
<script>showBlogVote('blog_vote_ok',{$oBlog->getId()});</script>
|
||||
{/if}
|
||||
{/if}
|
||||
{else}
|
||||
<script>showBlogVote('blog_vote_anonim',{$oBlog->getId()});</script>
|
||||
{/if}
|
||||
|
||||
</nobr>
|
||||
</span>
|
||||
</p>
|
||||
<p style="margin-top: 7px;" align="center">
|
||||
<span class="userinfo_karma_text">проголосовало<br><span id="blog_count_vote_{$oBlog->getId()}">{$oBlog->getCountVote()}</span> пользователей<br /></span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="blog_page">
|
||||
<img class="blog_avatar" src="{$oBlog->getAvatarPath(48)}" width="48" height="48" alt="" title="{$oBlog->getTitle()|escape:'html'}" border="0">
|
||||
<a href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>
|
||||
(<a id="groupuserscnt" href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/profile/" title="подписчиков"><span id="blog_user_count_{$oBlog->getId()}">{$oBlog->getCountUser()}</span></a>)
|
||||
|
||||
{if $oUserCurrent and $oUserCurrent->getId()!=$oBlog->getOwnerId()}
|
||||
<span id="blog_action_join_{$oBlog->getId()}" {if !$bNeedJoin}style="display: none;"{/if}>
|
||||
<a href="#" onclick="ajaxJoinLeaveBlog({$oBlog->getId()},'join'); return false;" title="вступить в блог"><img src="{$DIR_STATIC_SKIN}/img/blog_join.gif" border="0" alt="вступить"></a>
|
||||
</span>
|
||||
<span id="blog_action_leave_{$oBlog->getId()}" {if $bNeedJoin}style="display: none;"{/if}>
|
||||
<a href="#" onclick="ajaxJoinLeaveBlog({$oBlog->getId()},'leave'); return false;" title="покинуть блог"><img src="{$DIR_STATIC_SKIN}/img/blog_leave.gif" border="0" alt="покинуть"></a>
|
||||
</span>
|
||||
{/if}
|
||||
<a href="{$DIR_WEB_ROOT}/rss/blog/{$oBlog->getUrl()}/" title="RSS лента"><IMG height=12 src="{$DIR_STATIC_SKIN}/img/rss_small.gif" width=12></a>
|
||||
{if $oUserCurrent and ($oUserCurrent->getId()==$oBlog->getOwnerId() or $oUserCurrent->isAdministrator() or ($oBlogUser and $oBlogUser->getIsAdministrator()) )}
|
||||
<a href="{$DIR_WEB_ROOT}/blog/edit/{$oBlog->getId()}/" title="отредактировать блог"><img src="{$DIR_STATIC_SKIN}/img/blog_edit.gif" border="0" title="отредактировать блог"></a>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</DIV>
|
||||
|
||||
<p class="about_company">{$oBlog->getDescription()|nl2br}</p>
|
||||
<table class="part_company"><tr><td>
|
||||
<h1>Администраторы</h1>
|
||||
<p class="groups_contacts_list"><a href="{$DIR_WEB_ROOT}/profile/{$oBlog->getUserLogin()}/" class="auth"><img class="img_border" src="{$oBlog->getUserProfileAvatarPath(48)}" width="48" height="48" alt="" title="{$oBlog->getUserLogin()}" border="0"></a><br><a href="{$DIR_WEB_ROOT}/profile/{$oBlog->getUserLogin()}/" class="groups_auth">{$oBlog->getUserLogin()}</a></p>
|
||||
{if $aBlogAdministrators}
|
||||
{foreach from=$aBlogAdministrators item=oBlogAdministrator}
|
||||
<p class="groups_contacts_list"><a href="{$DIR_WEB_ROOT}/profile/{$oBlogAdministrator->getUserLogin()}/" class="auth"><img class="img_border" src="{$oBlogAdministrator->getUserProfileAvatarPath(48)}" width="48" height="48" alt="" title="{$oBlogAdministrator->getUserLogin()}" border="0"></a><br><a href="{$DIR_WEB_ROOT}/profile/{$oBlogAdministrator->getUserLogin()}/" class="groups_auth">{$oBlogAdministrator->getUserLogin()}</a></p>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</td></tr></table>
|
||||
|
||||
<table class="part_company"><tr><td>
|
||||
<h1>Модераторы</h1>
|
||||
{if $aBlogModerators}
|
||||
{foreach from=$aBlogModerators item=oBlogModerator}
|
||||
<p class="groups_contacts_list"><a href="{$DIR_WEB_ROOT}/profile/{$oBlogModerator->getUserLogin()}/" class="auth"><img class="img_border" src="{$oBlogModerator->getUserProfileAvatarPath(48)}" width="48" height="48" alt="" title="{$oBlogModerator->getUserLogin()}" border="0"></a><br><a href="{$DIR_WEB_ROOT}/profile/{$oBlogModerator->getUserLogin()}/" class="groups_auth">{$oBlogModerator->getUserLogin()}</a></p>
|
||||
{/foreach}
|
||||
{else}
|
||||
Модераторов здесь не замеченно
|
||||
{/if}
|
||||
</td></tr></table>
|
||||
|
||||
<div id="userslist">
|
||||
<div class="company_part">
|
||||
<h1>Читатели ({$iCountBlogUsers})</h1>
|
||||
|
||||
<table class="part_company_01"><tr><td>
|
||||
{if $aBlogUsers}
|
||||
{foreach from=$aBlogUsers item=oBlogUser}
|
||||
<p class="groups_contacts_list"><a href="{$DIR_WEB_ROOT}/profile/{$oBlogUser->getUserLogin()}/" class="auth"><img class="img_border" src="{$oBlogUser->getUserProfileAvatarPath(48)}" width="48" height="48" alt="" title="{$oBlogUser->getUserLogin()}" border="0"></a><br><a href="{$DIR_WEB_ROOT}/profile/{$oBlogUser->getUserLogin()}/" class="groups_auth">{$oBlogUser->getUserLogin()}</a></p>
|
||||
{/foreach}
|
||||
{else}
|
||||
Читателей здесь не замеченно
|
||||
{/if}
|
||||
</td></tr></table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
<DIV class=blogposts>
|
||||
|
||||
|
||||
{include file='topic.tpl'}
|
||||
|
||||
<br><br />
|
||||
|
||||
{include file='actions/ActionBlog/comment.tpl'}
|
||||
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
<BR>
|
||||
<div class="habrablock">
|
||||
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="story_text" style="width:100%!important;">
|
||||
<tr>
|
||||
<td width="2%" align="center"></td>
|
||||
<td width="53%" align="left" class="blog_page_tb_header">Блог</td>
|
||||
{if $oUserCurrent}
|
||||
<td width="10%" align="center" class="blog_page_tb_header">Вступить / Покинуть</td>
|
||||
{/if}
|
||||
<td width="10%" align="center" class="blog_page_tb_header">Читатели</td>
|
||||
<td width="15%" align="center" class="blog_page_tb_header">Рейтинг</td>
|
||||
</tr>
|
||||
{foreach from=$aBlogs item=oBlog}
|
||||
<tr valign="top">
|
||||
<td align="center"><img src="{$oBlog->getAvatarPath(24)}" width="24" height="24" alt="" title="{$oBlog->getTitle()|escape:'html'}" border="0"></td>
|
||||
<td align="left"><a href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/" class="blog_headline_pop">{$oBlog->getTitle()|escape:'html'}</a><br>
|
||||
<span class="sf_page_nickname">смотритель:</span>
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oBlog->getUserLogin()}/"><img src="{$DIR_STATIC_SKIN}/img/user.gif" width="11" height="11" border="0" alt="посмотреть профиль" title="посмотреть профиль"></a><a href="{$DIR_WEB_ROOT}/profile/{$oBlog->getUserLogin()}/" class="sf_page_nickname">{$oBlog->getUserLogin()}</a>
|
||||
</td>
|
||||
{if $oUserCurrent}
|
||||
<td nowrap align="center">
|
||||
{if $oUserCurrent->getId()!=$oBlog->getOwnerId()}
|
||||
<span id="blog_action_join_{$oBlog->getId()}" {if $oBlog->getCurrentUserIsJoin()}style="display: none;"{/if}>
|
||||
<a href="#" onclick="ajaxJoinLeaveBlog({$oBlog->getId()},'join'); return false;" title="вступить в блог"><img src="{$DIR_STATIC_SKIN}/img/blog_join.gif" border="0" alt="вступить"></a>
|
||||
</span>
|
||||
<span id="blog_action_leave_{$oBlog->getId()}" {if !$oBlog->getCurrentUserIsJoin()}style="display: none;"{/if}>
|
||||
<a href="#" onclick="ajaxJoinLeaveBlog({$oBlog->getId()},'leave'); return false;" title="покинуть блог"><img src="{$DIR_STATIC_SKIN}/img/blog_leave.gif" border="0" alt="покинуть"></a>
|
||||
</span>
|
||||
{/if}
|
||||
</td>
|
||||
{/if}
|
||||
<td nowrap align="center"><a href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/profile/" class="blog_popular_link" id="blog_user_count_{$oBlog->getId()}">{$oBlog->getCountUser()}</a></td>
|
||||
<td nowrap align="center"><span class="blog_rating"> {$oBlog->getRating()} </span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
{include file='paging.tpl' aPaging=`$aPaging`}
|
||||
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
<BR>
|
||||
<h1>Прямой эфир</h1>
|
||||
|
||||
{include file='comment_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
|
||||
<!--- ФОРМА --->
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">{$aMsgError[0].title}</span><br />
|
||||
|
||||
<p><span class="form">{$aMsgError[0].msg}</span></p>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!--- / ФОРМА --->
|
||||
|
||||
{include file='footer.light.tpl'}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,112 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.action.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
document.addEvent('domready', function() {
|
||||
var inputTags = $('topic_tags');
|
||||
|
||||
new Autocompleter.Request.HTML(inputTags, DIR_WEB_ROOT+'/include/ajax/tagAutocompleter.php', {
|
||||
'indicatorClass': 'autocompleter-loading', // class added to the input during request
|
||||
'minLength': 2, // We need at least 1 character
|
||||
'selectMode': 'pick', // Instant completion
|
||||
'multiple': true // Tag support, by default comma separated
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="backoffice">
|
||||
|
||||
|
||||
<div class="groups_topic_text" id="text_preview"></div>
|
||||
<div style="clear: both;"></div>
|
||||
<form action="" method="POST" id="thisform" enctype="multipart/form-data">
|
||||
|
||||
<label for="blog_id">В какой блог публикуем?</label>
|
||||
<select name="blog_id" id="blog_id" style="width: 100%;" onChange="ajaxBlogInfo(this.value);">
|
||||
<option value="0">мой персональный блог</option>
|
||||
{foreach from=$aBlogsOwner item=oBlog}
|
||||
<option value="{$oBlog->getId()}" {if $_aRequest.blog_id==$oBlog->getId()}selected{/if}>{$oBlog->getTitle()}</option>
|
||||
{/foreach}
|
||||
{foreach from=$aBlogsUser item=oBlogUser}
|
||||
<option value="{$oBlogUser->getBlogId()}" {if $_aRequest.blog_id==$oBlogUser->getBlogId()}selected{/if}>{$oBlogUser->getBlogTitle()}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<script>
|
||||
ajaxBlogInfo(document.getElementById('blog_id').value);
|
||||
</script>
|
||||
<br /><span class="form_note_red"></span></p>
|
||||
|
||||
<p>
|
||||
<label for="topic_title">Заголовок:</label>
|
||||
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" style="width: 100%;" /><br />
|
||||
|
||||
<span class="form_note">Заголовок должен быть наполнен смыслом, чтобы можно было понять, о чем будет топик.</span><br />
|
||||
<span class="form_note_red"></span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="topic_link_url">Ссылка:</label>
|
||||
<input type="text" id="topic_link_url" name="topic_link_url" value="{$_aRequest.topic_link_url}" style="width: 100%;" /><br />
|
||||
|
||||
<span class="form_note">Например, http://livestreet.ru/blog/dev_livestreet/113.html</span><br />
|
||||
<span class="form_note_red"></span>
|
||||
</p>
|
||||
|
||||
<label for="topic_text">Краткое описание (максимум 500 символов, HTML-теги запрещены):</label>
|
||||
|
||||
<textarea style="width: 100%;" name="topic_text" id="topic_text" rows="6">{$_aRequest.topic_text}</textarea><br>
|
||||
|
||||
|
||||
<p>
|
||||
<label for="topic_tags">Метки:</label>
|
||||
<input type="text" id="topic_tags" name="topic_tags" value="{$_aRequest.topic_tags}" style="width: 100%;" /><br />
|
||||
<span class="form_note">Метки нужно разделять запятой. Например: <i>клон хабры</i>, <i>блоги</i>, <i>рейтинг</i>, <i>google</i>, <i>сиськи</i>, <i>кирпич</i>.</span>
|
||||
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input type="checkbox" id="topic_forbid_comment" name="topic_forbid_comment" value="1" {if $_aRequest.topic_forbid_comment==1}checked{/if}/>
|
||||
<label for="topic_forbid_comment"> — запретить комментировать</label>
|
||||
<br />
|
||||
<span class="form_note">Если отметить эту галку, то нельзя будет оставлять комментарии к топику </span>
|
||||
</p>
|
||||
|
||||
{if $oUserCurrent->isAdministrator()}
|
||||
<p>
|
||||
<input type="checkbox" id="topic_publish_index" name="topic_publish_index" value="1" {if $_aRequest.topic_publish_index==1}checked{/if}/>
|
||||
<label for="topic_publish_index"> — принудительно вывести на главную</label>
|
||||
<br />
|
||||
<span class="form_note">Если отметить эту галку, то топик сразу попадёт на главную страницу(опция доступна только администраторам)</span>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<p class="l-bot">
|
||||
<input type="submit" name="submit_topic_publish" value="опубликовать">
|
||||
<input type="submit" name="submit_topic_save" value="сохранить в черновиках">
|
||||
<input type="submit" name="submit_preview" value="предпросмотр" onclick="ajaxTextPreview(document.getElementById('topic_text').value,true); return false;">
|
||||
</p>
|
||||
|
||||
<div class="form_note">Если нажать кнопку «Сохранить в черновиках», топик
|
||||
будет виден только Вам, а рядом с его заголовком будет отображаться замочек.
|
||||
Чтобы топик был виден всем, нажмите «Опубликовать».</div>
|
||||
|
||||
<p>Может быть, перейти на <a href="{$DIR_WEB_ROOT}/blog/">заглавную страницу блогов</a>?</p>
|
||||
<input type="hidden" name="topic_id" value="{$_aRequest.topic_id}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
|
||||
<!--- ФОРМА --->
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Обязательно приходите еще.</span><br />
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<!--- / ФОРМА --->
|
||||
|
||||
{include file='footer.light.tpl'}
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
|
||||
<!--- ФОРМА --->
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Представьтесь, пожалуйста</span><br />
|
||||
|
||||
{if $bLoginError}
|
||||
<p><span class="form_note_red">Что-то не так! Вероятно, неправильно указан логин(e-mail), или пароль.</span><br />
|
||||
{/if}
|
||||
|
||||
<form action="{$DIR_WEB_ROOT}/login/" method="POST" id="loginform">
|
||||
|
||||
<p><span class="form">Логин или e-mail:</span><br />
|
||||
<input type="text" name="login" id="name" value="" size="25" /><br />
|
||||
|
||||
<label for="password"><span class="form">Пароль:</span></label><br />
|
||||
<input type="password" id="password" name="password" value="" size="25" /><br>
|
||||
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
<p><input type="submit" name="submit_login" value="войти" /></p>
|
||||
</form>
|
||||
|
||||
|
||||
{if $USER_USE_INVITE}
|
||||
<br>
|
||||
|
||||
<p><span class="header">Регистрация по приглашению</span><br />
|
||||
<form action="{$DIR_WEB_ROOT}/registration/invite/" method="POST">
|
||||
<p><span class="form">Код приглашения: </span> <input type="text" value="" name="invite_code" size="29"> <input type="submit" name="submit_invite" value="проверить код"></p>
|
||||
</form>
|
||||
|
||||
{/if}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!--- / ФОРМА --->
|
||||
|
||||
{include file='footer.light.tpl'}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
{include file='system_message.tpl'}
|
||||
<!--- ФОРМА --->
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Восстановление пароля</span><br />
|
||||
|
||||
|
||||
<form action="{$DIR_WEB_ROOT}/login/reminder/" method="POST" id="loginform">
|
||||
|
||||
<p><span class="form">Ваш e-mail:</span><br />
|
||||
<input type="text" name="mail" id="name" value="" size="25" /><br />
|
||||
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
<p><input type="submit" name="submit_reminder" value="получить ссылку на изменение пароля" /></p>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!--- / ФОРМА --->
|
||||
|
||||
{include file='footer.light.tpl'}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
{include file='system_message.tpl'}
|
||||
<!--- ФОРМА --->
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Восстановление пароля</span><br />
|
||||
|
||||
<br>
|
||||
|
||||
Новый пароль отправлен на ваш адрес электронной почты.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!--- / ФОРМА --->
|
||||
|
||||
{include file='footer.light.tpl'}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
{include file='system_message.tpl'}
|
||||
<!--- ФОРМА --->
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Восстановление пароля</span><br />
|
||||
|
||||
<br>
|
||||
|
||||
Ссылка для восстановления пароля отправлена на ваш адрес электронной почты.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!--- / ФОРМА --->
|
||||
|
||||
{include file='footer.light.tpl'}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.profile.tpl'}
|
||||
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.profile.tpl'}
|
||||
|
||||
|
||||
<BR>
|
||||
|
||||
|
||||
|
||||
{include file='comment_list.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,84 +0,0 @@
|
|||
{include file='window_load_img.tpl' sToLoad='page_text'}
|
||||
|
||||
<div class="backoffice">
|
||||
|
||||
<form action="" method="POST" id="thisform" enctype="multipart/form-data">
|
||||
|
||||
<label for="page_pid">Вложить в</label>
|
||||
<select name="page_pid" id="page_pid" style="width: 100%;">
|
||||
<option value="0"></option>
|
||||
{foreach from=$aPages item=oPage}
|
||||
<option style="margin-left: {$oPage->getLevel()*20}px;" value="{$oPage->getId()}" {if $_aRequest.page_pid==$oPage->getId()}selected{/if}>{$oPage->getTitle()}(/{$oPage->getUrlFull()}/)</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
<br /><span class="form_note_red"></span></p>
|
||||
|
||||
<p>
|
||||
<label for="page_title">Название:</label>
|
||||
<input type="text" id="page_title" name="page_title" value="{$_aRequest.page_title}" style="width: 100%;" /><br />
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="page_url">URL:</label>
|
||||
<input type="text" id="page_url" name="page_url" value="{$_aRequest.page_url}" style="width: 100%;" /><br />
|
||||
</p>
|
||||
|
||||
<label for="topic_text">Текст:</label>
|
||||
|
||||
<div class="panel_topic_form" style="background: #eaecea; ">
|
||||
<select onchange="voidPutTag2('page_text',this.value); this.value='';" tabindex="-1">
|
||||
<option value="" class="title">Заголовок</option>
|
||||
<option value="h4">H4</option>
|
||||
<option value="h5">H5</option>
|
||||
<option value="h6">H6</option>
|
||||
</select>
|
||||
|
||||
<a href="#" onclick="voidPutTag2('page_text','b'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/bold_ru.gif" width="20" height="20" title="жирный"></a>
|
||||
<a href="#" onclick="voidPutTag2('page_text','i'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/italic_ru.gif" width="20" height="20" title="курсив"></a>
|
||||
<a href="#" onclick="voidPutTag2('page_text','u'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/underline_ru.gif" width="20" height="20" title="подчеркнуть"></a>
|
||||
<a href="#" onclick="voidPutTag2('page_text','s'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/strikethrough.gif" width="20" height="20" title="зачеркнутый"></a>
|
||||
|
||||
<a href="#" onclick="voidPutURL('page_text'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/link.gif" width="20" height="20" title="вставить ссылку"></a>
|
||||
<a href="#" onclick="voidPutTag2('page_text','code'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/code.gif" width="30" height="20" title="код"></a>
|
||||
<a href="#" onclick="voidPutTag2('page_text','video'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/video.gif" width="20" height="20" title="видео"></a>
|
||||
|
||||
<a href="#" onclick="showWindow('window_load_img'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/img.gif" width="20" height="20" title="изображение"></a>
|
||||
|
||||
</div>
|
||||
<textarea style="width: 100%;" name="page_text" id="page_text" rows="20">{$_aRequest.page_text}</textarea><br>
|
||||
|
||||
|
||||
<span class="form_note">Разрешены ВСЕ html-теги, перевод строки ставится автоматически</span>
|
||||
<br />
|
||||
|
||||
|
||||
<p>
|
||||
<label for="page_seo_keywords">SEO keywords:</label>
|
||||
<input type="text" id="page_seo_keywords" name="page_seo_keywords" value="{$_aRequest.page_seo_keywords}" style="width: 100%;" /><br />
|
||||
<span class="form_note">Ключевые слова для SEO-оптимизации</span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="page_seo_description">SEO description:</label>
|
||||
<input type="text" id="page_seo_description" name="page_seo_description" value="{$_aRequest.page_seo_description}" style="width: 100%;" /><br />
|
||||
<span class="form_note">Описание для SEO-оптимизации</span>
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
<input type="checkbox" id="page_active" name="page_active" value="1" {if $_aRequest.page_active==1}checked{/if}/>
|
||||
<label for="page_active"> — показывать страницу</label>
|
||||
<br />
|
||||
</p>
|
||||
|
||||
|
||||
<p class="l-bot">
|
||||
<input type="submit" name="submit_page_save" value="сохранить"> <input type="submit" name="submit_page_cancel" value="отмена" onclick="window.location='{$DIR_WEB_ROOT}/page/admin/'; return false;">
|
||||
</p>
|
||||
|
||||
<input type="hidden" name="page_id" value="{$_aRequest.page_id}">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
|
||||
<BR>
|
||||
<h2>Управление статическими страницами</h2>
|
||||
|
||||
{if $aParams.0=='new'}
|
||||
<h4>Создание новой страницы</h4>
|
||||
{include file='actions/ActionPage/add.tpl'}
|
||||
{elseif $aParams.0=='edit'}
|
||||
<h4>Редактирование страницы «{$oPageEdit->getTitle()}»</h4>
|
||||
{include file='actions/ActionPage/add.tpl'}
|
||||
{else}
|
||||
<a href="{$DIR_WEB_ROOT}/page/admin/new/">добавить страницу</a>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
<table width="100%" cellspacing="0" class="tbl">
|
||||
<tr>
|
||||
<th align="left">Название</th>
|
||||
<th align="center" width="250px">URL</th>
|
||||
<th align="center" width="50px">Активна</th>
|
||||
<th align="center" width="80px">Действие</th>
|
||||
</tr>
|
||||
|
||||
|
||||
{foreach from=$aPages item=oPage name=el2}
|
||||
{if $smarty.foreach.el2.iteration % 2 == 0}
|
||||
{assign var=className value=''}
|
||||
{else}
|
||||
{assign var=className value='colored'}
|
||||
{/if}
|
||||
<tr class="{$className}" onmouseover="this.className='colored_sel';" onmouseout="this.className='{$className}';">
|
||||
<td align="left" valign="middle">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/{if $oPage->getLevel()==0}folder{else}new{/if}_16x16.gif" alt="" title="" border="0" style="margin-left: {$oPage->getLevel()*20}px;"/>
|
||||
<a href="{$DIR_WEB_ROOT}/page/{$oPage->getUrlFull()}/">{$oPage->getTitle()}</a>
|
||||
</td>
|
||||
<td align="left">
|
||||
/{$oPage->getUrlFull()}/
|
||||
</td>
|
||||
<td align="center">
|
||||
{if $oPage->getActive()}
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_up.gif" alt="Активна" title="Активна" border="0"/>
|
||||
{else}
|
||||
<img src="{$DIR_STATIC_SKIN}/img/vote_comment_up_gray.gif" alt="Не активна" title="Не активна" border="0"/>
|
||||
{/if}
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="{$DIR_WEB_ROOT}/page/admin/edit/{$oPage->getId()}/"><img src="{$DIR_STATIC_SKIN}/img/blog_edit.gif" alt="Редактировать" title="Редактировать" border="0"/></a>
|
||||
|
||||
<a href="{$DIR_WEB_ROOT}/page/admin/delete/{$oPage->getId()}/" onclick="return confirm('Вы действительно хотите удалить страницу «{$oPage->getTitle()}» со всеми вложенными страницами?');"><img src="{$DIR_STATIC_SKIN}/img/delete_16x16.gif" alt="Удалить" title="Удалить" border="0"/></a>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
<BR>
|
||||
<DIV class=tagsblock>
|
||||
|
||||
{$oPage->getText()|nl2br}
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,122 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="content" class="ppl">
|
||||
<div id="col1">
|
||||
<p>Обратите внимание, эти люди находятся на сайте, или находились некоторое время назад ↓</p>
|
||||
{foreach from=$aUsersLast item=oUserLast}
|
||||
<div class="ppl_user">
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oUserLast->getLogin()}/" title="посмотреть профиль" class="ppl_userpic"><img class="img_border" src="{$oUserLast->getProfileAvatarPath(24)}" width="24" height="24" alt="" title="{$oUserLast->getLogin()}" border="0"></a>
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oUserLast->getLogin()}/" class="ppl_nickname">{$oUserLast->getLogin()}{if $oUserLast->getProfileName()} ({$oUserLast->getProfileName()|escape:'html'}){/if}</a>
|
||||
<div class="time">
|
||||
{date_format date=$oUserLast->getDateLast()}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div id="col2">
|
||||
<div class="oldmenu">
|
||||
<div class="oldmenuitem_2 {if $sEvent=='good'}active{/if}"><a href="{$DIR_WEB_ROOT}/people/good/">Хорошие</a></div>
|
||||
<div class="oldmenuitem_2 {if $sEvent=='bad'}active{/if}"><a href="{$DIR_WEB_ROOT}/people/bad/">Плохие</a></div>
|
||||
</div>
|
||||
<div class="habrablock">
|
||||
|
||||
<div class="ppl_list">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="usertable">
|
||||
{if $aUsersRating}
|
||||
<tr>
|
||||
<td width="5%" align="left" class="people_page_tb_header"></td>
|
||||
<td width="12%" align="left" class="people_page_tb_header"></td>
|
||||
<td width="" align="left" class="people_page_tb_header"></td>
|
||||
<td width="12%" align="center" class="people_page_tb_header">Сила</td>
|
||||
<td width="24%" align="center" class="people_page_tb_header">Рейтинг</td>
|
||||
</tr>
|
||||
{foreach from=$aUsersRating item=oUser}
|
||||
<tr>
|
||||
<td align="center"> </td>
|
||||
<td align="center"><a href="{$DIR_WEB_ROOT}/profile/{$oUser->getLogin()}/"><img class="img_border" src="{$oUser->getProfileAvatarPath(24)}" width="23" height="23" alt="" title="{$oUser->getLogin()}" border="0"></a></td>
|
||||
<td align="left"><a href="{$DIR_WEB_ROOT}/profile/{$oUser->getLogin()}/" class="people_nickname">{$oUser->getLogin()}</a></td>
|
||||
<td align="center" nowrap class="people_karma" style="color: #25a8ff;">{$oUser->getSkill()}</td>
|
||||
<td nowrap align="center"><span class="people_rating">{$oUser->getRating()}</span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr>
|
||||
<td align="center" colspan="5"><br>нет таких</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
<br>
|
||||
|
||||
|
||||
<div class="navcentered">
|
||||
{include file='paging.tpl' aPaging=`$aPaging`}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="col3">
|
||||
<h2>Статистика</h2>
|
||||
|
||||
<div class="statsblock">
|
||||
<h4 class="people_stat_header"><img src="{$DIR_STATIC_SKIN}/img/people_arrow_2.gif">Сколько нас?</h4>
|
||||
<ul>
|
||||
<li>Всего пользователей: {$aStat.count_all}</li>
|
||||
<li>Активные: {$aStat.count_active}</li>
|
||||
<li>Заблудившиеся: {$aStat.count_inactive}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="statsblock">
|
||||
<h4 class="people_stat_header"><img src="{$DIR_STATIC_SKIN}/img/people_arrow_2.gif">Кто мы?</h4>
|
||||
<ul>
|
||||
<li>Мужчины: {$aStat.count_sex_man}</li>
|
||||
<li>Женщины: {$aStat.count_sex_woman}</li>
|
||||
<li>Пол не указан: {$aStat.count_sex_other}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div style="clear: left;">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="statsblock">
|
||||
<h4 class="people_stat_header"><img src="{$DIR_STATIC_SKIN}/img/people_arrow_2.gif">Откуда мы?</h4>
|
||||
<ul>
|
||||
{foreach from=$aStat.count_country item=aValue}
|
||||
<li>{$aValue.name|escape:'html'}: {$aValue.count}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="statsblock">
|
||||
<h4 class="people_stat_header"><img src="{$DIR_STATIC_SKIN}/img/people_arrow_2.gif">Где мы?</h4>
|
||||
<ul>
|
||||
{foreach from=$aStat.count_city item=aValue}
|
||||
<li>{$aValue.name|escape:'html'}: {$aValue.count}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="prefooter">
|
||||
<h2 class="people_sections">Новые люди</h2>
|
||||
<div class="newpeople">
|
||||
{foreach from=$aUsersRegister item=oUser}
|
||||
<div class="zurfuck"><a href="{$DIR_WEB_ROOT}/profile/{$oUser->getLogin()}/"><img src="{$DIR_STATIC_SKIN}/img/user.gif" width="10" height="10" border="0" alt="посмотреть профиль" title="посмотреть профиль"></a> <a href="{$DIR_WEB_ROOT}/profile/{$oUser->getLogin()}/" class="sf_page_nickname">{$oUser->getLogin()}</a><span class="people_date">{date_format date=$oUser->getDateRegister()}</span></div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.profile.tpl'}
|
||||
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.profile.tpl'}
|
||||
|
||||
|
||||
{include file='block.tags.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,203 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.profile.tpl'}
|
||||
|
||||
|
||||
<BR>
|
||||
<div class="userinfo">
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
</div>
|
||||
<div class="right">
|
||||
<span class="username">
|
||||
{if $oUserProfile->getProfileName()}
|
||||
{$oUserProfile->getProfileName()|escape:'html'}
|
||||
{else}
|
||||
{$oUserProfile->getLogin()}
|
||||
{/if}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $oUserProfile->getProfileBirthday()}
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Дата рождения:
|
||||
</div>
|
||||
<div class="right">
|
||||
{date_format date=$oUserProfile->getProfileBirthday() format="j rus_mon Y"}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if ($oUserProfile->getProfileCountry()|| $oUserProfile->getProfileRegion() || $oUserProfile->getProfileCity())}
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Откуда:
|
||||
</div>
|
||||
<div class="right">
|
||||
{if $oUserProfile->getProfileCountry()}
|
||||
{$oUserProfile->getProfileCountry()|escape:'html'}
|
||||
{/if}
|
||||
{if $oUserProfile->getProfileRegion()}
|
||||
, {$oUserProfile->getProfileRegion()|escape:'html'}
|
||||
{/if}
|
||||
{if $oUserProfile->getProfileCity()}
|
||||
, {$oUserProfile->getProfileCity()|escape:'html'}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $oUserProfile->getProfileAbout()}
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
О себе:
|
||||
</div>
|
||||
<div class="right aboutuser">
|
||||
{$oUserProfile->getProfileAbout()|escape:'html'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $oUserProfile->getProfileSite()}
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Сайт:
|
||||
</div>
|
||||
<div class="right">
|
||||
<a href="{$oUserProfile->getProfileSite(true)|escape:'html'}" target="_blank">
|
||||
{if $oUserProfile->getProfileSiteName()}
|
||||
{$oUserProfile->getProfileSiteName()|escape:'html'}
|
||||
{else}
|
||||
{$oUserProfile->getProfileSite()|escape:'html'}
|
||||
{/if}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $oUserProfile->getProfileIcq()}
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
ICQ:
|
||||
</div>
|
||||
<div class="right">
|
||||
<a class="icon" href="http://wwp.icq.com/scripts/contact.dll?msgto={$oUserProfile->getProfileIcq()|escape:'html'}" target="_blank"><img src="http://web.icq.com/whitepages/online?icq={$oUserProfile->getProfileIcq()|escape:'html'}&img=5" width=18 height=18 align=absmiddle border=0>{$oUserProfile->getProfileIcq()|escape:'html'}</a>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $aUsersFrend}
|
||||
<div class="logicgroup_menu">
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Друзья:
|
||||
</div>
|
||||
<div class="right">
|
||||
{foreach from=$aUsersFrend item=oUserFrend}
|
||||
<span class="nowrap"><a href="{$DIR_WEB_ROOT}/profile/{$oUserFrend->getLogin()}/"><img src="{$DIR_STATIC_SKIN}/img/user.gif" border="0" alt="посмотреть профиль" title="посмотреть профиль"></a><a href="{$DIR_WEB_ROOT}/profile/{$oUserFrend->getLogin()}/" class="userinfo_nickname_normal">{$oUserFrend->getLogin()}</a></span>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $aUsersSelfFrend}
|
||||
<div class="logicgroup_menu">
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
В друзьях у:
|
||||
</div>
|
||||
<div class="right">
|
||||
{foreach from=$aUsersSelfFrend item=oUserFrend}
|
||||
<span class="nowrap"><a href="{$DIR_WEB_ROOT}/profile/{$oUserFrend->getLogin()}/"><img src="{$DIR_STATIC_SKIN}/img/user.gif" border="0" alt="посмотреть профиль" title="посмотреть профиль"></a><a href="{$DIR_WEB_ROOT}/profile/{$oUserFrend->getLogin()}/" class="userinfo_nickname_normal">{$oUserFrend->getLogin()}</a></span>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $USER_USE_INVITE and $oUserInviteFrom}
|
||||
<div class="logicgroup_menu">
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Пригласил:
|
||||
</div>
|
||||
<div class="right">
|
||||
<span class="nowrap"><a href="{$DIR_WEB_ROOT}/profile/{$oUserInviteFrom->getLogin()}/"><img src="{$DIR_STATIC_SKIN}/img/user.gif" border="0" alt="посмотреть профиль" title="посмотреть профиль"></a><a href="{$DIR_WEB_ROOT}/profile/{$oUserInviteFrom->getLogin()}/" class="userinfo_nickname_normal">{$oUserInviteFrom->getLogin()}</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $USER_USE_INVITE and $aUsersInvite}
|
||||
<div class="logicgroup_menu">
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Приглашенные:
|
||||
</div>
|
||||
<div class="right">
|
||||
{foreach from=$aUsersInvite item=oUserInvite}
|
||||
<span class="nowrap"><a href="{$DIR_WEB_ROOT}/profile/{$oUserInvite->getLogin()}/"><img src="{$DIR_STATIC_SKIN}/img/user.gif" border="0" alt="посмотреть профиль" title="посмотреть профиль"></a><a href="{$DIR_WEB_ROOT}/profile/{$oUserInvite->getLogin()}/" class="userinfo_nickname_normal">{$oUserInvite->getLogin()}</a></span>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $aBlogsOwner}
|
||||
<div class="logicgroup">
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Администрирует:
|
||||
</div>
|
||||
<div class="right">
|
||||
{foreach from=$aBlogsOwner item=oBlog}
|
||||
<span class="nowrap"><a href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/"><img src="{$DIR_STATIC_SKIN}/img/blog.gif" width="12" height="12" alt="" title="{$oBlog->getTitle()|escape:'html'}" border="0"></a><a href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/" class="userinfo_groups_name">{$oBlog->getTitle()|escape:'html'}</a></span>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $aBlogsUser}
|
||||
<div class="logicgroup">
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Состоит в:
|
||||
</div>
|
||||
<div class="right">
|
||||
{foreach from=$aBlogsUser item=oBlogUser}
|
||||
<span class="nowrap"><a href="{$DIR_WEB_ROOT}/blog/{$oBlogUser->getBlogUrl()}/"><img src="{$DIR_STATIC_SKIN}/img/blog.gif" width="12" height="12" alt="" title="{$oBlogUser->getBlogTitle()|escape:'html'}" border="0"></a><a href="{$DIR_WEB_ROOT}/blog/{$oBlogUser->getBlogUrl()}/" class="userinfo_groups_name">{$oBlogUser->getBlogTitle()|escape:'html'}</a></span>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="logicgroup">
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Зарегистрирован:
|
||||
</div>
|
||||
<div class="right">
|
||||
{date_format date=$oUserProfile->getDateRegister()}
|
||||
</div>
|
||||
</div>
|
||||
<div class="userinfo_line">
|
||||
<div class="left">
|
||||
Активность:
|
||||
</div>
|
||||
<div class="right">
|
||||
Последний раз был на сайте {date_format date=$oUserProfile->getDateLast()}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,155 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.action.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
document.addEvent('domready', function() {
|
||||
var inputTags = $('topic_tags');
|
||||
|
||||
new Autocompleter.Request.HTML(inputTags, DIR_WEB_ROOT+'/include/ajax/tagAutocompleter.php', {
|
||||
'indicatorClass': 'autocompleter-loading', // class added to the input during request
|
||||
'minLength': 2, // We need at least 1 character
|
||||
'selectMode': 'pick', // Instant completion
|
||||
'multiple': true // Tag support, by default comma separated
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="backoffice">
|
||||
|
||||
|
||||
<div class="groups_topic_text" id="text_preview"></div>
|
||||
<div style="clear: both;"></div>
|
||||
<form action="" method="POST" id="thisform" enctype="multipart/form-data">
|
||||
|
||||
<label for="blog_id">В какой блог публикуем?</label>
|
||||
<select name="blog_id" id="blog_id" style="width: 100%;" onChange="ajaxBlogInfo(this.value);">
|
||||
<option value="0">мой персональный блог</option>
|
||||
{foreach from=$aBlogsOwner item=oBlog}
|
||||
<option value="{$oBlog->getId()}" {if $_aRequest.blog_id==$oBlog->getId()}selected{/if}>{$oBlog->getTitle()}</option>
|
||||
{/foreach}
|
||||
{foreach from=$aBlogsUser item=oBlogUser}
|
||||
<option value="{$oBlogUser->getBlogId()}" {if $_aRequest.blog_id==$oBlogUser->getBlogId()}selected{/if}>{$oBlogUser->getBlogTitle()}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<script>
|
||||
ajaxBlogInfo(document.getElementById('blog_id').value);
|
||||
</script>
|
||||
<br /><span class="form_note_red"></span></p>
|
||||
|
||||
<p>
|
||||
<label for="topic_title">Вопрос:</label>
|
||||
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" style="width: 100%;" {if $bEditDisabled}disabled{/if} /><br />
|
||||
|
||||
<span class="form_note">Заголовок должен быть наполнен смыслом, чтобы можно было понять, о чем будет топик.</span><br />
|
||||
<span class="form_note_red"></span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Варианты ответов:
|
||||
<table>
|
||||
{if count($_aRequest.answer)>=2}
|
||||
{foreach from=$_aRequest.answer item=sAnswer}
|
||||
<tr valign=top>
|
||||
<td>
|
||||
<nobr> <input type="radio" disabled></nobr>
|
||||
</td>
|
||||
<td width="100%">
|
||||
<input type="text" value="{$sAnswer}" name="answer[]" class="imputtext" style="width: 100%;" {if $bEditDisabled}disabled{/if}>
|
||||
</td>
|
||||
<td nowrap align="center">
|
||||
<input type="button" name="drop_answer" value=" - " onClick="dropField(this);" {if $bEditDisabled}disabled{/if}>
|
||||
<input type="button" value=" + " onClick="addField(this);" {if $bEditDisabled}disabled{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr valign=top>
|
||||
<td>
|
||||
<nobr> <input type="radio" disabled></nobr>
|
||||
</td>
|
||||
<td width="100%">
|
||||
<input type="text" value="" name="answer[]" class="imputtext" style="width: 100%;" >
|
||||
</td>
|
||||
<td nowrap align="center">
|
||||
<input type="button" name="drop_answer" value=" - " onClick="dropField(this);">
|
||||
<input type="button" value=" + " onClick="addField(this);">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign=top>
|
||||
<td>
|
||||
<nobr> <input type="radio" disabled></nobr>
|
||||
</td>
|
||||
<td width="100%">
|
||||
<input type="text" value="" name="answer[]" class="imputtext" style="width: 100%;" >
|
||||
</td>
|
||||
<td nowrap align="center">
|
||||
<input type="button" name="drop_answer" value=" - " onClick="dropField(this);">
|
||||
<input type="button" value=" + " onClick="addField(this);">
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
{if !$bEditDisabled}
|
||||
{literal}<script>checkFieldForLast();</script>{/literal}
|
||||
{/if}
|
||||
|
||||
</p>
|
||||
|
||||
<label for="topic_text">Краткое описание (максимум 500 символов, HTML-теги запрещены):</label>
|
||||
|
||||
<textarea style="width: 100%;" name="topic_text" id="topic_text" rows="6">{$_aRequest.topic_text}</textarea><br>
|
||||
|
||||
|
||||
<p>
|
||||
<label for="topic_tags">Метки:</label>
|
||||
<input type="text" id="topic_tags" name="topic_tags" value="{$_aRequest.topic_tags}" style="width: 100%;" /><br />
|
||||
<span class="form_note">Метки нужно разделять запятой. Например: <i>клон хабры</i>, <i>блоги</i>, <i>рейтинг</i>, <i>google</i>, <i>сиськи</i>, <i>кирпич</i>.</span>
|
||||
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input type="checkbox" id="topic_forbid_comment" name="topic_forbid_comment" value="1" {if $_aRequest.topic_forbid_comment==1}checked{/if}/>
|
||||
<label for="topic_forbid_comment"> — запретить комментировать</label>
|
||||
<br />
|
||||
<span class="form_note">Если отметить эту галку, то нельзя будет оставлять комментарии к топику </span>
|
||||
</p>
|
||||
|
||||
{if $oUserCurrent->isAdministrator()}
|
||||
<p>
|
||||
<input type="checkbox" id="topic_publish_index" name="topic_publish_index" value="1" {if $_aRequest.topic_publish_index==1}checked{/if}/>
|
||||
<label for="topic_publish_index"> — принудительно вывести на главную</label>
|
||||
<br />
|
||||
<span class="form_note">Если отметить эту галку, то топик сразу попадёт на главную страницу(опция доступна только администраторам)</span>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<p class="l-bot">
|
||||
<input type="submit" name="submit_topic_publish" value="опубликовать">
|
||||
<input type="submit" name="submit_topic_save" value="сохранить в черновиках">
|
||||
<input type="submit" name="submit_preview" value="предпросмотр" onclick="ajaxTextPreview(document.getElementById('topic_text').value,true); return false;">
|
||||
</p>
|
||||
|
||||
<div class="form_note">Если нажать кнопку «Сохранить в черновиках», топик
|
||||
будет виден только Вам, а рядом с его заголовком будет отображаться замочек.
|
||||
Чтобы топик был виден всем, нажмите «Опубликовать».</div>
|
||||
|
||||
<p>Может быть, перейти на <a href="{$DIR_WEB_ROOT}/blog/">заглавную страницу блогов</a>?</p>
|
||||
<input type="hidden" name="topic_id" value="{$_aRequest.topic_id}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
|
||||
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Ура!</span><br />
|
||||
|
||||
<p><span class="form">Ваш аккаунт успешно активирован, теперь вы можете войти на сайт под своим логином и паролем.</span></p>
|
||||
<br>
|
||||
<p><span class="form">Перейти на главную страницу <a href="{$DIR_WEB_ROOT}/">{$SITE_NAME}</a></p>
|
||||
<p><span class="form"><a href="{$DIR_WEB_ROOT}/login/">Войти</a></p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file='footer.light.tpl'}
|
|
@ -1,20 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
|
||||
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Ура!</span><br />
|
||||
|
||||
<p><span class="form">Вы почти зарегистрировались, осталось только активировать аккаунт. Инструкции по активации отправлены на ваш емайл.</span></p>
|
||||
<br>
|
||||
<p><span class="form">Перейти на главную страницу <a href="{$DIR_WEB_ROOT}/">{$SITE_NAME}</a></p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file='footer.light.tpl'}
|
|
@ -1,56 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Попробуем зарегистрироваться?</span>
|
||||
<p><span class="txt">Пожалуйста, заполните поля ниже. Это нужно сделать обязательно, иначе ничего не получится.</span></p>
|
||||
|
||||
<form action="{$DIR_WEB_ROOT}/registration/" method="POST" id="RegisterForm">
|
||||
<label for="login"><span class="form">Имя пользователя:</span></label><br />
|
||||
<input type="text" name="login" tabindex="1" id="login" value="{$_aRequest.login}" size="20" />
|
||||
<br/>
|
||||
<span class="form_note">Может состоять только из букв (A-Z a-z), цифр (0-9). Знак подчеркивания (_) лучше не использовать. Длина имени не может быть меньше 3 и больше 20 символов.</span><br />
|
||||
|
||||
|
||||
<p><label for="email"><span class="form">Электропочта:</span></label><br />
|
||||
<input type="text" id="email" style="width: 25em;" name="mail" value="{$_aRequest.mail}" size="25" tabindex="3" /><span class="form_note"><br/>Для проверки регистрации и в целях безопасности нам нужен адрес вашей электропочты.</span><br />
|
||||
</p>
|
||||
|
||||
<p><label for="pass"><span class="form">Пароль:</span></label><br />
|
||||
<input type="password" id="pass" value="" name="password" size="25" tabindex="4" /><br />
|
||||
<span class="form_note">Должен содержать не менее 5 символов и не может совпадать с логином. Не используйте простые пароли, будьте разумны.</span><br />
|
||||
</p>
|
||||
|
||||
<p><label for="repass"><span class="form">Повторите пароль:</span></label><br />
|
||||
<input type="password" value="" id="repass" name="password_confirm" size="25" tabindex="5"/><br />
|
||||
</p>
|
||||
|
||||
<p><label for="captcha"><span class="form">Нам нужны эти цифры и буквы:</span></label><br>
|
||||
<img src="{$DIR_WEB_ROOT}/classes/lib/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}"><br><br>
|
||||
<input type="text" style="text-align: center;" name="captcha" value="" maxlength=3 size=9><br><br>
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p class="l-bot"><input type="submit" name="submit_register" tabindex="6" value="зарегистрироваться" /></p>
|
||||
</form>
|
||||
|
||||
<p><span class="txt_small">Может быть, перейти на <a href="{$DIR_WEB_ROOT}/">заглавную страницу</a>?</span><br />
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='footer.light.tpl'}
|
|
@ -1,19 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Регистрация по приглашению</span><br />
|
||||
<form action="{$DIR_WEB_ROOT}/registration/invite/" method="POST">
|
||||
<p><span class="form">Код приглашения: </span> <input type="text" value="" name="invite_code" size="29"> <input type="submit" name="submit_invite" value="проверить код"></p>
|
||||
</form>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file='footer.light.tpl'}
|
|
@ -1,21 +0,0 @@
|
|||
{include file='header.light.tpl'}
|
||||
|
||||
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<p><span class="header">Ура!</span><br />
|
||||
|
||||
<p><span class="form">Поздравляем! Регистрация прошла успешно</span></p>
|
||||
<br>
|
||||
<p><span class="form">Перейти на главную страницу <a href="{$DIR_WEB_ROOT}/">{$SITE_NAME}</a></p>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file='footer.light.tpl'}
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>{$aChannel.title}</title>
|
||||
<link>{$aChannel.link}</link>
|
||||
<description><![CDATA[{$aChannel.description}]]></description>
|
||||
<language>{$aChannel.language}</language>
|
||||
<managingEditor>{$aChannel.managingEditor}</managingEditor>
|
||||
<generator>{$aChannel.generator}</generator>
|
||||
{foreach from=$aItems item=oItem}
|
||||
<item>
|
||||
<title><![CDATA[{$oItem.title|escape:'html'}]]></title>
|
||||
<guid isPermaLink="true">{$oItem.guid}</guid>
|
||||
<link>{$oItem.link}</link>
|
||||
<description><![CDATA[{$oItem.description}]]></description>
|
||||
<pubDate>{date_format date=$oItem.pubDate format="r"}</pubDate>
|
||||
<author>{$oItem.author}</author>
|
||||
<category>{$oItem.category|replace:',':'</category>
|
||||
<category>'}</category>
|
||||
</item>
|
||||
{/foreach}
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,11 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
<h1>Поиск</h1>
|
||||
<form action="{$DIR_WEB_ROOT}/search/topics/" method="GET">
|
||||
<p>
|
||||
<input type="text" value="" name="q" size="250">
|
||||
<input type="submit" value="Найти">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
{include file='footer.tpl'}
|
|
@ -1,18 +0,0 @@
|
|||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<ShortName>{$SITE_NAME}</ShortName>
|
||||
<Description>{$sHtmlTitle}</Description>
|
||||
<Contact>{$sAdminMail}</Contact>
|
||||
<Url type="text/html" template="{$DIR_WEB_ROOT}/search/topics/?q={literal}{searchTerms}{/literal}" />
|
||||
<LongName>{$sHtmlDescription}</LongName>
|
||||
<Image height="64" width="64" type="image/png">{$DIR_STATIC_SKIN}/img/logo.gif</Image>
|
||||
<Image height="16" width="16" type="image/vnd.microsoft.icon">{$DIR_STATIC_SKIN}/img/favicon.ico</Image>
|
||||
<Developer>{$SITE_NAME} ({$DIR_WEB_ROOT})</Developer>
|
||||
<Attribution>
|
||||
© «{$SITE_NAME}»
|
||||
</Attribution>
|
||||
<SyndicationRight>open</SyndicationRight>
|
||||
<AdultContent>false</AdultContent>
|
||||
<Language>ru-ru</Language>
|
||||
<OutputEncoding>UTF-8</OutputEncoding>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
</OpenSearchDescription>
|
|
@ -1,23 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
<h1>Результаты поиска</h1>
|
||||
Вы искали <span class="searched-item">{$aReq.q|escape:'html'}</span>.<br />
|
||||
<br />
|
||||
{if $bIsResults}
|
||||
<!-- Меню фильтрации результатов поиска -->
|
||||
<ul id="sub-nav">
|
||||
{foreach from=$aRes.aCounts item=iCount key=sType name="sTypes"}
|
||||
<li {if $aReq.sType == $sType}class="current"{/if}><a href="/search/{$sType}/?q={$aReq.q}">{$iCount} {if $sType=="topics"}топиков{elseif $sType=="comments"}комментариев{/if}</a>{if $smarty.foreach.sTypes.last}.{else},{/if}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
{if $aReq.sType == 'topics'}
|
||||
{include file='topic_list.tpl'}
|
||||
{elseif $aReq.sType == 'comments'}
|
||||
{include file='comment_list.tpl'}
|
||||
{/if}
|
||||
{else}
|
||||
<h2>Удивительно, но поиск не дал результатов</h2>
|
||||
{/if}
|
||||
|
||||
{include file='footer.tpl'}
|
|
@ -1,40 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.settings.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
<BR>
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
|
||||
<td align="left">
|
||||
|
||||
|
||||
|
||||
<p><span class="header">{$aLang.settings_invite}</span>
|
||||
<BR>
|
||||
<BR>{$aLang.settings_invite_available}: {if $oUserCurrent->isAdministrator()}{$aLang.settings_invite_many}{else}{$iCountInviteAvailable}{/if}
|
||||
<BR>{$aLang.settings_invite_used}: {$iCountInviteUsed}
|
||||
<BR>
|
||||
<BR>
|
||||
<form action="{$DIR_WEB_ROOT}/settings/invite/" method="POST" enctype="multipart/form-data">
|
||||
|
||||
<label for="invite_mail"><span class="form">{$aLang.settings_invite_mail}:</span></label><br />
|
||||
<input style="width: 60%;" type="text" name="invite_mail" tabindex="1" id="invite_mail" value="" size="20" /> <br>
|
||||
<span class="form_note">{$aLang.settings_invite_mail_notice}</span><br />
|
||||
<br>
|
||||
|
||||
|
||||
<p class="l-bot"><input type="submit" name="submit_invite" tabindex="6" value="{$aLang.settings_invite_submit}" /></p>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,137 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.settings.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
document.addEvent('domready', function() {
|
||||
|
||||
var inputCity = $('profile_city');
|
||||
|
||||
new Autocompleter.Request.HTML(inputCity, DIR_WEB_ROOT+'/include/ajax/cityAutocompleter.php', {
|
||||
'indicatorClass': 'autocompleter-loading', // class added to the input during request
|
||||
'minLength': 2, // We need at least 1 character
|
||||
'selectMode': 'pick', // Instant completion
|
||||
'multiple': false // Tag support, by default comma separated
|
||||
});
|
||||
|
||||
|
||||
var inputCountry = $('profile_country');
|
||||
|
||||
new Autocompleter.Request.HTML(inputCountry, DIR_WEB_ROOT+'/include/ajax/countryAutocompleter.php', {
|
||||
'indicatorClass': 'autocompleter-loading', // class added to the input during request
|
||||
'minLength': 2, // We need at least 1 character
|
||||
'selectMode': 'pick', // Instant completion
|
||||
'multiple': false // Tag support, by default comma separated
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<BR>
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
|
||||
<td align="left">
|
||||
|
||||
|
||||
|
||||
<p><span class="header">{$aLang.settings_profile_edit}</span>
|
||||
|
||||
<form action="{$DIR_WEB_ROOT}/settings/" method="POST" enctype="multipart/form-data">
|
||||
|
||||
<label for="profile_name"><span class="form">{$aLang.settings_profile_name}:</span></label><br />
|
||||
<input style="width: 60%;" type="text" name="profile_name" tabindex="1" id="profile_name" value="{$oUserCurrent->getProfileName()|escape:'html'}" size="20" /> <br>
|
||||
<span class="form_note">{$aLang.settings_profile_name_notice}</span><br />
|
||||
<br>
|
||||
|
||||
<label for="mail"><span class="form">{$aLang.settings_profile_mail}:</span></label><br />
|
||||
<input style="width: 60%;" type="text" name="mail" tabindex="1" id="mail" value="{$oUserCurrent->getMail()|escape:'html'}" size="20" /> <br>
|
||||
<span class="form_note">{$aLang.settings_profile_mail_notice}</span><br />
|
||||
<br>
|
||||
|
||||
<span class="form">{$aLang.settings_profile_sex}:</span><br />
|
||||
<input type="radio" name="profile_sex" id="profile_sex_m" value="man" {if $oUserCurrent->getProfileSex()=='man'}checked{/if}> — <span class="form"><label for="profile_sex_m">{$aLang.settings_profile_sex_man}</label></span> <br />
|
||||
<input type="radio" name="profile_sex" id="profile_sex_w" value="woman" {if $oUserCurrent->getProfileSex()=='woman'}checked{/if}> — <span class="form"><label for="profile_sex_w">{$aLang.settings_profile_sex_woman}</label></span><br />
|
||||
<input type="radio" name="profile_sex" id="profile_sex_o" value="other" {if $oUserCurrent->getProfileSex()=='other'}checked{/if}> — <span class="form"><label for="profile_sex_o">{$aLang.settings_profile_sex_other}</label></span><br />
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="form">{$aLang.settings_profile_birthday}: </span><br />
|
||||
<select name="profile_birthday_day">
|
||||
<option value="">{$aLang.date_day}</option>
|
||||
{section name=date_day start=1 loop=32 step=1}
|
||||
<option value="{$smarty.section.date_day.index}" {if $smarty.section.date_day.index==$oUserCurrent->getProfileBirthday()|date_format:"%d"}selected{/if}>{$smarty.section.date_day.index}</option>
|
||||
{/section}
|
||||
</select>
|
||||
<select name="profile_birthday_month">
|
||||
<option value="">{$aLang.date_month}</option>
|
||||
<option value="1" {if 1==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_1}</option>
|
||||
<option value="2" {if 2==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_2}</option>
|
||||
<option value="3" {if 3==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_3}</option>
|
||||
<option value="4" {if 4==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_4}</option>
|
||||
<option value="5" {if 5==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_5}</option>
|
||||
<option value="6" {if 6==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_6}</option>
|
||||
<option value="7" {if 7==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_7}</option>
|
||||
<option value="8" {if 8==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_8}</option>
|
||||
<option value="9" {if 9==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_9}</option>
|
||||
<option value="10" {if 10==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_10}</option>
|
||||
<option value="11" {if 11==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_11}</option>
|
||||
<option value="12" {if 12==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_12}</option>
|
||||
</select>
|
||||
<select name="profile_birthday_year">
|
||||
<option value="">{$aLang.date_year}</option>
|
||||
{section name=date_year start=1930 loop=2100 step=1}
|
||||
<option value="{$smarty.section.date_year.index}" {if $smarty.section.date_year.index==$oUserCurrent->getProfileBirthday()|date_format:"%Y"}selected{/if}>{$smarty.section.date_year.index}</option>
|
||||
{/section}
|
||||
</select>
|
||||
<br><br>
|
||||
|
||||
|
||||
<span class="form">{$aLang.settings_profile_country}: </span><br /><input style="width: 60%;" type="text" id="profile_country" name="profile_country" value="{$oUserCurrent->getProfileCountry()|escape:'html'}"><br>
|
||||
<span class="form">{$aLang.settings_profile_city}: </span><br /><input style="width: 60%;" type="text" id="profile_city" name="profile_city" value="{$oUserCurrent->getProfileCity()|escape:'html'}"><br>
|
||||
<br>
|
||||
|
||||
|
||||
<span class="form">{$aLang.settings_profile_icq}:</span><br /> <input type="text" name="profile_icq" value="{$oUserCurrent->getProfileIcq()|escape:'html'}"><br>
|
||||
<br>
|
||||
|
||||
<span class="form">{$aLang.settings_profile_site} :</span><br /> <input style="width: 60%;" type="text" id="profile_site" name="profile_site" value="{$oUserCurrent->getProfileSite()|escape:'html'}"> — <label for="profile_site"><span class="form">{$aLang.settings_profile_site_url}</span></label><br>
|
||||
<input type="text" style="width: 60%;" id="profile_site_name" name="profile_site_name" value="{$oUserCurrent->getProfileSiteName()|escape:'html'}"> — <label for="profile_site_name"><span class="form">{$aLang.settings_profile_site_name}</span></label><br>
|
||||
<br>
|
||||
|
||||
|
||||
<span class="form">{$aLang.settings_profile_about}: </span><br /><textarea style="width: 60%;" name="profile_about">{$oUserCurrent->getProfileAbout()|escape:'html'}</textarea>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<span class="form">{$aLang.settings_profile_password_current}:</span><br /> <input type="password" name="password_now" value=""><br>
|
||||
<span class="form">{$aLang.settings_profile_password_new}:</span><br /> <input type="password" name="password" value=""><br>
|
||||
<span class="form">{$aLang.settings_profile_password_confirm}:</span><br /> <input type="password" name="password_confirm" value=""><br><br>
|
||||
<br>
|
||||
|
||||
{if $oUserCurrent->getProfileAvatar()}
|
||||
<img src="{$oUserCurrent->getProfileAvatarPath(100)}" border="0">
|
||||
<img src="{$oUserCurrent->getProfileAvatarPath(64)}" border="0">
|
||||
<img src="{$oUserCurrent->getProfileAvatarPath(24)}" border="0">
|
||||
<input type="checkbox" id="avatar_delete" name="avatar_delete" value="on"> — <label for="avatar_delete"><span class="form">{$aLang.settings_profile_avatar_delete}</span></label><br /><br>
|
||||
{/if}
|
||||
|
||||
|
||||
<span class="form">{$aLang.settings_profile_avatar}:</span><br /> <input type="file" name="avatar" ><br>
|
||||
|
||||
<p class="l-bot"><input type="submit" name="submit_profile_edit" tabindex="6" value="{$aLang.settings_profile_submit}" /></p>
|
||||
</form>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.settings.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
<BR>
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
|
||||
<td align="left">
|
||||
|
||||
|
||||
|
||||
<p><span class="header">{$aLang.settings_tuning}</span>
|
||||
|
||||
<div class="backoffice">
|
||||
<form action="{$DIR_WEB_ROOT}/settings/tuning/" method="POST" enctype="multipart/form-data">
|
||||
<fieldset >
|
||||
<legend >{$aLang.settings_tuning_notice}</legend>
|
||||
|
||||
<input {if $oUserCurrent->getSettingsNoticeNewTopic()}checked{/if} type="checkbox" id="settings_notice_new_topic" name="settings_notice_new_topic" value="1" {if $_aRequest.settings_notice_new_topic==1}checked{/if}/>
|
||||
<label for="settings_notice_new_topic"> — {$aLang.settings_tuning_notice_new_topic}</label>
|
||||
<br>
|
||||
|
||||
<input {if $oUserCurrent->getSettingsNoticeNewComment()}checked{/if} type="checkbox" id="settings_notice_new_comment" name="settings_notice_new_comment" value="1" {if $_aRequest.settings_notice_new_comment==1}checked{/if}/>
|
||||
<label for="settings_notice_new_comment"> — {$aLang.settings_tuning_notice_new_comment}</label>
|
||||
<br>
|
||||
|
||||
<input {if $oUserCurrent->getSettingsNoticeNewTalk()}checked{/if} type="checkbox" id="settings_notice_new_talk" name="settings_notice_new_talk" value="1" {if $_aRequest.settings_notice_new_talk==1}checked{/if}/>
|
||||
<label for="settings_notice_new_talk"> — {$aLang.settings_tuning_notice_new_talk}</label>
|
||||
<br>
|
||||
|
||||
<input {if $oUserCurrent->getSettingsNoticeReplyComment()}checked{/if} type="checkbox" id="settings_notice_reply_comment" name="settings_notice_reply_comment" value="1" {if $_aRequest.settings_notice_reply_comment==1}checked{/if}/>
|
||||
<label for="settings_notice_reply_comment"> — {$aLang.settings_tuning_notice_reply_comment}</label>
|
||||
<br>
|
||||
|
||||
<input {if $oUserCurrent->getSettingsNoticeNewFriend()}checked{/if} type="checkbox" id="settings_notice_new_friend" name="settings_notice_new_friend" value="1" {if $_aRequest.settings_notice_new_friend==1}checked{/if}/>
|
||||
<label for="settings_notice_new_friend"> — {$aLang.settings_tuning_notice_new_friend}</label>
|
||||
<br>
|
||||
</fieldset>
|
||||
|
||||
<p class="l-bot"><input type="submit" name="submit_settings_tuning" tabindex="6" value="{$aLang.settings_tuning_submit}" /></p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
<br>
|
||||
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4" class="beach_party_ireland">
|
||||
<tr>
|
||||
|
||||
<td nowrap align="left"><span class="headline_tags">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/tagcloud.gif" border="0" width="19" height="17" title="облачко" alt="" > →</span></td>
|
||||
<form action="" method="GET" style="margin: 0px;" onsubmit="return submitTags(this.tag.value);">
|
||||
<input type="hidden" name="mode" value="blog">
|
||||
<td width="100%"><input type="text" name="tag" value="{$sTag|escape:'html'}" style="width: 100%; padding-left: 4px; padding-right: 4px;" class="tag_form"></td>
|
||||
</form>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,82 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
document.addEvent('domready', function() {
|
||||
|
||||
var inputUsers = $('talk_users');
|
||||
|
||||
new Autocompleter.Request.HTML(inputUsers, DIR_WEB_ROOT+'/include/ajax/userAutocompleter.php', {
|
||||
'indicatorClass': 'autocompleter-loading', // class added to the input during request
|
||||
'minLength': 1, // We need at least 1 character
|
||||
'selectMode': 'pick', // Instant completion
|
||||
'multiple': true // Tag support, by default comma separated
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<BR>
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
|
||||
<td align="left">
|
||||
<div id="content" class="ppl">
|
||||
|
||||
<div class="oldmenu">
|
||||
<div class="oldmenuitem_2 {if $sEvent=='inbox'}active{/if}"><a href="{$DIR_WEB_ROOT}/talk/">Почтовый ящик</a></div>
|
||||
<div class="oldmenuitem_2 {if $sEvent=='add'}active{/if}"><a href="{$DIR_WEB_ROOT}/talk/add/">Написать</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="backoffice">
|
||||
|
||||
|
||||
<form action="" method="POST" id="thisform" enctype="multipart/form-data">
|
||||
|
||||
|
||||
<p>
|
||||
<label for="talk_users">Кому:</label>
|
||||
<input type="text" id="talk_users" name="talk_users" value="{$_aRequest.talk_users}" style="width: 100%;" /><br />
|
||||
|
||||
<span class="form_note">Список ваших собеседников, перечисляем через запятую. Пользователь подставляется по первым буквам</span><br />
|
||||
<span class="form_note_red"></span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="talk_title">Заголовок:</label>
|
||||
<input type="text" id="talk_title" name="talk_title" value="{$_aRequest.talk_title}" style="width: 100%;" /><br />
|
||||
|
||||
<span class="form_note">Заголовок должен быть наполнен смыслом, чтобы ваши адресаты поняли что к чему :)</span><br />
|
||||
<span class="form_note_red"></span>
|
||||
</p>
|
||||
|
||||
<label for="talk_text">Текст:</label>
|
||||
<textarea style="width: 100%;" name="talk_text" id="talk_text" rows="12">{$_aRequest.talk_text}</textarea><br>
|
||||
<span class="form_note">Между прочим, можно использовать html-теги</span>
|
||||
<br />
|
||||
|
||||
<p class="l-bot">
|
||||
<input type="submit" name="submit_talk_add" value="отправить">
|
||||
</p>
|
||||
|
||||
<div class="form_note">Если нажать кнопку «Отправить», сообщение
|
||||
незамедлительно отправится адресатам</div>
|
||||
<input type="hidden" name="topic_id" value="{$_aRequest.topic_id}">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
<BR>
|
||||
<table width="100%" border="0" cellspacing="4" cellpadding="4">
|
||||
<tr>
|
||||
|
||||
<td align="left">
|
||||
<div id="content" class="ppl">
|
||||
|
||||
<div class="oldmenu">
|
||||
<div class="oldmenuitem_2 {if $sEvent=='inbox'}active{/if}"><a href="{$DIR_WEB_ROOT}/talk/">Почтовый ящик</a></div>
|
||||
<div class="oldmenuitem_2 {if $sEvent=='add'}active{/if}"><a href="{$DIR_WEB_ROOT}/talk/add/">Написать</a></div>
|
||||
</div>
|
||||
|
||||
|
||||
<br><br>
|
||||
{if $aTalks}
|
||||
<form action="" method="post" id="form_talks_list">
|
||||
<table width="100%" bgcolor="White" border="0" cellspacing="0" cellpadding="0" class="inbox">
|
||||
<tr>
|
||||
<th width="20px"><input type="checkbox" name="" onclick="checkAllTalk(this);"></th>
|
||||
<th align="left">Тема</th>
|
||||
<th align="left">Собеседники</th>
|
||||
<th width="140px" align="left">Дата</th>
|
||||
</tr>
|
||||
|
||||
{foreach from=$aTalks item=oTalk}
|
||||
<tr>
|
||||
<td><input type="checkbox" name="talk_del[{$oTalk->getId()}]" class="form_talks_checkbox"></td>
|
||||
<td class="subj">
|
||||
{if $oTalk->getCountCommentNew() or !$oTalk->getDateLastRead()}
|
||||
<a href="{$DIR_WEB_ROOT}/talk/read/{$oTalk->getId()}/"><b>{$oTalk->getTitle()|escape:'html'}</b></a>
|
||||
{else}
|
||||
<a href="{$DIR_WEB_ROOT}/talk/read/{$oTalk->getId()}/">{$oTalk->getTitle()|escape:'html'}</a>
|
||||
{/if}
|
||||
|
||||
{if $oTalk->getCountComment()}
|
||||
{$oTalk->getCountComment()} {if $oTalk->getCountCommentNew()}<span style="color: #008000;">+{$oTalk->getCountCommentNew()}</span>{/if}
|
||||
{/if}
|
||||
</td>
|
||||
<td class="addressee">
|
||||
Я {if $oTalk->getCountUsers()>1} и {/if}
|
||||
{foreach from=$oTalk->getUsers() item=oUser name=users}
|
||||
{if $oUser->getId()!=$oUserCurrent->getId()}
|
||||
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oUser->getLogin()}/">{$oUser->getLogin()}</a>{if !$smarty.foreach.users.last},{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</td>
|
||||
<td class="date">{date_format date=$oTalk->getDate()}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table><br>
|
||||
<input type="submit" name="submit_talk_del" value="Удалить">
|
||||
</form>
|
||||
{else}
|
||||
У вас пока нет сообщений
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,118 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
<DIV class=blogposts>
|
||||
<div class="text">
|
||||
<!--medialand_ru_context_start-->
|
||||
<h1 class="blog_headline">
|
||||
<a href="{$DIR_WEB_ROOT}/talk/" class="blog_headline_group">Почтовый ящик</a> →
|
||||
{$oTalk->getTitle()|escape:'html'}
|
||||
</h1>
|
||||
<div class="groups_topic_text">
|
||||
{$oTalk->getText()}
|
||||
<br><br>
|
||||
|
||||
<!--medialand_ru_context_end-->
|
||||
<div class="info_holder">
|
||||
<div class="ball first" id="voter1">
|
||||
{date_format date=$oTalk->getDate()}
|
||||
</div>
|
||||
<div class="user">
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oTalk->getUserLogin()}/" title="автор"><span>{$oTalk->getUserLogin()}</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
<div id="form_comment" style="display: none;">
|
||||
<form action="" method="POST">
|
||||
<textarea class="input_comments_reply" name="comment_text" id="form_comment_text" style="width: 100%; height: 100px;"></textarea>
|
||||
<input type="submit" name="submit_comment" value="добавить">
|
||||
<input type="hidden" name="reply" value="" id="form_comment_reply">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
var currentShowForm=-1;
|
||||
|
||||
function showCommentForm(reply) {
|
||||
if (document.getElementById('reply_'+currentShowForm)) {
|
||||
var div_form_comment=document.getElementById('reply_'+currentShowForm);
|
||||
div_form_comment.style.display='none';
|
||||
} else {
|
||||
var div_form_comment=document.getElementById('form_comment');
|
||||
}
|
||||
var div_reply=document.getElementById('reply_'+reply);
|
||||
|
||||
var form_comment_reply=document.getElementById('form_comment_reply');
|
||||
|
||||
form_comment_reply.value=reply;
|
||||
var s=div_form_comment.innerHTML;
|
||||
div_form_comment.innerHTML='';
|
||||
div_reply.innerHTML=s;
|
||||
div_reply.style.display='block';
|
||||
currentShowForm=reply;
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="commentsdiv">
|
||||
<div class="text_comments">
|
||||
|
||||
{if count($aComments)}
|
||||
|
||||
<div class="head_comments_holder">
|
||||
<a name="comments"><img src="{$DIR_STATIC_SKIN}/img/comment.gif"></a>
|
||||
<span class="news_page_comments_title">ответы({$oTalk->getCountComment()}):</span>
|
||||
</div>
|
||||
|
||||
{foreach from=$aComments item=oComment}
|
||||
|
||||
<div class="{if $oUserCurrent and $oComment->getUserId()==$oUserCurrent->getId()}comment_item_self{else}{if $oTalk->getDateLastRead()<=$oComment->getDate()}comment_item_new2{else}comment_item{/if}{/if}" style="margin-left: {$oComment->getLevel()*30}px;">
|
||||
<a name="comment{$oComment->getId()}" href="{$DIR_WEB_ROOT}/profile/{$oComment->getUserLogin()}/"><img class="comments_avatar" src="{$oComment->getUserProfileAvatarPath(24)}" width="24" height="24" alt="" title="{$oComment->getUserLogin()}" border="0"></a>
|
||||
<div class="service_text_comments_holder">
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oComment->getUserLogin()}/" class="comments_nickname">{$oComment->getUserLogin()}</a>
|
||||
<span class="comments_date">{date_format date=$oComment->getDate()}</span>
|
||||
<a href="#comment{$oComment->getId()}" class="small" title=" ссылка ">#</a>
|
||||
</div>
|
||||
<div class="comment_text">
|
||||
{$oComment->getText()}
|
||||
</div>
|
||||
<div class="comments_reply">
|
||||
<div class="reply_word_holder">(<a href="javascript:showCommentForm({$oComment->getId()});">ответить</a>)</div>
|
||||
<div style="display: none;" id="reply_{$oComment->getId()}"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
|
||||
<div class="WriteCommentHolder">
|
||||
<img src="{$DIR_STATIC_SKIN}/img/comment.gif"> <a name="comment" href="javascript:showCommentForm(0);" class="news_page_comments_title">ответить</a>
|
||||
<br />
|
||||
<span class="form_note">
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oUserCurrent->getLogin()}/"><img class="img_border" src="{if $oUserCurrent->getProfileAvatar()}{$oUserCurrent->getProfileAvatarPath(24)}{else}{$DIR_STATIC_SKIN}/img/avatar_24x24.jpg{/if}" width="24" height="24" alt="" title=" это я! " border="0"></a>
|
||||
вы —
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oUserCurrent->getLogin()}/" class="comments_nickname">{$oUserCurrent->getLogin()}</a>
|
||||
</span><br /><br />
|
||||
<div style="display: none;" id="reply_0"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
<BR><BR><BR>
|
||||
<div class="habrablock">
|
||||
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="story_text" style="width:100%!important;">
|
||||
<tr>
|
||||
<td width="2%" align="center"></td>
|
||||
<td width="63%" align="left" class="blog_page_tb_header">Блог</td>
|
||||
<td width="10%" align="center" class="blog_page_tb_header">Читатели</td>
|
||||
<td width="15%" align="center" class="blog_page_tb_header">Рейтинг</td>
|
||||
</tr>
|
||||
{foreach from=$aBlogs item=oBlog}
|
||||
<tr>
|
||||
<td align="center"><img src="{$oBlog->getAvatarPath(24)}" width="24" height="24" alt="" title="{$oBlog->getTitle()|escape:'html'}" border="0"></td>
|
||||
<td align="left"><a href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/" class="blog_headline_pop">{$oBlog->getTitle()|escape:'html'}</a><br>
|
||||
<span class="sf_page_nickname">смотритель:</span>
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oBlog->getUserLogin()}/"><img src="{$DIR_STATIC_SKIN}/img/user.gif" width="11" height="11" border="0" alt="посмотреть профиль" title="посмотреть профиль"></a><a href="{$DIR_WEB_ROOT}/profile/{$oBlog->getUserLogin()}/" class="sf_page_nickname">{$oBlog->getUserLogin()}</a>
|
||||
</td>
|
||||
<td nowrap align="center"><a href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/profile/" class="blog_popular_link">{$oBlog->getCountUser()}</a></td>
|
||||
<td nowrap align="center"><span class="blog_rating"> {$oBlog->getRating()} </span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
|
||||
<BR>
|
||||
<div class="blogposts">
|
||||
<div class="beach_party_britain">
|
||||
<select style="font-size: 130%; color: rgb(51, 51, 51); width: 100%;" onChange="window.location.replace(DIR_WEB_ROOT+'/top/comment/' + this.value + '/');">
|
||||
<option value="24h" {if $aParams[0] and $aParams[0]=='24h'}selected{/if}>{$aLang.blog_menu_top_period_24h}</option>
|
||||
<option value="7d" {if $aParams[0] and $aParams[0]=='7d'}selected{/if} >{$aLang.blog_menu_top_period_7d}</option>
|
||||
<option value="30d" {if $aParams[0] and $aParams[0]=='30d'}selected{/if}>{$aLang.blog_menu_top_period_30d}</option>
|
||||
<option value="all" {if $aParams[0] and $aParams[0]=='all'}selected{/if} >{$aLang.blog_menu_top_period_all}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
{include file='comment_list.tpl'}
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.blog.tpl'}
|
||||
|
||||
|
||||
<BR>
|
||||
<div class="blogposts">
|
||||
<div class="beach_party_britain">
|
||||
<select style="font-size: 130%; color: rgb(51, 51, 51); width: 100%;" onChange="window.location.replace(DIR_WEB_ROOT+'/top/topic/' + this.value + '/');">
|
||||
<option value="24h" {if $aParams[0] and $aParams[0]=='24h'}selected{/if}>{$aLang.blog_menu_top_period_24h}</option>
|
||||
<option value="7d" {if $aParams[0] and $aParams[0]=='7d'}selected{/if} >{$aLang.blog_menu_top_period_7d}</option>
|
||||
<option value="30d" {if $aParams[0] and $aParams[0]=='30d'}selected{/if}>{$aLang.blog_menu_top_period_30d}</option>
|
||||
<option value="all" {if $aParams[0] and $aParams[0]=='all'}selected{/if} >{$aLang.blog_menu_top_period_all}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,168 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.action.tpl'}
|
||||
|
||||
{include file='system_message.tpl'}
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
document.addEvent('domready', function() {
|
||||
var inputTags = $('topic_tags');
|
||||
|
||||
new Autocompleter.Request.HTML(inputTags, DIR_WEB_ROOT+'/include/ajax/tagAutocompleter.php', {
|
||||
'indicatorClass': 'autocompleter-loading', // class added to the input during request
|
||||
'minLength': 2, // We need at least 1 character
|
||||
'selectMode': 'pick', // Instant completion
|
||||
'multiple': true // Tag support, by default comma separated
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
{if $BLOG_USE_TINYMCE}
|
||||
<script type="text/javascript" src="{$DIR_WEB_ROOT}/classes/lib/external/tiny_mce/tiny_mce.js"></script>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
tinyMCE.init({
|
||||
mode : "textareas",
|
||||
theme : "advanced",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "left",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_statusbar_location : "bottom",
|
||||
theme_advanced_resizing : true,
|
||||
theme_advanced_resize_horizontal : 0,
|
||||
theme_advanced_resizing_use_cookie : 0,
|
||||
theme_advanced_path : false,
|
||||
object_resizing : true,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '', // Needed for 3.x
|
||||
force_p_newlines : false,
|
||||
plugins : "lslink,lsimage,lsvideo,safari,inlinepopups,media",
|
||||
convert_urls : false,
|
||||
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]"
|
||||
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='window_load_img.tpl' sToLoad='topic_text'}
|
||||
|
||||
|
||||
|
||||
<div class="backoffice">
|
||||
|
||||
|
||||
<div class="groups_topic_text" id="text_preview"></div>
|
||||
<div class="groups_topic_text" id="text_preview2" style="border: 2px #dd0000 solid; display: none;"></div>
|
||||
<div style="clear: both;"></div>
|
||||
<form action="" method="POST" id="thisform" enctype="multipart/form-data">
|
||||
|
||||
<label for="blog_id">{$aLang.topic_create_blog}</label>
|
||||
<select name="blog_id" id="blog_id" style="width: 100%;" onChange="ajaxBlogInfo(this.value);">
|
||||
<option value="0">{$aLang.topic_create_blog_personal}</option>
|
||||
{foreach from=$aBlogsOwner item=oBlog}
|
||||
<option value="{$oBlog->getId()}" {if $_aRequest.blog_id==$oBlog->getId()}selected{/if}>{$oBlog->getTitle()}</option>
|
||||
{/foreach}
|
||||
{foreach from=$aBlogsUser item=oBlogUser}
|
||||
<option value="{$oBlogUser->getBlogId()}" {if $_aRequest.blog_id==$oBlogUser->getBlogId()}selected{/if}>{$oBlogUser->getBlogTitle()}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<script>
|
||||
ajaxBlogInfo(document.getElementById('blog_id').value);
|
||||
</script>
|
||||
<br /><span class="form_note_red"></span></p>
|
||||
|
||||
<p>
|
||||
<label for="topic_title">{$aLang.topic_create_title}:</label>
|
||||
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" style="width: 100%;" /><br />
|
||||
|
||||
<span class="form_note">{$aLang.topic_create_title_notice}</span><br />
|
||||
<span class="form_note_red"></span>
|
||||
</p>
|
||||
|
||||
|
||||
<label for="topic_text">{$aLang.topic_create_text}:</label>
|
||||
{if !$BLOG_USE_TINYMCE}
|
||||
<div class="panel_topic_form" style="background: #eaecea; ">
|
||||
<select onchange="voidPutTag2('topic_text',this.value); this.value='';" tabindex="-1">
|
||||
<option value="" class="title">Заголовок</option>
|
||||
<option value="h4">H4</option>
|
||||
<option value="h5">H5</option>
|
||||
<option value="h6">H6</option>
|
||||
</select>
|
||||
|
||||
<a href="#" onclick="voidPutTag2('topic_text','b'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/bold_ru.gif" width="20" height="20" title="жирный"></a>
|
||||
<a href="#" onclick="voidPutTag2('topic_text','i'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/italic_ru.gif" width="20" height="20" title="курсив"></a>
|
||||
<a href="#" onclick="voidPutTag2('topic_text','u'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/underline_ru.gif" width="20" height="20" title="подчеркнуть"></a>
|
||||
<a href="#" onclick="voidPutTag2('topic_text','s'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/strikethrough.gif" width="20" height="20" title="зачеркнутый"></a>
|
||||
|
||||
<a href="#" onclick="voidPutURL('topic_text'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/link.gif" width="20" height="20" title="вставить ссылку"></a>
|
||||
<a href="#" onclick="voidPutTag2('topic_text','code'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/code.gif" width="30" height="20" title="код"></a>
|
||||
<a href="#" onclick="voidPutTag2('topic_text','video'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/video.gif" width="20" height="20" title="видео"></a>
|
||||
|
||||
|
||||
<a href="#" onclick="showWindow('window_load_img'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/img.gif" width="20" height="20" title="изображение"></a>
|
||||
|
||||
|
||||
<a href="#" onclick="voidPutTag('topic_text','<cut>'); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/img/cut.gif" width="20" height="20" title="кат"></a>
|
||||
</div>
|
||||
{/if}
|
||||
<textarea style="width: 100%;" name="topic_text" id="topic_text" rows="20">{$_aRequest.topic_text}</textarea><br>
|
||||
|
||||
|
||||
<span class="form_note">{$aLang.topic_create_text_notice}</span>
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<label for="topic_tags">{$aLang.topic_create_tags}:</label>
|
||||
<input type="text" id="topic_tags" name="topic_tags" value="{$_aRequest.topic_tags}" style="width: 100%;" /><br />
|
||||
<span class="form_note">{$aLang.topic_create_tags_notice}</span>
|
||||
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input type="checkbox" id="topic_forbid_comment" name="topic_forbid_comment" value="1" {if $_aRequest.topic_forbid_comment==1}checked{/if}/>
|
||||
<label for="topic_forbid_comment"> — {$aLang.topic_create_forbid_comment}</label>
|
||||
<br />
|
||||
<span class="form_note">{$aLang.topic_create_forbid_comment_notice}</span>
|
||||
</p>
|
||||
|
||||
{if $oUserCurrent->isAdministrator()}
|
||||
<p>
|
||||
<input type="checkbox" id="topic_publish_index" name="topic_publish_index" value="1" {if $_aRequest.topic_publish_index==1}checked{/if}/>
|
||||
<label for="topic_publish_index"> — {$aLang.topic_create_publish_index}</label>
|
||||
<br />
|
||||
<span class="form_note">{$aLang.topic_create_publish_index_notice}</span>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<p class="l-bot">
|
||||
<input type="submit" name="submit_topic_publish" value="{$aLang.topic_create_submit_publish}">
|
||||
<input type="submit" name="submit_topic_save" value="{$aLang.topic_create_submit_save}">
|
||||
<input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="ajaxTextPreview('topic_text',false); return false;">
|
||||
</p>
|
||||
|
||||
<div class="form_note">{$aLang.topic_create_submit_notice}</div>
|
||||
|
||||
<input type="hidden" name="topic_id" value="{$_aRequest.topic_id}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.action.tpl'}
|
||||
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{include file='header.tpl'}
|
||||
|
||||
{include file='menu.action.tpl'}
|
||||
|
||||
|
||||
{include file='topic_list.tpl'}
|
||||
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<DIV class=habrablock>
|
||||
<div class="padding">
|
||||
<div class="">
|
||||
<div class="">
|
||||
<h3>Описание блога ↓</h3>
|
||||
<div id="block_blog_info"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</DIV>
|
||||
|
||||
<div class="padding">
|
||||
<p>Не забывайте: <strong>тег <cut> сокращает длинные записи</strong>, скрывая их целиком или частично под ссылкой («читать дальше»). Скрытая часть не видна в блоге, но доступна в полной записи на странице топика.</p>
|
||||
</div>
|
|
@ -1,24 +0,0 @@
|
|||
<div class="habrablock">
|
||||
<h3 class="new_group_sections">Популярные блоги ↓</h3>
|
||||
<div class="companyblock">
|
||||
<table width="100%" border="0" cellpadding="5" cellspacing="1">
|
||||
<tr>
|
||||
<td width="5%"></td>
|
||||
<td width=""></td>
|
||||
<td width="22%" align="center" class="company_page_tb_header">Рейтинг</td>
|
||||
</tr>
|
||||
{foreach from=$aBlogs item=oBlog}
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td valign="middle"><a href="{$DIR_WEB_ROOT}/blog/{$oBlog->getUrl()}/" class="company_name_big_2">{$oBlog->getTitle()|escape:'html'}</a></td>
|
||||
<td nowrap align="center"><span class="company_rating_2"> {$oBlog->getRating()} </span></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table> <br>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="live_section_title_all" align="right">
|
||||
<span style="color:#666666">»</span> <a href="{$DIR_WEB_ROOT}/blogs/">все блоги</a>
|
||||
</div>
|
||||
</div>
|
|
@ -1,18 +0,0 @@
|
|||
<div class="habrablock">
|
||||
<h3 class="new_group_sections">Прямой эфир ↓</h3>
|
||||
|
||||
<div class="live_section">
|
||||
{foreach from=$aComments item=oComment}
|
||||
<div class="live_section_navtext_title">
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oComment->getUserLogin()}/"><img src="{$DIR_STATIC_SKIN}/img/user.gif" border="0" width="10" height="10" alt="посмотреть профиль" title="посмотреть профиль"></a>
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oComment->getUserLogin()}/" class="live_section_nickname">{$oComment->getUserLogin()}</a> →
|
||||
<a href="{$oComment->getBlogUrlFull()}" class="live_section_navtext_title_sec">{$oComment->getBlogTitle()|escape:'html'}</a> /
|
||||
<a href="{$DIR_WEB_ROOT}/blog/{if $oComment->getBlogUrl()}{$oComment->getBlogUrl()}/{/if}{$oComment->getTopicId()}.html#comment{$oComment->getId()}" class="live_section_navtext_title">{$oComment->getTopicTitle()|escape:'html'}</a> <span class="red">{$oComment->getTopicCountComment()}</span>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div class="live_section_title_all" align="right">
|
||||
<span style="color:#666666">»</span> <a href="{$DIR_WEB_ROOT}/comments/">весь прямой эфир</a> <a href="{$DIR_WEB_ROOT}/rss/allcomments/" title="RSS лента"><IMG height=12 src="{$DIR_STATIC_SKIN}/img/rss_small.gif" width=12></a>
|
||||
</div>
|
||||
</div>
|
|
@ -1,5 +0,0 @@
|
|||
<DIV class=tagsblock>
|
||||
{foreach from=$aTags item=oTag}
|
||||
<a href="{$DIR_WEB_ROOT}/tag/{$oTag->getText()|escape:'html'}/" style="font-size: {$oTag->getSize()}px;">{$oTag->getText()|escape:'html'}</a>
|
||||
{/foreach}
|
||||
</DIV>
|
|
@ -1,44 +0,0 @@
|
|||
<div class="userselected">
|
||||
|
||||
{foreach from=$aComments item=oComment}
|
||||
<div class="entry_item">
|
||||
<table border="0"><tr><td width="15%">
|
||||
<div class="comment">
|
||||
<div class="where">
|
||||
<a href="{$oComment->getBlogUrlFull()}" class="userinfo_navtext_title_sec">{$oComment->getBlogTitle()}</a> /
|
||||
<a href="{$oComment->getTopicUrl()}#comments" class="userinfo_navtext_title">{$oComment->getTopicTitle()}</a>
|
||||
<span style="color: #ff0000;">{$oComment->getTopicCountComment()}</span>
|
||||
</div>
|
||||
</div>
|
||||
</td><td width="85%">
|
||||
<div class="commenttext">
|
||||
<div class="comment_item">
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oComment->getUserLogin()}/">
|
||||
<img class="comments_avatar" src="{$oComment->getUserProfileAvatarPath(24)}" width="24" height="24" alt="" title="{$oComment->getUserLogin()}" border="0">
|
||||
</a>
|
||||
<div class="service_text_comments_holder">
|
||||
<a href="{$DIR_WEB_ROOT}/profile/{$oComment->getUserLogin()}/" class="comments_nickname">{$oComment->getUserLogin()}</a>
|
||||
<span class="comments_date">{date_format date=$oComment->getDate()}</span>
|
||||
<a href="{$oComment->getTopicUrl()}#comment{$oComment->getId()}" class="small" title=" ссылка ">#</a>
|
||||
</div>
|
||||
<div class="rating_comment_holder">
|
||||
<span class="comments_rating_off" style="color: {if $oComment->getRating()<0}#d00000{else}#008000{/if};">{$oComment->getRating()}</span>
|
||||
</div>
|
||||
<div class="comment_text" >
|
||||
{if $oComment->isBad()}
|
||||
<div style="display: none;" id="comment_text_{$oComment->getId()}">
|
||||
{$oComment->getText()}
|
||||
</div>
|
||||
<a href="#" onclick="$('comment_text_{$oComment->getId()}').style.display='block';$(this).style.display='none';return false;">раскрыть комментарий</a>
|
||||
{else}
|
||||
{$oComment->getText()}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
{include file='paging.tpl' aPaging=`$aPaging`}
|
|
@ -1,58 +0,0 @@
|
|||
ul.autocompleter-choices
|
||||
{
|
||||
position: absolute;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
border: 1px solid #7c7c7c;
|
||||
border-left-color: #c3c3c3;
|
||||
border-right-color: #c3c3c3;
|
||||
border-bottom-color: #ddd;
|
||||
background-color: #fff;
|
||||
text-align: left;
|
||||
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
|
||||
z-index: 50;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
ul.autocompleter-choices li
|
||||
{
|
||||
position: relative;
|
||||
margin: -2px 0 0 0;
|
||||
padding: 0.2em 1.5em 0.2em 1em;
|
||||
display: block;
|
||||
float: none !important;
|
||||
cursor: pointer;
|
||||
font-weight: normal;
|
||||
white-space: nowrap;
|
||||
font-size: 1em;
|
||||
line-height: 1.5em;
|
||||
border-bottom: 1px dashed #7c7c7c;
|
||||
}
|
||||
|
||||
ul.autocompleter-choices li.autocompleter-selected
|
||||
{
|
||||
background-color: #444;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
ul.autocompleter-choices span.autocompleter-queried
|
||||
{
|
||||
display: inline;
|
||||
float: none;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried
|
||||
{
|
||||
color: #9FCFFF;
|
||||
}
|
||||
|
||||
input.autocompleter-loading
|
||||
{
|
||||
background-image: url(../img/spinner.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 50%;
|
||||
}
|
|
@ -1,119 +0,0 @@
|
|||
/*
|
||||
ошибки
|
||||
*/
|
||||
.roar-error-body
|
||||
{
|
||||
position: absolute;
|
||||
font: 12px/14px "Lucida Grande", Arial, Helvetica, Verdana, sans-serif;
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
|
||||
.roar-error
|
||||
{
|
||||
position: absolute;
|
||||
width: 300px;
|
||||
cursor: pointer;
|
||||
background-color: #ed6060;
|
||||
border: solid #d00 1px;
|
||||
}
|
||||
.roar-error-bg
|
||||
{
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background-color: #ed6060;
|
||||
}
|
||||
.roar-error-body-ugly .roar-error
|
||||
{
|
||||
background-color: #333;
|
||||
}
|
||||
.roar-error-body-ugly .roar-error-bg
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
.roar-error h3
|
||||
{
|
||||
position: relative;
|
||||
padding: 15px 10px 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
font-size: 15px;
|
||||
color: #fff;
|
||||
z-index: 1002;
|
||||
}
|
||||
.roar-error p
|
||||
{
|
||||
position: relative;
|
||||
padding: 10px 10px 15px;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
z-index: 1002;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
алерт
|
||||
*/
|
||||
.roar-notice-body
|
||||
{
|
||||
position: absolute;
|
||||
font: 12px/14px "Lucida Grande", Arial, Helvetica, Verdana, sans-serif;
|
||||
|
||||
text-align: left;
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
|
||||
.roar-notice
|
||||
{
|
||||
position: absolute;
|
||||
width: 300px;
|
||||
cursor: pointer;
|
||||
background-color: #6690c9;
|
||||
border: solid #000 1px;
|
||||
}
|
||||
.roar-notice-bg
|
||||
{
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background-color: #6690c9;
|
||||
}
|
||||
.roar-notice-body-ugly
|
||||
{
|
||||
background-color: #6690c9;
|
||||
}
|
||||
.roar-notice-body-ugly .roar-notice-bg
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
.roar-notice h3
|
||||
{
|
||||
position: relative;
|
||||
padding: 15px 10px 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
font-size: 15px;
|
||||
color: #fff;
|
||||
z-index: 1002;
|
||||
}
|
||||
.roar-notice p
|
||||
{
|
||||
position: relative;
|
||||
padding: 10px 10px 15px;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
z-index: 1002;
|
||||
}
|
|
@ -1,123 +0,0 @@
|
|||
.whitebg{
|
||||
background: white !important;
|
||||
}
|
||||
.backoffice{
|
||||
padding-bottom: 20px;
|
||||
margin-top: 40px;
|
||||
|
||||
float: left;
|
||||
width: 100%
|
||||
}
|
||||
.backoffice form{
|
||||
margin-left: 0px;
|
||||
padding-top: 1em;
|
||||
}
|
||||
/* html form{
|
||||
width: 98%;
|
||||
}*/
|
||||
form.form2{
|
||||
padding-top: 0px;
|
||||
}
|
||||
.backoffice form label{
|
||||
|
||||
font-size: 13px;
|
||||
font-family: Arial;
|
||||
color: #000000;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
.backoffice .form_note{
|
||||
font-size: 11px;
|
||||
font-family: Arial;
|
||||
color: #999999;
|
||||
}
|
||||
.form_note_red {
|
||||
font-size: 13px;
|
||||
font-family: Arial;
|
||||
color: #ff3300;
|
||||
}
|
||||
.blog_info{
|
||||
padding: 20px;
|
||||
padding-bottom: 17px;
|
||||
font-family: Arial;
|
||||
font-size: 75%;
|
||||
}
|
||||
.posting_info{
|
||||
padding: 20px;
|
||||
font-family: Verdana;
|
||||
font-size: 75%;
|
||||
text-align: justify;
|
||||
}
|
||||
.blog_info img{
|
||||
margin-right: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.blog_info .userinfo_groups_name{
|
||||
font-family: Arial;
|
||||
color: #666666;
|
||||
font-weight: bold;
|
||||
}
|
||||
.who{
|
||||
text-align: left;
|
||||
font-size: 13px;
|
||||
}
|
||||
.who .text{
|
||||
padding-left: 20px;
|
||||
padding-top: 5px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.label2{
|
||||
display: inline !important;
|
||||
}
|
||||
.addquestion{
|
||||
text-align:right; font-size: 13px;
|
||||
}
|
||||
.addquestion a img{
|
||||
margin-right: 5px;
|
||||
}
|
||||
.addquestion a{
|
||||
color: #008cd2;
|
||||
}
|
||||
|
||||
.saved_posts{
|
||||
font-size: 75%;
|
||||
}
|
||||
.saved_posts th{
|
||||
padding: 5px;
|
||||
}
|
||||
.saved_posts td{
|
||||
background: #eeeeee;
|
||||
padding: 3px;
|
||||
border: solid white 1px;
|
||||
}
|
||||
.saved_posts_form{ margin-left: 0px !important; }
|
||||
|
||||
/* menu */
|
||||
table.backof{ margin-left: 0px;}
|
||||
.backof .subitem2{
|
||||
padding: 5px 7px;
|
||||
}
|
||||
.toright{
|
||||
/*padding-bottom: 1px;*/
|
||||
float: right !important;
|
||||
}
|
||||
|
||||
#pagemenuszd2{
|
||||
float: left;
|
||||
}
|
||||
.backoffice .sf_option_header {
|
||||
font-family: arial, sans-serif;
|
||||
color: #666666;
|
||||
/*font-size: 20px;*/
|
||||
line-height: 18px;
|
||||
letter-spacing: -1px;
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
.bo_user_info{
|
||||
font-family: Verdana;
|
||||
font-size: 75%;
|
||||
}
|
||||
.bo_user_info h3{
|
||||
padding: 0px !important;
|
||||
margin-bottom: 1em;
|
||||
}
|
|
@ -1,58 +0,0 @@
|
|||
#unread { color: 339900; }
|
||||
img.starr { margin-left: 5px; }
|
||||
blockquote {border-left:1px solid #e1e1e1;margin:3px 32px;padding:0px 16px}
|
||||
|
||||
|
||||
.help_header {
|
||||
font-family: Verdana, sans-serif;
|
||||
color: #999999;
|
||||
font-size: 20px;
|
||||
line-height: 25px;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
|
||||
a.small {font-size:11px; font-family:tahoma; color:#333399; line-height: 14px;}
|
||||
.small {font-size:11px; font-family:tahoma; line-height: 14px; color:#000000;}
|
||||
|
||||
|
||||
|
||||
/*** img border ********************************************************/
|
||||
|
||||
.img_border { border: 1px solid #ddd; }
|
||||
|
||||
|
||||
|
||||
|
||||
/*** Main Components ********************************************************/
|
||||
|
||||
|
||||
.header {
|
||||
font-family: Verdana, sans-serif;
|
||||
color: #999999;
|
||||
font-size: 26px;
|
||||
line-height: 25px;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
.txt {font-size:13px; font-family:verdana,arial; color:#000000; margin-bottom:5px;}
|
||||
.txt_small {font-size:12px; font-family:arial; color:#000000; margin-bottom:5px;}
|
||||
.form {font-size:13px; font-family:arial; color:#000000; margin-bottom:5px;}
|
||||
.form_note {font-size:11px; font-family:arial; color:#999999; margin-bottom:5px;}
|
||||
.form_note_red {font-size:13px; font-family:arial; color:#ff3300; margin-bottom:5px;}
|
||||
|
||||
|
||||
.text {font-size:13px; font-family:arial; color:#000000; line-height: 20px;}
|
||||
.text_lenta {font-size:13px; font-family:arial; color:#000000; line-height: 20px;}
|
||||
|
||||
|
||||
.story_text {
|
||||
color: #000000;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif, "MS sans serif";
|
||||
font-size: 13px
|
||||
}
|
||||
|
||||
|
||||
.bodycopy {margin-top: 15px; font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;}
|
||||
|
||||
.small {font-size:10px; font-family:tahoma,arial; color:#363636;}
|
|
@ -1,254 +0,0 @@
|
|||
#system_messages_error, #system_messages_notice { padding-top: 3px; border: 1px solid #c5c5c5; margin-bottom: 10px; background: #F8F8F8; color: #ff0000;}
|
||||
#system_messages_error ul, #system_messages_notice ul { list-style-type: none }
|
||||
#system_messages_error ul li , #system_messages_notice ul li { line-height: 16px }
|
||||
|
||||
|
||||
#system_messages_notice { padding-top: 3px; border: 1px solid #c5c5c5; margin-bottom: 10px; background: #F8F8F8; color: #1c8221;}
|
||||
|
||||
ul, ol { margin: 0; padding: 10px 10px 0 27px }
|
||||
ul li, ol li { padding: 0 0 5px 0; text-align: left; line-height: 100%; margin: 0 0 10px 0 }
|
||||
|
||||
|
||||
.padding {
|
||||
padding: 15px 15px 10px 15px;
|
||||
}
|
||||
|
||||
|
||||
.panel_topic_form {
|
||||
padding-top: 0px;
|
||||
padding-left: 3px;
|
||||
padding-bottom: 2px;
|
||||
/*
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
*/
|
||||
|
||||
|
||||
}
|
||||
|
||||
.panel_topic_form a.button img {
|
||||
margin-top: 2px;
|
||||
}
|
||||
.panel_topic_form a.button:hover img {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.panel_topic_form select {
|
||||
height: 20px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.panel_topic_form select option {
|
||||
background:#eaecea;
|
||||
}
|
||||
.panel_topic_form select option.title {
|
||||
background:#fff;
|
||||
}
|
||||
|
||||
#window_load_img { z-index: 100; position: absolute; display: none; padding-top: 0px;
|
||||
padding-left: 0px;
|
||||
padding-bottom: 2px;
|
||||
border: 1px solid #c5c5c5;
|
||||
background:#eaecea;
|
||||
}
|
||||
|
||||
#window_load_img td{
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
#window_load_img th{
|
||||
padding: 5px 5px 5px 5px;
|
||||
background:#c5c5c5;
|
||||
}
|
||||
|
||||
|
||||
#window_status { z-index: 1000; position: absolute; border: 1px solid #c5c5c5; background:#eaecea; display: none;}
|
||||
#window_status td {
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
|
||||
table.inbox th {
|
||||
padding: 3px 3px 3px 3px;
|
||||
text-align: left;
|
||||
font-size: 14px;
|
||||
color: #999;
|
||||
background:#F0F0E7;
|
||||
margin-bottom: 2px;
|
||||
border-bottom: 4px solid #ffffff;
|
||||
}
|
||||
table.inbox td {
|
||||
padding: 0px 0px 0px 3px;
|
||||
background:#F0F0E7;
|
||||
border-bottom: 2px solid #ffffff;
|
||||
}
|
||||
|
||||
td.date {
|
||||
font-size: 10px;
|
||||
line-height: 160%;
|
||||
text-align: left;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.addressee, .subj {
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
div.comment_text2 {
|
||||
font-size:13px;
|
||||
padding:6px 0 16px 0;
|
||||
font-family:Arial;
|
||||
|
||||
}
|
||||
|
||||
.comment_item_self {
|
||||
position:relative;
|
||||
padding-bottom:3px;
|
||||
margin-top:3px;
|
||||
font-family:Arial;
|
||||
background:#fdf5e6;
|
||||
}
|
||||
|
||||
.comment_item_new2 {
|
||||
position:relative;
|
||||
padding-bottom:3px;
|
||||
margin-top:3px;
|
||||
font-family:Arial;
|
||||
background:#e7eefe;
|
||||
}
|
||||
|
||||
.comment_item_del_admin {
|
||||
position:relative;
|
||||
padding-bottom:3px;
|
||||
margin-top:3px;
|
||||
font-family:Arial;
|
||||
background:#c5c5c5;
|
||||
}
|
||||
|
||||
/*Опросы*/
|
||||
|
||||
.poll dl {
|
||||
float: left;
|
||||
clear: both;
|
||||
width: 100%;
|
||||
border: .5em solid #fff;
|
||||
|
||||
margin: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.poll dl dt {
|
||||
float: left;
|
||||
width: 8%;
|
||||
font-size: 97.6%;
|
||||
text-align: right;
|
||||
margin-left: -20px;
|
||||
color: #ccc;
|
||||
}
|
||||
.poll dl dt strong {
|
||||
color:#404040;
|
||||
text-align: right;
|
||||
}
|
||||
.poll dl dd {
|
||||
width: 91%;
|
||||
float: left;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.poll .total {
|
||||
font-size: 97.6%;
|
||||
clear: both;
|
||||
margin-top: 1em;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
table.tbl th
|
||||
{
|
||||
|
||||
vertical-align:bottom;
|
||||
|
||||
border: none;
|
||||
border-bottom: solid #B0C1D3 1px;
|
||||
|
||||
padding:.2em .6em .2em .65em;
|
||||
background:#e2e4e4;
|
||||
|
||||
font-size:0.9em;
|
||||
font-weight:normal;
|
||||
color:#6e6e6e;
|
||||
}
|
||||
table.tbl td
|
||||
{
|
||||
padding:6px 8px 6px 8px;
|
||||
border: none;
|
||||
border-right: solid #B0C1D3 1px;
|
||||
}
|
||||
table.tbl tr.colored td
|
||||
{
|
||||
background-color:#EEF6FB;
|
||||
|
||||
}
|
||||
table.tbl tr.colored_sel td
|
||||
{
|
||||
background-color:#D9FBC2;
|
||||
|
||||
}
|
||||
table.tbl
|
||||
{
|
||||
font-size:0.9em;
|
||||
border:none;
|
||||
margin:20px 0px 30px 0px;
|
||||
border-bottom:solid 1px #B0C1D3;
|
||||
}
|
||||
table.tbl td:first-child
|
||||
{
|
||||
border-left: solid #B0C1D3 1px
|
||||
}
|
||||
table.tbl td
|
||||
{
|
||||
/* <20><><EFBFBD> IE: */
|
||||
border-left: expression(previousSibling == null ? 'solid #B0C1D3 1px' : 'inherit');
|
||||
}
|
||||
|
||||
|
||||
/* Поиск... */
|
||||
.searched-item { background: #fffacd; }
|
||||
#sub-nav {
|
||||
clear: both;
|
||||
}
|
||||
#sub-nav li {
|
||||
display: inline;
|
||||
margin-right: 3px;
|
||||
}
|
||||
#sub-nav li a {
|
||||
font-family: Arial, sans-serif;
|
||||
font-size:1.083em; /*13px*/
|
||||
text-decoration: none;
|
||||
color:#093;
|
||||
padding: 0 2px;
|
||||
}
|
||||
#sub-nav .current a {
|
||||
color:#fff;
|
||||
background-color: #ff9525;
|
||||
}
|
||||
|
||||
a.voter {
|
||||
float:left;
|
||||
font-size:0;
|
||||
height:13px;
|
||||
width:14px;
|
||||
}
|
||||
|
||||
.vote_down {
|
||||
background:transparent url(../img/vote_comment_down.gif) no-repeat scroll left top;
|
||||
}
|
||||
.vote_down_gray {
|
||||
background:transparent url(../img/vote_comment_down_gray.gif) no-repeat scroll left top;
|
||||
}
|
||||
.vote_up {
|
||||
background:transparent url(../img/vote_comment_up.gif) no-repeat scroll left top;
|
||||
}
|
||||
.vote_up_gray {
|
||||
background:transparent url(../img/vote_comment_up_gray.gif) no-repeat scroll left top;
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
|
||||
<!--- / СОДЕРЖАНИЕ --->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,16 +0,0 @@
|
|||
</DIV></DIV></DIV></DIV>
|
||||
|
||||
|
||||
<DIV class=footer>
|
||||
<DIV style="FLOAT: left">© Сайт работает на базе движка <a href="http://livestreet.ru" title="Бесплатный движок социальной сети LiveStreet">LiveStreet</a>
|
||||
</DIV>
|
||||
|
||||
<DIV style="FLOAT: right">© 2008 |
|
||||
<A href="{$DIR_WEB_ROOT}/page/about/">О проекте</A> |
|
||||
<A href="{$DIR_WEB_ROOT}/page/download/">Скачать</A>
|
||||
</DIV>
|
||||
</DIV>
|
||||
|
||||
|
||||
|
||||
</BODY></HTML>
|
|
@ -1,30 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
|
||||
<title>{$sHtmlTitle}</title>
|
||||
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
|
||||
<link rel="SHORTCUT ICON" href="{$DIR_STATIC_SKIN}/img/favicon.ico">
|
||||
|
||||
<LINK media=all href="{$DIR_STATIC_SKIN}/css/habrahabr.css" type=text/css rel=stylesheet>
|
||||
<LINK media=all href="{$DIR_STATIC_SKIN}/css/my.css" type=text/css rel=stylesheet>
|
||||
|
||||
{if $bRefreshToHome}
|
||||
<meta HTTP-EQUIV="Refresh" CONTENT="3; URL={$DIR_WEB_ROOT}/">
|
||||
{/if}
|
||||
|
||||
</HEAD>
|
||||
|
||||
|
||||
<body bgcolor="#FFFFFF" leftmargin="0" rightmargin="0" topmargin="0" marginheight="0" marginwidth="0" link="#008CD2" vlink="#008CD2">
|
||||
|
||||
|
||||
<table width="830" border="0" cellspacing="0" cellpadding="0" valign="top">
|
||||
<tr>
|
||||
<td width="220" bgcolor="#ffffff" align="center" valign="top"><a href="{$DIR_WEB_ROOT}/"><IMG class=sitelogo title="{$SITE_NAME}" height=130 alt="{$SITE_NAME}" src="{$DIR_STATIC_SKIN}/img/logo.gif" width=240 border=0></a></td>
|
||||
<td width="10" bgcolor="#ffffff" valign="top"></td>
|
||||
<td width="600" bgcolor="#ffffff" valign="top">
|
||||
|
||||
<br /><br />
|
||||
|
||||
<!--- СОДЕРЖАНИЕ --->
|
||||
|
|
@ -1,193 +0,0 @@
|
|||
<HTML>
|
||||
|
||||
<HEAD>
|
||||
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
|
||||
<TITLE>{$sHtmlTitle}</TITLE>
|
||||
<META name="DESCRIPTION" content="{$sHtmlDescription}">
|
||||
<META name="KEYWORDS" content="{$sHtmlKeywords}">
|
||||
|
||||
<LINK href="{$DIR_STATIC_SKIN}/img/favicon.ico" rel="shortcut icon">
|
||||
<LINK media=all href="{$DIR_STATIC_SKIN}/css/habrahabr.css?v=1" type=text/css rel=stylesheet>
|
||||
<LINK media=all href="{$DIR_STATIC_SKIN}/css/backoffice.css?v=2" type=text/css rel=stylesheet>
|
||||
<LINK media=all href="{$DIR_STATIC_SKIN}/css/global.css?v=4" type=text/css rel=stylesheet>
|
||||
<LINK media=all href="{$DIR_STATIC_SKIN}/css/my.css?v=4" type=text/css rel=stylesheet>
|
||||
<LINK media=all href="{$DIR_STATIC_SKIN}/css/Roar.css" type=text/css rel=stylesheet>
|
||||
<LINK media=all href="{$DIR_STATIC_SKIN}/css/Autocompleter.css" type=text/css rel=stylesheet>
|
||||
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="{$DIR_WEB_ROOT}/search/opensearch/" title="{$SITE_NAME}">
|
||||
</HEAD>
|
||||
<script type="text/javascript" src="{$DIR_STATIC_SKIN}/js/panel.js"></script>
|
||||
<script type="text/javascript" src="{$DIR_STATIC_SKIN}/js/windows.js"></script>
|
||||
<script type="text/javascript" src="{$DIR_WEB_ROOT}/classes/lib/external/JsHttpRequest/JsHttpRequest.js"></script>
|
||||
<script type="text/javascript" src="{$DIR_WEB_ROOT}/classes/lib/external/MooTools_1.2/mootools-1.2-core-yc.js"></script>
|
||||
<script type="text/javascript" src="{$DIR_WEB_ROOT}/classes/lib/external/MooTools_1.2/plugs/Roal/Roar.js"></script>
|
||||
<script type="text/javascript" src="{$DIR_WEB_ROOT}/classes/lib/external/MooTools_1.2/plugs/Autocompleter/Autocompleter.js"></script>
|
||||
<script type="text/javascript" src="{$DIR_WEB_ROOT}/classes/lib/external/MooTools_1.2/plugs/Autocompleter/Autocompleter.Request.js"></script>
|
||||
<script type="text/javascript" src="{$DIR_WEB_ROOT}/classes/lib/external/MooTools_1.2/plugs/Autocompleter/Observer.js"></script>
|
||||
<script type="text/javascript" src="{$DIR_STATIC_SKIN}/js/main.js?v=11"></script>
|
||||
<BODY>
|
||||
|
||||
{literal}
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
var tinyMCE=false;
|
||||
var msgErrorBox=new Roar({
|
||||
position: 'upperRight',
|
||||
className: 'roar-error'
|
||||
});
|
||||
var msgNoticeBox=new Roar({
|
||||
position: 'upperRight',
|
||||
className: 'roar-notice'
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
<script>
|
||||
var DIR_WEB_ROOT='{$DIR_WEB_ROOT}';
|
||||
var DIR_STATIC_SKIN='{$DIR_STATIC_SKIN}';
|
||||
var BLOG_USE_TINYMCE='{$BLOG_USE_TINYMCE}';
|
||||
</script>
|
||||
|
||||
|
||||
<div id="debug" style="border: 2px #dd0000 solid; display: none;"></div>
|
||||
|
||||
<div id="window_status">
|
||||
<table>
|
||||
<tr>
|
||||
<td><IMG class=sitelogo title="{$aLang.window_close}" alt="{$aLang.window_close}" src="{$DIR_STATIC_SKIN}/img/loader.gif" border=0 style="cursor: pointer;" onclick="closeWindowStatus();"></td>
|
||||
<td><div id="window_status_text"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<DIV id=head>
|
||||
<DIV class=right>
|
||||
|
||||
{if $oUserCurrent}
|
||||
<A href="{$DIR_WEB_ROOT}/profile/{$oUserCurrent->getLogin()}/"><IMG class=img_border aheight=64 alt="" src="{$oUserCurrent->getProfileAvatarPath(64)}" width=64 border=0></A>
|
||||
<DIV class=hello>
|
||||
<A class=hello_nickname href="{$DIR_WEB_ROOT}/profile/{$oUserCurrent->getLogin()}/">{$oUserCurrent->getLogin()}</A> ( <A class=hello_exit href="{$DIR_WEB_ROOT}/login/exit/">{$aLang.exit}</a> ) <BR>
|
||||
</DIV>
|
||||
{if $iUserCurrentCountTalkNew}
|
||||
<nobr><IMG vspace="0" title="Проверьте почту!" align="middle" height=12 alt="" src="{$DIR_STATIC_SKIN}/img/mail.gif" width=12 border=0> <A class=hello_exit href="{$DIR_WEB_ROOT}/talk/">{$aLang.user_privat_messages_new}({$iUserCurrentCountTalkNew})</a></nobr><br>
|
||||
{else}
|
||||
<nobr><A class=hello_exit href="{$DIR_WEB_ROOT}/talk/">{$aLang.user_privat_messages}</a></nobr><br>
|
||||
{/if}
|
||||
|
||||
{$aLang.user_settings} <A class=hello_exit href="{$DIR_WEB_ROOT}/settings/profile/">{$aLang.user_settings_profile}</a> | <A class=hello_exit href="{$DIR_WEB_ROOT}/settings/tuning/">{$aLang.user_settings_tuning}</a><br>
|
||||
|
||||
{else}
|
||||
<DIV class=hello>
|
||||
<form action="{$DIR_WEB_ROOT}/login/" method="POST" id="loginform">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td align="right" width="100%">
|
||||
{$aLang.user_login}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="login" value="" size="15">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" >
|
||||
{$aLang.user_password}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="password" value="" size="15">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td align="right" >
|
||||
<input type="submit" name="submit_login" value="{$aLang.user_login_submit}" size="15">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<A href="{$DIR_WEB_ROOT}/registration/">{$aLang.user_registration}</A>
|
||||
</DIV>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
<DIV class=search_form>
|
||||
<form action="{$DIR_WEB_ROOT}/search/topics/" method="GET">
|
||||
<p>
|
||||
<input type="text" value="" name="q" size="20">
|
||||
<input type="submit" value="Найти">
|
||||
</p>
|
||||
</form>
|
||||
</DIV>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</DIV>
|
||||
<DIV class=headlayout>
|
||||
<DIV class=left>
|
||||
<A href="{$DIR_WEB_ROOT}/"><IMG class=sitelogo title="{$SITE_NAME}" height=130 alt="{$SITE_NAME}" src="{$DIR_STATIC_SKIN}/img/logo.gif" width=240 border=0></A>
|
||||
<DIV class=menu>
|
||||
<A href="{$DIR_WEB_ROOT}/blog/">{$aLang.blogs}</A>
|
||||
<A href="{$DIR_WEB_ROOT}/people/">{$aLang.people}</A>
|
||||
<A href="{$DIR_WEB_ROOT}/page/about/">{$aLang.page_about}</A>
|
||||
<A href="{$DIR_WEB_ROOT}/page/download/">{$aLang.page_download}</A>
|
||||
<A href="http://trac.assembla.com/livestreet/timeline" target="_blank" style="color: #d00;">SVN</A>
|
||||
<A href="http://test.livestreet.ru" target="_blank" style="color: #d00;">DEMO</A>
|
||||
</DIV>
|
||||
<!--
|
||||
<DIV class=submenu>
|
||||
вложенное меню
|
||||
</DIV>
|
||||
<DIV class=habraadvert>
|
||||
баннер 1
|
||||
</DIV>
|
||||
-->
|
||||
</DIV>
|
||||
</DIV>
|
||||
</DIV>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<DIV id=maindata>
|
||||
<DIV id=megadata>
|
||||
{if ($sAction=='profile' or $sAction=='my') and $oUserProfile}
|
||||
<DIV id=usermegadata>
|
||||
<DIV class=biguserinfo>
|
||||
<A class=userinfo_name_superbig href="{$DIR_WEB_ROOT}/profile/{$oUserProfile->getLogin()}/"><IMG class=img_border height=48 alt="" src="{$oUserProfile->getProfileAvatarPath(48)}" width=48 align=absMiddle border=0> {$oUserProfile->getLogin()}</A>
|
||||
|
||||
</DIV>
|
||||
</DIV>
|
||||
{if $oUserCurrent and $oUserCurrent->getId()!=$oUserProfile->getId()}
|
||||
<a href="{$DIR_WEB_ROOT}/talk/add/?talk_users={$oUserProfile->getLogin()}"><img class=userinfo_name_superbig src="{$DIR_STATIC_SKIN}/img/mail_big.gif" border="0" title="{$aLang.user_write_prvmsg}" alt="{$aLang.user_write_prvmsg}" align="top"></a>
|
||||
|
||||
<span id="user_frend_add" {if $oUserProfile->getUserIsFrend()}style="display: none;"{/if}>
|
||||
<a href="#" title="{$aLang.user_friend_add}" onclick="ajaxUserFrend({$oUserProfile->getId()},1); return false;"><img src="{$DIR_STATIC_SKIN}/img/frend_add.gif" width="24" height="24"></a>
|
||||
</span>
|
||||
<span id="user_frend_del" {if !$oUserProfile->getUserIsFrend()}style="display: none;"{/if}>
|
||||
<a href="#" title="{$aLang.user_friend_del}" onclick="ajaxUserFrend({$oUserProfile->getId()},0); return false;"><img src="{$DIR_STATIC_SKIN}/img/frend_del.gif" width="24" height="24"></a>
|
||||
</span>
|
||||
|
||||
{/if}
|
||||
{/if}
|
||||
<DIV id=content>
|
||||
<DIV id=right>
|
||||
|
||||
{if isset($aBlocks.right)}
|
||||
{foreach from=$aBlocks.right item=aBlock}
|
||||
{if $aBlock.type=='block'}
|
||||
{insert name="block" block=`$aBlock.name` params=`$aBlock.params`}
|
||||
{/if}
|
||||
{if $aBlock.type=='template'}
|
||||
{include file=`$aBlock.name` params=`$aBlock.params`}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
|
||||
</DIV>
|
||||
<DIV id=left>
|
Before Width: | Height: | Size: 63 B |
Before Width: | Height: | Size: 64 B |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 872 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 869 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 554 B |
Before Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 97 B |
Before Width: | Height: | Size: 88 B |
Before Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 559 B |
Before Width: | Height: | Size: 539 B |
Before Width: | Height: | Size: 47 B |
Before Width: | Height: | Size: 46 B |
Before Width: | Height: | Size: 618 B |
Before Width: | Height: | Size: 553 B |
Before Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 582 B |
Before Width: | Height: | Size: 580 B |
Before Width: | Height: | Size: 363 B |
Before Width: | Height: | Size: 798 B |
Before Width: | Height: | Size: 784 B |
Before Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 627 B |
Before Width: | Height: | Size: 131 B |
Before Width: | Height: | Size: 371 B |