Home >CMS Tutorial >Empire CMS >How Imperial CMS displays different content based on different member groups

How Imperial CMS displays different content based on different member groups

silencement
silencementforward
2019-11-27 13:29:362760browse

How Imperial CMS displays different content based on different member groups

The example in this article describes the method of Empire CMS to display different content according to different member groups. Share it with everyone for your reference. The specific implementation method is as follows:

The code is as follows:

<?php
if(getcvar(&#39;mlgroupid&#39;)==1)
{
?>
//会员组id=1时显示内容
<?php
}
elseif(getcvar(&#39;mlgroupid&#39;)==2)
{
?>
//会员组id=2时显示内容
<?php
}
?>

It is recommended to study "Empire cms tutorial"

I hope that this article will help everyone build an Imperial CMS website Helps.

The above is the detailed content of How Imperial CMS displays different content based on different member groups. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:www.word666.com. If there is any infringement, please contact admin@php.cn delete