mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-07 06:50:10 +00:00
Empty commit
This commit is contained in:
parent
22bcb4e891
commit
3f63000a1d
@ -532,11 +532,11 @@ function to_html($Array) {
|
|||||||
$PostURL = $Current.'?action=viewthread&postid='.$PostID;
|
$PostURL = $Current.'?action=viewthread&postid='.$PostID;
|
||||||
break;
|
break;
|
||||||
}*/
|
}*/
|
||||||
$Str.= '<a href="' .$PostURL. '"><strong>'.$Exploded[0].'</strong> wrote: </a>';
|
$Str.= '<a href="' .$PostURL. '"><strong class="quoteheader">'.$Exploded[0].'</strong> wrote: </a>';
|
||||||
// $Str.= '<strong>'.$Exploded[0].'</strong> wrote: ';
|
// $Str.= '<strong>'.$Exploded[0].'</strong> wrote: ';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$Str.= '<strong>'.$Exploded[0].'</strong> wrote: ';
|
$Str.= '<strong class="quoteheader">'.$Exploded[0].'</strong> wrote: ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$Str.='<blockquote>'.$this->to_html($Block['Val']).'</blockquote>';
|
$Str.='<blockquote>'.$this->to_html($Block['Val']).'</blockquote>';
|
||||||
|
@ -7,12 +7,12 @@
|
|||||||
show_header();
|
show_header();
|
||||||
|
|
||||||
//requires wget, unzip commands to be installed
|
//requires wget, unzip commands to be installed
|
||||||
shell_exec('wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_'.date('Ym').'03.zip');
|
shell_exec('wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_'.date('Ym').'07.zip');
|
||||||
//shell_exec('wget http://debug.what.cd/GeoLiteCity_'.date('Ym').'01.zip');
|
//shell_exec('wget http://debug.what.cd/GeoLiteCity_'.date('Ym').'01.zip');
|
||||||
shell_exec('unzip GeoLiteCity_'.date('Ym').'03.zip');
|
shell_exec('unzip GeoLiteCity_'.date('Ym').'07.zip');
|
||||||
shell_exec('rm GeoLiteCity_'.date('Ym').'03.zip');
|
shell_exec('rm GeoLiteCity_'.date('Ym').'07.zip');
|
||||||
|
|
||||||
if(($Locations = file("GeoLiteCity_".date('Ym')."03/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
if(($Locations = file("GeoLiteCity_".date('Ym')."07/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||||
error("Download or extraction of maxmind database failed");
|
error("Download or extraction of maxmind database failed");
|
||||||
}
|
}
|
||||||
array_shift($Locations);
|
array_shift($Locations);
|
||||||
@ -31,7 +31,7 @@
|
|||||||
echo "There are ".count($CountryIDs)." CountryIDs";
|
echo "There are ".count($CountryIDs)." CountryIDs";
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
|
|
||||||
if(($Blocks = file("GeoLiteCity_".date('Ym')."03/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
if(($Blocks = file("GeoLiteCity_".date('Ym')."07/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) {
|
||||||
echo "Error";
|
echo "Error";
|
||||||
}
|
}
|
||||||
array_shift($Blocks);
|
array_shift($Blocks);
|
||||||
|
@ -660,6 +660,7 @@ ul.poll li.graph {
|
|||||||
.read_locked{background: url(images/locked_read.png) no-repeat center center;}
|
.read_locked{background: url(images/locked_read.png) no-repeat center center;}
|
||||||
.unread{background: url(images/unread.png) no-repeat center center;}
|
.unread{background: url(images/unread.png) no-repeat center center;}
|
||||||
.read{background: url(images/read.png) no-repeat center center;}
|
.read{background: url(images/read.png) no-repeat center center;}
|
||||||
|
strong.quoteheader{color:#492801;}
|
||||||
|
|
||||||
table.forum_post {
|
table.forum_post {
|
||||||
margin: 10px 0px;
|
margin: 10px 0px;
|
||||||
|
@ -731,6 +731,8 @@ margin-left:20px;
|
|||||||
|
|
||||||
td.body {width:100%;}
|
td.body {width:100%;}
|
||||||
|
|
||||||
|
strong.quoteheader{color: #878787;}
|
||||||
|
|
||||||
/* TORRENTS */
|
/* TORRENTS */
|
||||||
|
|
||||||
#torrents input[value="Edit torrent"] {
|
#torrents input[value="Edit torrent"] {
|
||||||
|
@ -734,6 +734,7 @@ ul.poll li.graph {
|
|||||||
.read_locked {background: url(images/locked_read.png) no-repeat center center;}
|
.read_locked {background: url(images/locked_read.png) no-repeat center center;}
|
||||||
.unread{background: url(images/unread.png) no-repeat center center;}
|
.unread{background: url(images/unread.png) no-repeat center center;}
|
||||||
.read{background: url(images/read.png) no-repeat center center;}
|
.read{background: url(images/read.png) no-repeat center center;}
|
||||||
|
strong.quoteheader{color: #999; }
|
||||||
|
|
||||||
table.forum_post {
|
table.forum_post {
|
||||||
margin: 10px 0px;
|
margin: 10px 0px;
|
||||||
|
@ -638,6 +638,7 @@ ul.poll li.graph {
|
|||||||
.read_locked{background: url(images/locked_read.png) no-repeat center center;}
|
.read_locked{background: url(images/locked_read.png) no-repeat center center;}
|
||||||
.unread{background: url(images/unread.png) no-repeat center center;}
|
.unread{background: url(images/unread.png) no-repeat center center;}
|
||||||
.read{background: url(images/read.png) no-repeat center center;}
|
.read{background: url(images/read.png) no-repeat center center;}
|
||||||
|
strong.quoteheader {color: #000;}
|
||||||
|
|
||||||
table.forum_post {
|
table.forum_post {
|
||||||
margin: 10px 0px;
|
margin: 10px 0px;
|
||||||
|
@ -242,6 +242,7 @@ table tr.colhead_dark td{background:#555; border:0}
|
|||||||
#forums #content .thin td.unread_locked{background:#373737 url(images/lock-unread.png) no-repeat 50%; width:18px; height:18px}
|
#forums #content .thin td.unread_locked{background:#373737 url(images/lock-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||||
#forums #content .thin td.read_locked_sticky{background:#373737 url(images/lock-sticky.png) no-repeat 50%; width:18px; height:18px}
|
#forums #content .thin td.read_locked_sticky{background:#373737 url(images/lock-sticky.png) no-repeat 50%; width:18px; height:18px}
|
||||||
#forums #content .thin td.unread_locked_sticky{background:#373737 url(images/lock-sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
#forums #content .thin td.unread_locked_sticky{background:#373737 url(images/lock-sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||||
|
strong.quoteheader {color: #f1f1f1;}
|
||||||
|
|
||||||
/* log checker fix */
|
/* log checker fix */
|
||||||
#logchecker input[type="file"]{color:#000}
|
#logchecker input[type="file"]{color:#000}
|
||||||
|
@ -931,6 +931,8 @@ forum_post box vertical_margin pre {
|
|||||||
height: 200px;
|
height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strong.quoteheader { color: #f1f1f1; }
|
||||||
|
|
||||||
.main_column {
|
.main_column {
|
||||||
width: 700px;
|
width: 700px;
|
||||||
}
|
}
|
||||||
|
@ -816,6 +816,10 @@ table.forum_post td.body > div { /* Narrow main column (torrent comments, reques
|
|||||||
margin-left: 25px;
|
margin-left: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strong.quoteheader{
|
||||||
|
color: #626262;
|
||||||
|
}
|
||||||
|
|
||||||
.forum_post blockquote, #inbox div.body>blockquote {
|
.forum_post blockquote, #inbox div.body>blockquote {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background: #fafafa url('icons/quote-mark.png') no-repeat 98% 5px;
|
background: #fafafa url('icons/quote-mark.png') no-repeat 98% 5px;
|
||||||
|
@ -825,6 +825,10 @@ table.forum_post td.body {
|
|||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strong.quoteheader{
|
||||||
|
color:#444;
|
||||||
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
@ -770,7 +770,9 @@ ul#userinfo_username {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strong.quoteheader {
|
||||||
|
color: #575757;
|
||||||
|
}
|
||||||
|
|
||||||
/* TORRENTS */
|
/* TORRENTS */
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
.last_read {width: 15px; height: 15px; background: url(images/go_last_read.png) no-repeat center center; margin-left: 5px;}
|
.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; }
|
.last_read a { border: none; width: 100%; height: 100%; display: block; }
|
||||||
.last_read a:hover { border: none; }
|
.last_read a:hover { border: none; }
|
||||||
|
strong.quoteheader {color: #666}
|
||||||
|
|
||||||
ul.collage_images {
|
ul.collage_images {
|
||||||
width: 650px !important;
|
width: 650px !important;
|
||||||
|
Loading…
Reference in New Issue
Block a user