</span></div><?php 
}
?>
		<div class="ref"><strong>โดย </strong> <span><?php 
echo $information->user->profile->first_name == "" ? 'Administrator' : $information->user->profile->first_name . ' ' . $information->user->profile->last_name . ' ' . $information->user->profile->position;
?>
</span></div>  
		<div class="ref"><strong>กลุ่มงาน </strong> <span><?php 
echo $information->group_id ? lang_decode($information->group->name) : lang_decode($information->user->group->name);
?>
</span></div>        
		<?php 
if ($information->tag) {
    ?>
<div class="tag"><strong>แท็ก :</strong> <span><?php 
    echo tag_decode($information->tag);
    ?>
</span></div><?php 
}
?>
		<div class="ref"><strong style="float:left; margin:0 5px 0 0;">เรตติ้ง </strong>
			<input name="rating" value="1" type="radio" class="star" disabled="disabled" <?php 
echo $information->rating == 1 ? 'checked="checked"' : '';
?>
 />
			<input name="rating" value="2" type="radio" class="star" disabled="disabled" <?php 
echo $information->rating == 2 ? 'checked="checked"' : '';
?>
 />
			<input name="rating" value="3" type="radio" class="star" disabled="disabled" <?php 
echo $information->rating == 3 ? 'checked="checked"' : '';
Beispiel #2
0
    ?>
</a> 
			<a href="knowledges/download/<?php 
    echo $doc->id;
    ?>
"><span class="icon icon-page-save"></span></a> 
			<small>(ดาวน์โหลดทั้งสิ้น <?php 
    echo $doc->counter;
    ?>
 ครั้ง)</small> </li>
		<?php 
}
?>
		</ol>
	</div>

    <div class="ref"><strong>Credit by </strong> <span>คุณ <?php 
echo $knowledge->user->profile->first_name . ' ' . $knowledge->user->profile->last_name . ' ' . $knowledge->user->profile->position;
?>
 </span></div>     
	<?php 
if ($knowledge->tag) {
    ?>
	<div class="tag"><strong>TAG :</strong> <span><?php 
    echo tag_decode($knowledge->tag);
    ?>
</span></div>
	<?php 
}
?>
</div><!--data-->
Beispiel #3
0
    ?>
"> ลบ</a>
		<?php 
}
?>
	</span>
</div>
<div class="post">
	<?php 
echo $blog->blogpost->detail;
?>
	<?php 
if ($blog->blogpost->tag) {
    ?>
	<p>Tags: <?php 
    echo tag_decode($blog->blogpost->tag);
    ?>
</p>
	<?php 
}
?>
</div>
<div class="nav">
	<?php 
if ($next->blogpost->id) {
    ?>
	<div class="next right">
		<a href="blogs/<?php 
    echo $next->id;
    ?>
/<?php 
Beispiel #4
0
?>
" width="200" height="25" /></div> -->
	<div id="data">
		<!-- <h2><?php 
echo lang_decode($law->title);
?>
 <span class="f10 TxtGray2"><?php 
echo mysql_to_th($law->start_date);
?>
 - <?php 
echo $law->counter;
?>
 ครั้ง</span> </h2> -->
		<?php 
echo lang_decode($law->detail);
?>
		<div class="ref"><strong>Credit by </strong> <span><?php 
echo $law->user->profile->first_name . ' ' . $law->user->profile->last_name . ' ' . $law->user->profile->position;
?>
</span></div>     
		<?php 
if ($law->tag) {
    ?>
<div class="tag"><strong>TAG :</strong> <span><?php 
    echo tag_decode($law->tag);
    ?>
</span></div><?php 
}
?>
    </div><!--data-->