fix: replace all instances of <?

This commit is contained in:
Emmanuel BENOîT 2024-12-31 10:20:23 +01:00
parent 559668b6ee
commit c5e2b30a11
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg
35 changed files with 100 additions and 100 deletions

View file

@ -7,7 +7,7 @@
<p>
The Death of Rats is LegacyWorlds' experimental multi detection tool.<br/>
Select page:
<?
<?php
set_magic_quotes_runtime(false);
@ -117,7 +117,7 @@ function showStatus() {
<b>Execution log</b>: the latest 200 runs of the Death of Rats.
</li>
</ul>
<?
<?php
}
function showExecLog() {
@ -141,7 +141,7 @@ function showExecLog() {
<th>Changes</th>
<th>Events</th>
</tr>
<?
<?php
foreach ($entries as $entry) {
?>
<tr>
@ -149,11 +149,11 @@ function showExecLog() {
<td align="center"><?=$entry['events'] ? "<b>" : ""?><?=$entry['entries']?><?=$entry['events'] ? "</b>" : ""?></td>
<td align="center"><?=$entry['events'] ? "<b>" : ""?><?=$entry['events']?><?=$entry['events'] ? "</b>" : ""?></td>
</tr>
<?
<?php
}
?>
</table>
<?
<?php
}
function showSingleLog() {
@ -175,7 +175,7 @@ function showSingleLog() {
<th>Account</th>
<th align="left">Message</th>
</tr>
<?
<?php
$messages = array(
"ASSHOLE" => "Tried to log on using a banned account",
@ -191,11 +191,11 @@ function showSingleLog() {
<td align="center"><?=htmlentities($entry['name'])?></td>
<td><?=$messages[$entry['message']]?></td>
</tr>
<?
<?php
}
?>
</table>
<?
<?php
}
function showSinglePoints() {
@ -216,18 +216,18 @@ function showSinglePoints() {
<th>Account</th>
<th>Points</th>
</tr>
<?
<?php
foreach ($entries as $entry) {
?>
<tr>
<td align="center"><?=htmlentities($entry['name'])?></td>
<td align="center"><?=$entry['points']?></td>
</tr>
<?
<?php
}
?>
</table>
<?
<?php
}
function showInGameChecks() {
@ -268,7 +268,7 @@ function showInGameChecks() {
<th align="left">Message</th>
<th>Count</th>
</tr>
<?
<?php
$messages = array(
"CHECK" => "Verifying accounts",
@ -292,11 +292,11 @@ function showInGameChecks() {
<td><?=$messages[$message]?></td>
<td align="center"><?=$count?></td>
</tr>
<?
<?php
}
?>
</table>
<?
<?php
}
@ -321,7 +321,7 @@ function showMultiLog() {
<th>Account 2</th>
<th align="left">Message</th>
</tr>
<?
<?php
$messages = array(
"SIMPLE" => "Simple multiing / open pass sharing detected",
@ -348,11 +348,11 @@ function showMultiLog() {
<td align="center"><?=htmlentities($entry['name2'])?></td>
<td><?=$messages[$entry['message']]?></td>
</tr>
<?
<?php
}
?>
</table>
<?
<?php
}
function showFinalPoints() {
@ -375,7 +375,7 @@ function showFinalPoints() {
<th>Account 2</th>
<th>Points</th>
</tr>
<?
<?php
foreach ($entries as $entry) {
?>
<tr>
@ -383,11 +383,11 @@ function showFinalPoints() {
<td align="center"><?=htmlentities($entry['name2'])?></td>
<td><?=$entry['points']?></td>
</tr>
<?
<?php
}
?>
</table>
<?
<?php
}
@ -412,7 +412,7 @@ function showMultiPoints() {
<th>Account 2</th>
<th>Points</th>
</tr>
<?
<?php
foreach ($entries as $entry) {
$id = explode(',', $entry['id']);
sort($id);
@ -427,11 +427,11 @@ function showMultiPoints() {
<td align="center"><?=htmlentities($entry['name2'])?></td>
<td><?=$entry['points']?></td>
</tr>
<?
<?php
}
?>
</table>
<?
<?php
}
@ -468,7 +468,7 @@ function showActionLog() {
<th>Account 2</th>
<th align="left">Message</th>
</tr>
<?
<?php
$messages = array(
"WARN" => "Warned player",
"PUNISH" => "Slaughtered player with a rat-sized scythe"
@ -482,11 +482,11 @@ function showActionLog() {
<td align="center"><?=htmlentities($entry['name2'])?></td>
<td><?=$messages[$entry['atype']]?></td>
</tr>
<?
<?php
}
?>
</table>
<?
<?php
}
?>