调用最新文章
2015-12-25
<?php $this->widget('Widget_Contents_Post_Recent', 'pageSize=6')->to($contents); ?>
<?php while($contents->next()): ?>
<div class="mportfoliobox">
<!-- mportfoliobg will enable the background image which is seen on mouse over -->
<!-- Portfolio Block One-->
<div class="mportfolio mportfoliobgvideo"><!-- The line for prettyphoto lightbox -->
<a href="<?php $contents->permalink() ?>">
<!-- Class fade will enable fade in out -->
<img class="fade" src="<?php Fimg_Plugin::showfimg($contents->cid,1);?>" alt="<?php $contents->title() ?>" />
</a>
</div>
<!-- Contents -->
<div class="portfoliotitle clear"><?php $contents->title() ?></div>
<div class="portfoliocontents"><span class="portleft"><a href="<?php $contents->cid(); ?>.html" target="_blank">在线演示</a> <a href="<?php Fimg_Plugin::showfimg($contents->cid,2);?>">图片演示</a></span><span class="portright"><a href="<?php Fimg_Plugin::showfimg($contents->cid,3);?>">模板下载</a></span></div>
</div>
<?php endwhile; ?>