只需一步,快速开始
使用道具 举报
//更多资料 $base_farr = $contact_farr = array(); $query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('spaceinfo')." WHERE uid='$space[uid]'"); while ($value = $_SGLOBAL['db']->fetch_array($query)) { $v_friend = ckfriend($value['uid'], $value['friend']); if($value['type'] == 'base' || $value['type'] == 'contact') { if(!$v_friend) $space[$value['subtype']] = ''; } else { if($v_friend) $space[$value['type']][] = $value; } }
<li> 公司或机构: <!--{loop $space[work] $value}--> <!--{eval $title_url = urlencode($value[title]);$subtitle_url = urlencode($value[subtitle]);}--> <p><a href="space.php?do=mtag&tagname=$title_url">$value[title]</a> <a href="space.php?do=mtag&tagname=$subtitle_url">$value[subtitle]</a> <span class="gray">({$value[startyear]}年{$value[startmonth]}月 ~ <!--{if $value[endyear]}-->{$value[endyear]}年<!--{/if}--> <!--{if $value[endmonth]}-->{$value[endmonth]}月<!--{/if}--> <!--{if !$value[endyear] && !$value[endmonth]}-->现在<!--{/if}-->)</span></p> <!--{/loop}--> </li>
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-11-24 04:33 , Processed in 0.026560 second(s), 3 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.