1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00

Developer JQuery

This commit is contained in:
Denis Shakhov 2011-04-01 07:49:36 +00:00
parent 3c8a34b4b6
commit f0f5d4da9d
231 changed files with 5992 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{include file='header.tpl'}
<form action="{router page='admin'}plugins/" method="post" id="form_plugins_list">
<table class="table">
<thead>
<tr>
<td width="20"><input type="checkbox" name="" onclick="checkAll('form_plugins_checkbox', this);" /></td>
<td>{$aLang.plugins_plugin_name}</td>
<td>{$aLang.plugins_plugin_version}</td>
<td>{$aLang.plugins_plugin_author}</td>
<td>{$aLang.plugins_plugin_action}</td>
</tr>
</thead>
<tbody>
{foreach from=$aPlugins item=aPlugin}
<tr {if $aPlugin.is_active}class="active"{/if}>
<td><input type="checkbox" name="plugin_del[{$aPlugin.code}]" class="form_plugins_checkbox" /></td>
<td>
<h3>{$aPlugin.property->name->data|escape:'html'}</h3>
{$aPlugin.property->description->data}<br />
{$aPlugin.property->homepage}
</td>
<td>{$aPlugin.property->version|escape:'html'}</td>
<td>{$aPlugin.property->author->data|escape:'html'}</td>
<td>
{if $aPlugin.is_active}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=deactivate">{$aLang.plugins_plugin_deactivate}</a>
{else}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=activate">{$aLang.plugins_plugin_activate}</a>
{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<input type="submit" name="submit_plugins_del" value="{$aLang.plugins_submit_delete}" onclick="return ($$('.form_plugins_checkbox:checked').length==0)?false:confirm('{$aLang.plugins_delete_confirm}');" />
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,57 @@
{if $sEvent=='add'}
{include file='header.tpl' menu='topic_action'}
{else}
{include file='header.tpl'}
{/if}
{if $sEvent=='add'}
<h2>{$aLang.blog_create}</h2>
{else}
{include file='menu.blog_edit.tpl'}
{/if}
<form action="" method="POST" enctype="multipart/form-data">
{hook run='form_add_blog_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p><label for="blog_title">{$aLang.blog_create_title}:</label><br />
<input type="text" id="blog_title" name="blog_title" value="{$_aRequest.blog_title}" class="input-wide" /><br />
<span class="note">{$aLang.blog_create_title_notice}</span></p>
<p><label for="blog_url">{$aLang.blog_create_url}:</label><br />
<input type="text" id="blog_url" name="blog_url" value="{$_aRequest.blog_url}" class="input-wide" {if $_aRequest.blog_id}disabled{/if} /><br />
<span class="note">{$aLang.blog_create_url_notice}</span></p>
<p><label for="blog_type">{$aLang.blog_create_type}:</label><br />
<select name="blog_type" id="blog_type" class="input-200">
<option value="open" {if $_aRequest.blog_type=='open'}selected{/if}>{$aLang.blog_create_type_open}</option>
<option value="close" {if $_aRequest.blog_type=='close'}selected{/if}>{$aLang.blog_create_type_close}</option>
</select><br />
<span class="note">{$aLang.blog_create_type_open_notice}</span></p>
<p><label for="blog_description">{$aLang.blog_create_description}:</label><br />
<textarea name="blog_description" id="blog_description" rows="20" class="input-wide">{$_aRequest.blog_description}</textarea><br />
<span class="note">{$aLang.blog_create_description_notice}</span></p>
<p><label for="blog_limit_rating_topic">{$aLang.blog_create_rating}:</label><br />
<input type="text" id="blog_limit_rating_topic" name="blog_limit_rating_topic" value="{$_aRequest.blog_limit_rating_topic}" class="input-100" /><br />
<span class="note">{$aLang.blog_create_rating_notice}</span></p>
<p>
{if $oBlogEdit and $oBlogEdit->getAvatar()}
<img src="{$oBlogEdit->getAvatarPath(48)}" />
<img src="{$oBlogEdit->getAvatarPath(24)}" />
<label><input type="checkbox" id="avatar_delete" name="avatar_delete" value="on"> &mdash; {$aLang.blog_create_avatar_delete}</label><br /><br />
{/if}
<label for="avatar">{$aLang.blog_create_avatar}:</label><br />
<input type="file" name="avatar" id="avatar"></p>
{hook run='form_add_blog_end'}
<p><input type="submit" name="submit_blog_add" value="{$aLang.blog_create_submit}" />
<input type="hidden" name="blog_id" value="{$_aRequest.blog_id}" /></p>
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,42 @@
{include file='header.tpl'}
{include file='menu.blog_edit.tpl'}
{if $aBlogUsers}
<form action="" method="POST" enctype="multipart/form-data">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<table class="table">
<thead>
<tr>
<td>{$aLang.blog_admin_users}</td>
<td width="10%">{$aLang.blog_admin_users_administrator}</td>
<td width="10%">{$aLang.blog_admin_users_moderator}</td>
<td width="10%">{$aLang.blog_admin_users_reader}</td>
<td width="10%">{$aLang.blog_admin_users_bun}</td>
</tr>
</thead>
<tbody>
{foreach from=$aBlogUsers item=oBlogUser}
{assign var="oUser" value=$oBlogUser->getUser()}
<tr>
<td><a href="{router page='profile'}{$oUser->getLogin()}/">{$oUser->getLogin()}</a></td>
{if $oUser->getId()==$oUserCurrent->getId()}
<td colspan="3" align="center">{$aLang.blog_admin_users_current_administrator}</td>
{else}
<td align="center"><input type="radio" name="user_rank[{$oUser->getId()}]" value="administrator" {if $oBlogUser->getIsAdministrator()}checked{/if} /></td>
<td align="center"><input type="radio" name="user_rank[{$oUser->getId()}]" value="moderator" {if $oBlogUser->getIsModerator()}checked{/if} /></td>
<td align="center"><input type="radio" name="user_rank[{$oUser->getId()}]" value="reader" {if $oBlogUser->getUserRole()==$BLOG_USER_ROLE_USER}checked{/if} /></td>
<td align="center"><input type="radio" name="user_rank[{$oUser->getId()}]" value="ban" {if $oBlogUser->getUserRole()==$BLOG_USER_ROLE_BAN}checked{/if} /></td>
{/if}
</tr>
{/foreach}
</tbody>
</table>
<input type="submit" name="submit_blog_admin" value="{$aLang.blog_admin_users_submit}" />
</form>
{else}
{$aLang.blog_admin_users_empty}
{/if}
{include file='footer.tpl'}

View file

@ -0,0 +1,101 @@
{include file='header.tpl' menu='blog'}
{assign var="oUserOwner" value=$oBlog->getOwner()}
{assign var="oVote" value=$oBlog->getVote()}
{if $oUserCurrent->isAdministrator()}
<form id="blog_delete_form" class="blog-delete-form" action="{router page='blog'}delete/{$oBlog->getId()}/" method="POST">
<a href="#" class="close jqmClose"></a>
<p>{$aLang.blog_admin_delete_move}</p>
<p><select name="topic_move_to">
<option value="-1">{$aLang.blog_delete_clear}</option>
{if $aBlogs}
<optgroup label="{$aLang.blogs}">
{foreach from=$aBlogs item=oBlogDelete}
<option value="{$oBlogDelete->getId()}">{$oBlogDelete->getTitle()}</option>
{/foreach}
</optgroup>
{/if}
</select></p>
<input type="hidden" value="{$LIVESTREET_SECURITY_KEY}" name="security_ls_key" />
<input type="submit" value="{$aLang.blog_delete}" />
</form>
{/if}
<div class="blog">
<div class="voting {if $oBlog->getRating()>=0}positive{else}negative{/if} {if !$oUserCurrent || $oBlog->getOwnerId()==$oUserCurrent->getId()}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{elseif $oVote->getDirection()<0}minus{/if}{/if}">
<a href="#" class="plus" onclick="vote.vote({$oBlog->getId()},this,1,'blog'); return false;"></a>
<div class="total" title="{$aLang.blog_vote_count}: {$oBlog->getCountVote()}">{$oBlog->getRating()}</div>
<a href="#" class="minus" onclick="vote.vote({$oBlog->getId()},this,-1,'blog'); return false;"></a>
</div>
<h2><img src="{$oBlog->getAvatarPath(24)}" alt="avatar" class="avatar" /> {$oBlog->getTitle()|escape:'html'}</h2>
<ul class="actions">
<li><a href="{router page='rss'}blog/{$oBlog->getUrl()}/" class="rss">Rss</a></li>
{if $oUserCurrent and $oUserCurrent->getId()!=$oBlog->getOwnerId()}
<li><a href="#" onclick="blogs.ajaxJoinLeaveBlog(this,{$oBlog->getId()}); return false;">{if $oBlog->getUserIsJoin()}{$aLang.clean_leave}{else}{$aLang.clean_join}{/if}</a></li>
{/if}
{if $oUserCurrent and ($oUserCurrent->getId()==$oBlog->getOwnerId() or $oUserCurrent->isAdministrator() or $oBlog->getUserIsAdministrator() )}
<li>
<a href="{router page='blog'}edit/{$oBlog->getId()}/" title="{$aLang.blog_edit}" class="edit">{$aLang.blog_edit}</a></li>
{if $oUserCurrent->isAdministrator()}
<li><a href="#" title="{$aLang.blog_delete}" id="blog_delete_show" class="delete">{$aLang.blog_delete}</a>
{else}
<a href="{router page='blog'}delete/{$oBlog->getId()}/?security_ls_key={$LIVESTREET_SECURITY_KEY}" title="{$aLang.blog_delete}" onclick="return confirm('{$aLang.blog_admin_delete_confirm}');" >{$aLang.blog_delete}</a>
{/if}
</li>
{/if}
</ul>
<p>{$oBlog->getDescription()|nl2br}</p>
<strong>{$aLang.blog_user_administrators} ({$iCountBlogAdministrators}):</strong>
<a href="{$oUserOwner->getUserWebPath()}" class="user">{$oUserOwner->getLogin()}</a>
{if $aBlogAdministrators}
{foreach from=$aBlogAdministrators item=oBlogUser}
{assign var="oUser" value=$oBlogUser->getUser()}
<a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a>
{/foreach}
{/if}<br />
<strong>{$aLang.blog_user_moderators} ({$iCountBlogModerators}):</strong>
{if $aBlogModerators}
{foreach from=$aBlogModerators item=oBlogUser}
{assign var="oUser" value=$oBlogUser->getUser()}
<a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a>
{/foreach}
{else}
{$aLang.blog_user_moderators_empty}
{/if}<br />
<strong>{$aLang.blog_user_readers} ({$iCountBlogUsers}):</strong>
{if $aBlogUsers}
{foreach from=$aBlogUsers item=oBlogUser}
{assign var="oUser" value=$oBlogUser->getUser()}
<a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a>
{/foreach}
{else}
{$aLang.blog_user_readers_empty}
{/if}
</div>
{if $bCloseBlog}
{$aLang.blog_close_show}
{else}
{include file='topic_list.tpl'}
{/if}
{include file='footer.tpl'}

View file

@ -0,0 +1,4 @@
{include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,20 @@
<div class="block">
<form onsubmit="blogs.addBlogInvite({$oBlogEdit->getId()}); return false;">
<p><label>{$aLang.blog_admin_user_add_label}<br />
<input type="text" id="blog_admin_user_add" name="add" class="input-200 autocomplete-users" /></label></p>
</form>
<h2>{$aLang.blog_admin_user_invited}</h2>
<div id="invited_list_block">
{if $aBlogUsersInvited}
<ul class="list" id="invited_list">
{foreach from=$aBlogUsersInvited item=oBlogUser}
{assign var='oUser' value=$oBlogUser->getUser()}
<li><a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> - <a href="#" onclick="blogs.reBlogInvite({$oUser->getId()}, {$oBlogEdit->getId()}); return false;">{$aLang.blog_user_invite_readd}</a></li>
{/foreach}
</ul>
{/if}
</div>
</div>

View file

@ -0,0 +1,18 @@
{include file='header.tpl' menu='blog'}
{include file='topic.tpl' tSingle="true"}
{include
file='comment_tree.tpl'
iTargetId=$oTopic->getId()
sTargetType='topic'
iCountComment=$oTopic->getCountComment()
sDateReadLast=$oTopic->getDateRead()
bAllowNewComment=$oTopic->getForbidComment()
sNoticeNotAllow=$aLang.topic_comment_notallow
sNoticeCommentAdd=$aLang.topic_comment_add
aPagingCmt=$aPagingCmt
}
{include file='footer.tpl'}

View file

@ -0,0 +1,7 @@
{include file='header.tpl' sMenuHeadItemSelect="blogs"}
<h2>{$aLang.blogs}</h2>
{include file='blog_list.tpl'}
{include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'}

View file

@ -0,0 +1,7 @@
{include file='header.tpl'}
<h2>{$aLang.comments_all}</h2>
{include file='comment_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,12 @@
{include file='header.tpl' noShowSystemMessage=true}
{if $aMsgError[0].title}
<h2>{$aLang.error}: {$aMsgError[0].title}</h2>
{/if}
<p>{$aMsgError[0].msg}</p>
<p><a href="javascript:history.go(-1);">{$aLang.site_history_back}</a>, <a href="{cfg name='path.root.web'}">{$aLang.site_go_main}</a></p>
{include file='footer.tpl'}

View file

@ -0,0 +1,4 @@
{include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,63 @@
{include file='header.tpl' menu='topic_action'}
<div class="topic" style="display: none;">
<div class="content" id="text_preview"></div>
</div>
{if $sEvent=='add'}
<h2>{$aLang.topic_link_create}</h2>
{else}
<h2>{$aLang.topic_link_edit}</h2>
{/if}
<form action="" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_link_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p><label for="blog_id">{$aLang.topic_create_blog}</label><br />
<select name="blog_id" id="blog_id" onChange="ajaxBlogInfo(this.value);" class="input-200">
<option value="0">{$aLang.topic_create_blog_personal}</option>
{foreach from=$aBlogsAllow item=oBlog}
<option value="{$oBlog->getId()}" {if $_aRequest.blog_id==$oBlog->getId()}selected{/if}>{$oBlog->getTitle()}</option>
{/foreach}
</select></p>
<p><label for="topic_title">{$aLang.topic_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br />
<span class="note">{$aLang.topic_create_title_notice}</span></p>
<p><label for="topic_link_url">{$aLang.topic_link_create_url}:</label><br />
<input type="text" id="topic_link_url" name="topic_link_url" value="{$_aRequest.topic_link_url}" class="input-wide" /><br />
<span class="note">{$aLang.topic_link_create_url_notice}</span></p>
<p><label for="topic_text">{$aLang.topic_link_create_text}:</label><br />
<textarea name="topic_text" id="topic_text" rows="20" class="input-wide">{$_aRequest.topic_text}</textarea></p>
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label><br />
<input type="text" id="topic_tags" name="topic_tags" value="{$_aRequest.topic_tags}" class="input-wide autocomplete-tags-sep" /><br />
<span class="note">{$aLang.topic_create_tags_notice}</span></p>
<p><label><input type="checkbox" id="topic_forbid_comment" name="topic_forbid_comment" class="checkbox" value="1" {if $_aRequest.topic_forbid_comment==1}checked{/if} />
{$aLang.topic_create_forbid_comment}</label><br />
<span class="note">{$aLang.topic_create_forbid_comment_notice}</span></p>
{if $oUserCurrent->isAdministrator()}
<p><label for=""><input type="checkbox" id="topic_publish_index" name="topic_publish_index" class="checkbox" value="1" {if $_aRequest.topic_publish_index==1}checked{/if} />
{$aLang.topic_create_publish_index}</label><br />
<span class="note">{$aLang.topic_create_publish_index_notice}</span></p>
{/if}
{hook run='form_add_topic_link_end'}
<input type="submit" name="submit_topic_publish" value="{$aLang.topic_create_submit_publish}" />
<input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="$('text_preview').getParent('div').setStyle('display','block'); ajaxTextPreview('topic_text',true); return false;" />&nbsp;
<input type="submit" name="submit_topic_save" value="{$aLang.topic_create_submit_save}" />
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,6 @@
{assign var="noSidebar" value=true}
{include file='header.tpl'}
<h2>{$aLang.user_exit_notice}</h2>
{include file='footer.tpl'}

View file

@ -0,0 +1,41 @@
{assign var="noSidebar" value=true}
{include file='header.tpl'}
<div class="center">
{if $bLoginError}
<p class="system-messages-error">{$aLang.user_login_bad}</p>
{/if}
<form action="{router page='login'}" method="POST">
<h2>{$aLang.user_authorization}</h2>
{hook run='form_login_begin'}
<p><a href="{router page='registration'}">{$aLang.user_registration}</a><br />
<a href="{router page='login'}reminder/">{$aLang.user_password_reminder}</a></p>
<p><label>{$aLang.user_login}<br /><input type="text" name="login" class="input-200" /></label></p>
<p><label>{$aLang.user_password}<br /><input type="password" name="password" class="input-200" /></label></p>
<p><label><input type="checkbox" name="remember" checked class="checkbox" />{$aLang.user_login_remember}</label></p>
{hook run='form_login_end'}
<input type="submit" name="submit_login" value="{$aLang.user_login_submit}" />
</form>
{if $oConfig->GetValue('general.reg.invite')}
<br /><br />
<form action="{router page='registration'}invite/" method="POST">
<h2>{$aLang.registration_invite}</h2>
<p><label>{$aLang.registration_invite_code}<br />
<input type="text" name="invite_code" /></label></p>
<input type="submit" name="submit_invite" value="{$aLang.registration_invite_check}" />
</form>
{/if}
</div>
{include file='footer.tpl'}

View file

@ -0,0 +1,17 @@
{assign var="noSidebar" value=true}
{include file='header.tpl'}
<div class="center">
<form action="{router page='login'}reminder/" method="POST">
<h2>{$aLang.password_reminder}</h2>
<p><label for="mail">{$aLang.password_reminder_email}<br />
<input type="text" name="mail" id="name" class="input-200" /></label></p>
<input type="submit" name="submit_reminder" value="{$aLang.password_reminder_submit}" />
</form>
</div>
{include file='footer.tpl'}

View file

@ -0,0 +1,6 @@
{include file='header.tpl'}
<h2>{$aLang.password_reminder}</h2>
{$aLang.password_reminder_send_password}
{include file='footer.tpl'}

View file

@ -0,0 +1,6 @@
{include file='header.tpl'}
<h2>{$aLang.password_reminder}</h2>
{$aLang.password_reminder_send_link}
{include file='footer.tpl'}

View file

@ -0,0 +1,4 @@
{include file='header.tpl' menu="profile"}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,3 @@
{include file='header.tpl' menu="profile"}
{include file='comment_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,4 @@
{include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,37 @@
{include file='header.tpl' menu='people'}
<h2>{$aLang.user_list}: {$oCity->getName()}</h2>
{if $aUsersCity}
<table class="table">
<thead>
<tr>
<td>{$aLang.user}</td>
<td align="center" width="160">{$aLang.user_date_last}</td>
<td align="center" width="160">{$aLang.user_date_registration}</td>
<td align="center" width="60">{$aLang.user_skill}</td>
<td align="center" width="60">{$aLang.user_rating}</td>
</tr>
</thead>
<tbody>
{foreach from=$aUsersCity item=oUser}
{assign var="oSession" value=$oUser->getSession()}
<tr>
<td><a href="{router page='profile'}{$oUser->getLogin()}/">{$oUser->getLogin()}</a></td>
<td align="center">{if $oSession}{date_format date=$oSession->getDateLast()}{/if}</td>
<td align="center">{date_format date=$oUser->getDateRegister()}</td>
<td align="center">{$oUser->getSkill()}</td>
<td align="center"><strong>{$oUser->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{$aLang.user_empty}
{/if}
{include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'}

View file

@ -0,0 +1,37 @@
{include file='header.tpl' menu='people'}
<h2>{$aLang.user_list}: {$oCountry->getName()}</h2>
{if $aUsersCountry}
<table class="table">
<thead>
<tr>
<td >{$aLang.user}</td>
<td>{$aLang.user_date_last}</td>
<td>{$aLang.user_date_registration}</td>
<td>{$aLang.user_skill}</td>
<td>{$aLang.user_rating}</td>
</tr>
</thead>
<tbody>
{foreach from=$aUsersCountry item=oUser}
{assign var="oSession" value=$oUser->getSession()}
<tr>
<td><a href="{router page='profile'}{$oUser->getLogin()}/">{$oUser->getLogin()}</a></td>
<td>{if $oSession}{date_format date=$oSession->getDateLast()}{/if}</td>
<td>{date_format date=$oUser->getDateRegister()}</td>
<td>{$oUser->getSkill()}</td>
<td><strong>{$oUser->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{$aLang.user_empty}
{/if}
{include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'}

View file

@ -0,0 +1,37 @@
{include file='header.tpl' menu='people'}
<h2>{$aLang.user_list}: {$aStat.count_all}</h2>
<ul class="switcher">
<li {if $sEvent=='good'}class="active"{/if}><a href="{router page='people'}good/">{$aLang.user_good}</a></li>
<li {if $sEvent=='bad'}class="active"{/if}><a href="{router page='people'}bad/">{$aLang.user_bad}</a></li>
</ul>
{if $aUsersRating}
<table class="table">
<thead>
<tr>
<td>{$aLang.user}</td>
<td align="center" width="80">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td>
</tr>
</thead>
<tbody>
{foreach from=$aUsersRating item=oUser}
<tr>
<td><a href="{router page='profile'}{$oUser->getLogin()}/">{$oUser->getLogin()}</a></td>
<td align="center">{$oUser->getSkill()}</td>
<td align="center"><strong>{$oUser->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{$aLang.user_empty}
{/if}
{include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'}

View file

@ -0,0 +1,34 @@
{include file='header.tpl' menu='people'}
<h2>{$aLang.user_list_new}</h2>
{if $aUsersRegister}
<table class="table">
<thead>
<tr>
<td>{$aLang.user}</td>
<td align="center" width="170">{$aLang.user_date_registration}</td>
<td align="center" width="80">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td>
</tr>
</thead>
<tbody>
{foreach from=$aUsersRegister item=oUser}
<tr>
<td><a href="{router page='profile'}{$oUser->getLogin()}/">{$oUser->getLogin()}</a></td>
<td align="center">{date_format date=$oUser->getDateRegister()}</td>
<td align="center">{$oUser->getSkill()}</td>
<td align="center"><strong>{$oUser->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{$aLang.user_empty}
{/if}
{include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'}

View file

@ -0,0 +1,35 @@
{include file='header.tpl' menu='people'}
<h2>{$aLang.user_list_online_last}</h2>
{if $aUsersLast}
<table class="table">
<thead>
<tr>
<td>{$aLang.user}</td>
<td align="center" width="170">{$aLang.user_date_last}</td>
<td align="center" width="80">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td>
</tr>
</thead>
<tbody>
{foreach from=$aUsersLast item=oUser}
{assign var="oSession" value=$oUser->getSession()}
<tr>
<td><a href="{router page='profile'}{$oUser->getLogin()}/">{$oUser->getLogin()}</a></td>
<td align="center">{date_format date=$oSession->getDateLast()}</td>
<td align="center">{$oUser->getSkill()}</td>
<td align="center"><strong>{$oUser->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{$aLang.user_empty}
{/if}
{include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'}

View file

@ -0,0 +1,20 @@
<div class="block">
<h2>{$aLang.user_stats}</h2>
<ul>
<li>{$aLang.user_stats_all}: <strong>{$aStat.count_all}</strong></li>
<li>{$aLang.user_stats_active}: <strong>{$aStat.count_active}</strong></li>
<li>{$aLang.user_stats_noactive}: <strong>{$aStat.count_inactive}</strong></li>
</ul>
<br />
<ul>
<li>{$aLang.user_stats_sex_man}: <strong>{$aStat.count_sex_man}</strong></li>
<li>{$aLang.user_stats_sex_woman}: <strong>{$aStat.count_sex_woman}</strong></li>
<li>{$aLang.user_stats_sex_other}: <strong>{$aStat.count_sex_other}</strong></li>
</ul>
</div>
{insert name="block" block='tagsCountry'}
{insert name="block" block='tagsCity'}

View file

@ -0,0 +1,4 @@
{include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,3 @@
{include file='header.tpl' menu="profile"}
{include file='comment_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,4 @@
{include file='header.tpl' menu="profile"}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,24 @@
{if $oUserFriend and ($oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_OFFER or $oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_ACCEPT) }
<li id="delete_friend_item"><a href="#" title="{$aLang.user_friend_del}" onclick="ajaxDeleteUserFriend(this,{$oUserProfile->getId()},'del'); return false;">{$aLang.user_friend_del}</a></li>
{elseif $oUserFriend and $oUserFriend->getStatusTo()==$USER_FRIEND_REJECT and $oUserFriend->getStatusFrom()==$USER_FRIEND_OFFER and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="ajaxAddUserFriend(this,{$oUserProfile->getId()},'accept'); return false;">{$aLang.user_friend_add}</a></li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_REJECT and $oUserFriend->getUserTo()!=$oUserCurrent->getId()}
<li>{$aLang.user_friend_offer_reject}</li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserFrom()==$oUserCurrent->getId()}
<li>{$aLang.user_friend_offer_send}</li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="ajaxAddUserFriend(this,{$oUserProfile->getId()},'accept'); return false;">{$aLang.user_friend_add}</a></li>
{elseif !$oUserFriend}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" id="add_friend_show">{$aLang.user_friend_add}</a> </li>
<form id="add_friend_form" class="add-friend-form" onsubmit="ajaxAddUserFriend(this,{$oUserProfile->getId()},'add'); return false;">
<a href="#" class="close jqmClose"></a>
<label for="add_friend_text">{$aLang.user_friend_add_text_label}</label><br />
<textarea id="add_friend_text" rows="3"></textarea>
<input type="submit" value="{$aLang.user_friend_add_submit}" />
</form>
{else}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="ajaxAddUserFriend(this,{$oUserProfile->getId()},'link'); return false;">{$aLang.user_friend_add}</a></li>
{/if}

View file

@ -0,0 +1,26 @@
{if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
<div class="block">
<ul id="profile_actions">
{include file='actions/ActionProfile/friend_item.tpl' oUserFriend=$oUserProfile->getUserFriend()}
<li><a href="{router page='talk'}add/?talk_users={$oUserProfile->getLogin()}">{$aLang.user_write_prvmsg}</a></li>
</ul>
</div>
{/if}
<div class="block">
{if $oUserProfile->getProfileIcq()}
<h2>{$aLang.profile_social_contacts}</h2>
<ul>
{if $oUserProfile->getProfileIcq()}
<li>ICQ: <a href="http://www.icq.com/people/about_me.php?uin={$oUserProfile->getProfileIcq()|escape:'html'}" target="_blank">{$oUserProfile->getProfileIcq()}</a></li>
{/if}
</ul>
{/if}
<br />
{if $oUserProfile->getProfileFoto()}
<img src="{$oUserProfile->getProfileFoto()}" alt="photo" />
{/if}
</div>

View file

@ -0,0 +1,187 @@
{include file='header.tpl' menu="profile"}
{assign var="oSession" value=$oUserProfile->getSession()}
{assign var="oVote" value=$oUserProfile->getVote()}
<div class="user-profile">
<p class="strength">
{$aLang.user_skill}: <strong class="total" id="user_skill_{$oUserProfile->getId()}">{$oUserProfile->getSkill()}</strong>
</p>
<div class="voting {if $oUserProfile->getRating()>=0}positive{else}negative{/if} {if !$oUserCurrent || $oUserProfile->getId()==$oUserCurrent->getId()}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{elseif $oVote->getDirection()<0}minus{/if}{/if}">
<a href="#" class="plus" onclick="vote.vote({$oUserProfile->getId()},this,1,'user'); return false;"></a>
<div class="total" title="{$aLang.user_vote_count}: {$oUserProfile->getCountVote()}">{$oUserProfile->getRating()}</div>
<a href="#" class="minus" onclick="vote.vote({$oUserProfile->getId()},this,-1,'user'); return false;"></a>
</div>
<img src="{$oUserProfile->getProfileAvatarPath(100)}" alt="avatar" class="avatar" />
<h3>{$oUserProfile->getLogin()}</h3>
{if $oUserProfile->getProfileName()}
{$oUserProfile->getProfileName()|escape:'html'}
{/if}
</div>
{if $oUserProfile->getProfileSex()!='other' || $oUserProfile->getProfileBirthday() || ($oUserProfile->getProfileCountry() || $oUserProfile->getProfileRegion() || $oUserProfile->getProfileCity()) || $oUserProfile->getProfileAbout() || $oUserProfile->getProfileSite()}
<h2>{$aLang.profile_privat}</h2>
<table class="table">
{if $oUserProfile->getProfileSex()!='other'}
<tr>
<td>{$aLang.profile_sex}:</td>
<td>
{if $oUserProfile->getProfileSex()=='man'}
{$aLang.profile_sex_man}
{else}
{$aLang.profile_sex_woman}
{/if}
</td>
</tr>
{/if}
{if $oUserProfile->getProfileBirthday()}
<tr>
<td>{$aLang.profile_birthday}:</td>
<td>{date_format date=$oUserProfile->getProfileBirthday() format="j F Y"}</td>
</tr>
{/if}
{if ($oUserProfile->getProfileCountry()|| $oUserProfile->getProfileRegion() || $oUserProfile->getProfileCity())}
<tr>
<td>{$aLang.profile_place}:</td>
<td>
{if $oUserProfile->getProfileCountry()}
<a href="{router page='people'}country/{$oUserProfile->getProfileCountry()|escape:'html'}/">{$oUserProfile->getProfileCountry()|escape:'html'}</a>{if $oUserProfile->getProfileCity()},{/if}
{/if}
{if $oUserProfile->getProfileCity()}
<a href="{router page='people'}city/{$oUserProfile->getProfileCity()|escape:'html'}/">{$oUserProfile->getProfileCity()|escape:'html'}</a>
{/if}
</td>
</tr>
{/if}
{if $oUserProfile->getProfileAbout()}
<tr>
<td>{$aLang.profile_about}:</td>
<td>{$oUserProfile->getProfileAbout()|escape:'html'}</td>
</tr>
{/if}
{if $oUserProfile->getProfileSite()}
<tr>
<td>{$aLang.profile_site}:</td>
<td>
<a href="{$oUserProfile->getProfileSite(true)|escape:'html'}" rel="nofollow">
{if $oUserProfile->getProfileSiteName()}
{$oUserProfile->getProfileSiteName()|escape:'html'}
{else}
{$oUserProfile->getProfileSite()|escape:'html'}
{/if}
</a>
</td>
</tr>
{/if}
{hook run='profile_whois_privat_item' oUserProfile=$oUserProfile}
</table>
{/if}
{hook run='profile_whois_item' oUserProfile=$oUserProfile}
<h2>{$aLang.profile_activity}</h2>
<table class="table">
{if $aUsersFriend}
<tr>
<td>{$aLang.profile_friends}:</td>
<td>
{foreach from=$aUsersFriend item=oUser}
<a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
{/foreach}
</td>
</tr>
{/if}
{if $oConfig->GetValue('general.reg.invite') and $oUserInviteFrom}
<tr>
<td>{$aLang.profile_invite_from}:</td>
<td>
<a href="{$oUserInviteFrom->getUserWebPath()}">{$oUserInviteFrom->getLogin()}</a>&nbsp;
</td>
</tr>
{/if}
{if $oConfig->GetValue('general.reg.invite') and $aUsersInvite}
<tr>
<td>{$aLang.profile_invite_to}:</td>
<td>
{foreach from=$aUsersInvite item=oUserInvite}
<a href="{$oUserInvite->getUserWebPath()}">{$oUserInvite->getLogin()}</a>&nbsp;
{/foreach}
</td>
</tr>
{/if}
{if $aBlogsOwner}
<tr>
<td>{$aLang.profile_blogs_self}:</td>
<td>
{foreach from=$aBlogsOwner item=oBlog name=blog_owner}
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>{if !$smarty.foreach.blog_owner.last}, {/if}
{/foreach}
</td>
</tr>
{/if}
{if $aBlogAdministrators}
<tr>
<td>{$aLang.profile_blogs_administration}:</td>
<td>
{foreach from=$aBlogAdministrators item=oBlogUser name=blog_user}
{assign var="oBlog" value=$oBlogUser->getBlog()}
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>{if !$smarty.foreach.blog_user.last}, {/if}
{/foreach}
</td>
</tr>
{/if}
{if $aBlogModerators}
<tr>
<td>{$aLang.profile_blogs_moderation}:</td>
<td>
{foreach from=$aBlogModerators item=oBlogUser name=blog_user}
{assign var="oBlog" value=$oBlogUser->getBlog()}
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>{if !$smarty.foreach.blog_user.last}, {/if}
{/foreach}
</td>
</tr>
{/if}
{if $aBlogUsers}
<tr>
<td>{$aLang.profile_blogs_join}:</td>
<td>
{foreach from=$aBlogUsers item=oBlogUser name=blog_user}
{assign var="oBlog" value=$oBlogUser->getBlog()}
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>{if !$smarty.foreach.blog_user.last}, {/if}
{/foreach}
</td>
</tr>
{/if}
{hook run='profile_whois_activity_item' oUserProfile=$oUserProfile}
<tr>
<td>{$aLang.profile_date_registration}:</td>
<td>{date_format date=$oUserProfile->getDateRegister()}</td>
</tr>
{if $oSession}
<tr>
<td>{$aLang.profile_date_last}:</td>
<td>{date_format date=$oSession->getDateLast()}</td>
</tr>
{/if}
</table>
{include file='footer.tpl'}

View file

@ -0,0 +1,78 @@
{include file='header.tpl' menu='topic_action'}
<div class="topic" style="display: none;">
<div class="content" id="text_preview"></div>
</div>
{if $sEvent=='add'}
<h2>{$aLang.topic_question_create}</h2>
{else}
<h2>{$aLang.topic_question_edit}</h2>
{/if}
<form action="" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_question_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p><label for="blog_id">{$aLang.topic_create_blog}</label><br />
<select name="blog_id" id="blog_id" onChange="ajaxBlogInfo(this.value);" class="input-wide">
<option value="0">{$aLang.topic_create_blog_personal}</option>
{foreach from=$aBlogsAllow item=oBlog}
<option value="{$oBlog->getId()}" {if $_aRequest.blog_id==$oBlog->getId()}selected{/if}>{$oBlog->getTitle()}</option>
{/foreach}
</select></p>
<p><label for="topic_title">{$aLang.topic_question_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" {if $bEditDisabled}disabled{/if} /><br />
<span class="note">{$aLang.topic_question_create_title_notice}</span></p>
{$aLang.topic_question_create_answers}:
<ul class="question-list" id="question_list">
{if count($_aRequest.answer)>=2}
{foreach from=$_aRequest.answer item=sAnswer key=i}
<li>
<input type="text" value="{$sAnswer}" name="answer[]" class="input input-300" {if $bEditDisabled}disabled{/if} />
{if !$bEditDisabled}&nbsp;<a href="#" onClick="dropField(this); return false;">{$aLang.topic_poll_delete_item}</a>{/if}
</li>
{/foreach}
{else}
<li><input type="text" value="" name="answer[]" class="input input-300" {if $bEditDisabled}disabled{/if} /></li>
<li><input type="text" value="" name="answer[]" class="input input-300" {if $bEditDisabled}disabled{/if} /></li>
{/if}
</ul>
{if !$bEditDisabled}<p><a href="#" onClick="addField(); return false;">{$aLang.topic_poll_add_item}</a></p>{/if}
<p><label for="topic_text">{$aLang.topic_question_create_text}:</label><br />
<textarea name="topic_text" id="topic_text" rows="20" class="input-wide">{$_aRequest.topic_text}</textarea></p>
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label><br />
<input type="text" id="topic_tags" name="topic_tags" value="{$_aRequest.topic_tags}" class="input-wide autocomplete-tags-sep" /><br />
<span class="note">{$aLang.topic_create_tags_notice}</span></p>
<p><label for=""><input type="checkbox" id="topic_forbid_comment" name="topic_forbid_comment" class="checkbox" value="1" {if $_aRequest.topic_forbid_comment==1}checked{/if} />
{$aLang.topic_create_forbid_comment}</label><br />
<span class="note">{$aLang.topic_create_forbid_comment_notice}</span></p>
{if $oUserCurrent->isAdministrator()}
<p><label for=""><input type="checkbox" id="topic_publish_index" name="topic_publish_index" class="checkbox" value="1" {if $_aRequest.topic_publish_index==1}checked{/if} />
{$aLang.topic_create_publish_index}</label><br />
<span class="note">{$aLang.topic_create_publish_index_notice}</span></p>
{/if}
{hook run='form_add_topic_question_end'}
<p class="buttons">
<input type="submit" name="submit_topic_publish" value="{$aLang.topic_create_submit_publish}" />
<input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="$('text_preview').getParent('div').setStyle('display','block'); ajaxTextPreview('topic_text',true); return false;" />
<input type="submit" name="submit_topic_save" value="{$aLang.topic_create_submit_save}" />
</p>
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,8 @@
{include file='header.tpl'}
<h2>{$aLang.registration_activate_ok}</h2>
<a href="{cfg name='path.root.web'}">{$aLang.site_go_main}</a>
{include file='footer.tpl'}

View file

@ -0,0 +1,10 @@
{include file='header.tpl'}
<h2>{$aLang.registration_confirm_header}</h2>
{$aLang.registration_confirm_text}<br /><br />
<a href="{cfg name='path.root.web'}">{$aLang.site_go_main}</a>
{include file='footer.tpl'}

View file

@ -0,0 +1,38 @@
{assign var="noSidebar" value=true}
{include file='header.tpl'}
<div class="center">
<form action="{router page='registration'}" method="POST">
<h2>{$aLang.registration}</h2>
{hook run='form_registration_begin'}
<p><label>{$aLang.registration_login}<br />
<input type="text" name="login" value="{$_aRequest.login}" class="input-wide" /><br />
<span class="note">{$aLang.registration_login_notice}</span></label></p>
<p><label>{$aLang.registration_mail}<br />
<input type="text" name="mail" value="{$_aRequest.mail}" class="input-wide" /><br />
<span class="note">{$aLang.registration_mail_notice}</span></label></p>
<p><label>{$aLang.registration_password}<br />
<input type="password" name="password" value="" class="input-wide" /><br />
<span class="note">{$aLang.registration_password_notice}</span></label></p>
<p><label>{$aLang.registration_password_retry}<br />
<input type="password" value="" id="repass" name="password_confirm" class="input-wide" /></label></p>
{$aLang.registration_captcha}<br />
<img src="{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}" onclick="this.src='{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}&n='+Math.random();" />
<p><input type="text" name="captcha" value="" maxlength="3" class="input-100" /></p>
{hook run='form_registration_end'}
<input type="submit" name="submit_register" value="{$aLang.registration_submit}" />
</form>
</div>
{include file='footer.tpl'}

View file

@ -0,0 +1,17 @@
{assign var="noSidebar" value=true}
{include file='header.tpl'}
<div class="center">
<form action="{router page='registration'}invite/" method="POST">
<h2>{$aLang.registration_invite}</h2>
<p><label>{$aLang.registration_invite_code}<br />
<input type="text" name="invite_code" class="input-200" /></label></p>
<input type="submit" name="submit_invite" value="{$aLang.registration_invite_check}" />
</form>
</div>
{include file='footer.tpl'}

View file

@ -0,0 +1,8 @@
{include file='header.tpl'}
<h2>{$aLang.registration_ok}</h2>
<a href="{cfg name='path.root.web'}">{$aLang.site_go_main}</a>
{include file='footer.tpl'}

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>{$aChannel.title}</title>
<link>{$aChannel.link}</link>
<atom:link href="{$PATH_WEB_CURRENT}/" rel="self" type="application/rss+xml" />
<description><![CDATA[{$aChannel.description}]]></description>
<language>{$aChannel.language}</language>
<managingEditor>{$aChannel.managingEditor} ({cfg name='path.root.web'})</managingEditor>
<webMaster>{$aChannel.managingEditor} ({cfg name='path.root.web'})</webMaster>
<copyright>{cfg name='path.root.web'}</copyright>
<generator>{$aChannel.generator}</generator>
{foreach from=$aItems item=oItem}
<item>
<title>{$oItem.title|escape:'html'}</title>
<guid isPermaLink="true">{$oItem.guid}</guid>
<link>{$oItem.link}</link>
<dc:creator>{$oItem.author}</dc:creator>
<description><![CDATA[{$oItem.description}]]></description>
<pubDate>{date_format date=$oItem.pubDate format="r"}</pubDate>
<category>{$oItem.category|replace:',':'</category>
<category>'}</category>
</item>
{/foreach}
</channel>
</rss>

View file

@ -0,0 +1,11 @@
{include file='header.tpl'}
<h2>{$aLang.search}</h2>
<form action="{router page='search'}topics/" method="GET">
<input type="text" value="" name="q" />
<input type="submit" value="{$aLang.search_submit}" />
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,18 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>{cfg name='view.name'}</ShortName>
<Description>{$sHtmlTitle}</Description>
<Contact>{$sAdminMail}</Contact>
<Url type="text/html" template="{router page='search'}topics/?q={literal}{searchTerms}{/literal}" />
<LongName>{$sHtmlDescription}</LongName>
<Image height="64" width="64" type="image/png">{cfg name='path.static.skin'}/images/logo.png</Image>
<Image height="16" width="16" type="image/vnd.microsoft.icon">{cfg name='path.static.skin'}/images/favicon.ico</Image>
<Developer>{cfg name='view.name'} ({cfg name='path.root.web'})</Developer>
<Attribution>
© «{cfg name='view.name'}»
</Attribution>
<SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent>
<Language>ru-ru</Language>
<OutputEncoding>UTF-8</OutputEncoding>
<InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription>

View file

@ -0,0 +1,32 @@
{include file='header.tpl'}
<h2>{$aLang.search_results}: {$aReq.q|escape:'html'}</h2>
<ul class="switcher">
{foreach from=$aRes.aCounts item=iCount key=sType name="sTypes"}
<li {if $aReq.sType == $sType}class="active"{/if}>
<a href="{router page='search'}{$sType}/?q={$aReq.q|escape:'html'}">
{$iCount}
{if $sType=="topics"}
{$aLang.search_results_count_topics}
{elseif $sType=="comments"}
{$aLang.search_results_count_comments}
{/if}
</a>
</li>
{/foreach}
</ul>
{if $bIsResults}
{if $aReq.sType == 'topics'}
{include file='topic_list.tpl'}
{elseif $aReq.sType == 'comments'}
{include file='comment_list.tpl'}
{/if}
{else}
{$aLang.search_results_empty}
{/if}
{include file='footer.tpl'}

View file

@ -0,0 +1,22 @@
{include file='header.tpl' menu='settings'}
<h2>{$aLang.settings_invite}</h2>
<form action="" method="POST" enctype="multipart/form-data">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p>
{$aLang.settings_invite_available}: <strong>{if $oUserCurrent->isAdministrator()}{$aLang.settings_invite_many}{else}{$iCountInviteAvailable}{/if}</strong><br />
{$aLang.settings_invite_used}: <strong>{$iCountInviteUsed}</strong>
</p>
<p><label for="invite_mail">{$aLang.settings_invite_mail}:</label><br />
<input type="text" name="invite_mail" id="invite_mail" class="input-200" /><br />
<span class="note">{$aLang.settings_invite_mail_notice}</span></p>
<input type="submit" value="{$aLang.settings_invite_submit}" name="submit_invite" />
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,93 @@
{include file='header.tpl' menu='settings'}
<h2>{$aLang.settings_profile_edit}</h2>
<form action="" method="POST" enctype="multipart/form-data">
{hook run='form_settings_profile_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p>
<label for="profile_name">{$aLang.settings_profile_name}:</label><br />
<input type="text" name="profile_name" id="profile_name" value="{$oUserCurrent->getProfileName()|escape:'html'}" class="input-200" /><br />
<span class="note">{$aLang.settings_profile_name_notice}</span>
</p>
<p>
<label for="mail">{$aLang.settings_profile_mail}:</label><br />
<input type="text" name="mail" id="mail" value="{$oUserCurrent->getMail()|escape:'html'}" class="input-200" /><br />
<span class="note">{$aLang.settings_profile_mail_notice}</span>
</p>
<p>
{$aLang.settings_profile_sex}:<br />
<label><input type="radio" name="profile_sex" id="profile_sex_m" value="man" {if $oUserCurrent->getProfileSex()=='man'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_man}</label><br />
<label><input type="radio" name="profile_sex" id="profile_sex_w" value="woman" {if $oUserCurrent->getProfileSex()=='woman'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_woman}</label><br />
<label><input type="radio" name="profile_sex" id="profile_sex_o" value="other" {if $oUserCurrent->getProfileSex()=='other'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_other}</label>
</p>
<p>
<label for="">{$aLang.settings_profile_birthday}:</label><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>
{section name=date_month start=1 loop=13 step=1}
<option value="{$smarty.section.date_month.index}" {if $smarty.section.date_month.index==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.month_array[$smarty.section.date_month.index][0]}</option>
{/section}
</select>
<select name="profile_birthday_year">
<option value="">{$aLang.date_year}</option>
{section name=date_year start=1940 loop=2000 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>
</p>
<p>
<label for="profile_country">{$aLang.settings_profile_country}:</label><br /><input type="text" id="profile_country" name="profile_country" class="autocomplete-country" value="{$oUserCurrent->getProfileCountry()|escape:'html'}" /><br />
<label for="profile_city">{$aLang.settings_profile_city}:</label><br /><input type="text" id="profile_city" name="profile_city" class="autocomplete-city" value="{$oUserCurrent->getProfileCity()|escape:'html'}" /><br />
</p>
<p><label for="profile_icq">{$aLang.settings_profile_icq}:</label><br /><input type="text" name="profile_icq" id="profile_icq" value="{$oUserCurrent->getProfileIcq()|escape:'html'}"/></p>
<p>
<label for="profile_site">{$aLang.settings_profile_site}:</label><br />
<label for="profile_site"><input type="text" style="margin-bottom: 5px;" id="profile_site" name="profile_site" value="{$oUserCurrent->getProfileSite()|escape:'html'}" /> &mdash; {$aLang.settings_profile_site_url}</label><br />
<label for="profile_site_name"><input type="text" id="profile_site_name" name="profile_site_name" value="{$oUserCurrent->getProfileSiteName()|escape:'html'}" /> &mdash; {$aLang.settings_profile_site_name}</label>
</p>
<p>
<label for="profile_about">{$aLang.settings_profile_about}:</label><br />
<textarea class="input-300" name="profile_about" id="profile_about">{$oUserCurrent->getProfileAbout()|escape:'html'}</textarea>
</p>
<p>
<label for="password_now">{$aLang.settings_profile_password_current}:</label><br /><input type="password" name="password_now" id="password_now" value="" /><br />
<label for="password">{$aLang.settings_profile_password_new}:</label><br /><input type="password" id="password" name="password" value="" /><br />
<label for="password_confirm">{$aLang.settings_profile_password_confirm}:</label><br /><input type="password" id="password_confirm" name="password_confirm" value="" />
</p>
{if $oUserCurrent->getProfileAvatar()}
<img src="{$oUserCurrent->getProfileAvatarPath(100)}" />
<img src="{$oUserCurrent->getProfileAvatarPath(64)}" />
<img src="{$oUserCurrent->getProfileAvatarPath(24)}" /><br />
<input type="checkbox" id="avatar_delete" name="avatar_delete" value="on" class="checkbox" /><label for="avatar_delete">{$aLang.settings_profile_avatar_delete}</label><br /><br />
{/if}
<p><label for="avatar">{$aLang.settings_profile_avatar}:</label><br /><input type="file" id="avatar" name="avatar"/></p>
{if $oUserCurrent->getProfileFoto()}
<img src="{$oUserCurrent->getProfileFoto()}" /><br />
<input type="checkbox" id="foto_delete" name="foto_delete" value="on" class="checkbox" /><label for="foto_delete">{$aLang.settings_profile_foto_delete}</label><br /><br />
{/if}
<p><label for="foto">{$aLang.settings_profile_foto}:</label><br /><input type="file" id="foto" name="foto" /></p>
{hook run='form_settings_profile_end'}
<p><input type="submit" value="{$aLang.settings_profile_submit}" name="submit_profile_edit" /></p>
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,27 @@
{include file='header.tpl' menu='settings'}
<h2>{$aLang.settings_tuning}</h2>
<strong>{$aLang.settings_tuning_notice}</strong>
<form action="{router page='settings'}tuning/" method="POST" enctype="multipart/form-data">
{hook run='form_settings_tuning_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p>
<label><input {if $oUserCurrent->getSettingsNoticeNewTopic()}checked{/if} type="checkbox" id="settings_notice_new_topic" name="settings_notice_new_topic" value="1" class="checkbox" />{$aLang.settings_tuning_notice_new_topic}</label><br />
<label><input {if $oUserCurrent->getSettingsNoticeNewComment()}checked{/if} type="checkbox" id="settings_notice_new_comment" name="settings_notice_new_comment" value="1" class="checkbox" />{$aLang.settings_tuning_notice_new_comment}</label><br />
<label><input {if $oUserCurrent->getSettingsNoticeNewTalk()}checked{/if} type="checkbox" id="settings_notice_new_talk" name="settings_notice_new_talk" value="1" class="checkbox" />{$aLang.settings_tuning_notice_new_talk}</label><br />
<label><input {if $oUserCurrent->getSettingsNoticeReplyComment()}checked{/if} type="checkbox" id="settings_notice_reply_comment" name="settings_notice_reply_comment" value="1" class="checkbox" />{$aLang.settings_tuning_notice_reply_comment}</label><br />
<label><input {if $oUserCurrent->getSettingsNoticeNewFriend()}checked{/if} type="checkbox" id="settings_notice_new_friend" name="settings_notice_new_friend" value="1" class="checkbox" />{$aLang.settings_tuning_notice_new_friend}</label>
</p>
{hook run='form_settings_tuning_end'}
<input type="submit" name="submit_settings_tuning" value="{$aLang.settings_tuning_submit}" />
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,10 @@
{include file='header.tpl'}
<form action="" method="GET" id="tag_search_form">
<input type="text" name="tag" id="tag_search" value="{$sTag|escape:'html'}" />
</form>
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,27 @@
{include file='header.tpl'}
{include file='menu.talk.tpl'}
<h2>{$aLang.talk_create}</h2>
<form action="" method="POST" enctype="multipart/form-data">
{hook run='form_add_talk_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p><label for="talk_users">{$aLang.talk_create_users}:</label><br />
<input type="text" class="input-wide autocomplete-users" id="talk_users" name="talk_users" value="{$_aRequest.talk_users}" /></p>
<p><label for="talk_title">{$aLang.talk_create_title}:</label><br />
<input type="text" class="input-wide" id="talk_title" name="talk_title" value="{$_aRequest.talk_title}" /></p>
<p><label for="talk_text">{$aLang.talk_create_text}:</label>
<textarea name="talk_text" id="talk_text" rows="12" class="input-wide">{$_aRequest.talk_text}</textarea></p>
{hook run='form_add_talk_end'}
<input type="submit" value="{$aLang.talk_create_submit}" name="submit_talk_add" />
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,20 @@
<div class="block">
<h2>{$aLang.talk_blacklist_title}</h2>
<form onsubmit="talk.addToBlackList(); return false;">
<p><label>{$aLang.talk_balcklist_add_label}:<br />
<input type="text" id="talk_blacklist_add" name="add" class="input-wide autocomplete-users" /></label></p>
</form>
<div id="black_list_block">
{if $aUsersBlacklist}
<ul class="list" id="black_list">
{foreach from=$aUsersBlacklist item=oUser}
<li><a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> - <a href="#" id="blacklist_item_{$oUser->getId()}" class="delete">{$aLang.blog_delete}</a></li>
{/foreach}
</ul>
{/if}
</div>
</div>

View file

@ -0,0 +1,56 @@
{include file='header.tpl'}
{include file='menu.talk.tpl'}
<h2>{$aLang.talk_favourite_inbox}</h2>
{if $aTalks}
<table class="table">
<thead>
<tr>
<td width="150">{$aLang.talk_inbox_target}</td>
<td width="20"></td>
<td>{$aLang.talk_inbox_title}</td>
<td width="170" align="center">{$aLang.talk_inbox_date}</td>
</tr>
</thead>
<tbody>
{foreach from=$aTalks item=oTalk}
{assign var="oTalkUserAuthor" value=$oTalk->getTalkUser()}
<tr>
<td>
{foreach from=$oTalk->getTalkUsers() item=oTalkUser name=users}
{if $oTalkUser->getUserId()!=$oUserCurrent->getId()}
{assign var="oUser" value=$oTalkUser->getUser()}
<a href="{$oUser->getUserWebPath()}" class="user {if $oTalkUser->getUserActive()!=$TALK_USER_ACTIVE}inactive{/if}">{$oUser->getLogin()}</a>
{/if}
{/foreach}
</td>
<td align="center">
<a href="#" onclick="favourite.toggle({$oTalk->getId()},this,'talk'); return false;" class="favourite {if $oTalk->getIsFavourite()}active{/if}"></a>
</td>
<td>
{if $oTalkUserAuthor->getCommentCountNew() or !$oTalkUserAuthor->getDateLast()}
<a href="{router page='talk'}read/{$oTalk->getId()}/"><strong>{$oTalk->getTitle()|escape:'html'}</strong></a>
{else}
<a href="{router page='talk'}read/{$oTalk->getId()}/">{$oTalk->getTitle()|escape:'html'}</a>
{/if}
&nbsp;
{if $oTalk->getCountComment()}
{$oTalk->getCountComment()} {if $oTalkUserAuthor->getCommentCountNew()}+{$oTalkUserAuthor->getCommentCountNew()}{/if}
{/if}
</td>
<td align="center">{date_format date=$oTalk->getDate()}</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{$aLang.talk_favourite_empty}
{/if}
{include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'}

View file

@ -0,0 +1,21 @@
<div class="block">
<h2>{$aLang.talk_filter_title}</h2>
<div class="block-content">
<form action="{router page='talk'}" method="GET" name="talk_filter_form">
<p><label for="talk_filter_sender">{$aLang.talk_filter_label_sender}:</label><br />
<input type="text" id="talk_filter_sender" name="sender" value="{$_aRequest.sender}" class="input-wide" /><br />
<span class="note">{$aLang.talk_filter_notice_sender}</span></p>
<p><label for="talk_filter_keyword">{$aLang.talk_filter_label_keyword}:</label><br />
<input type="text" id="talk_filter_keyword" name="keyword" value="{$_aRequest.keyword}" class="input-wide" /><br />
<span class="note">{$aLang.talk_filter_notice_keyword}</span></p>
<p><label for="talk_filter_start">{$aLang.talk_filter_label_date}:</label><br />
<input type="text" id="talk_filter_start" name="start" value="{$_aRequest.start}" style="width: 43%" class="date-picker" readonly="readonly" /> &mdash;
<input type="text" id="talk_filter_end" name="end" value="{$_aRequest.end}" style="width: 43%" class="date-picker" readonly="readonly" /></p>
<input type="submit" name="submit_talk_filter" value="{$aLang.talk_filter_submit}" />
</form>
</div>
</div>

View file

@ -0,0 +1,20 @@
<div class="block">
<h2>{$aLang.block_friends}</h2>
{if $aUsersFriend}
<div class="block-content">
<ul class="list" id="friends">
{foreach from=$aUsersFriend item=oFriend}
<li><label><input type="checkbox" name="friend[{$oFriend->getId()}]" class="checkbox" />{$oFriend->getLogin()}</label></li>
{/foreach}
</ul>
</div>
<div class="bottom">
<a href="#" id="friend_check_all">{$aLang.block_friends_check}</a> |
<a href="#" id="friend_uncheck_all">{$aLang.block_friends_uncheck}</a>
</div>
{else}
{$aLang.block_friends_empty}
{/if}
</div>

View file

@ -0,0 +1,57 @@
{include file='header.tpl' noShowSystemMessage=false}
{include file='menu.talk.tpl'}
<form action="{router page='talk'}" method="post" id="form_talks_list">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<table class="table">
<thead>
<tr>
<td width="20"><input type="checkbox" name="" onclick="checkAll('form_talks_checkbox', this);"></td>
<td width="150">{$aLang.talk_inbox_target}</td>
<td width="20"></td>
<td>{$aLang.talk_inbox_title}</td>
<td width="170" align="center">{$aLang.talk_inbox_date}</td>
</tr>
</thead>
<tbody>
{foreach from=$aTalks item=oTalk}
{assign var="oTalkUserAuthor" value=$oTalk->getTalkUser()}
<tr>
<td><input type="checkbox" name="talk_del[{$oTalk->getId()}]" class="form_talks_checkbox" /></td>
<td>
{foreach from=$oTalk->getTalkUsers() item=oTalkUser name=users}
{if $oTalkUser->getUserId()!=$oUserCurrent->getId()}
{assign var="oUser" value=$oTalkUser->getUser()}
<a href="{$oUser->getUserWebPath()}" class="user {if $oTalkUser->getUserActive()!=$TALK_USER_ACTIVE}inactive{/if}">{$oUser->getLogin()}</a>
{/if}
{/foreach}
</td>
<td align="center">
<a href="#" onclick="favourite.toggle({$oTalk->getId()},this,'talk'); return false;" class="favourite {if $oTalk->getIsFavourite()}active{/if}"></a>
</td>
<td>
{if $oTalkUserAuthor->getCommentCountNew() or !$oTalkUserAuthor->getDateLast()}
<a href="{router page='talk'}read/{$oTalk->getId()}/"><strong>{$oTalk->getTitle()|escape:'html'}</strong></a>
{else}
<a href="{router page='talk'}read/{$oTalk->getId()}/">{$oTalk->getTitle()|escape:'html'}</a>
{/if}
&nbsp;
{if $oTalk->getCountComment()}
{$oTalk->getCountComment()} {if $oTalkUserAuthor->getCommentCountNew()}+{$oTalkUserAuthor->getCommentCountNew()}{/if}
{/if}
</td>
<td align="center">{date_format date=$oTalk->getDate()}</td>
</tr>
{/foreach}
</tbody>
</table>
<input type="submit" name="submit_talk_del" value="{$aLang.talk_inbox_delete}" onclick="return ($$('.form_talks_checkbox:checked').length==0)?false:confirm('{$aLang.talk_inbox_delete_confirm}');" />
</form>
{include file='paging.tpl' aPaging="$aPaging"}
{include file='footer.tpl'}

View file

@ -0,0 +1,40 @@
{include file='header.tpl'}
{include file='menu.talk.tpl'}
{assign var="oUser" value=$oTalk->getUser()}
<div class="topic">
<h2 class="title">{$oTalk->getTitle()|escape:'html'}</h2>
<ul class="actions">
<li class="delete"><a href="{router page='talk'}delete/{$oTalk->getId()}/?security_ls_key={$LIVESTREET_SECURITY_KEY}" onclick="return confirm('{$aLang.talk_inbox_delete_confirm}');" class="delete">{$aLang.talk_inbox_delete}</a></li>
</ul>
<div class="content">
{$oTalk->getText()}
</div>
<ul class="info">
<li class="username"><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li>
<li class="date">{date_format date=$oTalk->getDate()}</li>
<li><a href="#" onclick="lsFavourite.toggle({$oTalk->getId()},this,'talk'); return false;" class="favorite {if $oTalk->getIsFavourite()}active{/if}"></a></li>
</ul>
</div>
{assign var="oTalkUser" value=$oTalk->getTalkUser()}
{if !$bNoComments}
{include
file='comment_tree.tpl'
iTargetId=$oTalk->getId()
sTargetType='talk'
iCountComment=$oTalk->getCountComment()
sDateReadLast=$oTalkUser->getDateLast()
sNoticeCommentAdd=$aLang.topic_comment_add
bNoCommentFavourites=true
}
{/if}
{include file='footer.tpl'}

View file

@ -0,0 +1,29 @@
<div class="block">
<h2>{$aLang.talk_speaker_title}</h2>
{if $oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator() }
<form onsubmit="talk.addToTalk({$oTalk->getId()}); return false;">
<p><label>{$aLang.talk_speaker_add_label}:<br />
<input type="text" id="talk_speaker_add" name="add" class="input-wide autocomplete-users" /></label></p>
<input type="hidden" id="talk_id" value="{$oTalk->getId()}" />
</form>
{/if}
<div id="speaker_list_block">
{if $oTalk->getTalkUsers()}
<ul class="list" id="speaker_list">
{foreach from=$oTalk->getTalkUsers() item=oTalkUser name=users}
{if $oTalkUser->getUserId()!=$oUserCurrent->getId()}
{assign var="oUser" value=$oTalkUser->getUser()}
{if $oTalkUser->getUserActive()!=$TALK_USER_DELETE_BY_AUTHOR}
<li>
<a class="user {if $oTalkUser->getUserActive()!=$TALK_USER_ACTIVE}inactive{/if}" href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
{if $oTalkUser->getUserActive()==$TALK_USER_ACTIVE and ($oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator())}- <a href="#" id="speaker_item_{$oTalkUser->getUserId()}" class="delete">{$aLang.blog_delete}</a>{/if}
</li>
{/if}
{/if}
{/foreach}
</ul>
{/if}
</div>
</div>

View file

@ -0,0 +1,7 @@
{include file='header.tpl'}
<h2>{$aLang.top_blogs}</h2>
{include file='menu.top.tpl'}
{include file='blog_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,17 @@
{include file='header.tpl'}
<h2>{$aLang.top_comments}</h2>
{include file='menu.top.tpl'}
<ul class="switcher">
<li {if $aParams[0] and $aParams[0]=='24h'}class="active"{/if}><a href="{router page='top'}comment/24h/">{$aLang.blog_menu_top_period_24h}</a></li>
<li {if $aParams[0] and $aParams[0]=='7d'}class="active"{/if}><a href="{router page='top'}comment/7d/">{$aLang.blog_menu_top_period_7d}</a></li>
<li {if $aParams[0] and $aParams[0]=='30d'}class="active"{/if}><a href="{router page='top'}comment/30d/">{$aLang.blog_menu_top_period_30d}</a></li>
<li {if $aParams[0] and $aParams[0]=='all'}class="active"{/if}><a href="{router page='top'}comment/all/">{$aLang.blog_menu_top_period_all}</a></li>
</ul>
{include file='comment_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,17 @@
{include file='header.tpl'}
<h2>{$aLang.top_topics}</h2>
{include file='menu.top.tpl'}
<ul class="switcher">
<li {if $aParams[0] and $aParams[0]=='24h'}class="active"{/if}><a href="{router page='top'}topic/24h/">{$aLang.blog_menu_top_period_24h}</a></li>
<li {if $aParams[0] and $aParams[0]=='7d'}class="active"{/if}><a href="{router page='top'}topic/7d/">{$aLang.blog_menu_top_period_7d}</a></li>
<li {if $aParams[0] and $aParams[0]=='30d'}class="active"{/if}><a href="{router page='top'}topic/30d/">{$aLang.blog_menu_top_period_30d}</a></li>
<li {if $aParams[0] and $aParams[0]=='all'}class="active"{/if}><a href="{router page='top'}topic/all/">{$aLang.blog_menu_top_period_all}</a></li>
</ul>
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,59 @@
{include file='header.tpl' menu='topic_action'}
{include file='window_load_img.tpl' sToLoad='topic_text'}
<div class="topic" style="display: none;">
<div class="content" id="text_preview"></div>
</div>
{if $sEvent=='add'}
<h2>{$aLang.topic_topic_create}</h2>
{else}
<h2>{$aLang.topic_topic_edit}</h2>
{/if}
<form action="" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_topic_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p><label for="blog_id">{$aLang.topic_create_blog}</label><br />
<select name="blog_id" id="blog_id" onChange="ajaxBlogInfo($(this).val());" class="input-300">
<option value="0">{$aLang.topic_create_blog_personal}</option>
{foreach from=$aBlogsAllow item=oBlog}
<option value="{$oBlog->getId()}" {if $_aRequest.blog_id==$oBlog->getId()}selected{/if}>{$oBlog->getTitle()}</option>
{/foreach}
</select></p>
<p><label for="topic_title">{$aLang.topic_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br />
<span class="note">{$aLang.topic_create_title_notice}</span></p>
<label for="topic_text">{$aLang.topic_create_text}{if !$oConfig->GetValue('view.tinymce')} ({$aLang.topic_create_text_notice}){/if}:</label>
<textarea name="topic_text" id="topic_text" rows="20" class="input-wide">{$_aRequest.topic_text}</textarea><br />
<p><label for="topic_tags">{$aLang.topic_create_tags}:</label><br />
<input type="text" id="topic_tags" name="topic_tags" value="{$_aRequest.topic_tags}" class="input-wide autocomplete-tags-sep" /><br />
<span class="note">{$aLang.topic_create_tags_notice}</span></p>
<p><label for=""><input type="checkbox" id="topic_forbid_comment" name="topic_forbid_comment" class="checkbox" value="1" {if $_aRequest.topic_forbid_comment==1}checked{/if} />
{$aLang.topic_create_forbid_comment}</label><br />
<span class="note">{$aLang.topic_create_forbid_comment_notice}</span></p>
{if $oUserCurrent->isAdministrator()}
<p><label><input type="checkbox" id="topic_publish_index" name="topic_publish_index" class="checkbox" value="1" {if $_aRequest.topic_publish_index==1}checked{/if} />
{$aLang.topic_create_publish_index}</label><br />
<span class="note">{$aLang.topic_create_publish_index_notice}</span></p>
{/if}
{hook run='form_add_topic_topic_end'}
<input type="submit" name="submit_topic_publish" value="{$aLang.topic_create_submit_publish}" />
<input type="submit" name="submit_preview" value="{$aLang.topic_create_submit_preview}" onclick="$('text_preview').getParent('div').setStyle('display','block'); ajaxTextPreview('topic_text',false); return false;" />
<input type="submit" name="submit_topic_save" value="{$aLang.topic_create_submit_save}" />
</form>
{include file='footer.tpl'}

View file

@ -0,0 +1,3 @@
{include file='header.tpl' menu='topic_action'}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -0,0 +1,4 @@
<div class="block">
<h2>{$aLang.block_blog_info_note}</h2>
<p>{$aLang.block_blog_info_note_text}</p>
</div>

View file

@ -0,0 +1,22 @@
<div class="block blogs" id="block_blogs">
<h2>{$aLang.block_blogs}</h2>
<ul class="switcher-block">
<li id="block_blogs_item_top" class="active">{$aLang.block_blogs_top}</li>
{if $oUserCurrent}
<li id="block_blogs_item_join">{$aLang.block_blogs_join}</li>
<li id="block_blogs_item_self">{$aLang.block_blogs_self}</li>
{/if}
</ul>
<div class="block-content" id="block_blogs_content">
{$sBlogsTop}
</div>
<div class="bottom">
<a href="{router page='blogs'}">{$aLang.block_blogs_all}</a>
</div>
</div>

View file

@ -0,0 +1,9 @@
<ul class="list">
{foreach from=$aBlogs item=oBlog}
<li>
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>
{if $oBlog->getType()=='close'}<img src="{cfg name='path.static.skin'}/images/lock.png" alt="[x]" title="{$aLang.clean_blog_closed}" />{/if}
<span class="rating">{$oBlog->getRating()}</span>
</li>
{/foreach}
</ul>

View file

@ -0,0 +1,17 @@
<div class="block stream" id="block_stream">
<h2>{$aLang.block_stream}</h2>
<ul class="switcher-block">
<li id="block_stream_item_comment" class="active">{$aLang.block_stream_comments}</li>
<li id="block_stream_item_topic">{$aLang.block_stream_topics}</li>
{hook run='block_stream_nav_item'}
</ul>
<div class="block-content" id="block_stream_content">
{$sStreamComments}
</div>
</div>

View file

@ -0,0 +1,19 @@
<ul class="list">
{foreach from=$aComments item=oComment name="cmt"}
{assign var="oUser" value=$oComment->getUser()}
{assign var="oTopic" value=$oComment->getTarget()}
{assign var="oBlog" value=$oTopic->getBlog()}
<li>
<a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> &rarr;
<a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()|escape:'html'}</a> &rarr;
<a href="{if $oConfig->GetValue('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}">{$oTopic->getTitle()|escape:'html'}</a>
{$oTopic->getCountComment()}
</li>
{/foreach}
</ul>
<div class="bottom">
<a href="{router page='comments'}">{$aLang.block_stream_comments_all}</a>
</div>

View file

@ -0,0 +1,19 @@
<ul class="list">
{foreach from=$oTopics item=oTopic name="cmt"}
{assign var="oUser" value=$oTopic->getUser()}
{assign var="oBlog" value=$oTopic->getBlog()}
<li>
<a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getLogin()}</a> &rarr;
<a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()|escape:'html'}</a> &rarr;
<a href="{$oTopic->getUrl()}">{$oTopic->getTitle()|escape:'html'}</a>
{$oTopic->getCountComment()}
</li>
{/foreach}
</ul>
<div class="bottom">
<a href="{router page='new'}">{$aLang.block_stream_topics_all}</a>
</div>

View file

@ -0,0 +1,7 @@
<div class="block">
<ul class="cloud">
{foreach from=$aTags item=oTag}
<li><a class="w{$oTag->getSize()}" rel="tag" href="{router page='tag'}{$oTag->getText()|escape:'html'}/">{$oTag->getText()|escape:'html'}</a></li>
{/foreach}
</ul>
</div>

View file

@ -0,0 +1,10 @@
{if $aCityList && count($aCityList)>0}
<div class="block">
<h2>{$aLang.block_city_tags}</h2>
<ul class="cloud">
{foreach from=$aCityList item=aCity}
<li><a class="w{$aCity.size}" rel="tag" href="{router page='people'}city/{$aCity.name|escape:'html'}/" >{$aCity.name|escape:'html'}</a></li>
{/foreach}
</ul>
</div>
{/if}

View file

@ -0,0 +1,10 @@
{if $aCountryList && count($aCountryList)>0}
<div class="block">
<h2>{$aLang.block_country_tags}</h2>
<ul class="cloud">
{foreach from=$aCountryList item=aCountry}
<li><a class="w{$aCountry.size}" rel="tag" href="{router page='people'}country/{$aCountry.name|escape:'html'}/">{$aCountry.name|escape:'html'}</a></li>
{/foreach}
</ul>
</div>
{/if}

View file

@ -0,0 +1,35 @@
<table class="table">
<thead>
<tr>
<td>{$aLang.blogs_title}</td>
{if $oUserCurrent}<td align="center">{$aLang.blog_join_leave}</td>{/if}
<td align="center">{$aLang.blogs_readers}</td>
<td align="center">{$aLang.blogs_rating}</td>
</tr>
</thead>
<tbody>
{foreach from=$aBlogs item=oBlog}
{assign var="oUserOwner" value=$oBlog->getOwner()}
<tr>
<td>
<a href="{router page='blog'}{$oBlog->getUrl()}/">{$oBlog->getTitle()|escape:'html'}</a>
{if $oBlog->getType()=='close'}<img src="{cfg name='path.static.skin'}/images/lock.png" alt="[x]" title="{$aLang.blog_closed}" />{/if}
</td>
{if $oUserCurrent}
<td align="center">
{if $oUserCurrent->getId()!=$oBlog->getOwnerId() and $oBlog->getType()=='open'}
<a href="#" onclick="blogs.ajaxJoinLeaveBlog(this, {$oBlog->getId()}); return false;">
{if $oBlog->getUserIsJoin()}{$aLang.blog_leave}{else}{$aLang.blog_join}{/if}
</a>
{else}
&mdash;
{/if}
</td>
{/if}
<td align="center" id="blog_user_count_{$oBlog->getId()}">{$oBlog->getCountUser()}</td>
<td align="center"><strong>{$oBlog->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>
</table>

View file

@ -0,0 +1,51 @@
{assign var="oUser" value=$oComment->getUser()}
{assign var="oVote" value=$oComment->getVote()}
<div id="comment_id_{$oComment->getId()}" class="comment {if !$oUserCurrent or ($oUserCurrent and !$oUserCurrent->isAdministrator())}not-admin{/if} {if $oComment->getDelete()} deleted{elseif $oUserCurrent and $oComment->getUserId()==$oUserCurrent->getId()} self{elseif $sDateReadLast<=$oComment->getDate()} new{/if}" >
{if !$oComment->getDelete() or $bOneComment or ($oUserCurrent and $oUserCurrent->isAdministrator())}
<a name="comment{$oComment->getId()}" ></a>
<ul class="info">
<li class="avatar"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" /></a></li>
<li class="username"><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li>
<li class="date">{date_format date=$oComment->getDate()}</li>
<li><a href="{if $oConfig->GetValue('module.comment.nested_per_page')}{router page='comments'}{else}#comment{/if}{$oComment->getId()}">#</a></li>
{if $oComment->getPid()}
<li class="goto-comment-parent"><a href="#" onclick="comments.goToParentComment({$oComment->getId()},{$oComment->getPid()}); return false;" title="{$aLang.comment_goto_parent}">↑</a></li>
{/if}
<li class="goto-comment-child"><a href="#" title="{$aLang.comment_goto_child}">↓</a></li>
{if $oUserCurrent and !$bNoCommentFavourites}
<li><a href="#" onclick="favourite.toggle({$oComment->getId()},this,'comment'); return false;" class="favourite {if $oComment->getIsFavourite()}active{/if}"></a></li>
{/if}
{if !$oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
<li><a href="#" class="delete" onclick="comments.toggle(this,{$oComment->getId()}); return false;">{$aLang.comment_delete}</a></li>
{/if}
{if $oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
<li><a href="#" class="repair" onclick="comments.toggle(this,{$oComment->getId()}); return false;">{$aLang.comment_repair}</a></li>
{/if}
{if $oComment->getTargetType()!='talk'}
<li class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} ">
<a href="#" class="plus" onclick="vote.vote({$oComment->getId()},this,1,'comment'); return false;"></a>
<span class="total">{$oComment->getRating()}</span>
<a href="#" class="minus" onclick="vote.vote({$oComment->getId()},this,-1,'comment'); return false;"></a>
</li>
{/if}
</ul>
<div id="comment_content_id_{$oComment->getId()}" class="content">
{$oComment->getText()}
</div>
{if $oUserCurrent}
<div class="actions">
{if !$oComment->getDelete() and !$bAllowNewComment}<a href="#" onclick="comments.toggleCommentForm({$oComment->getId()}); return false;" class="reply-link">{$aLang.comment_answer}</a>{/if}
</div>
{/if}
{else}
{$aLang.comment_was_delete}
{/if}
</div>

View file

@ -0,0 +1,40 @@
<div class="comments comment-list">
{foreach from=$aComments item=oComment}
{assign var="oUser" value=$oComment->getUser()}
{assign var="oTopic" value=$oComment->getTarget()}
{assign var="oBlog" value=$oTopic->getBlog()}
<div class="comment">
<div class="comment-inner">
<div class="path">
<a href="{$oBlog->getUrlFull()}" class="blog-name">{$oBlog->getTitle()|escape:'html'}</a> &rarr;
<a href="{$oTopic->getUrl()}">{$oTopic->getTitle()|escape:'html'}</a>
<a href="{$oTopic->getUrl()}#comments">{$oTopic->getCountComment()}</a>
</div>
<ul class="info">
<li class="avatar"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" /></a></li>
<li class="username"><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li>
<li class="date">{date_format date=$oComment->getDate()}</li>
<li><a href="{if $oConfig->GetValue('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}">#</a></li>
<li class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} ">
<span class="total">{if $oComment->getRating()>0}+{/if}{$oComment->getRating()}</span>
</li>
</ul>
<div class="content">
{if $oComment->isBad()}
<div style="color: #aaa;">{$oComment->getText()}</div>
{else}
{$oComment->getText()}
{/if}
</div>
</div>
</div>
{/foreach}
</div>
{include file='paging.tpl' aPaging="$aPaging"}

View file

@ -0,0 +1,49 @@
{if $aPagingCmt and $aPagingCmt.iCountPage>1}
{if $aPagingCmt.sGetParams}
{assign var="sGetSep" value='&'}
{else}
{assign var="sGetSep" value='?'}
{/if}
<div class="pagination pagination-comments">
<ul>
<li>{$aLang.paging}:</li>
{if $oConfig->GetValue('module.comment.nested_page_reverse')}
{if $aPagingCmt.iCurrentPage>1}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage=1">&larr;</a></li>
{/if}
{foreach from=$aPagingCmt.aPagesLeft item=iPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$iPage}">{$iPage}</a></li>
{/foreach}
<li class="active">{$aPagingCmt.iCurrentPage}</li>
{foreach from=$aPagingCmt.aPagesRight item=iPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$iPage}">{$iPage}</a></li>
{/foreach}
{if $aPagingCmt.iCurrentPage<$aPagingCmt.iCountPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$aPagingCmt.iCountPage}">{$aLang.paging_last}</a></li>
{/if}
{else}
{if $aPagingCmt.iCurrentPage<$aPagingCmt.iCountPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$aPagingCmt.iCountPage}">{$aLang.paging_last}</a></li>
{/if}
{foreach from=$aPagingCmt.aPagesRight item=iPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$iPage}">{$iPage}</a></li>
{/foreach}
<li class="active">{$aPagingCmt.iCurrentPage}</li>
{foreach from=$aPagingCmt.aPagesLeft item=iPage}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage={$iPage}">{$iPage}</a></li>
{/foreach}
{if $aPagingCmt.iCurrentPage>1}
<li><a href="{$aPagingCmt.sGetParams}{$sGetSep}cmtpage=1">&rarr;</a></li>
{/if}
{/if}
</ul>
</div>
{/if}

View file

@ -0,0 +1,63 @@
{if $oUserCurrent}
<div class="update" id="update" style="{if $aPagingCmt and $aPagingCmt.iCountPage>1}display:none;{/if}">
<div class="refresh"><img class="update-comments" id="update-comments" alt="" src="{cfg name='path.static.skin'}/images/update.gif" onclick="comments.load({$iTargetId},'{$sTargetType}'); return false;"/></div>
<div class="new-comments" id="new_comments_counter" style="display: none;" onclick="comments.goToNextComment();"></div>
<input type="hidden" id="comment_last_id" value="{$iMaxIdComment}" />
<input type="hidden" id="comment_use_paging" value="{if $aPagingCmt and $aPagingCmt.iCountPage>1}1{/if}" />
</div>
{/if}
<h3>{$aLang.comment_title} (<span id="count-comments">{$iCountComment}</span>)</h3>
<a name="comments"></a>
<div class="comments" id="comments">
{assign var="nesting" value="-1"}
{foreach from=$aComments item=oComment name=rublist}
{assign var="cmtlevel" value=$oComment->getLevel()}
{if $cmtlevel>$oConfig->GetValue('module.comment.max_tree')}
{assign var="cmtlevel" value=$oConfig->GetValue('module.comment.max_tree')}
{/if}
{if $nesting < $cmtlevel}
{elseif $nesting > $cmtlevel}
{section name=closelist1 loop=$nesting-$cmtlevel+1}</div>{/section}
{elseif not $smarty.foreach.rublist.first}
</div>
{/if}
<div class="comment-wrapper" id="comment_wrapper_id_{$oComment->getId()}">
{include file='comment.tpl'}
{assign var="nesting" value=$cmtlevel}
{if $smarty.foreach.rublist.last}
{section name=closelist2 loop=$nesting+1}</div>{/section}
{/if}
{/foreach}
</div>
{include file='comment_paging.tpl' aPagingCmt=$aPagingCmt}
{if $bAllowNewComment}
{$sNoticeNotAllow}
{else}
{if $oUserCurrent}
<h4 class="reply-header" id="add_comment_root"><a href="#" onclick="comments.toggleCommentForm(0); return false;">{$aLang.comment_leave}</a></h4>
<div id="reply_0" class="reply">
<form action="" method="POST" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
<textarea name="comment_text" id="form_comment_text" class="input-wide"></textarea>
<input type="button" value="{$aLang.comment_preview}" onclick="comments.preview();" />
<input type="submit" name="submit_comment" value="{$aLang.comment_add}" onclick="comments.add('form_comment',{$iTargetId},'{$sTargetType}'); return false;" />
<input type="hidden" name="reply" value="0" id="form_comment_reply" />
<input type="hidden" name="cmt_target_id" value="{$iTargetId}" />
</form>
</div>
{else}
{$aLang.comment_unregistered}
{/if}
{/if}

View file

@ -0,0 +1,27 @@
.block { padding: 10px; background: #fafafa; margin-bottom: 15px; }
.block .bottom { padding-top: 5px; font-size: 11px; }
.block .bottom a { color: #333; }
/* Stream */
.block.stream ul.list { border-top: 1px dashed #ddd; }
.block.stream ul.list li { padding: 7px 0 10px; border-bottom: 1px dashed #ddd; }
/* Top Blogs */
.block.blogs ul.list { border-top: 1px dashed #ddd; }
.block.blogs ul.list li { padding: 5px 0 8px; border-bottom: 1px dashed #ddd; }
.block.blogs ul.list li .rating { float: right; font-weight: bold; }
/* Tags */
.block .cloud li { display: inline; margin-right: 5px; line-height: 22px; }
.block .cloud li a { text-decoration: none; white-space: nowrap; }
.block .cloud li a.w1 { font-size: 12px; }
.block .cloud li a.w2 { font-size: 12px; }
.block .cloud li a.w3 { font-size: 14px; }
.block .cloud li a.w4 { font-size: 14px; }
.block .cloud li a.w5 { font-size: 18px; }
.block .cloud li a.w6 { font-size: 18px; }
.block .cloud li a.w7 { font-size: 20px; }
.block .cloud li a.w8 { font-size: 20px; }
.block .cloud li a.w9 { font-size: 22px; }
.block .cloud li a.w10 { font-size: 22px; }

View file

@ -0,0 +1,56 @@
/* --------------------------------------------------------------
!UPDATE
-------------------------------------------------------------- */
.update { padding: 7px 7px 5px 7px; float: right; position: fixed; top: 220px; right: 0; text-align: center; background: #fafafa; border-top: 1px solid #eee; border-bottom: 1px solid #ddd; border-left: 1px solid #ddd; _position: absolute; _top: expression( eval(document.documentElement.scrollTop) + 220 +"px" ); }
.update .update-comments { cursor: pointer; vertical-align: top; }
.update .new-comments { border-top: 1px solid #ececed; color: #333; padding-top: 7px; margin-top: 3px; cursor: pointer; }
/* --------------------------------------------------------------
!COMMENTS
-------------------------------------------------------------- */
.comments { margin-bottom: 10px; }
.comments .comment-wrapper { overflow: hidden; zoom: 1; position: relative; }
.comments .comment-wrapper .comment-wrapper { padding-left: 25px; }
.comment-preview { padding: 5px 10px; margin-bottom: 5px; background: #fafafa; }
/* Comment */
.comment .comment-inner { margin-bottom: 15px; }
.comment .deleted { padding: 5px 10px; color: #777; background: #f4f4f4; }
.comment .goto-comment-child { display: none; }
/* Comment Highlights */
.comment .info { background: #fafafa; }
.comment.deleted .info { background: #efd5d5; }
.comment.deleted.not-admin .info { padding: 5px 10px; min-height: 0; background: #f7f7f7; color: #888; }
.comment.self .info { background: #c5f7ea; }
.comment.new .info { background: #fbfba8; }
.comment.current .info { background: #a5e7fa; }
/* Info Block */
.comment .info { overflow: hidden; zoom: 1; font-size: 11px; margin-bottom: 5px; }
.comment .info li { float: left; padding-top: 3px; margin-right: 10px; }
.comment .info li.avatar { padding-top: 0; }
.comment .info li.avatar img { vertical-align: top; }
.comment .info li.voting { float: right; }
.comment .info li.username a { font-weight: bold; color: #555; }
.comment .info li.date {color: #888; }
.comment .info li a { text-decoration: none; }
/* Content */
.comment .content { color: #000; padding-right: 20px; line-height: 13px; }
/* Actions */
.comment .actions { font-size: 11px; }
.comment .actions a { text-decoration: none; }
/* Comment List */
.comments.comment-list .path { padding-bottom: 3px; }
.comments.comment-list .path .blog-name { color: #777; }
/* Reply Form */
.reply { padding-bottom: 10px; }
.reply textarea { height: 70px; }
.reply textarea.loader { background: #f7f7f7 url(../images/loader.gif) no-repeat center;}

View file

@ -0,0 +1,76 @@
/* Voting */
.voting { overflow: hidden; zoom: 1; }
.voting .total { float: left; padding: 0 7px; font-weight: bold; color: #aaa; }
.voting .total a { text-decoration: none; color: #999; outline: none; }
.voting.positive .total { color: #390; }
.voting.negative .total { color: #f00; }
.voting .plus,
.voting .minus { width: 10px; height: 10px; float: left; display: block; background: url(../images/voting.png) no-repeat; position: relative; top: 4px; outline: none; }
.voting .plus { background-position: 0 0; }
.voting .minus { background-position: -20px 0; }
.voting .plus:hover { background-position: -10px 0; }
.voting .minus:hover { background-position: -30px 0; }
.voting.voted.plus .plus { background-position: -10px 0; }
.voting.voted.minus .minus { background-position: -30px 0; }
.voting.voted.plus .minus:hover { background-position: -20px 0; }
.voting.voted.minus .plus:hover { background-position: 0 0; }
.voting.guest .plus:hover { background-position: 0 0; }
.voting.guest .minus:hover { background-position: -20px 0; }
/* Favorite */
.favourite { background: url(../images/favorite.png) no-repeat; display: block; height: 16px; width: 16px; position: relative; top: 1px; }
.favourite:hover { background-position: 0 -16px !important; }
.favourite.active { background-position: 0 -16px; }
/* Pagination */
.pagination ul li { display: inline; margin-right: 5px; }
.pagination ul li.active { color: #aaa; }
.pagination.pagination-comments { margin-bottom: 15px; }
/* Switcher */
.switcher { overflow: hidden; zoom: 1; margin-bottom: 10px; }
.switcher li { float: left; margin-right: 3px; }
.switcher li a { float: left; padding: 1px 10px 2px; text-decoration: none; color: #777; background: #eee; }
.switcher li.active a { border: 0; color: #eee; background: #555; }
.switcher-block { overflow: hidden; zoom: 1; margin-bottom: 10px; }
.switcher-block li { float: left; padding: 1px 10px 2px; margin-right: 3px; color: #777; background: #eee; cursor: pointer; }
.switcher-block li:hover { background: #ddd; }
.switcher-block li.active { color: #eee; background: #555; }
/* System messages */
.system-message-error { background: #f0c8c8; color: #b22626; padding: 10px 15px; margin-bottom: 15px; }
.system-message-notice { background: #dafad8; color: #4bb23b; padding: 10px 15px; margin-bottom: 15px; }
/* Actions */
.actions { overflow: hidden; zoom: 1; margin-bottom: 10px; }
.actions li a { overflow: hidden; zoom: 1; margin-bottom: 10px; color: #333; text-decoration: none; }
.actions li { float: left; margin-right: 10px; }
.actions li .edit { padding-left: 15px; background: url(../images/edit.png) no-repeat 0 1px; }
.actions li .delete { padding-left: 14px; background: url(../images/delete.png) no-repeat 0 2px; }
.actions li .rss { padding-left: 15px; background: url(../images/rss.png) no-repeat 0 1px; }
.actions li a:hover { text-decoration: underline; }
/* Misc */
.user { padding-left: 12px; background: url(../images/user.png) no-repeat 0 2px; color: #555; }
.user.inactive { color: #888; }
.center { width: 300px; margin: 0 auto; }
.table { width: 100%; margin-bottom: 15px; }
.table thead td { background: #fafafa; }
.table td { border: 1px solid #eee; padding: 5px; }
.table tr.active td { background: #F1FCEF; }
.right { float: right; }

View file

@ -0,0 +1,8 @@
.input-wide { width: 98%; _width: 97%; padding: 2px; }
.input-100 { width: 100px; padding: 2px; }
.input-200 { width: 200px; padding: 2px; }
.input-300 { width: 300px; padding: 2px; }
.note { font-size: 12px; color: #aaa; }
.checkbox { position: relative; top: 2px; margin: 0 4px 0 1px; }
.question-list { margin-bottom: 15px; }
.question-list li { margin-bottom: 3px; }

View file

@ -0,0 +1,71 @@
/* Blocks
-------------------- */
#container { width: 945px; margin: 0 auto; background: #fff; margin-bottom: 20px; }
#header { overflow: hidden; zoom: 1; margin-bottom: 15px; padding: 0 15px; background: #2c2c2c; }
#wrapper { overflow: hidden; zoom: 1; border-bottom: 1px solid #eee; }
#content { width: 595px; float: left; padding: 0 15px 15px 15px; background: #fff; }
#sidebar { width: 305px; float: left; padding-right: 15px; }
#footer { overflow: hidden; zoom: 1; margin-bottom: 20px; padding: 5px 0 10px; background: #fafafa; color: #777; }
/* Header
-------------------- */
#header h1 { margin: 0; }
#header h1 a { width: 230px; height: 45px; display: block; text-indent: -300px; background: url(../images/logo.png) no-repeat; outline: none; }
#header a { color: #fff; text-decoration: none; }
#header .pages { overflow: hidden; zoom: 1; padding: 0 0 15px; list-style: none; }
#header .pages li { float: left; font-size: 12px; margin-right: 10px; }
#header .pages li a { color: #ddd; text-decoration: none; padding: 2px 5px 3px; }
#header .pages li.active a { color: #333; background: #fafafa; padding: 2px 5px 3px; }
#header .profile { width: 500px; padding: 10px 0 0; color: #777; float: right; text-align: right; text-transform: lowercase; }
#header .profile .message-new { color: #5fb501; }
#header .profile .create { color: #f79cf3; }
#header .profile .username { font-weight: bold; }
#header .profile a:hover { color: #ddd; }
#header .search { padding-top: 11px; }
/* Navigation
-------------------- */
#nav { height: 51px; padding: 10px 30px 10px 15px; background: #fafafa; margin: 0 0 30px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
/* Menu */
#nav .menu { padding-bottom: 25px; }
#nav .menu li { float: left; color: #777; padding: 3px 7px 4px 7px; background: #eee; margin-right: 5px; }
#nav .menu li a { text-decoration: none; color: #777; }
#nav .menu li.active { position: relative; background: #333; }
#nav .menu li.active a { color: #fff; }
/* Sub-menu */
#nav .sub-menu { position: absolute; top: 30px; left: 0; width: 400px; font-size: 11px; }
#nav .sub-menu li { margin-right: 5px; line-height: 12px; background: #eee; padding: 3px 5px 5px 5px !important; }
#nav .sub-menu li a { color: #777 !important; }
#nav .sub-menu li a:hover { color: #333; }
#nav .sub-menu li.active { background: #555; color: #fff; }
#nav .sub-menu li.active a { color: #fff !important; }
/* Misc blocks
-------------------- */
/* Blog profile */
.blog { padding: 15px; background: #fafafa; margin-bottom: 20px; }
.blog .voting { float: right; }
/* User profile */
.user-profile { padding: 15px; background: #fafafa; margin-bottom: 20px; }
.user-profile .voting { float: right; margin-right: 10px; }
.user-profile .strength { float: right; }
/* Stat */
.stat-performance { width: 910px; margin: 0 auto 20px; padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.stat-performance table { }
.stat-performance table td { width: 200px; vertical-align: top; }
.stat-performance h4 { font-weight: bold; }

View file

@ -0,0 +1,37 @@
/* jqModal base Styling courtesy of;
Brice Burgess <bhb@iceburg.net> */
/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
the Window's z-index value will be set to 3000 by default (via jqModal.js). */
.jqmWindow {
display: none;
position: fixed;
top: 25%;
left: 50%;
margin-left: -150px;
width: 300px;
background-color: #fff;
color: #333;
border: 1px solid #666;
padding: 15px;
}
.jqmOverlay { background-color: #000; }
/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
width: expression(this.parentNode.offsetWidth+'px');
height: expression(this.parentNode.offsetHeight+'px');
}
/* Fixed posistioning emulation for IE6
Star selector used to hide definition from browsers other than IE6
For valid CSS, use a conditional include instead */
* html .jqmWindow {
position: absolute;
top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

View file

@ -0,0 +1,38 @@
#notifier {
width: 250px;
position: fixed;
bottom: 0;
right: 10px;
font-size: 12px;
z-index: 9999;
}
#notifier .n-box {
position: relative;
padding: 10px 15px 11px;
margin-bottom: 10px;
color: #fff;
background: #000;
-moz-border-radius: 5px;
}
#notifier .n-box h3 { color: #fff; font-size: 14px; font-weight: bold; margin-bottom: 3px; }
#notifier .n-box p { margin: 0; }
#notifier .n-box .n-close {
display: none;
width: 10px;
height: 10px;
position: absolute;
top: 5px;
right: 5px;
background: #ff0;
cursor: pointer;
}
#notifier .n-box.n-notice { background: rgb(255, 241, 168); color: #333; }
#notifier .n-box.n-error { background: #000; color: #fff; opacity: 0.8; }

View file

@ -0,0 +1,21 @@
body {
font: 12px/18px Tahoma, Arial, Sans-Serif;
color: #333;
background: #fafafa;
}
h1, h2, h3, h4, h5, h6 { font: normal 18px Arial, Sans-Serif; line-height: 1.3em; margin-bottom: 0.3em; color: #333; }
h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 18px; }
a { color: #1f8ab7; }
a:hover { color: #333; }
p { margin-bottom: 18px; }

View file

@ -0,0 +1,26 @@
/* Login popup */
.login-form { width: 200px; text-align: center; margin-left: -100px; left: 50%; top: 60px; background: #fff; border: 1px solid #666; padding: 15px; position: absolute; z-index: 100; display: none; }
.login-form h3 { margin-bottom: 15px; }
.login-form p { margin-bottom: 5px; }
.login-form label { color: #888; }
.login-form input { text-align: center; }
.login-form .checkbox-label { color: #333; }
.login-form .checkbox { position: relative; top: 2px; margin-right: 5px; }
.login-form .close { position: absolute; top: 5px; right: 5px; width: 14px; height: 14px; outline: none; background: url(../images/close.png) no-repeat; }
/* Upload image popup */
.upload-form h3 { margin-bottom: 15px; }
.upload-form .close { position: absolute; top: 5px; right: 5px; width: 14px; height: 14px; outline: none; background: url(../images/close.png) no-repeat; }
/* Blog delete popup */
.blog-delete-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; background: #fff; border: 1px solid #666; padding: 15px; position: fixed; z-index: 100; display: none; }
.blog-delete-form p { margin-bottom: 8px; }
.blog-delete-form .close { position: absolute; top: 5px; right: 5px; width: 14px; height: 14px; outline: none; background: url(../images/close.png) no-repeat; }
/* Add friend popup */
.add-friend-form { width: 200px; margin-left: -100px; left: 50%; top: 300px; background: #fff; border: 1px solid #666; padding: 15px; position: fixed; z-index: 100; display: none; }
.add-friend-form textarea { width: 195px; margin-bottom: 5px; }
.add-friend-form .close { position: absolute; top: 5px; right: 5px; width: 14px; height: 14px; outline: none; background: url(../images/close.png) no-repeat; }

View file

@ -0,0 +1,32 @@
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
/* remember to define focus styles! */
:focus { outline: 0; }
/* remember to highlight inserts somehow! */
ins { text-decoration: none; }
del { text-decoration: line-through; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; border-spacing: 0; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -0,0 +1,415 @@
/*
* jQuery UI CSS Framework 1.8.10
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Theming/API
*/
/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }
/* Icons
----------------------------------*/
/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
/*
* jQuery UI CSS Framework 1.8.10
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Theming/API
*
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
*/
/* Component containers
----------------------------------*/
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
.ui-widget .ui-widget { font-size: 1em; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
.ui-widget-content a { color: #222222; }
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
.ui-widget-header a { color: #222222; }
/* Interaction states
----------------------------------*/
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
.ui-widget :active { outline: none; }
/* Interaction Cues
----------------------------------*/
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
/* Icons
----------------------------------*/
/* states and images */
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
/* positioning */
.ui-icon-carat-1-n { background-position: 0 0; }
.ui-icon-carat-1-ne { background-position: -16px 0; }
.ui-icon-carat-1-e { background-position: -32px 0; }
.ui-icon-carat-1-se { background-position: -48px 0; }
.ui-icon-carat-1-s { background-position: -64px 0; }
.ui-icon-carat-1-sw { background-position: -80px 0; }
.ui-icon-carat-1-w { background-position: -96px 0; }
.ui-icon-carat-1-nw { background-position: -112px 0; }
.ui-icon-carat-2-n-s { background-position: -128px 0; }
.ui-icon-carat-2-e-w { background-position: -144px 0; }
.ui-icon-triangle-1-n { background-position: 0 -16px; }
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
.ui-icon-triangle-1-e { background-position: -32px -16px; }
.ui-icon-triangle-1-se { background-position: -48px -16px; }
.ui-icon-triangle-1-s { background-position: -64px -16px; }
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
.ui-icon-triangle-1-w { background-position: -96px -16px; }
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
.ui-icon-arrow-1-n { background-position: 0 -32px; }
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
.ui-icon-arrow-1-e { background-position: -32px -32px; }
.ui-icon-arrow-1-se { background-position: -48px -32px; }
.ui-icon-arrow-1-s { background-position: -64px -32px; }
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
.ui-icon-arrow-1-w { background-position: -96px -32px; }
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
.ui-icon-arrow-4 { background-position: 0 -80px; }
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
.ui-icon-extlink { background-position: -32px -80px; }
.ui-icon-newwin { background-position: -48px -80px; }
.ui-icon-refresh { background-position: -64px -80px; }
.ui-icon-shuffle { background-position: -80px -80px; }
.ui-icon-transfer-e-w { background-position: -96px -80px; }
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
.ui-icon-folder-collapsed { background-position: 0 -96px; }
.ui-icon-folder-open { background-position: -16px -96px; }
.ui-icon-document { background-position: -32px -96px; }
.ui-icon-document-b { background-position: -48px -96px; }
.ui-icon-note { background-position: -64px -96px; }
.ui-icon-mail-closed { background-position: -80px -96px; }
.ui-icon-mail-open { background-position: -96px -96px; }
.ui-icon-suitcase { background-position: -112px -96px; }
.ui-icon-comment { background-position: -128px -96px; }
.ui-icon-person { background-position: -144px -96px; }
.ui-icon-print { background-position: -160px -96px; }
.ui-icon-trash { background-position: -176px -96px; }
.ui-icon-locked { background-position: -192px -96px; }
.ui-icon-unlocked { background-position: -208px -96px; }
.ui-icon-bookmark { background-position: -224px -96px; }
.ui-icon-tag { background-position: -240px -96px; }
.ui-icon-home { background-position: 0 -112px; }
.ui-icon-flag { background-position: -16px -112px; }
.ui-icon-calendar { background-position: -32px -112px; }
.ui-icon-cart { background-position: -48px -112px; }
.ui-icon-pencil { background-position: -64px -112px; }
.ui-icon-clock { background-position: -80px -112px; }
.ui-icon-disk { background-position: -96px -112px; }
.ui-icon-calculator { background-position: -112px -112px; }
.ui-icon-zoomin { background-position: -128px -112px; }
.ui-icon-zoomout { background-position: -144px -112px; }
.ui-icon-search { background-position: -160px -112px; }
.ui-icon-wrench { background-position: -176px -112px; }
.ui-icon-gear { background-position: -192px -112px; }
.ui-icon-heart { background-position: -208px -112px; }
.ui-icon-star { background-position: -224px -112px; }
.ui-icon-link { background-position: -240px -112px; }
.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }
.ui-icon-bullet { background-position: -80px -144px; }
.ui-icon-radio-off { background-position: -96px -144px; }
.ui-icon-radio-on { background-position: -112px -144px; }
.ui-icon-pin-w { background-position: -128px -144px; }
.ui-icon-pin-s { background-position: -144px -144px; }
.ui-icon-play { background-position: 0 -160px; }
.ui-icon-pause { background-position: -16px -160px; }
.ui-icon-seek-next { background-position: -32px -160px; }
.ui-icon-seek-prev { background-position: -48px -160px; }
.ui-icon-seek-end { background-position: -64px -160px; }
.ui-icon-seek-start { background-position: -80px -160px; }
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
.ui-icon-seek-first { background-position: -80px -160px; }
.ui-icon-stop { background-position: -96px -160px; }
.ui-icon-eject { background-position: -112px -160px; }
.ui-icon-volume-off { background-position: -128px -160px; }
.ui-icon-volume-on { background-position: -144px -160px; }
.ui-icon-power { background-position: 0 -176px; }
.ui-icon-signal-diag { background-position: -16px -176px; }
.ui-icon-signal { background-position: -32px -176px; }
.ui-icon-battery-0 { background-position: -48px -176px; }
.ui-icon-battery-1 { background-position: -64px -176px; }
.ui-icon-battery-2 { background-position: -80px -176px; }
.ui-icon-battery-3 { background-position: -96px -176px; }
.ui-icon-circle-plus { background-position: 0 -192px; }
.ui-icon-circle-minus { background-position: -16px -192px; }
.ui-icon-circle-close { background-position: -32px -192px; }
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
.ui-icon-circle-zoomin { background-position: -176px -192px; }
.ui-icon-circle-zoomout { background-position: -192px -192px; }
.ui-icon-circle-check { background-position: -208px -192px; }
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
.ui-icon-circlesmall-close { background-position: -32px -208px; }
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
.ui-icon-squaresmall-close { background-position: -80px -208px; }
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
/* Misc visuals
----------------------------------*/
/* Corner radius */
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
/* Overlays */
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
* jQuery UI Autocomplete 1.8.10
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Autocomplete#theming
*/
.ui-autocomplete { position: absolute; cursor: default; }
/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
/*
* jQuery UI Menu 1.8.10
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Menu#theming
*/
.ui-menu {
list-style:none;
padding: 2px;
margin: 0;
display:block;
float: left;
}
.ui-menu .ui-menu {
margin-top: -3px;
}
.ui-menu .ui-menu-item {
margin:0;
padding: 0;
zoom: 1;
float: left;
clear: left;
width: 100%;
}
.ui-menu .ui-menu-item a {
text-decoration:none;
display:block;
padding:.2em .4em;
line-height:1.5;
zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
font-weight: normal;
margin: -1px;
}
/*
* jQuery UI Datepicker 1.8.10
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Datepicker#theming
*/
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; }
/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 200px; /*must have*/
height: 200px; /*must have*/
}

View file

@ -0,0 +1,54 @@
.topic { overflow: hidden; zoom: 1; margin-bottom: 50px; }
/* Title */
.topic .title a { color: #333; }
.topic .title a.title-blog { color: #333; }
.topic .title a.title-topic { color: #333; }
.topic .title a:hover { color: #666; }
/* Content */
.topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; }
.topic .content p { margin-bottom: 18px; }
.topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; clear: both; }
.topic .content pre { background: #fafafa; border: 1px solid #dce6f0; margin-bottom: 10px; overflow: auto; padding: 5px 10px; }
.topic .content ul { list-style-type: disc; margin-left: 17px; }
.topic .content ol { list-style-type: decimal; margin-left: 22px; }
.topic .content img[align="right"] { margin: 4px 0 5px 15px; }
.topic .content img[align="left"] { margin: 4px 15px 10px 0; }
/* Tags */
.topic .tags { margin: 0 0 6px; padding-left: 23px; background: url(../images/tag.png) no-repeat 0 2px; }
.topic .tags li { display: inline; color: #888; }
.topic .tags li a { color: #888; text-decoration: none; }
.topic .tags li a:hover { color: #333; }
/* Info */
.topic .info { overflow: hidden; zoom: 1; background: #fbfbfb; padding: 5px 15px; }
.topic .info li { float: left; margin-right: 15px; }
.topic .info li a { text-decoration: none; }
.topic .info li.date { color: #777; }
.topic .info li.username a { font-weight: bold; color: #333; }
.topic .info li.username a:hover { text-decoration: underline; }
.topic .info li.voting { padding-right: 15px; border-right: 1px solid #ddd; }
.topic .info li.comments-link a { padding-left: 15px; color: #333; font-weight: bold; background: url(../images/comments.png) no-repeat 0 2px; }
.topic .info li.comments-link a span { color: #777; }
.topic .info li.comments-link a:hover { text-decoration: underline; }
/* Poll */
.topic .poll { margin-bottom: 15px; }
.topic .poll .poll-vote { margin-bottom: 10px; margin-left: 0; list-style-type: none; padding: 15px 15px 10px; background: #fafafa; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.topic .poll .poll-vote li { margin-bottom: 5px; }
.topic .poll .poll-vote li label { display: inline; }
.topic .poll .poll-result { margin-bottom: 10px; margin-left: 0; list-style-type: none; padding: 15px 15px 0; background: #fafafa; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.topic .poll .poll-result li { margin-bottom: 20px; }
.topic .poll .poll-result li dl { overflow: hidden; zoom: 1; }
.topic .poll .poll-result li dl dt { float: left; width: 50px; text-align: right; padding-right: 15px; }
.topic .poll .poll-result li dl dt span { color: #aaa; }
.topic .poll .poll-result li dl dd { float: left; width: 400px; }
.topic .poll .poll-result li dl dd div { height: 5px; margin-top: 5px; background: #ccc; overflow: hidden; }
.topic .poll .poll-result li.most dl dd div { background: #555; }
.topic .poll .poll-total { color: #aaa; }

View file

@ -0,0 +1 @@
{include file=footer.tpl}

View file

@ -0,0 +1,20 @@
{hook run='content_end'}
</div><!-- /content -->
{if !$noSidebar}
{include file='sidebar.tpl'}
{/if}
</div><!-- /wrapper -->
<div id="footer">
<div class="right">Powered by <a href="http://livestreetcms.ru">LiveStreet CMS</a></div>
Автор шаблона &mdash; <a href="http://deniart.ru">deniart</a>
{if $oUserCurrent and $oUserCurrent->isAdministrator()}| <a href="{cfg name='path.root.web'}/admin/plugins">{$aLang.admin_plugins_manage}</a>{/if}
</div>
</div><!-- /container -->
{hook run='body_end'}
</body>
</html>

Some files were not shown because too many files have changed in this diff Show more