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'); ?>
|
||||
<script type="text/javascript">
|
||||
function confirm_action(c_name, url)
|
||||
{
|
||||
@@ -23,7 +23,7 @@ function confirm_action(c_name, url)
|
||||
Installation date:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<span style="font-weight: bold"><?= $this->TPL['installation_date']; ?></span>
|
||||
<span style="font-weight: bold"><?php echo $this->TPL['installation_date']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -31,7 +31,7 @@ function confirm_action(c_name, url)
|
||||
Topics total:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<span style="font-weight: bold"><?= $this->TPL['topics_total']; ?></span>
|
||||
<span style="font-weight: bold"><?php echo $this->TPL['topics_total']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -40,7 +40,7 @@ function confirm_action(c_name, url)
|
||||
Posts total:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<span style="font-weight: bold"><?= $this->TPL['posts_total']; ?></span>
|
||||
<span style="font-weight: bold"><?php echo $this->TPL['posts_total']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -49,7 +49,7 @@ function confirm_action(c_name, url)
|
||||
Users total:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<span style="font-weight: bold"><?= $this->TPL['users_total']; ?></span>
|
||||
<span style="font-weight: bold"><?php echo $this->TPL['users_total']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -58,7 +58,7 @@ function confirm_action(c_name, url)
|
||||
Logged users total (last 5 min):
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<span style="font-weight: bold"><?= $this->TPL['logged_users_total']; ?></span>
|
||||
<span style="font-weight: bold"><?php echo $this->TPL['logged_users_total']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -67,7 +67,7 @@ function confirm_action(c_name, url)
|
||||
Script version:
|
||||
</div>
|
||||
<div class="tc4 rc">
|
||||
<span style="font-weight: bold"><?= $this->TPL['script_version']; ?></span>
|
||||
<span style="font-weight: bold"><?php echo $this->TPL['script_version']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -92,7 +92,7 @@ function confirm_action(c_name, url)
|
||||
<div class="tc3 tab_desc">Rank</div>
|
||||
<div class="tc4 tab_desc">IP</div>
|
||||
</div>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $i < count($this->TPL['logged_users']); $i++)
|
||||
{
|
||||
echo '
|
||||
@@ -109,4 +109,4 @@ function confirm_action(c_name, url)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
<?php require_once('./templates/overall_footer.tpl.php'); ?>
|
||||
Reference in New Issue
Block a user