{dede:sql sql="SELECT f.title,f.url,m.uname,m.id as uid
FROM dede_archives a left join dede_full_search f on a.ID = f.aid
left join dede_member m on a.memberID = m.ID
WHERE memberID >0
ORDER BY `sortrank` DESC
LIMIT 0 , 10"}
<a href='[field:url/]'>[field:title function="cn_substr(@me,50)"/]</a>
<a href='[field:global name='cfg_cmspath'/]/member/?[field:uid/]/'>[field:uname/]</a>
{/dede:sql}
{dede:sql sql="SELECT m.ID,m.type,m.userid,m.matt,c.id,c.comname
FROM dede_member m
left join dede_member_cominfo c on m.ID = c.id
where m.type = 1 and m.matt = 1
LIMIT 0 , 10"}
<a href='[field:global name='cfg_cmspath'/]/member/?[field:userid/]/'>[field:comname/]</a>
{/dede:sql}
{dede:sql sql="SELECT m.ID, m.type, m.userid,c.id, c.comname
FROM dede_member m
LEFT JOIN dede_member_cominfo c ON m.ID = c.id
WHERE m.type =1
ORDER BY `m`.`ID` DESC
LIMIT 0 , 10 "}
<a href='[field:global name='cfg_cmspath'/]/member/?[field:userid/]/'>[field:comname/]</a>
{/dede:sql}
推荐企业
FROM dede_member m left join dede_member_cominfo c on m.ID = c.id
where m.type = 1 and m.matt = 1
LIMIT 0 , 5"}
头像:<img src="[field:spacep_w_picpath runphp='yes']
if(!@me)@me = 'http://bbs.dedecms.com/p_w_picpath/post/smile/default/14.gif';
[/field:spacep_w_picpath]" />
用户名:<a href='[field:global name='cfg_cmspath'/]/member/?[field:userid/]/'>[field:comname/]</a>
{/dede:sql}
FROM dede_member
where matt = 1 and type=0
LIMIT 0 , 10"}
头像:<img src="[field:spacep_w_picpath runphp='yes']
if(!@me)@me = 'http://bbs.dedecms.com/p_w_picpath/post/smile/default/14.gif';
[/field:spacep_w_picpath]" />
用户名:<a href='[field:global name='cfg_cmspath'/]/member/?[field:userid/]/'>[field:uname/]</a>
{/dede:sql}
if(!@me)@me = 'http://bbs.dedecms.com/p_w_picpath/post/smile/default/14.gif';
[/field:spacep_w_picpath]
FROM dede_member m left join dede_member_cominfo c on m.ID = c.id
where m.type = 1 and m.matt = 1
LIMIT 0 , 5"}
企业简介:[field:cominfo function="cn_substr(ClearHtml(@me),100)"/]
{/dede:sql}
<a href="/member/index.php?id=3">[field:name/]</a>招聘<a href="/member/index.php?id=[field:memberID/]&type=job&jobid=[field:id/]">[field:job/]</a><br/>
{/dede:sql}