The following content will teach you how to invoke Ucenter home latest album in Dedecms!
Picture (call one for each album) + author + photo Album name + number (each photo album contains number of sheets)
All links to the Space personal homepage of this album thumbnail list
The
Code is as follows:
&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp;
{dede:sql sql= "select * from Uchome_album FORCE INDEX (updatetime) Order by Dateline DESC LIMIT"}
<li>
<a href= "Uchome address/space.php?uid=[field:uid/]&do=album&id=[field:albumid/]" target= " _blank "><img src=" Uchome address/attachment/[field:pic] "/" "Imgwidth=" 124 "imgheight=" ></A>
<a Style= "Link:text-decoration:none; Color: #0088bb; "href=" Uchome address/space.php?uid=[field:uid/]&do=album&id=[field:albumid/] "target= _blank" >[field:username/][field:title_template function= ' Str_replace ("{actor}", "", @me) '/]</a>
<a href= ' Uchome address/space.php?uid=[field:uid/]&do=album&id=[field:albumid/] "target=" _blank ">[field:albumname/" [Field:title_template function= ' Str_replace ("{actor}", "", @me) '/]</a>
<a style= ' link:text-decoration: None; Color: #999; "href=" Uchome address/space.php?uid=[field:uid/]&Amp;do=album&id=[field:albumid/] "target=" _blank > ([field:picnum/] amplitude) </a>
</li>
{/dede: SQL}
Please replace the Uchome address with your ucenter home access URL, and you can adjust the code to suit your needs.