{template 'yp', 'header'}
当前位置：企业黄页企业资讯

# {$rs['title']}

### 发布时间：{date("Y-m-d H:i:s",$rs['inputtime'])}

{$rs['content']}

### 联系方式

- 公司名称：{$c['companyname']}
- 联系人：{$c['linkman']}
- 联系电话：{magic_image($c['telephone'])}
- 电子邮箱：{magic_image($c['email'])}
- 公司类型：{$c['genre']}
- 地　址：{$c['address']}
- 公司网站：{company_url($c[userid],$c[sitedomain])}
- 查看公司详情

### 最新产品

{get sql="SELECT p.id,p.title,p.thumb,c.companyname,c.sitedomain,p.userid FROM `phpcms_yp_product` `p`,`phpcms_member_company` `c` WHERE c.userid = p.userid AND p.status = '99' ORDER BY id DESC" rows="10"}
- {str_cut($r['title'],20,'')} {str_cut($r['companyname'],20,'')}
{/get}

### 相关资讯

{get sql="SELECT id,title FROM `phpcms_yp_news` WHERE $news_where ORDER BY id ASC" rows="10"}
- {str_cut($r['title'],28)}
{/get}

{template 'yp', 'footer'}