Location: PHPKode > projects > phpStickyBoard > phpStickyBoard-0.0.7/phpStickyBoard/templates/default/board.thread.tpl
{foreach from=$data item=thread}
{if $thread.title && $thread.content}
<div style="width: 100%" id="floor_{$thread.floor}">
    <div style="width: 100%; margin: 5px">
        <p style="color: #0000FF;"><strong>{$thread.floor}&nbsp;{$thread.title}</strong>
	    <span style="color: #808080; font-size: 9pt">
	    阅读权限 <span style="color: #FF1010; font-size: 10pt"><strong>{$thread.authlevel}</strong></span> 级
	    </span>
	</p>
    </div>
    <div style="width: 100%; margin: 5px">
        {$thread.content}
    </div>
    <div style="width: 100%; margin: 5px">
        <div class="row">
            <span>作者</span>
            <span class="bluetext">{$thread.author}</span>
        </div>
        <div class="row" style="width: 300px; text-align: right">
            <span class="graytext">{$thread.posttime}</span>
        </div>
    </div>
    <div style="width: 100%; clear: both">
        <hr />
    </div>
</div>
{/if}
{/foreach}
{include file="default/_postbox.tpl"}

Return current item: phpStickyBoard