From ad8518c31c9b8ec4415d2ab343bebd9a85bde3c0 Mon Sep 17 00:00:00 2001 From: paintballrefjosh Date: Mon, 30 Jan 2017 13:57:45 -0600 Subject: [PATCH 1/2] RSS & Top Kills Cleanup RSS function was broken. Cleaned it up to get it passing RSS validation. Fixed Top Kills page - background was solid black for somea reason. Updated it to be more clean using the standard table design and background. Moved main content down to prevent login button from being covered up. --- rss.php | 5 +- templates/Cataclysm_1/css/additional_fp.css | 8 +- templates/Cataclysm_1/css/newhp.css | 8 +- templates/WotLK/css/additional_fp.css | 4 - templates/WotLK/css/newhp.css | 4 - .../blizzlike/server/server.topkills.php | 284 +++++++----------- templates/illidan/css/additional_fp.css | 8 +- templates/illidan/css/newhp.css | 8 +- templates/sunwell/css/additional_fp.css | 8 +- templates/sunwell/css/newhp.css | 8 +- 10 files changed, 129 insertions(+), 216 deletions(-) diff --git a/rss.php b/rss.php index 313d280..8d3edfa 100644 --- a/rss.php +++ b/rss.php @@ -37,9 +37,11 @@ $write_file = array(); $write_file[] = ""; - $write_file[] = ""; + $write_file[] = ""; $write_file[] = " "; $write_file[] = " ".$Config->get('site_title')." RSS News Feed"; + $write_file[] = " ".$Config->get('site_title')." RSS News Feed"; + $write_file[] = " "; $write_file[] = " http://".(str_replace('rss.php','index.php',($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']))).""; $write_file[] = " ".date(DATE_RFC822_FIXED).""; $write_file[] = " en-us"; @@ -48,6 +50,7 @@ { $write_file[] = " "; + $write_file[] = " ".$_SERVER['HTTP_HOST']."-".$topic['id'].""; $write_file[] = " ".htmlspecialchars($topic['title']).""; $write_file[] = " ".(date(DATE_RFC822_FIXED, $topic['post_time'])).""; $write_file[] = " Posted by ".htmlspecialchars($topic['posted_by']).": \n".htmlspecialchars($topic['message']).""; diff --git a/templates/Cataclysm_1/css/additional_fp.css b/templates/Cataclysm_1/css/additional_fp.css index 0324dee..c2007b7 100644 --- a/templates/Cataclysm_1/css/additional_fp.css +++ b/templates/Cataclysm_1/css/additional_fp.css @@ -1,9 +1,9 @@ div.fpdrop {positon:relative; left:57px; } #right-bg { background: url('../images/page_rightbg.png') no-repeat; position: absolute; top: -103px; right: -1120px; height: 621px; width: 296px; z-index: -20; } -#droppf {position: absolute; right: -24px; top: 39px; z-index:99; width: 145px;} -#dropps {position: absolute; right: 124px; top: 39px; z-index:99; width: 145px;} -#droppt {position: absolute; right: 272px; top: 39px; z-index:99; width: 145px;} -#droppfo {position: absolute; right: 420px; top: 39px; z-index:99; width: 145px;} +#droppf {position: absolute; right: -24px; top: 62px; z-index:99; width: 145px;} +#dropps {position: absolute; right: 124px; top: 62px; z-index:99; width: 145px;} +#droppt {position: absolute; right: 272px; top: 62px; z-index:99; width: 145px;} +#droppfo {position: absolute; right: 420px; top: 62px; z-index:99; width: 145px;} #loginbox {position:absolute; z-index:99; left: 561px; top: 3px; width:430px; height:34px;text-align:right;color: #FFAC04; font-size: 12px; font-weight: bold; } #main { width:827px; background: url('../images/frontpage_bg_rpt.jpg') repeat-y; } #main-top { height: 46px; width: 100%; background: none; position: relative; top:1px; } diff --git a/templates/Cataclysm_1/css/newhp.css b/templates/Cataclysm_1/css/newhp.css index 6e41550..985c1e2 100644 --- a/templates/Cataclysm_1/css/newhp.css +++ b/templates/Cataclysm_1/css/newhp.css @@ -42,10 +42,10 @@ ul.bullet-list li { list-style: none; background: url('../images/bullet.gif') no /* === Drop Down Menu's === */ -#droppf {position: absolute; right: 32px; top: 39px; z-index:99; width: 145px;} -#dropps {position: absolute; right: 180px; top: 39px; z-index:99; width: 145px;} -#droppt {position: absolute; right: 328px; top: 39px; z-index:99; width: 145px;} -#droppfo {position: absolute; right: 476px; top: 39px; z-index:99; width: 145px;} +#droppf {position: absolute; right: 32px; top: 62px; z-index:99; width: 145px;} +#dropps {position: absolute; right: 180px; top: 62px; z-index:99; width: 145px;} +#droppt {position: absolute; right: 328px; top: 62px; z-index:99; width: 145px;} +#droppfo {position: absolute; right: 476px; top: 62px; z-index:99; width: 145px;} /* === END Drop Down Menu's === */ #rightbox { background: url(../images/plainbox/plainbox-bg.jpg) repeat-y 0 0; width: 305px; border-top: 1px solid #49402c; border-bottom: 1px solid #49402c; padding-bottom: 5px; padding-top: 5px; position: relative; z-index: 2; margin-top: 15px; margin-left: 6px;} diff --git a/templates/WotLK/css/additional_fp.css b/templates/WotLK/css/additional_fp.css index 5cfd04e..ea8a599 100644 --- a/templates/WotLK/css/additional_fp.css +++ b/templates/WotLK/css/additional_fp.css @@ -1,9 +1,5 @@ div.fpdrop {positon:relative; left:57px; } #right-bg { background: url('../images/page_rightbg.png') no-repeat; position: absolute; top: -85px; right: -1120px; height: 621px; width: 296px; z-index: -20; } -#droppf {position: absolute; right: -24px; top: 39px; z-index:99; width: 145px;} -#dropps {position: absolute; right: 124px; top: 39px; z-index:99; width: 145px;} -#droppt {position: absolute; right: 272px; top: 39px; z-index:99; width: 145px;} -#droppfo {position: absolute; right: 420px; top: 39px; z-index:99; width: 145px;} #loginbox {position:absolute; z-index:99; left: 561px; top: 3px; width:430px; height:34px;text-align:right;color: #FFAC04; font-size: 12px; font-weight: bold; } #main { width:827px; background: url('../images/frontpage_bg_rpt.jpg') repeat-y; } #main-top { height: 46px; width: 100%; background: none; position: relative; top:1px; } diff --git a/templates/WotLK/css/newhp.css b/templates/WotLK/css/newhp.css index e5b5e9d..6e5be1f 100644 --- a/templates/WotLK/css/newhp.css +++ b/templates/WotLK/css/newhp.css @@ -42,10 +42,6 @@ ul.bullet-list li { list-style: none; background: url('../images/bullet.gif') no /* === Drop Down Menu's === */ -#droppf {position: absolute; right: 32px; top: 39px; z-index:99; width: 145px;} -#dropps {position: absolute; right: 180px; top: 39px; z-index:99; width: 145px;} -#droppt {position: absolute; right: 328px; top: 39px; z-index:99; width: 145px;} -#droppfo {position: absolute; right: 476px; top: 39px; z-index:99; width: 145px;} /* === END Drop Down Menu's === */ #rightbox { background: url(../images/plainbox/plainbox-bg.jpg) repeat-y 0 0; width: 305px; border-top: 1px solid #49402c; border-bottom: 1px solid #49402c; padding-bottom: 5px; padding-top: 5px; position: relative; z-index: 2; margin-top: 15px; margin-left: 6px;} diff --git a/templates/blizzlike/server/server.topkills.php b/templates/blizzlike/server/server.topkills.php index b1197e1..a2576fc 100644 --- a/templates/blizzlike/server/server.topkills.php +++ b/templates/blizzlike/server/server.topkills.php @@ -1,192 +1,110 @@ -
-
- - - - +
+ + +
+ + + + + + + + + + + + + + - + + - - - - - - - - - + + + + + +
#PvP RankHonorable Kills
- - - - - - - -
+
+
- - - -

-
- -

-
- - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - -
#RankRaceClassNameLvlKills
-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - -
#RankRaceClassNameLvlKills
-
-
-
-
- + +
+ +
+ + + + + + + + + + + + + + + + - + + + + + + - -
#PvP RankHonorable Kills
- - - - - - - - -


+
+ + +
-
\ No newline at end of file + + + + \ No newline at end of file diff --git a/templates/illidan/css/additional_fp.css b/templates/illidan/css/additional_fp.css index 1ba6290..831ad21 100644 --- a/templates/illidan/css/additional_fp.css +++ b/templates/illidan/css/additional_fp.css @@ -1,8 +1,8 @@ div.fpdrop {positon:relative; left:57px; } -#droppf {position: absolute; right: -24px; top: 39px; z-index:99; width: 145px;} -#dropps {position: absolute; right: 124px; top: 39px; z-index:99; width: 145px;} -#droppt {position: absolute; right: 272px; top: 39px; z-index:99; width: 145px;} -#droppfo {position: absolute; right: 420px; top: 39px; z-index:99; width: 145px;} +#droppf {position: absolute; right: -24px; top: 62px; z-index:99; width: 145px;} +#dropps {position: absolute; right: 124px; top: 62px; z-index:99; width: 145px;} +#droppt {position: absolute; right: 272px; top: 62px; z-index:99; width: 145px;} +#droppfo {position: absolute; right: 420px; top: 62px; z-index:99; width: 145px;} #loginbox {position:absolute; z-index:99; left: 561px; top: 3px; width:430px; height:34px;text-align:right;color: #FFAC04; font-size: 12px; font-weight: bold; } #main { width:827px; background: url('../images/hp09_bg_rpt.jpg') repeat-y; } #main-top { height: 46px; width: 100%; background: none; position: relative; top:1px; } diff --git a/templates/illidan/css/newhp.css b/templates/illidan/css/newhp.css index 6368e25..edf5c7a 100644 --- a/templates/illidan/css/newhp.css +++ b/templates/illidan/css/newhp.css @@ -131,10 +131,10 @@ span#button-contestwinners { position: absolute; bottom: -4px; right: 0; } .plainbox ul li { border-bottom: 1px solid #af9771; padding: 3px 0; margin-right: 10px; } .plainbox ul li a { padding-left: 0px; font-weight: bold; } -#droppf {position: absolute; right: 32px; top: 39px; z-index:99; width: 145px;} -#dropps {position: absolute; right: 180px; top: 39px; z-index:99; width: 145px;} -#droppt {position: absolute; right: 328px; top: 39px; z-index:99; width: 145px;} -#droppfo {position: absolute; right: 476px; top: 39px; z-index:99; width: 145px;} +#droppf {position: absolute; right: 32px; top: 62px; z-index:99; width: 145px;} +#dropps {position: absolute; right: 180px; top: 62px; z-index:99; width: 145px;} +#droppt {position: absolute; right: 328px; top: 62px; z-index:99; width: 145px;} +#droppfo {position: absolute; right: 476px; top: 62px; z-index:99; width: 145px;} #rightbox { background: url(../images/plainbox/plainbox-bg.jpg) repeat-y 0 0; width: 305px; border-top: 1px solid #49402c; border-bottom: 1px solid #49402c; padding-bottom: 5px; padding-top: 5px; position: relative; z-index: 2; margin-top: 15px; margin-left: 6px;} #innerrightbox {width: 283px; background-color: #96999B; border: 1px solid #C0993E; position:relative; left: 7px; padding: 3px;} diff --git a/templates/sunwell/css/additional_fp.css b/templates/sunwell/css/additional_fp.css index 1ba6290..831ad21 100644 --- a/templates/sunwell/css/additional_fp.css +++ b/templates/sunwell/css/additional_fp.css @@ -1,8 +1,8 @@ div.fpdrop {positon:relative; left:57px; } -#droppf {position: absolute; right: -24px; top: 39px; z-index:99; width: 145px;} -#dropps {position: absolute; right: 124px; top: 39px; z-index:99; width: 145px;} -#droppt {position: absolute; right: 272px; top: 39px; z-index:99; width: 145px;} -#droppfo {position: absolute; right: 420px; top: 39px; z-index:99; width: 145px;} +#droppf {position: absolute; right: -24px; top: 62px; z-index:99; width: 145px;} +#dropps {position: absolute; right: 124px; top: 62px; z-index:99; width: 145px;} +#droppt {position: absolute; right: 272px; top: 62px; z-index:99; width: 145px;} +#droppfo {position: absolute; right: 420px; top: 62px; z-index:99; width: 145px;} #loginbox {position:absolute; z-index:99; left: 561px; top: 3px; width:430px; height:34px;text-align:right;color: #FFAC04; font-size: 12px; font-weight: bold; } #main { width:827px; background: url('../images/hp09_bg_rpt.jpg') repeat-y; } #main-top { height: 46px; width: 100%; background: none; position: relative; top:1px; } diff --git a/templates/sunwell/css/newhp.css b/templates/sunwell/css/newhp.css index 6368e25..edf5c7a 100644 --- a/templates/sunwell/css/newhp.css +++ b/templates/sunwell/css/newhp.css @@ -131,10 +131,10 @@ span#button-contestwinners { position: absolute; bottom: -4px; right: 0; } .plainbox ul li { border-bottom: 1px solid #af9771; padding: 3px 0; margin-right: 10px; } .plainbox ul li a { padding-left: 0px; font-weight: bold; } -#droppf {position: absolute; right: 32px; top: 39px; z-index:99; width: 145px;} -#dropps {position: absolute; right: 180px; top: 39px; z-index:99; width: 145px;} -#droppt {position: absolute; right: 328px; top: 39px; z-index:99; width: 145px;} -#droppfo {position: absolute; right: 476px; top: 39px; z-index:99; width: 145px;} +#droppf {position: absolute; right: 32px; top: 62px; z-index:99; width: 145px;} +#dropps {position: absolute; right: 180px; top: 62px; z-index:99; width: 145px;} +#droppt {position: absolute; right: 328px; top: 62px; z-index:99; width: 145px;} +#droppfo {position: absolute; right: 476px; top: 62px; z-index:99; width: 145px;} #rightbox { background: url(../images/plainbox/plainbox-bg.jpg) repeat-y 0 0; width: 305px; border-top: 1px solid #49402c; border-bottom: 1px solid #49402c; padding-bottom: 5px; padding-top: 5px; position: relative; z-index: 2; margin-top: 15px; margin-left: 6px;} #innerrightbox {width: 283px; background-color: #96999B; border: 1px solid #C0993E; position:relative; left: 7px; padding: 3px;} From 883a2e9338de40032c9973e26a18b2d1cb4dfd94 Mon Sep 17 00:00:00 2001 From: paintballrefjosh Date: Mon, 30 Jan 2017 13:58:34 -0600 Subject: [PATCH 2/2] Additional cleanup --- templates/WotLK/css/additional_fp.css | 4 ++++ templates/WotLK/css/newhp.css | 4 ++++ templates/blizzlike/body_header.php | 7 +++---- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/templates/WotLK/css/additional_fp.css b/templates/WotLK/css/additional_fp.css index ea8a599..7454e1f 100644 --- a/templates/WotLK/css/additional_fp.css +++ b/templates/WotLK/css/additional_fp.css @@ -1,5 +1,9 @@ div.fpdrop {positon:relative; left:57px; } #right-bg { background: url('../images/page_rightbg.png') no-repeat; position: absolute; top: -85px; right: -1120px; height: 621px; width: 296px; z-index: -20; } +#droppf {position: absolute; right: -24px; top: 62px; z-index:99; width: 145px;} +#dropps {position: absolute; right: 124px; top: 62px; z-index:99; width: 145px;} +#droppt {position: absolute; right: 272px; top: 62px; z-index:99; width: 145px;} +#droppfo {position: absolute; right: 420px; top: 62px; z-index:99; width: 145px;} #loginbox {position:absolute; z-index:99; left: 561px; top: 3px; width:430px; height:34px;text-align:right;color: #FFAC04; font-size: 12px; font-weight: bold; } #main { width:827px; background: url('../images/frontpage_bg_rpt.jpg') repeat-y; } #main-top { height: 46px; width: 100%; background: none; position: relative; top:1px; } diff --git a/templates/WotLK/css/newhp.css b/templates/WotLK/css/newhp.css index 6e5be1f..764fd3b 100644 --- a/templates/WotLK/css/newhp.css +++ b/templates/WotLK/css/newhp.css @@ -42,6 +42,10 @@ ul.bullet-list li { list-style: none; background: url('../images/bullet.gif') no /* === Drop Down Menu's === */ +#droppf {position: absolute; right: 32px; top: 62px; z-index:99; width: 145px;} +#dropps {position: absolute; right: 180px; top: 62px; z-index:99; width: 145px;} +#droppt {position: absolute; right: 328px; top: 62px; z-index:99; width: 145px;} +#droppfo {position: absolute; right: 476px; top: 62px; z-index:99; width: 145px;} /* === END Drop Down Menu's === */ #rightbox { background: url(../images/plainbox/plainbox-bg.jpg) repeat-y 0 0; width: 305px; border-top: 1px solid #49402c; border-bottom: 1px solid #49402c; padding-bottom: 5px; padding-top: 5px; position: relative; z-index: 2; margin-top: 15px; margin-left: 6px;} diff --git a/templates/blizzlike/body_header.php b/templates/blizzlike/body_header.php index 1785e85..4ba67d5 100644 --- a/templates/blizzlike/body_header.php +++ b/templates/blizzlike/body_header.php @@ -34,7 +34,6 @@ -