mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
923d4d4521
commit
032089d64c
@ -98,7 +98,6 @@ function next_hour() {
|
||||
|
||||
|
||||
|
||||
|
||||
/*************************************************************************\
|
||||
//--------------Run every hour ------------------------------------------//
|
||||
|
||||
|
@ -7,12 +7,12 @@
|
||||
show_header();
|
||||
|
||||
//requires wget, unzip commands to be installed
|
||||
shell_exec('wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_'.date('Ym').'04.zip');
|
||||
shell_exec('wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_'.date('Ym').'02.zip');
|
||||
//shell_exec('wget http://debug.what.cd/GeoLiteCity_'.date('Ym').'01.zip');
|
||||
shell_exec('unzip GeoLiteCity_'.date('Ym').'04.zip');
|
||||
shell_exec('rm GeoLiteCity_'.date('Ym').'04.zip');
|
||||
shell_exec('unzip GeoLiteCity_'.date('Ym').'02.zip');
|
||||
shell_exec('rm GeoLiteCity_'.date('Ym').'02.zip');
|
||||
|
||||
if(($Locations = file("GeoLiteCity_".date('Ym')."04/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||
if(($Locations = file("GeoLiteCity_".date('Ym')."02/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||
error("Download or extraction of maxmind database failed");
|
||||
}
|
||||
array_shift($Locations);
|
||||
@ -31,7 +31,7 @@
|
||||
echo "There are ".count($CountryIDs)." CountryIDs";
|
||||
echo "<br />";
|
||||
|
||||
if(($Blocks = file("GeoLiteCity_".date('Ym')."04/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||
if(($Blocks = file("GeoLiteCity_".date('Ym')."02/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||
echo "Error";
|
||||
}
|
||||
array_shift($Blocks);
|
||||
|
@ -310,7 +310,7 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) {
|
||||
<table class="torrent_table cats numbering border">
|
||||
<tr class="colhead">
|
||||
<td class="center" style="width:15px;"></td>
|
||||
<td></td>
|
||||
<td class="cats_col"></td>
|
||||
<td><strong>Name</strong></td>
|
||||
<td style="text-align:right"><strong>Data</strong></td>
|
||||
<td style="text-align:right"><img src="static/styles/<?=$LoggedUser['StyleName']?>/images/snatched.png" alt="Snatches" title="Snatches" /></td>
|
||||
|
@ -28,12 +28,7 @@
|
||||
|
||||
$TorrentID = $_REQUEST['id'];
|
||||
|
||||
$uih = user_heavy_info($UserID);
|
||||
if ($AuthKey != $uih['AuthKey']) {
|
||||
|
||||
error(403);
|
||||
die;
|
||||
}
|
||||
|
||||
if (!is_number($TorrentID)){ error(0); }
|
||||
|
||||
|
@ -405,7 +405,7 @@ function header_link($SortKey,$DefaultWay="DESC") {
|
||||
<div class="linkbox"><?=$Pages?></div>
|
||||
<table class="torrent_table cats" width="100%">
|
||||
<tr class="colhead">
|
||||
<td></td>
|
||||
<td class="cats_col"></td>
|
||||
<td><a href="<?=header_link('Name', 'ASC')?>">Torrent</a></td>
|
||||
<td><a href="<?=header_link('Time')?>">Time</a></td>
|
||||
<td><a href="<?=header_link('Size')?>">Size</a></td>
|
||||
|
File diff suppressed because one or more lines are too long
@ -679,7 +679,7 @@ td.avatar {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
table.forum_post td.body div {
|
||||
#forums table.forum_post td.body div {
|
||||
width: 677px;
|
||||
}
|
||||
|
||||
|
@ -452,13 +452,13 @@ ul.thin li { margin:0px 0px; padding:0px; }
|
||||
}
|
||||
|
||||
/* Strip the category column */
|
||||
td.cats_col, td.center.cats_col{ border-right: none; }
|
||||
td.cats_col, td.center.cats_col{ border-right: none; display: none; }
|
||||
table.grouping>tbody>tr.torrent>td:first-child+td+td,
|
||||
table.no_grouping>tbody>tr.torrent>td:first-child+td,
|
||||
table.grouping>tbody>tr.group>td:first-child+td+td,
|
||||
table.grouping>tbody>tr.colhead>td:first-child+td+td,
|
||||
table.no_grouping>tbody>tr.group>td:first-child+td,
|
||||
table.no_grouping>tbody>tr.colhead>td:first-child+td { text-indent:-20px; border-left: none;}
|
||||
table.no_grouping>tbody>tr.colhead>td:first-child+td { border-left: none;}
|
||||
|
||||
.last_read {width: 15px; height: 15px; background: url('images/go_last_read.png') no-repeat center center; margin-left: 5px;}
|
||||
.last_read a { border: none; width: 100%; height: 100%; display: block; }
|
||||
|
Loading…
Reference in New Issue
Block a user