PHP 7.0 compatibility (short tags replaced by normal)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<? require_once('./templates/admin/overall_header.tpl.php'); ?>
|
||||
<?php require_once('./templates/admin/overall_header.tpl.php'); ?>
|
||||
<div id="content">
|
||||
<br />
|
||||
<div class="forum_table">
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="tc3 tab_desc" style="width: 70px"></div>
|
||||
<div class="tc4 tab_desc" style="width: 70px"></div>
|
||||
</div>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $i<count($this->TPL['users_list']); $i++)
|
||||
{
|
||||
echo '<div class="row">'."\n";
|
||||
@@ -47,27 +47,27 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="tc1 tc4">
|
||||
<form action="<?= $_SERVER['REQUEST_URI']; ?>" method="post">
|
||||
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
||||
Sort users by:
|
||||
<select name="sort_type">
|
||||
<option value="regdate" <?= $this->TPL['regdate_selected']; ?>>Registration date</option>
|
||||
<option value="lastvisit" <?= $this->TPL['lastvisit_selected']; ?>>Lastvisit</option>
|
||||
<option value="nick" <?= $this->TPL['username_selected']; ?>>Username</option>
|
||||
<option value="post_count" <?= $this->TPL['posts_selected']; ?>>Posts count</option>
|
||||
<option value="regdate" <?php echo $this->TPL['regdate_selected']; ?>>Registration date</option>
|
||||
<option value="lastvisit" <?php echo $this->TPL['lastvisit_selected']; ?>>Lastvisit</option>
|
||||
<option value="nick" <?php echo $this->TPL['username_selected']; ?>>Username</option>
|
||||
<option value="post_count" <?php echo $this->TPL['posts_selected']; ?>>Posts count</option>
|
||||
</select>
|
||||
|
||||
<input type="checkbox" name="sort_desc" value="Delete avatar" <?= $this->TPL['desc_checked']; ?> />Descending
|
||||
<input type="checkbox" name="sort_desc" value="Delete avatar" <?php echo $this->TPL['desc_checked']; ?> />Descending
|
||||
<input type="submit" value="Sort">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="tc1 tc4">Select only users with rank:
|
||||
<a href="index.php?mode=admin&submode=users&rank=admin"><?= $this->getRankLevel(RANK_ADMIN); ?></a> •
|
||||
<a href="index.php?mode=admin&submode=users&rank=mod"><?= $this->getRankLevel(RANK_MOD); ?></a> •
|
||||
<a href="index.php?mode=admin&submode=users&rank=user"><?= $this->getRankLevel(RANK_USER); ?></a></div>
|
||||
<a href="index.php?mode=admin&submode=users&rank=admin"><?php echo $this->getRankLevel(RANK_ADMIN); ?></a> •
|
||||
<a href="index.php?mode=admin&submode=users&rank=mod"><?php echo $this->getRankLevel(RANK_MOD); ?></a> •
|
||||
<a href="index.php?mode=admin&submode=users&rank=user"><?php echo $this->getRankLevel(RANK_USER); ?></a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
<?php require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
Reference in New Issue
Block a user