mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 00:30:21 -07:00
Updating files to improve HTTPS-ness
This commit is contained in:
parent
b6402db0ef
commit
5253c67111
BIN
images/starsbg.png
Normal file
BIN
images/starsbg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
@ -285,22 +285,19 @@
|
||||
|
||||
if (!$ipbanned && !$torbanned && (!defined("IS_AJAX_REQUEST") || !IS_AJAX_REQUEST)) {
|
||||
// Don't increment the view counter for bots
|
||||
// Todo: Actually check for bots and disable it because hdurfs
|
||||
$sql->query("UPDATE misc SET views=$views");
|
||||
|
||||
if($views%1000000>999000 or $views%1000000<1000) {
|
||||
if($views%10000000>9999000 or $views%10000000<1000) {
|
||||
$u=($loguserid?$loguserid:0);
|
||||
$sql->query("INSERT INTO hits VALUES ($views,$u,'$userip',".ctime().')');
|
||||
}
|
||||
|
||||
if ($views%1000000>999994 || ($views % 1000000 >= 991000 && $views % 1000 == 0) || ($views % 1000000 >= 999900 && $views % 10 == 0) || $views % 1000000 < 5) {
|
||||
// Print out a message to IRC whenever a 10-million-view milestone is hit
|
||||
if ($views%10000000>9999994 || ($views % 10000000 >= 9991000 && $views % 1000 == 0) || ($views % 10000000 >= 9999900 && $views % 10 == 0) || $views % 10000000 < 5) {
|
||||
xk_ircsend("0|View ". xk(11) . str_pad(number_format($views), 10, " ", STR_PAD_LEFT) . xk() ." by ". ($loguser['id'] ? xk(11) . str_pad($loguser['name'], 25, " ") : xk(12) . str_pad($_SERVER['REMOTE_ADDR'], 25, " ")) . xk() . ($views % 1000000 > 500000 ? " (". xk(12) . str_pad(number_format(1000000 - ($views % 1000000)), 5, " ", STR_PAD_LEFT) . xk(2) ." to go" . xk() .")" : ""));
|
||||
|
||||
}
|
||||
|
||||
if ($views == 44444444 || $views == 55555555 || $views == 66666666 || $views == 67108864) {
|
||||
xk_ircsend("0|View ". xk(11) . str_pad(number_format($views), 10, " ", STR_PAD_LEFT) . xk() ." by ". ($loguser['id'] ? xk(11) . str_pad($loguser['name'], 25, " ") : xk(12) . str_pad($_SERVER['REMOTE_ADDR'], 25, " ")) . xk());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Dailystats update in one query
|
||||
@ -388,7 +385,6 @@
|
||||
$metatag
|
||||
<link rel=\"shortcut icon\" href=\"/favicon". (!$x_hacks['host'] ? rand(1,8) ."" : "" ) .".ico\" type=\"image/x-icon\">
|
||||
$css
|
||||
<link rel=\"stylesheet\" href=\"http://xkeeper.net/img/layouts/fonts/stylesheet.css\" type=\"text/css\">
|
||||
</head>
|
||||
$body
|
||||
$yyy
|
||||
|
@ -2,7 +2,7 @@
|
||||
$formcss=1;
|
||||
$inputborder='663399';
|
||||
$bgimage='images/nightscheme_starsbg.png';
|
||||
$bgimage='http://xkeeper.net/img/starsbg.png';
|
||||
$bgimage='images/starsbg.png';
|
||||
$bgcolor='000F1F';
|
||||
$textcolor='DDDDDD';
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user