From dcbc1b1af73a1a6dc497756b1f57e35eff72b7d1 Mon Sep 17 00:00:00 2001 From: World Wide Web Owner Date: Sun, 17 Apr 2011 11:05:01 +0000 Subject: [PATCH] Don't reset search options when saving profile settings Fix expression for cleaning up default search URL Fix typo preventing threads from being cached Don't include sticky post in reply count Cast RemasterYear to int because '0' != '' Don't compare escaped artist name to unescaped --- classes/class_paranoia.php | 2 +- classes/class_torrent_form.php | 17 +++++++++------ classes/script_start.php | 2 +- php.php | 1 - sections/artist/artist.php | 6 +++--- sections/forums/functions.php | 5 +++-- sections/forums/take_reply.php | 20 ++---------------- sections/forums/thread.php | 2 +- sections/torrents/browse2.php | 12 +++++------ sections/torrents/takeedit.php | 4 ++-- sections/torrents/user.php | 6 +++--- sections/upload/upload_handle.php | 2 +- sections/user/takeedit.php | 9 +++++--- static/functions/upload.js | 6 +++++- .../styles/white.cd/images/go_last_read.png | Bin 0 -> 162 bytes static/styles/white.cd/images/header.png | Bin 0 -> 181 bytes static/styles/white.cd/images/icons.png | Bin 0 -> 784 bytes static/styles/white.cd/images/leechers.png | Bin 0 -> 2913 bytes static/styles/white.cd/images/logo.png | Bin 0 -> 923 bytes static/styles/white.cd/images/seeders.png | Bin 0 -> 2918 bytes static/styles/white.cd/images/snatched.png | Bin 0 -> 2982 bytes static/styles/white.cd/style.css | 4 ++++ 22 files changed, 48 insertions(+), 50 deletions(-) delete mode 100644 php.php create mode 100644 static/styles/white.cd/images/go_last_read.png create mode 100644 static/styles/white.cd/images/header.png create mode 100644 static/styles/white.cd/images/icons.png create mode 100644 static/styles/white.cd/images/leechers.png create mode 100644 static/styles/white.cd/images/logo.png create mode 100644 static/styles/white.cd/images/seeders.png create mode 100644 static/styles/white.cd/images/snatched.png create mode 100644 static/styles/white.cd/style.css diff --git a/classes/class_paranoia.php b/classes/class_paranoia.php index 89bc8505..7d0c8ff0 100644 --- a/classes/class_paranoia.php +++ b/classes/class_paranoia.php @@ -71,7 +71,7 @@ function check_paranoia($Property, $Paranoia, $UserClass, $UserID = false) { case 'snatched': case 'snatched+': $May = $May || check_perms('site_view_torrent_snatchlist', $UserClass); break; - case 'uploading': case 'uploading+': + case 'uploads': case 'uploads+': case 'seeding': case 'seeding+': case 'leeching': case 'leeching+': $May = $May || check_perms('users_view_seedleech', $UserClass); diff --git a/classes/class_torrent_form.php b/classes/class_torrent_form.php index 7c45a461..a1571143 100644 --- a/classes/class_torrent_form.php +++ b/classes/class_torrent_form.php @@ -372,7 +372,7 @@ function music_form($GenreTags) { @@ -572,14 +572,19 @@ function audiobook_form() { diff --git a/classes/script_start.php b/classes/script_start.php index 4d544af4..862ee44b 100644 --- a/classes/script_start.php +++ b/classes/script_start.php @@ -393,7 +393,7 @@ function site_ban_ip($IP) { if(!is_array($IPBans)) { //Cache lock! $Lock = $Cache->get_value('ip_bans_lock'); - if($Lock) { + if($Lock && substr($_SERVER['REQUEST_URI'], 0, 29) != '/torrents.php?action=download') { ?>cache_value('ip_bans_lock', '1', 10); diff --git a/php.php b/php.php deleted file mode 100644 index 60b323bb..00000000 --- a/php.php +++ /dev/null @@ -1 +0,0 @@ -get_value('notify_artists_'.$LoggedUser['ID'])) === FALSE) { + if (($Notify = $Cache->get_value('notify_artists_'.$LoggedUser['ID'])) === false) { $DB->query("SELECT ID, Artists FROM users_notify_filters WHERE UserID='$LoggedUser[ID]' AND Label='Artist notifications' LIMIT 1"); - $Notify = $DB->next_record(MYSQLI_ASSOC); + $Notify = $DB->next_record(MYSQLI_ASSOC, false); $Cache->cache_value('notify_artists_'.$LoggedUser['ID'], $Notify, 0); } - if (stripos($Notify['Artists'], '|'.$Name.'|') === FALSE) { + if (stripos($Notify['Artists'], '|'.$Name.'|') === false) { ?> [Notify of new uploads] record_count()==0) { error(404); } $ThreadInfo = $DB->next_record(MYSQLI_ASSOC); if($ThreadInfo['StickyPostID']) { + $ThreadInfo['Posts']--; $DB->query("SELECT p.ID, p.AuthorID, @@ -32,8 +33,8 @@ function get_thread_info($ThreadID, $Return = true, $SelectiveCache = false) { WHERE p.TopicID = '$ThreadID' AND p.ID = '".$ThreadInfo['StickyPostID']."'"); list($ThreadInfo['StickyPost']) = $DB->to_array(false, MYSQLI_ASSOC); } - if(!$SelectiveCache || (!$ThreadInfo['IsLocked'] || $ThreadInfo['IsSticky'])) { - $Cache->cache_value('thread_'.$TheadID.'_info', $ThreadInfo, 0); + if(!$SelectiveCache || !$ThreadInfo['IsLocked'] || $ThreadInfo['IsSticky']) { + $Cache->cache_value('thread_'.$ThreadID.'_info', $ThreadInfo, 0); } } if($Return) { diff --git a/sections/forums/take_reply.php b/sections/forums/take_reply.php index 914d5036..b951629e 100644 --- a/sections/forums/take_reply.php +++ b/sections/forums/take_reply.php @@ -1,5 +1,6 @@ get_value('thread_'.$TopicID.'_info')) { - $DB->query("SELECT - t.Title, - t.ForumID, - t.IsLocked, - t.IsSticky, - COUNT(fp.id) AS Posts, - t.LastPostAuthorID, - ISNULL(p.TopicID) AS NoPoll - FROM forums_topics AS t - JOIN forums_posts AS fp ON fp.TopicID = t.ID - LEFT JOIN forums_polls AS p ON p.TopicID=t.ID - WHERE t.ID = '$TopicID' - GROUP BY fp.TopicID"); - if($DB->record_count()==0) { error(404); } - $ThreadInfo = $DB->next_record(MYSQLI_ASSOC, false); - $Cache->cache_value('thread_'.$TopicID.'_info', $ThreadInfo, 0); -} +$ThreadInfo = get_thread_info($TopicID); $ForumID = $ThreadInfo['ForumID']; if($LoggedUser['Class'] < $Forums[$ForumID]['MinClassRead'] || !$ForumID) { error(403); } diff --git a/sections/forums/thread.php b/sections/forums/thread.php index de494bab..5fe6d59b 100644 --- a/sections/forums/thread.php +++ b/sections/forums/thread.php @@ -332,7 +332,7 @@
- # + # diff --git a/sections/torrents/browse2.php b/sections/torrents/browse2.php index 3b478d95..285d699f 100644 --- a/sections/torrents/browse2.php +++ b/sections/torrents/browse2.php @@ -55,26 +55,26 @@ function header_link($SortKey,$DefaultWay="desc") { // Setting default search options if(!empty($_GET['setdefault'])) { - $UnsetList[]='/(&?page\=.+?&?)/i'; - $UnsetList[]='/(&?setdefault\=.+?&?)/i'; + $UnsetList = array('page','setdefault'); + $UnsetRegexp = '/(&|^)('.implode('|',$UnsetList).')=.*?(&|$)/i'; $DB->query("SELECT SiteOptions FROM users_info WHERE UserID='".db_string($LoggedUser['ID'])."'"); - list($SiteOptions)=$DB->next_record(MYSQLI_NUM, true); + list($SiteOptions)=$DB->next_record(MYSQLI_NUM, false); if(!empty($SiteOptions)) { $SiteOptions = unserialize($SiteOptions); } else { $SiteOptions = array(); } - $SiteOptions['DefaultSearch']=preg_replace($UnsetList,'',$_SERVER['QUERY_STRING']); + $SiteOptions['DefaultSearch'] = preg_replace($UnsetRegexp,'',$_SERVER['QUERY_STRING']); $DB->query("UPDATE users_info SET SiteOptions='".db_string(serialize($SiteOptions))."' WHERE UserID='".db_string($LoggedUser['ID'])."'"); $Cache->begin_transaction('user_info_heavy_'.$UserID); - $Cache->update_row(false, array('DefaultSearch'=>preg_replace($UnsetList,'',$_SERVER['QUERY_STRING']))); + $Cache->update_row(false, array('DefaultSearch'=>$SiteOptions['DefaultSearch'])); $Cache->commit_transaction(0); // Clearing default search options } elseif(!empty($_GET['cleardefault'])) { $DB->query("SELECT SiteOptions FROM users_info WHERE UserID='".db_string($LoggedUser['ID'])."'"); - list($SiteOptions)=$DB->next_record(MYSQLI_NUM, true); + list($SiteOptions)=$DB->next_record(MYSQLI_NUM, false); $SiteOptions=unserialize($SiteOptions); $SiteOptions['DefaultSearch']=''; $DB->query("UPDATE users_info SET SiteOptions='".db_string(serialize($SiteOptions))."' WHERE UserID='".db_string($LoggedUser['ID'])."'"); diff --git a/sections/torrents/takeedit.php b/sections/torrents/takeedit.php index 79404fc8..cef9e711 100644 --- a/sections/torrents/takeedit.php +++ b/sections/torrents/takeedit.php @@ -149,9 +149,9 @@ case 'Audiobooks': case 'Comedy': - $Validate->SetFields('title', + /*$Validate->SetFields('title', '1','string','Title must be between 2 and 300 characters.',array('maxlength'=>300, 'minlength'=>2)); - + ^ this is commented out because there is no title field on these pages*/ $Validate->SetFields('year', '1','number','The year of the release must be entered.'); diff --git a/sections/torrents/user.php b/sections/torrents/user.php index dd90cf30..de6fd7d5 100644 --- a/sections/torrents/user.php +++ b/sections/torrents/user.php @@ -110,7 +110,7 @@ function header_link($SortKey,$DefaultWay="DESC") { } $User = user_info($UserID); -$Perms = get_permissions($UserInfo['PermissionID']); +$Perms = get_permissions($User['PermissionID']); $UserClass = $Perms['Class']; switch($_GET['type']) { @@ -136,7 +136,7 @@ function header_link($SortKey,$DefaultWay="DESC") { $From = "xbt_files_users AS xfu JOIN torrents AS t ON t.ID=xfu.fid"; break; case 'uploaded': - if (!check_paranoia('uploads', $User['Paranoia'], $UserClass, $UserID)) { error(403); } + if ((empty($_GET['filter']) || $_GET['filter'] != 'perfectflac') && !check_paranoia('uploads', $User['Paranoia'], $UserClass, $UserID)) { error(403); } $Time = 'unix_timestamp(t.Time)'; $UserField = 't.UserID'; $ExtraWhere = 'AND flags!=1'; @@ -153,7 +153,7 @@ function header_link($SortKey,$DefaultWay="DESC") { error(404); } -if(!empty($_GET['filter']) && (($_GET['filter'] == "perfectflac") || ($_GET['filter'] == "uniquegroup"))) { +if(!empty($_GET['filter'])) { if($_GET['filter'] == "perfectflac") { if (!check_paranoia('perfectflacs', $User['Paranoia'], $UserClass, $UserID)) { error(403); } $ExtraWhere .= " AND t.Format = 'FLAC'"; diff --git a/sections/upload/upload_handle.php b/sections/upload/upload_handle.php index aa7a9075..34d93dc3 100644 --- a/sections/upload/upload_handle.php +++ b/sections/upload/upload_handle.php @@ -736,7 +736,7 @@ foreach($GroupInfo[1] as $TorrentInfo) { if (($TorrentInfo['Media'] == $ThisMedia) && ($TorrentInfo['Remastered'] == $ThisRemastered) - && ($TorrentInfo['RemasterYear'] == $ThisRemasterYear) + && ($TorrentInfo['RemasterYear'] == (int)$ThisRemasterYear) && ($TorrentInfo['RemasterTitle'] == $ThisRemasterTitle) && ($TorrentInfo['RemasterRecordLabel'] == $ThisRemasterRecordLabel) && ($TorrentInfo['RemasterCatalogueNumber'] == $ThisRemasterCatalogueNumber) diff --git a/sections/user/takeedit.php b/sections/user/takeedit.php index b7a44961..a8953e0a 100644 --- a/sections/user/takeedit.php +++ b/sections/user/takeedit.php @@ -177,6 +177,9 @@ die(); } +if(!empty($LoggedUser['DefaultSearch'])) { + $Options['DefaultSearch'] = $LoggedUser['DefaultSearch']; +} $Options['DisableGrouping'] = (!empty($_POST['disablegrouping']) ? 1 : 0); $Options['TorrentGrouping'] = (!empty($_POST['torrentgrouping']) ? 1 : 0); $Options['DiscogView'] = (!empty($_POST['discogview']) ? 1 : 0); @@ -187,15 +190,15 @@ $Options['DisableSmileys'] = (!empty($_POST['disablesmileys']) ? 1 : 0); $Options['DisableAvatars'] = (!empty($_POST['disableavatars']) ? 1 : 0); -if(!empty($_POST['hidetypes'])) { +if(!empty($_POST['hidetypes'])) { foreach($_POST['hidetypes'] as $Type) { $Options['HideTypes'][] = (int) $Type; } } else { - $Options['HideTypes']=array(); + $Options['HideTypes'] = array(); } if (check_perms('site_advanced_search')) { - $Options['SearchType'] =$_POST['searchtype']; + $Options['SearchType'] = $_POST['searchtype']; } else { unset($Options['SearchType']); } diff --git a/static/functions/upload.js b/static/functions/upload.js index 03358341..244e5814 100644 --- a/static/functions/upload.js +++ b/static/functions/upload.js @@ -5,7 +5,11 @@ function Categories() { } function Remaster() { - $('#remaster_true').toggle(); + if($('#remaster').raw().checked) { + $('#remaster_true').show(); + } else { + $('#remaster_true').hide(); + } } function Format() { diff --git a/static/styles/white.cd/images/go_last_read.png b/static/styles/white.cd/images/go_last_read.png new file mode 100644 index 0000000000000000000000000000000000000000..9b266a1cd734e7c6232916a1b106905bd4bf339f GIT binary patch literal 162 zcmeAS@N?(olHy`uVBq!ia0vp^{6Ngj!3HE3xL=O}QY^(zo*^7SP{WbZ0pxQQctjQh z)d+(yBg3pY5bP0l+XkK D8U}fi7AzZCsS>Jir4~tLR??Gcp)e#STKp-2Pnc+666>BpW*3t11})Y+|$J| zq~g|_vy7Y!3_Q#W_SV1LF2S><0mwsu)$1ITCVHp{b-IA4$tSrD7?e-*3BKF)q8y~i M)78&qol`;+00!1G1^@s6 literal 0 HcmV?d00001 diff --git a/static/styles/white.cd/images/icons.png b/static/styles/white.cd/images/icons.png new file mode 100644 index 0000000000000000000000000000000000000000..42019883a1eaae55f63c7b1793857bc9c317638e GIT binary patch literal 784 zcmV+r1MmEaP)7!kus8cos-KhO>9WmAU($Z$7g#R!1-3+L#D4ec~1bq&-QQpcmqCdpXY*g9;I zAU3uoBeCTq@|6`fQgTv{iEQO_k7T3dB)@j=y3v?!E8_(@X=DQtPRMfX%_YFYZ`AF@ zD7rP_ZF7kpV`K}I8(G9K=Y89YKN zZcqkHMg{7}6a&k6e#};l_l6ioo^p)sN6gur&DosI*__SUoXy#sZ5Eq;UbxG18Jm6> zy2~@0ZF9!U{qx_&o-lA~{gqzFLFM3pt<)nf_1Z$TwuPRrmozpqvbEzo?co5WD-<)r zzhO(gD &LDOv)BOR|8GhY~%UIz~JI?&$hAeBv?-%?r9bfX+m&=?Ue>2;u`3$n0v z@20ag-S*?bV1Y9-hM3byPLjRXfwo@9Ae*LJE#o%JXT1)EO=4(D&Ae6p(=6RYGkM!` zW1F0lBWx*m*+8F5G~H5M%gQw;pY3&2Hmd#L-hVd`9on_ zeGAC*2pdnA;h(e7$-bnsCZ_hj)wTQSUI%`&pX|g0!gbFzvcZ>1=lU6JP+ys$oh>$*s2l O0000KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0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 0 HcmV?d00001 diff --git a/static/styles/white.cd/images/snatched.png b/static/styles/white.cd/images/snatched.png new file mode 100644 index 0000000000000000000000000000000000000000..7c953c009a6ce8454fb0805d193d76fa3581720f GIT binary patch literal 2982 zcmV;X3t9AuP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uX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%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z0002dNklbP6rxVw53ow9X5dop255n!?YZ5!p~lJv*h}wA76K<#=o?vX1$N{1 z6s|{;OlH7D;%|im6Rd!zOtSzwks1M4;G>haa0i@4ngcGT@07*qoM6N<$f=yL}U;qFB literal 0 HcmV?d00001 diff --git a/static/styles/white.cd/style.css b/static/styles/white.cd/style.css new file mode 100644 index 00000000..c8e71e6e --- /dev/null +++ b/static/styles/white.cd/style.css @@ -0,0 +1,4 @@ +@charset "UTF-8";html,body{margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline}html{font-size:100.01%}div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,pre,a,abbr,acronym,address,code,del,dfn,em,img,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,caption,tbody,tfoot,thead,tr{margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline}blockquote,q{margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;quotes:"" ""}blockquote:before,blockquote:after,q:before,q:after{content:""}th,td,caption{margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;text-align:left;font-weight:normal;vertical-align:middle}table{margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;border-collapse:separate;border-spacing:0;vertical-align:middle}a img{border:none}body{background:url('images/header.png') repeat-x white;color:#666;font-size:11px;line-height:1.5em}body,div,p,span{font-family:"Helvetica Neue", Arial, Helvetica, sans-serif}tbody .body{width:100%}h2,h3{font-family:Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;font-size:18px;letter-spacing:2px;text-transform:uppercase}h2{margin-bottom:20px}h3{color:#aaa;font-size:14px;margin-top:10px;padding-top:20px}a,a:hover,a:active,a:link,a:focus,.highlight{text-decoration:none;color:#62b4e3}a:hover{color:#000}#header,#content,#footer{width:950px;margin:0 auto;overflow:hidden;*zoom:1}#header{height:146px;overflow:visible;position:relative;z-index:999}#header #userinfo{opacity:0;-moz-opacity:0;filter:alpha(opacity=0);-webkit-transition:opacity 200ms linear 100ms;-moz-transition:opacity 200ms linear 100ms;-o-transition:opacity 200ms linear 100ms;transition:opacity 200ms linear 100ms}#header:hover #userinfo{opacity:1.0;-moz-opacity:1;filter:alpha(opacity=100)}#header ul li{list-style:none}#header a,#header a:hover,#header a:active,#header a:link,#header a:focus{text-decoration:none;color:#b7b7b7}#header a:hover{color:#777}#header a.username{color:#777;font-weight:bold}#header a.username:active,#header a.username:link,#header a.username:focus{color:#777}#header a.username:hover{color:#000}#logo{display:inline;float:left;margin-right:40px;width:158px;margin-top:91px}* html #logo{overflow-x:hidden}#logo a{background:url('images/logo.png') no-repeat;display:block;height:32px;width:97px}#logo a:active,#logo a:focus{outline:0}#userinfo{display:inline;float:left;margin-right:0;width:950px;font-size:11px;float:none;position:absolute;left:0;top:10px}* html #userinfo{overflow-x:hidden}#menu{display:inline;float:left;margin-right:0;width:752px}* html #menu{overflow-x:hidden}#searchbars{display:inline;float:left;margin-right:0;width:950px;height:25px;left:0;overflow:visible;position:absolute;top:133px;width:960px}* html #searchbars{overflow-x:hidden}#searchbars form ul{background:#fff;margin-left:2px;padding:10px;width:130px;z-index:999;-moz-box-shadow:#cccccc 0 1px 4px 0;-webkit-box-shadow:#cccccc 0 1px 4px 0;-o-box-shadow:#cccccc 0 1px 4px 0;box-shadow:#cccccc 0 1px 4px 0}#searchbars form ul li{cursor:pointer;display:block;float:none;padding:0 5px}#searchbars ul li{display:inline;float:left;margin-right:17px}#searchbars ul li:last-child{margin-right:0}#searchbars form{width:142px}#searchbars input{width:100%}#userinfo_username,#userinfo_major,#userinfo_minor{float:left;width:120px}#userinfo_username li,#userinfo_major li,#userinfo_minor li{font-size:11px}#alerts{position:absolute;top:152px;text-align:right;padding-right:3px;display:block;width:100%}.alertbar{display:inline;margin-left:10px}#userinfo_minor{width:360px}#userinfo_minor li{float:left;width:160px}#userinfo_major,#userinfo_minor{padding-left:60px;border-left:1px solid #ddd}#userinfo_stats{font-size:10px;position:absolute;right:0;text-align:right;top:0}#menu{left:196px;position:absolute;top:84px;text-align:right}#menu ul li{display:inline;font-size:14px;font-weight:lighter;margin-left:20px;text-transform:uppercase}#menu li a{color:#999}#menu li a:active,#menu li a:link,#menu li a:focus{color:#999}#menu li a:hover{color:#444}.my_reqBuffer,.my_demBuffer{color:#B7B7B7;position:absolute;right:135px;width:130px;text-align:left;top:0px}.my_demBuffer{top:1.6em}#footer{background:#e8e8e8;padding:10px 0;margin-left:0;margin-top:40px;text-align:center;width:100%}#footer .time{float:none}input,textarea{border:1px solid #eee;color:#bbb;padding:3px 5px}input:hover,input:focus,textarea:hover,textarea:focus{border:1px solid #aaa;color:#888;outline:none}.box select{margin:5px 0}input[type="text"]{cursor:text}.sidebar input[type="text"]{width:125px}input[type="submit"],input[type="button"]{background:#eee;color:#777}input[type="submit"]:hover,input[type="button"]:hover{background:#fff}textarea{margin-bottom:20px}.box .submit input[type="submit"],.box .submit input[type="button"]{margin-left:10px}.curtain{position:fixed;top:0;left:0;width:100%;height:100%;background:#111 50% 0 no-repeat fixed;z-index:1001;-moz-opacity:0.9;opacity:.90;filter:alpha(opacity=90)}.lightbox{position:fixed;text-align:center;top:5%;left:5%;width:90%;height:90%;padding:0px;z-index:1002;overflow:auto}.lightbox img{max-width:100%;max-height:100%;background-color:transparent;z-index:-1}#wrapper{position:relative}#content{margin-top:50px}.sidebar{display:inline;float:left;margin-right:0;width:257px;border-left:1px solid #fafafa;float:right;font-size:10px;padding-left:40px;width:216px}* html .sidebar{overflow-x:hidden}.sidebar li{list-style:none}.main_column{display:inline;float:left;margin-right:40px;width:653px}* html .main_column{overflow-x:hidden}.box{border-bottom:1px solid #eee;margin-bottom:20px;padding-bottom:20px}.box:last-child{border-bottom:0}.head strong{font-size:16px;font-weight:bold;font-family:Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif}.head{margin-bottom:10px}#recommended .head a{float:right}.time{color:#aaa;float:right;font-style:italic}.group,.colhead{background:#e8e8e8;padding:10px}table{border:1px solid #eee;margin:20px 0;width:100%}table td{border-bottom:1px solid #eee;padding:8px;vertical-align:top}table tr:last-of-type td{border-bottom:0}table#taglist,table.cat_list,.filter_torrents table:first-of-type,#collage #content form:first-of-type table{margin:5px 0}table#taglist td,table.cat_list td,.filter_torrents table:first-of-type td,#collage #content form:first-of-type table td{background:#fafafa;border-bottom:0}table#taglist td{padding:2px 8px}table .time{float:none}.colhead td{font-weight:bold}.filter_torrents div.submit{margin-top:10px;text-align:right}.filter_torrents div.submit span{padding-top:3px}.filter_torrents div.submit input:last-of-type{margin-left:0}#collage_table{border:0;width:inherit}#collage_table td{background:none;padding:2px;text-align:center;vertical-align:middle}table tr td.edition_info{background:#f5f5f5}#artist #content .linkbox:first-of-type{text-align:right;position:absolute;top:0;left:734px}#artist #content .linkbox:first-of-type a{margin-right:5px}.r00,.r01,.r02,.r03,.r04,.r05{color:#e30}.r06,.r07,.r08,.r09,.r10{color:#555}.r20,.r50,.r99{color:#1a5}span.size1{font-size:0.75em}span.size2{font-size:1em}span.size3{font-size:1.25em}span.size4{font-size:1.5em}span.size5{font-size:1.75em}span.size6{font-size:2em}span.size7{font-size:2.25em}span.size8{font-size:2.5em}span.size9{font-size:2.75em}span.size10{font-size:3em}.pad{padding:7px 0}.center{text-align:center}.nobullet{list-style:none;margin:0;padding:10px}.nobr{white-space:nowrap}.linkbox{text-align:center}.thin{position:relative}blockquote,.save_message{background:#fafafa;color:#999;font-style:italic;margin:10px 0;padding:20px}.save_message{text-align:center}.graph{height:3px;margin-bottom:3px}.graph .center_poll{background:#ccc;display:block;height:3px}.poll{padding:0}.forum_post tr td{border-bottom:0}.forum_post .time{margin-left:5px}.forum_post strong a{font-weight:bold}.forum_post .avatar{padding-right:32px;width:120px}.avatar{vertical-align:top}#quickpostform{margin-bottom:20px}img[src*="snatched.png"]{width:0;height:15px;padding-right:20px;background:transparent url('images/snatched.png') top left no-repeat}img[src*="leechers.png"]{width:0;height:15px;padding-right:20px;background:transparent url('images/leechers.png') top left no-repeat}img[src*="seeders.png"]{width:0;height:15px;padding-right:20px;background:transparent url('images/seeders.png') top left no-repeat}ul.stats{padding:0}.colhead_dark{background:#f5f5f5;padding:0.5em;font-size:12px;font-weight:bold;font-family:Georgia,Palatino,"Palatino Linotype",Times,"Times New Roman",serif}#menu{top:101px}#userinfo{margin-top:14px}#userinfo_minor{width:320px}#content{margin-top:30px;z-index:100}#userinfo_stats{right:3px}#disclaimer_container{width:700px;margin:-10px auto 10px auto}#alerts{font-weight:bold;top:4px}table tr td.unread,table tr td.unread_sticky,table tr td.read,table tr td.read_sticky,table tr td.read_locked_sticky,table tr td.unread_locked_sticky{background:url('images/icons.png') no-repeat 10px 9px;padding-left:15px}table tr td div.cats_audiobooks,table tr td div.cats_ebooks,table tr td div.cats_applications,table tr td div.cats_music,table tr td div.cats_elearningvideos,table tr td div.cats_comedy,table tr td div.cats_comics{background:url('images/icons.png') no-repeat -128px -28px;height:16px;width:16px}table tr td div.cats_ebooks{background-position:-154px 1px}table tr td div.cats_applications{background-position:-206px 1px}table tr td div.cats_music{background-position:-128px 1px}table tr td div.cats_elearningvideos{background-position:-180px -29px}table tr td div.cats_comedy{background-position:-207px -29px}table tr td div.cats_comics{background-position:-155px -29px}table tr td.read_sticky{background-position:-42px 9px}table tr td.unread_sticky{background-position:-42px -20px}table tr td.read_locked_sticky{background-position:-94px 9px}table tr td.unread_locked_sticky{background-position:-94px -20px}.hide_torrents a.show_torrents_link,.show_torrents a.show_torrents_link{background:url('images/icons.png') no-repeat 4px -50px;display:block;height:16px;width:16px}.hide_torrents a.show_torrents_link:active,.hide_torrents a.show_torrents_link:focus,.show_torrents a.show_torrents_link:active,.show_torrents a.show_torrents_link:focus{outline:0}.hide_torrents a.show_torrents_link{background-position:-23px -50px}#site_debug{width:950px;margin:0 auto;overflow:hidden;*zoom:1}#site_debug table{border-bottom:0;margin:0}pre{font-family:'Bitstream Vera Sans Mono','Courier',monospace;padding:1em} +.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:hover { border: none; }