The
is primarily to get the page to the background upload picture (if there are uploaded pictures, then get the thumbnail of the diagram, no upload the picture, select a default picture, modify the default time format, change to the desired time format, the given example of the time format is day/month week
<ul>
{pc:content action= "lists" catid= "$catid" num= "4" order= "Inputtime DESC" page= "$page" moreinfo= "1"}
{loop $data $r}
<li>
<a href= "{$r [url]}" class= "List_news"
{if $r [thumb]}
{else}
{/if}
<span class=" List_title ">{$r [Title]}</span>
<span class=" List_con ">{$r [ Description]}</span>
<div class= "List_time"
<p><span class= "time_m" >{date (' d ', $r [ Inputtime])}</span>/{date (' m ', $r [inputtime])}</p>
<?php
$date = $r [inputtime];//$datetime = ' 2014-09-09 00:20:46 '
$week = Array (' Sunday ', ' Monday ', ' Tuesday ', ' Wednesday ', ' Thursday ', ' Friday ', ' Saturday ');
Echo $week [Date (' W ', $date)]; /week x
</div>
</a>
</li>
{/loop}
{/pc}
</ul>