bye bye trailing whitespaces (#442)

This commit is contained in:
Evil Puncker
2020-08-02 09:48:13 -03:00
committed by GitHub
parent aa016fc0b1
commit a00dbcfabd
77 changed files with 1056 additions and 1064 deletions

View File

@@ -26,5 +26,4 @@
.banner {
height: 170px;
}
}

View File

@@ -143,7 +143,6 @@ nav .container > div > ul > li > ul {
border-bottom: 1px solid var(--border);
}
.main {
width: 1220px;
margin: 2rem auto;
@@ -151,16 +150,11 @@ nav .container > div > ul > li > ul {
z-index: 1;
}
.ellipsis {
text-overflow: ellipsis;
white-space: nowrap;
}
.alert-box {
max-width: 500px;
font-size: 14px;
@@ -356,4 +350,4 @@ div.relative {
.postHolder iframe {
display: block;
margin: auto;
}
}

View File

@@ -10,7 +10,7 @@
// Use same date format when changing: yyyy-mm-dd hh:mm
$countDown = "2020-06-10 01:00";
// Hide countdown after 1 day (24 hours) after countDown
$countDown_hide = 1 * 24 * 60 * 60;

View File

@@ -14,8 +14,8 @@
<!--
Designed By <a href="https://otland.net/members/snavy.155163/" target="_blank">Snavy</a>
-->
</footer>
</div><!-- Main container END -->
</body>
@@ -26,4 +26,4 @@
Facebook: http://www.facebook.com/idont.reallywolf.1
Twitter: @idontreallywolf
Converted to Znote AAC by: Znote
-->
-->

View File

@@ -2,7 +2,7 @@
/* Znote AAC Sub System
- Used to create custom pages
- Place the contents of the page in /layout/sub/ folder.
: You don't need to include init, header or footer.
: You don't need to include init, header or footer.
Its already taken care of, just write the contents you want.
Then add that page to the configuration below. Config syntax:
@@ -13,7 +13,7 @@
................
There are 2 ways to view your page, by using sub.php file, or by overriding an existing default page.
1: yourwebiste.com/sub.php?page=PAGENAME
2: By having override => true, then it will load your sub file instead of the default znote aac file.
2: By having override => true, then it will load your sub file instead of the default znote aac file.
*/
@@ -46,4 +46,4 @@ $subpages = array(
'override' => false
)
);
?>
?>

View File

@@ -40,7 +40,7 @@ if ($cache->hasExpired()) {
// Design and present the list
if ($news) {
$total_news = count($news);
$row_news = $total_news / $config['news_per_page'];
$page_amount = ceil($total_news / $config['news_per_page']);
@@ -72,7 +72,7 @@ if ($news) {
} else {
for ($i = 0; $i < count($news); $i++) if ((int)$view === (int)$news[$i]['id']) $si = $i;
}
if ($si !== false) {
echo "hello world!";
?>
@@ -118,7 +118,7 @@ if ($news) {
</div>
</div>
<?php
}
}
}
echo '<select name="newspage" onchange="location = this.options[this.selectedIndex].value;">';
@@ -134,12 +134,12 @@ if ($news) {
echo '<option value="index.php?page='.$i.'">Page '.$i.'</option>';
}
}
echo '</select>';
}
} else {
echo '<p>No news exist.</p>';
}
?>
?>

View File

@@ -34,7 +34,7 @@
$threads = mysql_select_multi("SELECT `id`, `player_id` FROM `znote_forum_threads` WHERE `forum_id`='$cat' AND `closed`='0';");
if ($threads !== false) {
$staffs = mysql_select_multi("SELECT `id` FROM `players` WHERE `group_id` > '1';");
foreach($threads as $thread) {
$response = false;
$posts = mysql_select_multi("SELECT `id`, `player_id` FROM `znote_forum_posts` WHERE `thread_id`='". $thread['id'] ."';");
@@ -55,4 +55,4 @@
</li>
</ul>
</div>
</div>
</div>

View File

@@ -29,7 +29,7 @@
}
?>
<script type="text/javascript">
window.searchNames = <?php echo json_encode($names)?>;
window.searchNames = <?php echo json_encode($names)?>;
$(function() {
if (window.searchNames.length > 0) {
$('#src_name').keyup(function(e) {
@@ -59,4 +59,4 @@
});
</script>
</div>
</div>
</div>

View File

@@ -6,10 +6,10 @@
<form action="houses.php" method="<?php if ($config['ServerEngine'] !== 'TFS_10') echo "post"; else echo "get" ;?>">
<select name="<?php if ($config['ServerEngine'] !== 'TFS_10') echo "selected"; else echo "id" ;?>">
<?php
foreach ($config['towns'] as $id => $name)
foreach ($config['towns'] as $id => $name)
echo '<option value="'. $id .'">'. $name .'</option>';
?>
</select>
</select>
<?php
/* Form file */
if ($config['ServerEngine'] !== 'TFS_10') Token::create();
@@ -17,4 +17,4 @@
<input type="submit" value="Fetch houses">
</form>
</div>
</div>
</div>

View File

@@ -23,7 +23,7 @@
}
if ($status) {
?>
<li><a href="onlinelist.php">Players online:
<li><a href="onlinelist.php">Players online:
<?php echo user_count_online(); ?></a></li>
<?php
}
@@ -31,4 +31,4 @@
<li>Registered accounts: <?php echo user_count_accounts();?></li>
</ul>
</div>
</div>
</div>

View File

@@ -8,7 +8,7 @@
$cache = new Cache('engine/cache/topPlayer');
if ($cache->hasExpired()) {
$players = mysql_select_multi('SELECT `name`, `level`, `experience` FROM `players` WHERE `group_id` < ' . $config['highscore']['ignoreGroupId'] . ' ORDER BY `level` DESC, `experience` DESC LIMIT 5;');
$cache->setContent($players);
$cache->save();
} else {
@@ -24,4 +24,4 @@
?>
</table>
</div>
</div>
</div>