mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-03 00:47:19 +00:00
General fixes
+Removed almost all "BANNED" controls to template and .php UI files. The control will be done only once and in the Session class
This commit is contained in:
@@ -12,12 +12,7 @@ include("Templates/Plus/pmenu.tpl");
|
||||
<h2>How is it done?</h2>
|
||||
|
||||
<h3>1) Invite your friends via Email</h3>
|
||||
<?php if($session->access != BANNED){ ?>
|
||||
<p><a href="plus.php?id=5&a=1&mail">» Invite by e-mail</a></p>
|
||||
|
||||
<?php }else{ ?>
|
||||
<p><a href="banned.php">» Invite by e-mail</a></p>
|
||||
<?php } ?>
|
||||
<h3>2) Copy your personal REF-Link and share it!</h3><span class="notice">Your personal REF Link:</span>
|
||||
<br>
|
||||
<span class="link"><?php echo HOMEPAGE.(substr(HOMEPAGE, -1)=="/" ? "":"/");?>anmelden.php?uid=ref_<?php echo $session->uid; ?></span>
|
||||
|
||||
Reference in New Issue
Block a user