HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/irk2.ru/templates/skin/habra/actions/ActionTalk/inbox.tpl
{include file='header.tpl'}

{include file='system_message.tpl'}

<BR>
<table width="100%"  border="0" cellspacing="4" cellpadding="4">
<tr>

<td align="left">
<div id="content" class="ppl">

		<div class="oldmenu">
   			<div class="oldmenuitem_2 {if $sEvent=='inbox'}active{/if}"><a href="{$DIR_WEB_ROOT}/talk/">Почтовый ящик</a></div>
			<div class="oldmenuitem_2 {if $sEvent=='add'}active{/if}"><a href="{$DIR_WEB_ROOT}/talk/add/">Написать</a></div>
		</div>
		
		
		<br><br>&nbsp;
		{if $aTalks}
		<form action="" method="post" id="form_talks_list">
		<table width="100%" bgcolor="White" border="0" cellspacing="0" cellpadding="0" class="inbox">
			<tr>
				<th width="20px"><input type="checkbox" name="" onclick="checkAllTalk(this);"></th>
				<th align="left">Тема</th>				
				<th align="left">Собеседники</th>
				<th width="140px" align="left">Дата</th>
			</tr>
			
			{foreach from=$aTalks item=oTalk}
			<tr>
				<td><input type="checkbox" name="talk_del[{$oTalk->getId()}]" class="form_talks_checkbox"></td>
				<td class="subj">
					{if $oTalk->getCountCommentNew() or !$oTalk->getDateLastRead()}
						<a href="{$DIR_WEB_ROOT}/talk/read/{$oTalk->getId()}/"><b>{$oTalk->getTitle()|escape:'html'}</b></a>
					{else}
						<a href="{$DIR_WEB_ROOT}/talk/read/{$oTalk->getId()}/">{$oTalk->getTitle()|escape:'html'}</a>
					{/if}
					 &nbsp;	
					{if $oTalk->getCountComment()}
						{$oTalk->getCountComment()} {if $oTalk->getCountCommentNew()}<span style="color: #008000;">+{$oTalk->getCountCommentNew()}</span>{/if}
					{/if}
				</td>				
				<td class="addressee">
				Я {if $oTalk->getCountUsers()>1} и {/if}
				{foreach from=$oTalk->getUsers() item=oUser name=users}
					{if $oUser->getId()!=$oUserCurrent->getId()}
					
					<a href="{$DIR_WEB_ROOT}/profile/{$oUser->getLogin()}/">{$oUser->getLogin()}</a>{if !$smarty.foreach.users.last},{/if} 
					{/if}
				{/foreach}
				</td>
				<td class="date">{date_format date=$oTalk->getDate()}</td>
			</tr>
			{/foreach}		
					
		</table><br>
		<input type="submit" name="submit_talk_del" value="Удалить">
		</form>
		{else}
			У вас пока нет сообщений
		{/if}
</div>

</td>
</tr>
</table>


{include file='footer.tpl'}