Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
5.4 kB
1
Indexable
Never
<xf:macro template="xgtForumistatik_miniheader_macros" name="encokgoruntulenen" arg-encokgoruntulenen="!" />
<xf:if is="$threads is not empty">
	<ul class="xgtIstatistikListe">
		<xf:foreach loop="$threads" value="$thread">
			<li class="xgtIstatistikVerileri">
				<div class="IstatistikHucre IstatistikSirasi"></div>
				<div class="IstatistikHucre IstatistikAvatar">
					<xf:if is="$xf.options.xgtForumistatikOzellikler.cevrimici">	
						<xf:if is="$thread.User && $thread.User.isOnline()">
							<span class="Istatistik_cevrimici" tabindex="0" data-xf-init="tooltip" 
								  data-trigger="auto" title="{{ phrase('xgt_forumistatik_kullanici_cevrim_ici') }}"></span>
						<xf:else />
							<span class="Istatistik_cevridisi" tabindex="0" data-xf-init="tooltip" 
								  data-trigger="auto" title="{{ phrase('xgt_forumistatik_kullanici_cevrim_disi') }}"></span>
						</xf:if>	
					</xf:if>					
					<xf:avatar user="$thread.User" size="s" defaultname="{$thread.username}" />
					<xf:if is="$thread.getUserPostCount()">
						<xf:avatar user="$xf.visitor" size="xxs" href=""
							   	class="avatar--separated Avatar-XS"
							   	tabindex="0"
							   	data-xf-init="tooltip"
							   	data-trigger="auto"
							   	title="{{ phrase('you_have_posted_x_messages_in_this_thread', {'count': $thread.getUserPostCount() }) }}" />
					</xf:if>		
				</div>
				<div class="IstatistikHucre KonuBaglantisi structItem--thread{{ $thread.prefix_id ? ' is-prefix' . $thread.prefix_id : '' }} {{ $thread.isIgnored() ? ' is-ignored' : '' }} {{ ($thread.isUnread() AND !$forceRead) ? ' OkunmamisVeri' : '' }} {{ $thread.discussion_state == 'moderated' ? ' is-moderated' : '' }} {{ $thread.discussion_state == 'deleted' ? ' is-deleted' : '' }} js-inlineModContainer js-threadListItem-{$thread.thread_id}" 
				 	data-author="{{ $thread.User.username ?: $thread.username }}">
					<xf:if is="$xf.options.xgtForumistatikOzellikler.googlebutonu">
						<a href="http://www.google.com/search?hl=tr&amp;q={$thread.title}"title="{$thread.title}" target="_blank">
							<div class="GoogleButon" title="{{ phrase('xgt_forumistatik_google_arama_yap') }}"><i class="fab fa-google"></i></div>
						</a>
					</xf:if>				
					<xf:set var="$canPreview" value="{{ $thread.canPreview() }}" />
					<xf:if is="$thread.prefix_id">
						<xf:if is="$forum">
							<a href="{{ link('forums', $forum, {'prefix_id': $thread.prefix_id}) }}" class="labelLink" rel="nofollow">{{ prefix('thread', $thread, 'html', '') }}</a>
						<xf:else />
							{{ prefix('thread', $thread, 'html', '') }}
						</xf:if>
					</xf:if>
					<a href="{{ link('threads' . (($thread.isUnread() AND !$forceRead) ? '/unread' : ''), $thread) }}" class="" data-tp-primary="on" data-xf-init="{{ $canPreview ? 'preview-tooltip' : '' }}" data-preview-url="{{ $canPreview ? link('threads/preview', $thread) : '' }}">{$thread.title}</a>			
				</div>
				<xf:if is="$xf.options.xgtForumistatikOzellikler.icerikikonlari">
					<xf:include template="xgtForumistatik_konu_ikonlari" />
				</xf:if>	
				<xf:if is="$xf.options.xgtForumistatikOzellikler.forumugoster">
					<div class="IstatistikHucre IstatistikForum" data-xf-init="tooltip" title="{{ phrase('xgt_forumistatik_forumu') }}">
						<a href="{{ link('forums', $thread.Forum) }}" title="{$thread.Forum.title}">{$thread.Forum.title}</a>
					</div>
				</xf:if>
				<xf:if is="$xf.options.xgtForumistatikOzellikler.mesajgosterim">
					<div class="IstatistikHucre IstatistikCevap" data-xf-init="tooltip" title="{{ phrase('xgt_forumistatik_cevaplari') }}">
						{{ $thread.discussion_type == 'redirect' ? '&ndash;' : $thread.reply_count|number }}
					</div>	
					<div class="IstatistikHucre IstatistikGoruntuleme" data-xf-init="tooltip" title="{{ phrase('xgt_forumistatik_goruntuleme') }}">
						<div class="GoruntulemeVurgusu">
							{{ $thread.discussion_type == 'redirect' ? '&ndash;' : ($thread.view_count > $thread.reply_count ? $thread.view_count|number_short(1) : number($thread.reply_count|number_short(1))) }}
						</div>
					</div>
				</xf:if>
		
				<xf:if is="$xf.options.xgtForumistatikOzellikler.zamangoster">
					<div class="IstatistikHucre IstatistikZaman">
						<xf:if is="$thread.discussion_type == 'redirect'">
							{{ phrase('n_a') }}
						<xf:else />
							<a href="{{ link('threads/latest', $thread) }}" rel="nofollow"><xf:date time="{$thread.last_post_date}" class="structItem-latestDate" /></a>
						</xf:if>
					</div>	
				</xf:if>
				<xf:if is="$xf.options.xgtForumistatikOzellikler.sonyazan">
					<div class="IstatistikHucre IstatistikSonCevap">
						<xf:if is="$thread.discussion_type == 'redirect'">
							<xf:if is="$xf.options.xgtForumistatikOzellikler.sonavatar">
								<xf:avatar user="{{ null }}" size="xs" />
							</xf:if>
							{{ phrase('n_a') }}
						<xf:else />
							<xf:if is="$xf.visitor.isIgnoring($thread.last_post_user_id)">
								{{ phrase('ignored_member') }}
							<xf:else />
								<xf:if is="$xf.options.xgtForumistatikOzellikler.sonavatar">
									<xf:avatar user="{$thread.User}" defaultname="{$thread.User}" size="xxs" />
								</xf:if>								
								<xf:username user="$thread.User" rich="true" />
							</xf:if>
						</xf:if>
					</div>
				</xf:if>
			</li>
		</xf:foreach>
	</ul>
<xf:else />
	 <div class="block-row">
		  {{ phrase('no_results_found') }}
	 </div>
</xf:if>