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
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// LegacyWorlds Beta 5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// LegacyWorlds Beta 5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// LegacyWorlds Beta 5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// LegacyWorlds Beta 5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// LegacyWorlds Beta 5
|
||||
|
|
|
@ -45,7 +45,7 @@ class msgformat_detect {
|
|||
One of our fleets in Hyperspace stand-by around planet <b><?=utf8entities($this->data['p_name'])?></b>
|
||||
has been detected by the planet's hyperspace beacon.<br/>
|
||||
<br/>
|
||||
<?
|
||||
<?php
|
||||
switch ($this->data['i_level']) :
|
||||
case 0:
|
||||
echo "The beacon didn't manage to gather any information regarding the fleet, tho.";
|
||||
|
@ -70,7 +70,7 @@ has been detected by the planet's hyperspace beacon.<br/>
|
|||
Our hyperspace beacon around planet <b><?=utf8entities($this->data['p_name'])?></b> has detected a fleet
|
||||
in Hyperspace.<br/>
|
||||
<br/>
|
||||
<?
|
||||
<?php
|
||||
switch ($this->data['i_level']) :
|
||||
case 0:
|
||||
echo "However, no additional information could be gathered due to heavy jamming.";
|
||||
|
|
|
@ -42,7 +42,7 @@ We are confident that you are now strong enough to survive, and wish you the bes
|
|||
<br/>
|
||||
Kind regards,<br/>
|
||||
Peacekeeper Commander Dapkor
|
||||
<?
|
||||
<?php
|
||||
break;
|
||||
case 'BRK':
|
||||
?>
|
||||
|
@ -52,7 +52,7 @@ should you need our help again.<br/>
|
|||
<br/>
|
||||
Kind regards,<br/>
|
||||
Peacekeeper Commander Multair
|
||||
<?
|
||||
<?php
|
||||
break;
|
||||
case 'ACT':
|
||||
?>
|
||||
|
@ -62,7 +62,7 @@ should you need our services again.<br/>
|
|||
<br/>
|
||||
Kind regards,<br/>
|
||||
Peacekeeper Commander Hestaks
|
||||
<?
|
||||
<?php
|
||||
break;
|
||||
}
|
||||
$str = ob_get_contents();
|
||||
|
|
|
@ -54,7 +54,7 @@ This warning applies to the following planets:</p>
|
|||
<?=$planets?>
|
||||
<p>Best regards,<br/>
|
||||
Peacekeeper Commander Dapkor
|
||||
<?
|
||||
<?php
|
||||
break;
|
||||
case 'D':
|
||||
?>
|
||||
|
@ -63,7 +63,7 @@ following planets:</p>
|
|||
<?=$planets?>
|
||||
<p>Regards,<br/>
|
||||
Peacekeeper Commander Multair
|
||||
<?
|
||||
<?php
|
||||
break;
|
||||
case 'E':
|
||||
?>
|
||||
|
@ -75,7 +75,7 @@ In addition, your fleets will be destroyed on the following planets:
|
|||
<p>Sanctions against you will end at <b><?=gmstrftime("%H:%M</b> on <b>%d/%m/%Y", $this->data['delay'])?></b>.
|
||||
<br/>
|
||||
Peacekeeper Commander Hestaks
|
||||
<?
|
||||
<?php
|
||||
break;
|
||||
}
|
||||
$str = ob_get_contents();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// LegacyWorlds Beta 5
|
||||
|
|
|
@ -24,7 +24,7 @@ if ($data['notfound']) {
|
|||
Account email address:
|
||||
<input type="text" name="ma" value="<?=utf8entities($data['email'])?>" size="32" maxlength="128" />
|
||||
<input type="submit" name="mma" value="Change mail address" />
|
||||
<?
|
||||
<?php
|
||||
switch ($data['mailerr']) :
|
||||
case -1: print "<br/><span style='color:green; font-weight: bold'>Address changed</span>"; break;
|
||||
case 1: print "<br/><span style='color:red; font-weight: bold'>Invalid address</span>"; break;
|
||||
|
@ -38,7 +38,7 @@ endswitch;
|
|||
Account password:
|
||||
<input type="text" name="pw" value="<?=utf8entities($data['password'])?>" size="32" maxlength="64" />
|
||||
<input type="submit" name="mpw" value="Change password" />
|
||||
<?
|
||||
<?php
|
||||
switch ($data['passerr']) :
|
||||
case -1: print "<br/><span style='color:green; font-weight: bold'>Password updated</span>"; break;
|
||||
case 1: print "<br/><span style='color:red; font-weight: bold'>Password too short (min 4 characters)</span>"; break;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<a name='box'></a>
|
||||
<table cellspacing="0" cellpadding="0" style="width: 75%">
|
||||
<tr><td colspan='3'> </td></tr>
|
||||
<?
|
||||
<?php
|
||||
|
||||
$errs = array('Subject is too short.', 'Subject is too long.', 'Contents are too short.', 'Contents are too long.');
|
||||
if ($data['err']) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
|
||||
function drawForumsMenu($mode,$fList)
|
||||
{
|
||||
|
@ -13,7 +13,7 @@ function drawForumsMenu($mode,$fList)
|
|||
</tr>
|
||||
<tr><td colspan="2"><a href='?cmd=l' <?=tooltip('Click here to display the latest messages in all forums')?>><?=($mode=='l')?"<i>":""?>Latest messages<?=($mode=='l')?"</i>":""?></a></td></tr>
|
||||
<tr><td colspan="3"> </td></tr>
|
||||
<?
|
||||
<?php
|
||||
|
||||
foreach ($fList as $cid => $cat)
|
||||
{
|
||||
|
@ -62,7 +62,7 @@ function drawForumsMenu($mode,$fList)
|
|||
<tr><td colspan="3"> </td>
|
||||
<tr><th colspan="3"><a href="message" <?=tooltip('click here to go to the messaging system page')?>>Messages</a></th></tr>
|
||||
</table>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
$sp = $args['sp'];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
|
||||
$cat = $args['all'][$args['id']];
|
||||
|
||||
|
@ -6,14 +6,14 @@ $cat = $args['all'][$args['id']];
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('C#'.$args['id'], $args['all']); ?>
|
||||
<?php drawForumsMenu('C#'.$args['id'], $args['all']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<table cellspacing='0' cellpadding='0'><tr>
|
||||
<td class="pc50"><h1><?=utf8entities($cat['title'])?></h1></td>
|
||||
<td class='maar'><a href="?cmd=<?=urlencode('MC#'.$cat['type']."#".$cat['id'])?>" <?=tooltip('Click here to mark all topics in the forums belonging to this category as read')?>>Mark forums as read</a></td>
|
||||
</tr></table>
|
||||
<p><?
|
||||
<p><?php
|
||||
|
||||
if ($cat['desc'] != '')
|
||||
echo preg_replace('/\n/', '<br/>', utf8entities($cat['desc']));
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('', $args); ?>
|
||||
<?php drawForumsMenu('', $args); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1>Category Not Found</h1>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
$f = $args['forum'];
|
||||
$fid = 'F#'.$f['ctype']."#".$f['id'];
|
||||
list($tPPage,$page,$nPages) = $args['details'];
|
||||
|
@ -7,14 +7,14 @@ $mod = $f['mod'];
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu($fid, $args['cats']); ?>
|
||||
<?php drawForumsMenu($fid, $args['cats']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<table cellspacing='0' cellpadding='0'><tr>
|
||||
<td class="pc50"><h1><?=utf8entities($f['title'])?></h1></td>
|
||||
<td class='maar'><a href="?cmd=<?=urlencode('MF#'.$f['ctype']."#".$f['id'])?>&pg=<?=$page?>" <?=tooltip('Click here to mark all topics in this forum as read')?>>Mark topics as read</a></td>
|
||||
</tr></table>
|
||||
<?
|
||||
<?php
|
||||
if ($f['description'] != '')
|
||||
echo "<p>" . preg_replace('/\n/', '<br/>', utf8entities($f['description'])) . "</p>\n";
|
||||
?>
|
||||
|
@ -23,7 +23,7 @@ if ($f['description'] != '')
|
|||
<input type="hidden" name="pg" value="<?=$page?>" />
|
||||
|
||||
<table cellspacing="0" cellpadding="0" class="fcmd"><tr>
|
||||
<td><?
|
||||
<td><?php
|
||||
|
||||
if ($f['user_post'] || $f['mod'])
|
||||
echo "<a href='?cmd=n&f=".urlencode($fid)."' ".tooltip('Click here to go to the new topic form and post a new topic').">New topic</a>";
|
||||
|
@ -32,7 +32,7 @@ else
|
|||
|
||||
?></td>
|
||||
<td>
|
||||
Display <span <?=tooltip('Use this drop down list to choose the number of topics to display on each page')?>><select name="tpp" onChange="form.submit()"><?
|
||||
Display <span <?=tooltip('Use this drop down list to choose the number of topics to display on each page')?>><select name="tpp" onChange="form.submit()"><?php
|
||||
|
||||
for ($i=1;$i<6;$i++)
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ for ($i=1;$i<6;$i++)
|
|||
|
||||
?></select></span> topics per page
|
||||
</td>
|
||||
<td <?=tooltip('Use this drop down list to choose the page of topics to display')?>>Page <?
|
||||
<td <?=tooltip('Use this drop down list to choose the page of topics to display')?>>Page <?php
|
||||
|
||||
if ($nPages <= 1)
|
||||
echo "1 / 1";
|
||||
|
@ -60,7 +60,7 @@ else
|
|||
</tr></table>
|
||||
|
||||
<table cellspacing="0" cellpadding="0" class="ftop">
|
||||
<?
|
||||
<?php
|
||||
|
||||
if ($f['topics'] == 0)
|
||||
echo "<tr><td class='fem'>This forum is empty.</tr></td>\n";
|
||||
|
@ -104,7 +104,7 @@ else
|
|||
|
||||
?>
|
||||
</table>
|
||||
<?
|
||||
<?php
|
||||
if ($mod && count($topics))
|
||||
{
|
||||
?>
|
||||
|
@ -114,7 +114,7 @@ if ($mod && count($topics))
|
|||
<input <?=tooltip('Click here to go to switch sticky status on the selected topics')?> type="submit" name="st" value="Switch sticky" onClick="return confirmSticky()" />
|
||||
</td>
|
||||
<td>
|
||||
<?
|
||||
<?php
|
||||
$mf = array();
|
||||
foreach ($args['cats'] as $cid => $cat) {
|
||||
if ($cat['type'] == 'A' && $f['ctype'] != 'A' || $cat['type'] != 'A' && $f['ctype'] == 'A')
|
||||
|
@ -136,7 +136,7 @@ if ($mod && count($topics))
|
|||
}
|
||||
?></td>
|
||||
</tr></table>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('', $args); ?>
|
||||
<?php drawForumsMenu('', $args); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1>Permission Denied</h1>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('', $args); ?>
|
||||
<?php drawForumsMenu('', $args); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1>Forum Not Found</h1>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
if ($args['cat'] == '')
|
||||
{
|
||||
$mode = 'l';
|
||||
|
@ -14,7 +14,7 @@ list($mPPage,$page) = $args['details'];
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu($mode, $args['cats']); ?>
|
||||
<?php drawForumsMenu($mode, $args['cats']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1><?=utf8entities($title)?></h1>
|
||||
|
@ -35,7 +35,7 @@ list($mPPage,$page) = $args['details'];
|
|||
</table>
|
||||
</form>
|
||||
|
||||
<?
|
||||
<?php
|
||||
|
||||
$p = $args['posts'];
|
||||
$nbp = min($mPPage,count($p));
|
||||
|
@ -90,7 +90,7 @@ else
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('o', $args); ?>
|
||||
<?php drawForumsMenu('o', $args); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1>Forums Overview</h1>
|
||||
<?
|
||||
<?php
|
||||
|
||||
foreach ($args as $cid => $cat)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
$f = $args['forum'];
|
||||
if ($args['cmd'] == 'n')
|
||||
$title = utf8entities($f['title'])." - New Topic";
|
||||
|
@ -10,7 +10,7 @@ else if (substr($args['cmd'],0,2) == 'E#')
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('F#'.$args['cfid'], $args['cats']); ?>
|
||||
<?php drawForumsMenu('F#'.$args['cfid'], $args['cats']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h2><?=$title?></h2>
|
||||
|
@ -23,7 +23,7 @@ else if (substr($args['cmd'],0,2) == 'E#')
|
|||
<a name='box'></a>
|
||||
<table cellspacing="0" cellpadding="0" class="fpost">
|
||||
<tr><td colspan='3'> </td></tr>
|
||||
<?
|
||||
<?php
|
||||
|
||||
$errs = array('Subject is too short.', 'Subject is too long.', 'Contents are too short.', 'Contents are too long.');
|
||||
if ($args['err'])
|
||||
|
@ -46,7 +46,7 @@ if ($args['err'])
|
|||
<input <?=tooltip('Use this checkbox to enable / disable forum tags')?> type='checkbox' name='fc' id="efc" value='1'<?=$args['fc']?" checked='checked'":""?> /> <label for="efc" accesskey="f">Enable forum tags</label>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
|
||||
if ($args['sst'])
|
||||
{
|
||||
|
@ -57,7 +57,7 @@ if ($args['sst'])
|
|||
<input <?=tooltip('Use this checkbox to change the sticky status of the post')?> type='checkbox' name='st' id="est" value='1'<?=$args['st']?" checked='checked'":""?> /> <label for="est" accesskey="y">Enable sticky topic</label>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('', $args); ?>
|
||||
<?php drawForumsMenu('', $args); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1>Post Not Found</h1>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('s', $args['cats']); ?>
|
||||
<?php drawForumsMenu('s', $args['cats']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1>Search the Forums</h1>
|
||||
|
@ -24,7 +24,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th>Forum:</th>
|
||||
<td <?=tooltip('Use this drop down list to select in which forums to search')?> ><select name="sif"><option value="">All Available Forums</option><?
|
||||
<td <?=tooltip('Use this drop down list to select in which forums to search')?> ><select name="sif"><option value="">All Available Forums</option><?php
|
||||
|
||||
foreach ($args['cats'] as $cid => $cat)
|
||||
{
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?
|
||||
<?php
|
||||
$mPPage = $args['sparm']['perpage'];
|
||||
$page = $args['sparm']['page'];
|
||||
?>
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('s', $args['cats']); ?>
|
||||
<?php drawForumsMenu('s', $args['cats']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1>Search results</h1>
|
||||
|
@ -26,7 +26,7 @@ $page = $args['sparm']['page'];
|
|||
</table>
|
||||
</form>
|
||||
|
||||
<?
|
||||
<?php
|
||||
|
||||
$p = $args['posts'];
|
||||
$nbp = min($mPPage,count($p));
|
||||
|
@ -78,7 +78,7 @@ else
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?
|
||||
<?php
|
||||
$mPPage = $args['sparm']['perpage'];
|
||||
$page = $args['sparm']['page'];
|
||||
?>
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('s', $args['cats']); ?>
|
||||
<?php drawForumsMenu('s', $args['cats']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1>Search results</h1>
|
||||
|
@ -26,7 +26,7 @@ $page = $args['sparm']['page'];
|
|||
</table>
|
||||
</form>
|
||||
|
||||
<?
|
||||
<?php
|
||||
|
||||
$p = $args['topics'];
|
||||
$nbp = min($mPPage,count($p));
|
||||
|
@ -84,7 +84,7 @@ else
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
$f = $args['forum'];
|
||||
$t = $args['topic'];
|
||||
$fid = 'F#'.$f['ctype']."#".$f['id'];
|
||||
|
@ -7,7 +7,7 @@ list($mPPage,$page,$nPages,$threaded,$reverse) = $args['details'];
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu($fid, $args['cats']); ?>
|
||||
<?php drawForumsMenu($fid, $args['cats']); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1><?=utf8entities($t['title'])?></h1>
|
||||
|
@ -37,7 +37,7 @@ else
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
<?php
|
||||
|
||||
$p = $args['posts'];
|
||||
for ($i=0;$i<count($p);$i++)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="mmenu">
|
||||
<? drawForumsMenu('', $args); ?>
|
||||
<?php drawForumsMenu('', $args); ?>
|
||||
</td>
|
||||
<td>
|
||||
<h1>Topic Not Found</h1>
|
||||
|
|
|
@ -6,7 +6,7 @@ include('manual/en/header.inc');
|
|||
?>
|
||||
</td>
|
||||
<td style="padding:0px 0px 0px 20px">
|
||||
<?
|
||||
<?php
|
||||
include("manual/en/" . handler::$h->subPage . ".inc");
|
||||
?>
|
||||
</td>
|
||||
|
|
|
@ -39,7 +39,7 @@ if (!is_null(handler::$h->page)) {
|
|||
<tr><td colspan="3"><h3 style="margin:0;padding:0">Contents</h3></td></tr>
|
||||
</table>
|
||||
<div id="manual">
|
||||
<?
|
||||
<?php
|
||||
|
||||
function dumpManualStructure(&$sections, $depth) {
|
||||
$br = false;
|
||||
|
|
|
@ -95,7 +95,7 @@ if (is_null(handler::$h->page)) {
|
|||
?>
|
||||
<a name="<?=handler::$h->page['name']?>"></a>
|
||||
<h1 style="margin:0;padding:0"><?=handler::$h->page['title']?></h1>
|
||||
<?
|
||||
<?php
|
||||
|
||||
if (count(handler::$h->page['subsections'])) {
|
||||
$st = input::$IE ? "margin:0px 0px 0px 30px" : "margin:0px 0px 0px -15px";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?
|
||||
<?php
|
||||
include("menu.en.inc");
|
||||
$this->title = "Banned";
|
||||
$this->addStylesheet('text');
|
||||
|
@ -11,7 +11,7 @@ $this->startContents();
|
|||
<p>
|
||||
Don't even think about coming back.
|
||||
</p>
|
||||
<?
|
||||
<?php
|
||||
|
||||
$q = dbQuery("SELECT reason FROM account WHERE id=" . tracking::$data['uid'] . " AND status='KICKED'");
|
||||
list($reason) = dbFetchArray($q);
|
||||
|
|
Loading…
Add table
Reference in a new issue