Home >Backend Development >PHP Tutorial >destoon文章模块调用企业会员资料的方法_PHP

destoon文章模块调用企业会员资料的方法_PHP

WBOY
WBOYOriginal
2016-05-31 19:30:06970browse

本文实例展示了destoon文章模块调用企业会员资料的方法,对于destoon开发来说非常具有实用价值。

一般来说,为吸引企业会员发布企业文章,当企业会员发布文章后文章底部自动调出该企业会员的企业信息,这样企业会员就比较喜欢发布一些文章。这一功能的具体实现方法如下:

主要代码如下:

{if $username}
{php $user_status=3;}
{php $member = userinfo($username);}
{template 'contact', 'chip'}
{/if}

希望本文所述方法对大家的destoon开发能有所帮助。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn