fix: replace all instances of <?
This commit is contained in:
parent
559668b6ee
commit
c5e2b30a11
35 changed files with 100 additions and 100 deletions
|
@ -31,7 +31,7 @@ if (!is_array($allAdmins)) {
|
|||
foreach ($allAdmins as $id => $name) {
|
||||
?>
|
||||
<input type="checkbox" name="sa[]" value="<?=$id?>" id="sa<?=$id?>" <?=(is_array($_SESSION['lw_new_game']['silent']) && in_array($id, $_SESSION['lw_new_game']['silent'])) ? "checked='checked'" : ""?> /> <label for="sa<?=$id?>"><?=htmlentities($name)?></label><br/>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -47,7 +47,7 @@ function __start($title) {
|
|||
?>
|
||||
<h3><?=htmlentities($title)?></h3>
|
||||
<table border="1" width="80%" style="margin: 5px 30px">
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
function __line($title, $contents) {
|
||||
|
@ -56,7 +56,7 @@ function __line($title, $contents) {
|
|||
<th align="right" width="50%"><?=htmlentities($title)?>: </th>
|
||||
<td><?=htmlentities($contents)?></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
function __end() {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -71,7 +71,7 @@ if (is_null($config['maintenance'])) {
|
|||
(current: <?=gmstrftime("%H:%M:%S on %m/%d/%Y", time())?>).
|
||||
</p>
|
||||
<p><a href="?disable=1">Disable maintenance mode</a></p>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -100,7 +100,7 @@ function listMaps() {
|
|||
|
||||
?>
|
||||
</table>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<p>
|
||||
|
@ -136,7 +136,7 @@ var initMap = {
|
|||
};
|
||||
//--></script>
|
||||
<script language="JavaScript" src="map_edit.js"></script>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
|
@ -154,7 +154,7 @@ function confirmDelete() {
|
|||
<input type="submit" name="ok" value="Confirm" />
|
||||
<input type="submit" name="cancel" value="Cancel" />
|
||||
</form>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue