Difference between revisions of "Main Page"

From EMW
 
Line 1: Line 1:
 +
{{#vardefine:zUserGroups|{{#ask: [[User:{{CURRENTUSER}}]] | mainlabel=- | ? User group= | default=none }} }}<!--
 +
 +
-->{{#vardefine:zUserGroupTst|{{#ifeq:{{#var:zUserGroups}}|{{#replace:{{#var:zUserGroups}}|sysop|}} |N|Y}}<!--
 +
                          -->{{#ifeq:{{#var:zUserGroups}}|{{#replace:{{#var:zUserGroups}}|Viewer|}}|N|Y}}<!--
 +
                          -->{{#ifeq:{{#var:zUserGroups}}|{{#replace:{{#var:zUserGroups}}|Contributor|}}|N|Y}}<!--
 +
-->}}
 +
<!--
 +
 +
 +
 +
 +
-->
 
{| style="width: 100%;"
 
{| style="width: 100%;"
 
| style="vertical-align: top;" | To view any content on this site you must be 1) registered, 2) Logged-in, and 3) Approved by an admin
 
| style="vertical-align: top;" | To view any content on this site you must be 1) registered, 2) Logged-in, and 3) Approved by an admin
 
{{#ifeq:127.0.0.1|{{CURRENTUSER}}
 
{{#ifeq:127.0.0.1|{{CURRENTUSER}}
|
+
  |
 
* [[Special:UserLogin|Click here to Register and/or Login]]
 
* [[Special:UserLogin|Click here to Register and/or Login]]
|
+
  |
 
* {{CURRENTUSER}}, you are logged-in:  
 
* {{CURRENTUSER}}, you are logged-in:  
* {{#vardefine:zUserGroups|{{#ask:[[User:{{CURRENTUSER}}]]|mainlabel=-|?User group=}} }}{{#vardefine:zUserGroupTst|{{#ifeq:{{#var:zUserGroups}}|{{#replace:{{#var:zUserGroups}}|sysop|}}|N|Y}}{{#ifeq:{{#var:zUserGroups}}|{{#replace:{{#var:zUserGroups}}|Viewer|}}|N|Y}}{{#ifeq:{{#var:zUserGroups}}|{{#replace:{{#var:zUserGroups}}|Contributor|}}|N|Y}} }}{{#ifeq:{{#var:zUserGroupTst}}|{{#replace:{{#var:zUserGroupTst}}|Y|}}|You are registered, but the admin has not yet approved you to view this site|And the admin has approved you to '''VIEW''' this site. Enjoy!
+
** {{#ifeq:{{#var:zUserGroupTst}}|{{#replace:{{#var:zUserGroupTst}}|Y|}}
* Check out the [[Start Page]]}}
+
    |You are registered, but the admin has not yet approved you to view this site.
 +
    |And the admin has assigned you to the following groups: {{#var:zUserGroups}}. Enjoy!
 +
  }}
 
}}
 
}}
 
| style="vertical-align: top;" | <div style="float: right;">'''Recent Users'''
 
| style="vertical-align: top;" | <div style="float: right;">'''Recent Users'''

Latest revision as of 17:05, 28 November 2023

To view any content on this site you must be 1) registered, 2) Logged-in, and 3) Approved by an admin
Recent Users