Browse Source

Bring up to date with private repo

spaghetti 7 years ago
parent
commit
64fe216673
48 changed files with 122 additions and 170 deletions
  1. 17
    17
      sections/ajax/doujin.php
  2. 1
    1
      sections/ajax/forum/forum.php
  3. 1
    1
      sections/ajax/forum/thread.php
  4. 1
    1
      sections/ajax/inbox/inbox.php
  5. 5
    5
      sections/ajax/javfill.php
  6. 1
    1
      sections/artist/edit.php
  7. 1
    1
      sections/better/folders.php
  8. 1
    1
      sections/better/tags.php
  9. 1
    1
      sections/collages/all_comments.php
  10. 2
    2
      sections/comments/comments.php
  11. 1
    1
      sections/forums/forum.php
  12. 1
    1
      sections/forums/search.php
  13. 1
    1
      sections/forums/thread.php
  14. 1
    1
      sections/inbox/compose.php
  15. 1
    1
      sections/inbox/inbox.php
  16. 7
    9
      sections/index/private.php
  17. 1
    1
      sections/questions/ajax_get_answers.php
  18. 1
    1
      sections/questions/answer_question.php
  19. 1
    1
      sections/questions/popular_questions.php
  20. 1
    1
      sections/questions/view_answers.php
  21. 1
    1
      sections/register/step1.php
  22. 1
    1
      sections/reportsv2/ajax_create_report.php
  23. 2
    2
      sections/reportsv2/static.php
  24. 2
    2
      sections/reportsv2/takereport.php
  25. 2
    2
      sections/requests/new_edit.php
  26. 1
    1
      sections/requests/request.php
  27. 2
    2
      sections/requests/requests.php
  28. 2
    2
      sections/schedule/daily/delete_dead_torrents.php
  29. 2
    2
      sections/schedule/daily/disable_inactive_users.php
  30. 1
    1
      sections/schedule/daily/ratio_watch.php
  31. 2
    2
      sections/staffpm/common_responses.php
  32. 8
    8
      sections/staffpm/staff_inbox.php
  33. 1
    1
      sections/staffpm/viewconv.php
  34. 3
    3
      sections/tools/managers/ajax_get_calendar_event.php
  35. 10
    10
      sections/tools/tools.php
  36. 1
    1
      sections/torrents/download.php
  37. 3
    3
      sections/torrents/edit.php
  38. 1
    19
      sections/torrents/editgroup.php
  39. 1
    1
      sections/torrents/editgroupid.php
  40. 4
    4
      sections/torrents/takeedit.php
  41. 3
    3
      sections/torrents/takemasspm.php
  42. 1
    1
      sections/upload/upload.php
  43. 2
    2
      sections/user/invite.php
  44. 1
    1
      sections/user/linkedfunctions.php
  45. 8
    8
      sections/user/notify_edit.php
  46. 1
    1
      sections/user/user.php
  47. 5
    5
      sections/userhistory/post_history.php
  48. 4
    32
      static/styles/beluga/style.css

+ 17
- 17
sections/ajax/doujin.php View File

@@ -67,28 +67,28 @@ if ($Cache->get_value('doujin_json_'.$gid)) {
67 67
   preg_match($re, $gallery_page, $galmatch);
68 68
   // were we able to find the first page of the gallery?
69 69
   if ($galmatch[1]) {
70
-	  $image_page = file_get_contents($galmatch[1]);
70
+    $image_page = file_get_contents($galmatch[1]);
71 71
     $re = '/'.preg_quote('"><img id="img" src="').'([^<]*)'.preg_quote('" style=').'/';
72
-	  preg_match($re, $image_page, $imgmatch);
73
-	  // were we able to find the image url?
74
-	  if ($imgmatch[1]) {
75
-	    $cover = $imgmatch[1];
76
-	  }
72
+    preg_match($re, $image_page, $imgmatch);
73
+    // were we able to find the image url?
74
+    if ($imgmatch[1]) {
75
+      $cover = $imgmatch[1];
76
+    }
77 77
   }
78 78
 
79 79
   $json_str = array(
80
-    'id' => $gid,
81
-    'title' => html_entity_decode($json['title'], ENT_QUOTES),
82
-    'title_jp' => html_entity_decode($json['title_jpn'], ENT_QUOTES),
83
-    'artists' => $artists,
84
-    'circle' => $circle,
85
-    'censored' => $censored,
86
-    'year' => NULL,
87
-    'tags' => $tags,
88
-    'lang' => $lang,
89
-    'pages' => $json['filecount'],
80
+    'id'          => $gid,
81
+    'title'       => html_entity_decode($json['title'], ENT_QUOTES),
82
+    'title_jp'    => html_entity_decode($json['title_jpn'], ENT_QUOTES),
83
+    'artists'     => $artists,
84
+    'circle'      => $circle,
85
+    'censored'    => $censored,
86
+    'year'        => NULL,
87
+    'tags'        => $tags,
88
+    'lang'        => $lang,
89
+    'pages'       => $json['filecount'],
90 90
     'description' => '',
91
-    'cover' => $cover
91
+    'cover'       => $cover
92 92
   );
93 93
 
94 94
   $Cache->cache_value('doujin_json_'.$gid, $json_str, 86400);

+ 1
- 1
sections/ajax/forum/forum.php View File

@@ -5,7 +5,7 @@
5 5
 
6 6
 Things to expect in $_GET:
7 7
   ForumID: ID of the forum curently being browsed
8
-  page:  The page the user's on.
8
+  page: The page the user's on.
9 9
   page = 1 is the same as no page
10 10
 
11 11
 ********************************************************************************/

+ 1
- 1
sections/ajax/forum/thread.php View File

@@ -4,7 +4,7 @@
4 4
 
5 5
 Things to expect in $_GET:
6 6
   ThreadID: ID of the forum curently being browsed
7
-  page:  The page the user's on.
7
+  page: The page the user's on.
8 8
   page = 1 is the same as no page
9 9
 
10 10
 ********************************************************************************/

+ 1
- 1
sections/ajax/inbox/inbox.php View File

@@ -47,7 +47,7 @@ $sql .= "AS Date
47 47
     LEFT JOIN users_main AS um2 ON um2.ID = cu.ForwardedTo";
48 48
 
49 49
 if (!empty($_GET['search']) && $_GET['searchtype'] === 'message') {
50
-  $sql .=  ' JOIN pm_messages AS m ON c.ID = m.ConvID';
50
+  $sql .= ' JOIN pm_messages AS m ON c.ID = m.ConvID';
51 51
 }
52 52
 $sql .= " WHERE ";
53 53
 if (!empty($_GET['search'])) {

+ 5
- 5
sections/ajax/javfill.php View File

@@ -152,14 +152,14 @@ if (!$debug && $Cache->get_value('jav_json_'.$cn)) {
152 152
     'cn'          => $cn,
153 153
     'title'       => ($title ? $title : ''),
154 154
     'title_jp'    => ($title_jp ? $title_jp : ''),
155
-    'idols'        => ($idols ? $idols : []),
155
+    'idols'       => ($idols ? $idols : []),
156 156
     'year'        => ($year ? $year : ''),
157 157
     'studio'      => ($studio ? $studio : ''),
158 158
     'label'       => ($label ? $label : ''),
159
-    'image'        => ($image ? $image : ''),
160
-    'description'  => ($desc ? $desc : ''),
161
-    'tags'         => ($genres ? $genres : []),
162
-    'screens'      => ($screens ? $screens : []),
159
+    'image'       => ($image ? $image : ''),
160
+    'description' => ($desc ? $desc : ''),
161
+    'tags'        => ($genres ? $genres : []),
162
+    'screens'     => ($screens ? $screens : []),
163 163
     'degraded'    => $degraded
164 164
   );
165 165
 

+ 1
- 1
sections/artist/edit.php View File

@@ -83,7 +83,7 @@ View::show_header('Edit artist');
83 83
     </form>
84 84
   </div>
85 85
 
86
-<? /*  <h2>Make into non-redirecting alias</h2>
86
+<? /* <h2>Make into non-redirecting alias</h2>
87 87
   <div class="box pad">
88 88
     <form class="merge_form" name="artist" action="artist.php" method="post">
89 89
       <input type="hidden" name="action" value="change_artistid" />

+ 1
- 1
sections/better/folders.php View File

@@ -86,7 +86,7 @@ foreach ($TorrentsInfo as $TorrentID => $Info) {
86 86
         <?=$DisplayName?>
87 87
 <?  if (check_perms('admin_reports')) { ?>
88 88
         <a href="better.php?method=folders&amp;remove=<?=$TorrentID?>" class="brackets">X</a>
89
-<?   } ?>
89
+<?  } ?>
90 90
         <div class="tags"><?=$TorrentTags->format()?></div>
91 91
       </td>
92 92
     </tr>

+ 1
- 1
sections/better/tags.php View File

@@ -87,7 +87,7 @@ foreach ($TorrentsInfo as $TorrentID => $Info) {
87 87
         <?=$DisplayName?>
88 88
 <?  if (check_perms('admin_reports')) { ?>
89 89
         <a href="better.php?method=tags&amp;remove=<?=$TorrentID?>" class="brackets">X</a>
90
-<?   } ?>
90
+<?  } ?>
91 91
         <div class="tags"><?=$TorrentTags->format()?></div>
92 92
       </td>
93 93
     </tr>

+ 1
- 1
sections/collages/all_comments.php View File

@@ -3,7 +3,7 @@
3 3
 
4 4
 Things to expect in $_GET:
5 5
   ThreadID: ID of the forum curently being browsed
6
-  page:  The page the user's on.
6
+  page: The page the user's on.
7 7
   page = 1 is the same as no page
8 8
 
9 9
 ********************************************************************************/

+ 2
- 2
sections/comments/comments.php View File

@@ -116,9 +116,9 @@ switch ($Action) {
116 116
   default:
117 117
     $Action = 'torrents';
118 118
     $Field1 = 'torrents.GroupID';
119
-    $Field2 = 'torrents_group.Name';
119
+    $Field2 = "COALESCE(NULLIF(tg.Name,''),NULLIF(tg.NameRJ,''),tg.NameJP) AS Name";
120 120
     $Table = 'torrents';
121
-    $Join[] = 'JOIN torrents_group ON torrents.GroupID = torrents_group.ID';
121
+    $Join[] = 'JOIN torrents_group AS tg ON torrents.GroupID = tg.ID';
122 122
     if ($Type == 'uploaded') {
123 123
       $Conditions[] = "torrents.UserID = $UserID";
124 124
       $Conditions[] = 'comments.AddedTime > torrents.Time';

+ 1
- 1
sections/forums/forum.php View File

@@ -3,7 +3,7 @@
3 3
 
4 4
 Things to expect in $_GET:
5 5
   ForumID: ID of the forum curently being browsed
6
-  page:  The page the user's on.
6
+  page: The page the user's on.
7 7
   page = 1 is the same as no page
8 8
 
9 9
 ********************************************************************************/

+ 1
- 1
sections/forums/search.php View File

@@ -186,7 +186,7 @@ if (empty($ThreadID)) {
186 186
           <input type="checkbox" name="forums[]" value="<?=$Forum['ID']?>" data-category="forum_category_<?=$i?>" id="forum_<?=$Forum['ID']?>"<? if (isset($_GET['forums']) && in_array($Forum['ID'], $_GET['forums'])) { echo ' checked="checked"';} ?> />
187 187
           <label for="forum_<?=$Forum['ID']?>"><?=htmlspecialchars($Forum['Name'])?></label>
188 188
         </td>
189
-<?   }
189
+<?  }
190 190
   if ($Columns % 5) { ?>
191 191
         <td colspan="<?=(5 - ($Columns % 5))?>"></td>
192 192
 <?  } ?>

+ 1
- 1
sections/forums/thread.php View File

@@ -4,7 +4,7 @@
4 4
 
5 5
 Things to expect in $_GET:
6 6
   ThreadID: ID of the forum curently being browsed
7
-  page:  The page the user's on.
7
+  page: The page the user's on.
8 8
   page = 1 is the same as no page
9 9
 
10 10
 ********************************************************************************/

+ 1
- 1
sections/inbox/compose.php View File

@@ -3,7 +3,7 @@
3 3
 if (empty($Return)) {
4 4
   $ToID = $_GET['to'];
5 5
 /*
6
-   if ($ToID == $LoggedUser['ID']) {
6
+  if ($ToID == $LoggedUser['ID']) {
7 7
     error('You cannot start a conversation with yourself!');
8 8
     header('Location: ' . Inbox::get_inbox_link());
9 9
   }

+ 1
- 1
sections/inbox/inbox.php View File

@@ -51,7 +51,7 @@ $sql .= "AS Date
51 51
     LEFT JOIN users_main AS um ON um.ID = cu2.UserID";
52 52
 
53 53
 if (!empty($_GET['search']) && $_GET['searchtype'] === 'message') {
54
-  $sql .=  ' JOIN pm_messages AS m ON c.ID = m.ConvID';
54
+  $sql .= ' JOIN pm_messages AS m ON c.ID = m.ConvID';
55 55
 }
56 56
 $sql .= ' WHERE ';
57 57
 if (!empty($_GET['search'])) {

+ 7
- 9
sections/index/private.php View File

@@ -131,9 +131,7 @@ if (($Freeleeches = $Cache->get_value('shop_freeleech_list')) === false) {
131 131
     SELECT
132 132
       TorrentID,
133 133
       UNIX_TIMESTAMP(ExpiryTime),
134
-      Name,
135
-      NameRJ,
136
-      NameJP,
134
+      COALESCE(NULLIF(Name,''), NULLIF(NameRJ,''), NameJP) AS Name,
137 135
       WikiImage
138 136
     FROM shop_freeleeches AS sf
139 137
     LEFT JOIN torrents AS t on sf.TorrentID=t.ID
@@ -150,14 +148,14 @@ if (count($Freeleeches)) {
150 148
       <ul class="stats nobullet">
151 149
 <?
152 150
   for ($i = 0; $i < count($Freeleeches); $i++) {
153
-    list($ID, $ExpiryTime, $Name, $NameRJ, $NameJP, $Image) = $Freeleeches[$i];
151
+    list($ID, $ExpiryTime, $Name, $Image) = $Freeleeches[$i];
154 152
     if ($ExpiryTime < time()) { continue; }
155 153
     $DisplayTime = '('.str_replace(['week','day','hour','min','Just now','s',' '],['w','d','h','m','0m'],time_diff($ExpiryTime, 1, false)).') ';
156 154
     $DisplayName = '<a href="torrents.php?torrentid='.$ID.'"';
157 155
     if (!isset($LoggedUser['CoverArt']) || $LoggedUser['CoverArt']) {
158 156
       $DisplayName .= " onmouseover=\"getCover(event)\" data-cover=\"".ImageTools::process($Image)."\" onmouseleave=\"ungetCover(event)\"";
159 157
     }
160
-    $DisplayName .= '>'.($Name?$Name:($NameRJ?$NameRJ:$NameJP)).'</a>';
158
+    $DisplayName .= '>'.$Name.'</a>';
161 159
 ?>
162 160
         <li>
163 161
           <strong class="fl_time"><?=$DisplayTime?></strong>
@@ -412,21 +410,21 @@ if ($TopicID) {
412 410
 <?    } ?>
413 411
         </ul>
414 412
         <strong>Votes:</strong> <?=number_format($TotalVotes)?><br />
415
-<?   } else { ?>
413
+<?  } else { ?>
416 414
         <div id="poll_container">
417 415
         <form class="vote_form" name="poll" id="poll" action="">
418 416
           <input type="hidden" name="action" value="poll" />
419 417
           <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
420 418
           <input type="hidden" name="topicid" value="<?=$TopicID?>" />
421
-<?     foreach ($Answers as $i => $Answer) { ?>
419
+<?    foreach ($Answers as $i => $Answer) { ?>
422 420
           <input type="radio" name="vote" id="answer_<?=$i?>" value="<?=$i?>" />
423 421
           <label for="answer_<?=$i?>"><?=display_str($Answers[$i])?></label><br />
424
-<?     } ?>
422
+<?    } ?>
425 423
           <br /><input type="radio" name="vote" id="answer_0" value="0" /> <label for="answer_0">Blank&#8202;&mdash;&#8202;Show the results!</label><br /><br />
426 424
           <input type="button" onclick="ajax.post('index.php', 'poll', function(response) { $('#poll_container').raw().innerHTML = response } );" value="Vote" />
427 425
         </form>
428 426
         </div>
429
-<?   } ?>
427
+<?  } ?>
430 428
         <br /><strong>Topic:</strong> <a href="forums.php?action=viewthread&amp;threadid=<?=$TopicID?>">Visit</a>
431 429
       </div>
432 430
     </div>

+ 1
- 1
sections/questions/ajax_get_answers.php View File

@@ -27,7 +27,7 @@ foreach($Answers as $Answer) {
27 27
       </span>
28 28
     </div>
29 29
     <div class="pad">
30
-<?=      Text::full_format($Answer['Answer'])?>
30
+<?=     Text::full_format($Answer['Answer'])?>
31 31
     </div>
32 32
   </div>
33 33
 <?

+ 1
- 1
sections/questions/answer_question.php View File

@@ -34,7 +34,7 @@ View::show_header('Ask the Staff', 'bbcode');
34 34
       </span>
35 35
     </div>
36 36
     <div class="pad">
37
-<?=      Text::full_format($Question['Question'])?>
37
+<?=     Text::full_format($Question['Question'])?>
38 38
     </div>
39 39
   </div>
40 40
   <div class="center box pad">

+ 1
- 1
sections/questions/popular_questions.php View File

@@ -55,7 +55,7 @@ View::show_header('Popular Questions', 'questions,bbcode');
55 55
         </span>
56 56
       </div>
57 57
       <div class="pad">
58
-<?=        Text::full_format($Question['Question'])?>
58
+<?=       Text::full_format($Question['Question'])?>
59 59
       </div>
60 60
     </div>
61 61
 <?  } ?>

+ 1
- 1
sections/questions/view_answers.php View File

@@ -78,7 +78,7 @@ View::show_header($UserInfo['Username'] . "'s answers", 'questions,bbcode');
78 78
       </span>
79 79
     </div>
80 80
     <div class="pad">
81
-<?=      Text::full_format("[quote=" . $Question['Username'] . "]". $Question['Question'] . "[/quote]\n". $Question['Answer'])?>
81
+<?=     Text::full_format("[quote=" . $Question['Username'] . "]". $Question['Question'] . "[/quote]\n". $Question['Answer'])?>
82 82
     </div>
83 83
   </div>
84 84
 <?  } ?>

+ 1
- 1
sections/register/step1.php View File

@@ -75,7 +75,7 @@ if (empty($Sent)) {
75 75
 <? } else { ?>
76 76
   An email has been sent to the address that you provided. After you confirm your email address, you will be able to log into your account.
77 77
 
78
-<?     if ($NewInstall) {
78
+<?  if ($NewInstall) {
79 79
       echo "Since this is a new installation, you can log in directly without having to confirm your account.";
80 80
     }
81 81
 } ?>

+ 1
- 1
sections/reportsv2/ajax_create_report.php View File

@@ -2,7 +2,7 @@
2 2
 /*
3 3
  * This page is for creating a report using AJAX.
4 4
  * It should have the following posted fields:
5
- *   [auth] => AUTH_KEY
5
+ *  [auth] => AUTH_KEY
6 6
  *  [torrentid] => TORRENT_ID
7 7
  *  [type] => TYPE
8 8
  *  [otherid] => OTHER_ID

+ 2
- 2
sections/reportsv2/static.php View File

@@ -684,7 +684,7 @@ if (count($Reports) === 0) {
684 684
             | <input type="button" value="Unclaim" onclick="GiveBack(<?=$ReportID?>);" />
685 685
 <?          } else { ?>
686 686
             | <input id="grab<?=$ReportID?>" type="button" value="Claim" onclick="Grab(<?=$ReportID?>);" />
687
-<?          }  ?>
687
+<?          } ?>
688 688
             | Multi-resolve <input type="checkbox" name="multi" id="multi<?=$ReportID?>" checked="checked" />
689 689
             | <input type="button" id="submit_<?=$ReportID?>" value="Submit" onclick="TakeResolve(<?=$ReportID?>);" />
690 690
           </td>
@@ -716,7 +716,7 @@ if (count($Reports) === 0) {
716 716
         </tr>
717 717
 <?          if ($GroupID) { ?>
718 718
         <tr>
719
-          <td  colspan="4" style="text-align: center;">
719
+          <td colspan="4" style="text-align: center;">
720 720
             <input id="grab<?=$ReportID?>" type="button" value="Claim" onclick="Grab(<?=$ReportID?>);" />
721 721
           </td>
722 722
         </tr>

+ 2
- 2
sections/reportsv2/takereport.php View File

@@ -4,7 +4,7 @@
4 4
  * It checks for (in order):
5 5
  * 1. The usual POST injections, then checks that things.
6 6
  * 2. Things that are required by the report type are filled
7
- *   ('1' in the report_fields array).
7
+ *    ('1' in the report_fields array).
8 8
  * 3. Things that are filled are filled with correct things.
9 9
  * 4. That the torrent you're reporting still exists.
10 10
  *
@@ -62,7 +62,7 @@ if (!empty($_POST['sitelink'])) {
62 62
 
63 63
 if (!empty($_POST['link'])) {
64 64
   //resource_type://domain:port/filepathname?query_string#anchor
65
-  //          http://    www      .foo.com                /bar
65
+  //          http://   www     .foo.com                /bar
66 66
   if (preg_match_all('/'.URL_REGEX.'/is', $_POST['link'], $Matches)) {
67 67
     $Links = implode(' ', $Matches[0]);
68 68
   } else {

+ 2
- 2
sections/requests/new_edit.php View File

@@ -255,9 +255,9 @@ View::show_header(($NewRequest ? 'Create a request' : 'Edit a request'), 'reques
255 255
           <td>
256 256
             <a href="torrents.php?id=<?=$GroupID?>"><?=site_url()?>torrents.php?id=<?=$GroupID?></a><br />
257 257
             This request <?=($NewRequest ? 'will be' : 'is')?> associated with the above torrent group.
258
-<?    if (!$NewRequest) {  ?>
258
+<?    if (!$NewRequest) { ?>
259 259
             If this is incorrect, please <a href="reports.php?action=report&amp;type=request&amp;id=<?=$RequestID?>">report this request</a> so that staff can fix it.
260
-<?     }  ?>
260
+<?    } ?>
261 261
             <input type="hidden" name="groupid" value="<?=$GroupID?>" />
262 262
           </td>
263 263
         </tr>

+ 1
- 1
sections/requests/request.php View File

@@ -370,7 +370,7 @@ $encoded_artist = urlencode($encoded_artist);
370 370
     <div class="box box2 box_request_desc">
371 371
       <div class="head"><strong>Description</strong></div>
372 372
       <div class="pad">
373
-<?=        Text::full_format($Request['Description']);?>
373
+<?=       Text::full_format($Request['Description']);?>
374 374
       </div>
375 375
     </div>
376 376
   <div id="request_comments">

+ 2
- 2
sections/requests/requests.php View File

@@ -422,7 +422,7 @@ View::show_header($Title, 'requests');
422 422
   </form>
423 423
 <?    if (isset($PageLinks)) { ?>
424 424
   <div class="linkbox">
425
-    <?=  $PageLinks?>
425
+    <?= $PageLinks?>
426 426
   </div>
427 427
 <?    } ?>
428 428
   <table id="request_table" class="request_table border" cellpadding="6" cellspacing="1" border="0" width="100%">
@@ -535,7 +535,7 @@ View::show_header($Title, 'requests');
535 535
       </td>
536 536
       <td class="nobr">
537 537
         <span id="vote_count_<?=$RequestID?>"><?=number_format($VoteCount)?></span>
538
-<?     if (!$IsFilled && check_perms('site_vote')) { ?>
538
+<?    if (!$IsFilled && check_perms('site_vote')) { ?>
539 539
         &nbsp;&nbsp; <a href="javascript:Vote(0, <?=$RequestID?>)" class="brackets"><strong>+</strong></a>
540 540
 <?    } ?>
541 541
       </td>

+ 2
- 2
sections/schedule/daily/delete_dead_torrents.php View File

@@ -12,9 +12,9 @@ $DB->query("
12 12
   FROM torrents AS t
13 13
     JOIN torrents_group AS tg ON tg.ID = t.GroupID
14 14
   WHERE
15
-    (t.last_action < '".time_minus(3600 * 24 * 28)."' AND t.last_action != 0)
15
+    (t.last_action < '".time_minus(3600 * 24 * 28)."' AND t.last_action IS NOT NULL)
16 16
     OR
17
-    (t.Time < '".time_minus(3600 * 24 * 2)."' AND t.last_action = 0)");
17
+    (t.Time < '".time_minus(3600 * 24 * 2)."' AND t.last_action IS NULL)");
18 18
 $Torrents = $DB->to_array(false, MYSQLI_NUM, false);
19 19
 echo 'Found '.count($Torrents)." inactive torrents to be deleted.\n";
20 20
 

+ 2
- 2
sections/schedule/daily/disable_inactive_users.php View File

@@ -8,7 +8,7 @@ if (apcu_exists('DBKEY')) {
8 8
     FROM users_info AS ui
9 9
       JOIN users_main AS um ON um.ID = ui.UserID
10 10
       LEFT JOIN users_levels AS ul ON ul.UserID = um.ID AND ul.PermissionID = '".CELEB."'
11
-    WHERE um.PermissionID IN ('".USER."', '".MEMBER  ."')
11
+    WHERE um.PermissionID IN ('".USER."', '".MEMBER ."')
12 12
       AND um.LastAccess < '".time_minus(3600 * 24 * 110, true)."'
13 13
       AND um.LastAccess > '".time_minus(3600 * 24 * 111, true)."'
14 14
       AND um.LastAccess IS NOT NULL
@@ -27,7 +27,7 @@ if (apcu_exists('DBKEY')) {
27 27
     FROM users_info AS ui
28 28
       JOIN users_main AS um ON um.ID = ui.UserID
29 29
       LEFT JOIN users_levels AS ul ON ul.UserID = um.ID AND ul.PermissionID = '".CELEB."'
30
-    WHERE um.PermissionID IN ('".USER."', '".MEMBER  ."')
30
+    WHERE um.PermissionID IN ('".USER."', '".MEMBER ."')
31 31
       AND um.LastAccess < '".time_minus(3600 * 24 * 30 * 4)."'
32 32
       AND um.LastAccess IS NOT NULL
33 33
       AND ui.Donor = '0'

+ 1
- 1
sections/schedule/daily/ratio_watch.php View File

@@ -124,7 +124,7 @@ if (count($UserIDs) > 0) {
124 124
   $DB->query("
125 125
     UPDATE users_info AS i
126 126
       JOIN users_main AS m ON m.ID = i.UserID
127
-    SET  m.can_leech = '0',
127
+    SET m.can_leech = '0',
128 128
       i.AdminComment = CONCAT('$sqltime - Leeching ability disabled by ratio watch system - required ratio: ', m.RequiredRatio, '\n\n', i.AdminComment)
129 129
     WHERE m.ID IN(".implode(',', $UserIDs).')');
130 130
 

+ 2
- 2
sections/staffpm/common_responses.php View File

@@ -11,9 +11,9 @@ View::show_header('Staff PMs', 'staffpm');
11 11
   <div class="header">
12 12
     <h2>Staff PMs - Manage common responses</h2>
13 13
     <div class="linkbox">
14
-<?   if ($IsStaff) { ?>
14
+<?  if ($IsStaff) { ?>
15 15
       <a href="staffpm.php" class="brackets">View your unanswered</a>
16
-<?   } ?>
16
+<?  } ?>
17 17
       <a href="staffpm.php?view=unanswered" class="brackets">View all unanswered</a>
18 18
       <a href="staffpm.php?view=open" class="brackets">View unresolved</a>
19 19
       <a href="staffpm.php?view=resolved" class="brackets">View resolved</a>

+ 8
- 8
sections/staffpm/staff_inbox.php View File

@@ -94,13 +94,13 @@ $Pages = Format::get_pages($Page, $NumResults, MESSAGES_PER_PAGE, 9);
94 94
   <div class="header">
95 95
     <h2><?=$ViewString?> Staff PMs</h2>
96 96
     <div class="linkbox">
97
-<?   if ($IsStaff) { ?>
97
+<?  if ($IsStaff) { ?>
98 98
       <a href="staffpm.php" class="brackets">View your unanswered</a>
99
-<?   } ?>
99
+<?  } ?>
100 100
       <a href="staffpm.php?view=unanswered" class="brackets">View all unanswered</a>
101 101
       <a href="staffpm.php?view=open" class="brackets">View unresolved</a>
102 102
       <a href="staffpm.php?view=resolved" class="brackets">View resolved</a>
103
-<?   if ($IsStaff) { ?>
103
+<?  if ($IsStaff) { ?>
104 104
       <a href="staffpm.php?action=scoreboard" class="brackets">View scoreboard</a>
105 105
 <?  } ?>
106 106
     </div>
@@ -134,9 +134,9 @@ if (!$DB->has_results()) {
134 134
 ?>
135 135
       <table class="message_table<?=($ViewString != 'Resolved' && $IsStaff) ? ' checkboxes' : '' ?>">
136 136
         <tr class="colhead">
137
-<?   if ($ViewString != 'Resolved' && $IsStaff) { ?>
137
+<?  if ($ViewString != 'Resolved' && $IsStaff) { ?>
138 138
           <td width="10"><input type="checkbox" onclick="toggleChecks('messageform', this);" /></td>
139
-<?   } ?>
139
+<?  } ?>
140 140
           <td>Subject</td>
141 141
           <td>Sender</td>
142 142
           <td>Date</td>
@@ -179,9 +179,9 @@ if (!$DB->has_results()) {
179 179
     // Table row
180 180
 ?>
181 181
         <tr class="row">
182
-<?     if ($ViewString != 'Resolved' && $IsStaff) { ?>
182
+<?    if ($ViewString != 'Resolved' && $IsStaff) { ?>
183 183
           <td class="center"><input type="checkbox" name="id[]" value="<?=$ID?>" /></td>
184
-<?     } ?>
184
+<?    } ?>
185 185
           <td><a href="staffpm.php?action=viewconv&amp;id=<?=$ID?>"><?=display_str($Subject)?></a></td>
186 186
           <td><?=$UserStr?></td>
187 187
           <td><?=time_diff($Date, 2, true)?></td>
@@ -199,7 +199,7 @@ if (!$DB->has_results()) {
199 199
   // Close table and multiresolve form
200 200
 ?>
201 201
       </table>
202
-<?   if ($ViewString != 'Resolved' && $IsStaff) { ?>
202
+<?  if ($ViewString != 'Resolved' && $IsStaff) { ?>
203 203
       <div class="submit_div">
204 204
         <input type="submit" value="Resolve selected" />
205 205
       </div>

+ 1
- 1
sections/staffpm/viewconv.php View File

@@ -223,7 +223,7 @@ if ($ConvID = (int)$_GET['id']) {
223 223
             </optgroup>
224 224
           </select>
225 225
           <input type="button" onclick="Assign();" value="Assign" />
226
-<?  } elseif ($IsFLS) {  // FLS assign button ?>
226
+<?  } elseif ($IsFLS) { // FLS assign button ?>
227 227
           <input type="button" value="Assign to staff" onclick="location.href='staffpm.php?action=assign&amp;to=staff&amp;convid=<?=$ConvID?>';" />
228 228
           <input type="button" value="Assign to forum staff" onclick="location.href='staffpm.php?action=assign&amp;to=forum&amp;convid=<?=$ConvID?>';" />
229 229
 <?

+ 3
- 3
sections/tools/managers/ajax_get_calendar_event.php View File

@@ -41,7 +41,7 @@ if ($_GET['id']) {
41 41
   $Categories = Calendar::$Categories;
42 42
   foreach ($Categories as $Key => $Value) {
43 43
 ?>
44
-          <option  value="<?=$Key?>"<?=$Key == $Event['Category'] ? ' selected="selected"' : ''?>><?=$Value?></option>
44
+          <option value="<?=$Key?>"<?=$Key == $Event['Category'] ? ' selected="selected"' : ''?>><?=$Value?></option>
45 45
 <?  } ?>
46 46
         </select>
47 47
       </td>
@@ -54,7 +54,7 @@ if ($_GET['id']) {
54 54
   $Importances = Calendar::$Importances;
55 55
   foreach ($Importances as $Key => $Value) {
56 56
 ?>
57
-          <option  value="<?=$Key?>"<?=$Key == $Event['Importance'] ? ' selected="selected"' : ''?>><?=$Value?></option>
57
+          <option value="<?=$Key?>"<?=$Key == $Event['Importance'] ? ' selected="selected"' : ''?>><?=$Value?></option>
58 58
 <?  } ?>
59 59
         </select>
60 60
       </td>
@@ -67,7 +67,7 @@ if ($_GET['id']) {
67 67
   $Teams = Calendar::$Teams;
68 68
   foreach ($Teams as $Key => $Value) {
69 69
 ?>
70
-          <option  value="<?=$Key?>"<?=$Key == $Event['Team'] ? ' selected="selected"' : ''?>><?=$Value?></option>
70
+          <option value="<?=$Key?>"<?=$Key == $Event['Team'] ? ' selected="selected"' : ''?>><?=$Value?></option>
71 71
 <?  } ?>
72 72
         </select>
73 73
       </td>

+ 10
- 10
sections/tools/tools.php View File

@@ -52,7 +52,7 @@ View::show_header('Staff Tools');
52 52
     <div class="permission_subcontainer">
53 53
       <table class="layout">
54 54
         <tr class="colhead"><td>Administration</td></tr>
55
-<?=        $ToolsHTML ?>
55
+<?=       $ToolsHTML ?>
56 56
       </table>
57 57
     </div>
58 58
 <?
@@ -71,7 +71,7 @@ View::show_header('Staff Tools');
71 71
     <div class="permission_subcontainer">
72 72
       <table class="layout">
73 73
         <tr class="colhead"><td>Announcements</td></tr>
74
-<?=        $ToolsHTML ?>
74
+<?=       $ToolsHTML ?>
75 75
       </table>
76 76
     </div>
77 77
 <?
@@ -86,7 +86,7 @@ View::show_header('Staff Tools');
86 86
     <div class="permission_subcontainer">
87 87
       <table class="layout">
88 88
         <tr class="colhead"><td>Community</td></tr>
89
-<?=        $ToolsHTML ?>
89
+<?=       $ToolsHTML ?>
90 90
       </table>
91 91
     </div>
92 92
 <?
@@ -104,7 +104,7 @@ View::show_header('Staff Tools');
104 104
     <div class="permission_subcontainer">
105 105
       <table class="layout">
106 106
         <tr class="colhead"><td>Finances</td></tr>
107
-<?=        $ToolsHTML ?>
107
+<?=       $ToolsHTML ?>
108 108
       </table>
109 109
     </div>
110 110
 <?  } ?>
@@ -124,7 +124,7 @@ View::show_header('Staff Tools');
124 124
     <div class="permission_subcontainer">
125 125
       <table class="layout">
126 126
         <tr class="colhead"><td>Queue</td></tr>
127
-<?=        $ToolsHTML ?>
127
+<?=       $ToolsHTML ?>
128 128
       </table>
129 129
     </div>
130 130
 <?
@@ -142,7 +142,7 @@ View::show_header('Staff Tools');
142 142
     <div class="permission_subcontainer">
143 143
       <table class="layout">
144 144
         <tr class="colhead"><td>Managers</td></tr>
145
-<?=        $ToolsHTML ?>
145
+<?=       $ToolsHTML ?>
146 146
       </table>
147 147
     </div>
148 148
 <?
@@ -163,7 +163,7 @@ View::show_header('Staff Tools');
163 163
     <div class="permission_subcontainer">
164 164
       <table class="layout">
165 165
         <tr class="colhead"><td>Developer Sandboxes</td></tr>
166
-<?=        $ToolsHTML ?>
166
+<?=       $ToolsHTML ?>
167 167
       </table>
168 168
     </div>
169 169
 <?  } ?>
@@ -188,7 +188,7 @@ View::show_header('Staff Tools');
188 188
     <div class="permission_subcontainer">
189 189
       <table class="layout">
190 190
         <tr class="colhead"><td>Site Information</td></tr>
191
-<?=        $ToolsHTML ?>
191
+<?=       $ToolsHTML ?>
192 192
       </table>
193 193
     </div>
194 194
 <?
@@ -211,7 +211,7 @@ View::show_header('Staff Tools');
211 211
     <div class="permission_subcontainer">
212 212
       <table class="layout">
213 213
         <tr class="colhead"><td>Torrents</td></tr>
214
-<?=        $ToolsHTML ?>
214
+<?=       $ToolsHTML ?>
215 215
       </table>
216 216
     </div>
217 217
 <?
@@ -233,7 +233,7 @@ View::show_header('Staff Tools');
233 233
     <div class="permission_subcontainer">
234 234
       <table class="layout">
235 235
         <tr class="colhead"><td>Development</td></tr>
236
-<?=        $ToolsHTML ?>
236
+<?=       $ToolsHTML ?>
237 237
       </table>
238 238
     </div>
239 239
 <?  } ?>

+ 1
- 1
sections/torrents/download.php View File

@@ -69,7 +69,7 @@ if (!is_array($Info) || !array_key_exists('PlainArtists', $Info) || empty($Info[
69 69
       t.Codec,
70 70
       tg.Year,
71 71
       tg.ID AS GroupID,
72
-      tg.Name,
72
+      COALESCE(NULLIF(tg.Name,''), NULLIF(tg.NameRJ,''), tg.NameJP) AS Name,
73 73
       tg.WikiImage,
74 74
       tg.CategoryID,
75 75
       t.Size,

+ 3
- 3
sections/torrents/edit.php View File

@@ -1,11 +1,11 @@
1 1
 <?
2 2
 //**********************************************************************//
3 3
 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit form ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
4
-// This page relies on the TORRENT_FORM class. All it does is call    //
5
-// the necessary functions.                        //
4
+// This page relies on the TORRENT_FORM class. All it does is call      //
5
+// the necessary functions.                                             //
6 6
 //----------------------------------------------------------------------//
7 7
 // At the bottom, there are grouping functions which are off limits to  //
8
-// most members.                            //
8
+// most members.                                                        //
9 9
 //**********************************************************************//
10 10
 
11 11
 require(SERVER_ROOT.'/classes/torrent_form.class.php');

+ 1
- 19
sections/torrents/editgroup.php View File

@@ -19,24 +19,6 @@ if (!is_number($GroupID) || !$GroupID) {
19 19
 }
20 20
 
21 21
 // Get the torrent group name and the body of the last revision
22
-/*
23
-$DB->query("
24
-  SELECT
25
-    tg.Name,
26
-    wt.Image,
27
-    wt.Body,
28
-    tg.WikiImage,
29
-    tg.WikiBody,
30
-    tg.Year,
31
-    tg.RecordLabel,
32
-    tg.CatalogueNumber,
33
-    tg.ReleaseType,
34
-    tg.CategoryID,
35
-    tg.VanityHouse
36
-  FROM torrents_group AS tg
37
-    LEFT JOIN wiki_torrents AS wt ON wt.RevisionID = tg.RevisionID
38
-  WHERE tg.ID = '$GroupID'");
39
-  */
40 22
 $DB->query("
41 23
   SELECT
42 24
     tg.Name,
@@ -216,7 +198,7 @@ if ($CategoryID == 1) {
216 198
         <tr>
217 199
           <td class="label">
218 200
 <? if ($CategoryID == 1) {
219
-    echo "Studio:";
201
+     echo "Studio:";
220 202
    } else {
221 203
      echo "Publisher:";
222 204
    }

+ 1
- 1
sections/torrents/editgroupid.php View File

@@ -75,7 +75,7 @@ if (empty($_POST['confirm'])) {
75 75
 
76 76
   $DB->query("
77 77
     UPDATE torrents
78
-    SET  GroupID = '$GroupID'
78
+    SET GroupID = '$GroupID'
79 79
     WHERE ID = $TorrentID");
80 80
 
81 81
   // Delete old torrent group if it's empty now

+ 4
- 4
sections/torrents/takeedit.php View File

@@ -1,9 +1,9 @@
1 1
 <?
2 2
 //******************************************************************************//
3 3
 //--------------- Take edit ----------------------------------------------------//
4
-// This pages handles the backend of the 'edit torrent' function. It checks    //
5
-// the data, and if it all validates, it edits the values in the database    //
6
-// that correspond to the torrent in question.                  //
4
+// This pages handles the backend of the 'edit torrent' function. It checks     //
5
+// the data, and if it all validates, it edits the values in the database       //
6
+// that correspond to the torrent in question.                                  //
7 7
 //******************************************************************************//
8 8
 
9 9
 enforce_login();
@@ -16,7 +16,7 @@ $Validate = new VALIDATE;
16 16
 //******************************************************************************//
17 17
 //--------------- Set $Properties array ----------------------------------------//
18 18
 // This is used if the form doesn't validate, and when the time comes to enter  //
19
-// it into the database.                            //
19
+// it into the database.                                                        //
20 20
 //******************************************************************************//
21 21
 
22 22
 $Properties=[];

+ 3
- 3
sections/torrents/takemasspm.php View File

@@ -1,9 +1,9 @@
1 1
 <?
2 2
 //******************************************************************************//
3 3
 //--------------- Take mass PM -------------------------------------------------//
4
-// This pages handles the backend of the 'Send Mass PM' function. It checks      //
5
-// the data, and if it all validates, it sends a PM to everyone who snatched  //
6
-// the torrent.                                    //
4
+// This pages handles the backend of the 'Send Mass PM' function. It checks     //
5
+// the data, and if it all validates, it sends a PM to everyone who snatched    //
6
+// the torrent.                                                                 //
7 7
 //******************************************************************************//
8 8
 
9 9
 authorize();

+ 1
- 1
sections/upload/upload.php View File

@@ -120,7 +120,7 @@ $HideDNU = check_perms('torrents_hide_dnu') && !$NewDNU;
120 120
       <td width="50%"><strong>Name</strong></td>
121 121
       <td><strong>Comment</strong></td>
122 122
     </tr>
123
-<?   $TimeDiff = strtotime('-1 month', strtotime('now'));
123
+<?  $TimeDiff = strtotime('-1 month', strtotime('now'));
124 124
   foreach ($DNU as $BadUpload) {
125 125
     list($Name, $Comment, $Updated) = $BadUpload;
126 126
 ?>

+ 2
- 2
sections/user/invite.php View File

@@ -28,9 +28,9 @@ $DB->query("
28 28
   FROM invites
29 29
   WHERE InviterID = '$UserID'
30 30
   ORDER BY Expires");
31
-$Pending =   $DB->to_array();
31
+$Pending = $DB->to_array();
32 32
 
33
-$OrderWays = array('username', 'email',  'joined', 'lastseen', 'uploaded', 'downloaded', 'ratio');
33
+$OrderWays = array('username', 'email', 'joined', 'lastseen', 'uploaded', 'downloaded', 'ratio');
34 34
 
35 35
 if (empty($_GET['order'])) {
36 36
   $CurrentOrder = 'id';

+ 1
- 1
sections/user/linkedfunctions.php View File

@@ -225,7 +225,7 @@ function user_dupes_table($UserID) {
225 225
     }
226 226
 ?>
227 227
           </tr>
228
-<?  }  ?>
228
+<?  } ?>
229 229
           <tr>
230 230
             <td colspan="5" align="left" style="border-top: thin solid;"><strong>Comments:</strong></td>
231 231
           </tr>

+ 8
- 8
sections/user/notify_edit.php View File

@@ -57,15 +57,15 @@ $i = 0;
57 57
 foreach ($Notifications as $N) { // $N stands for Notifications
58 58
   $i++;
59 59
   $NewFilter = $N['ID'] === false;
60
-  $N['Artists']    = implode(', ', explode('|', substr($N['Artists'], 1, -1)));
61
-  $N['Tags']      = implode(', ', explode('|', substr($N['Tags'], 1, -1)));
62
-  $N['NotTags']    = implode(', ', explode('|', substr($N['NotTags'], 1, -1)));
63
-  $N['ReleaseTypes']   = explode('|', substr($N['ReleaseTypes'], 1, -1));
60
+  $N['Artists']      = implode(', ', explode('|', substr($N['Artists'], 1, -1)));
61
+  $N['Tags']         = implode(', ', explode('|', substr($N['Tags'], 1, -1)));
62
+  $N['NotTags']      = implode(', ', explode('|', substr($N['NotTags'], 1, -1)));
63
+  $N['ReleaseTypes'] = explode('|', substr($N['ReleaseTypes'], 1, -1));
64 64
   $N['Categories']   = explode('|', substr($N['Categories'], 1, -1));
65
-  $N['Formats']     = explode('|', substr($N['Formats'], 1, -1));
66
-  $N['Encodings']   = explode('|', substr($N['Encodings'], 1, -1));
67
-  $N['Media']     = explode('|', substr($N['Media'], 1, -1));
68
-  $N['Users']     = explode('|', substr($N['Users'], 1, -1));
65
+  $N['Formats']      = explode('|', substr($N['Formats'], 1, -1));
66
+  $N['Encodings']    = explode('|', substr($N['Encodings'], 1, -1));
67
+  $N['Media']        = explode('|', substr($N['Media'], 1, -1));
68
+  $N['Users']        = explode('|', substr($N['Users'], 1, -1));
69 69
 
70 70
   $Usernames = '';
71 71
   foreach ($N['Users'] as $UserID) {

+ 1
- 1
sections/user/user.php View File

@@ -272,7 +272,7 @@ if ($Avatar && Users::has_avatars_enabled()) {
272 272
     <div class="box box_image box_image_avatar">
273 273
       <div class="head colhead_dark">User</div>
274 274
       <div class="avatar" align="center">
275
-<?=        Users::show_avatar($Avatar, $UserID, $Username, $HeavyInfo['DisableAvatars'])?>
275
+<?=       Users::show_avatar($Avatar, $UserID, $Username, $HeavyInfo['DisableAvatars'])?>
276 276
       </div>
277 277
     </div>
278 278
 <? }

+ 5
- 5
sections/userhistory/post_history.php View File

@@ -123,7 +123,7 @@ if ($ShowGrouped) {
123 123
 
124 124
   if ($ShowUnread) {
125 125
     $sql .= '
126
-      AND (  (t.IsLocked = \'0\' OR t.IsSticky = \'1\')
126
+      AND ( (t.IsLocked = \'0\' OR t.IsSticky = \'1\')
127 127
           AND (l.PostID < t.LastPostID OR l.PostID IS NULL)
128 128
         ) ';
129 129
   }
@@ -218,7 +218,7 @@ if (empty($Results)) {
218 218
     <colgroup>
219 219
 <?    if (Users::has_avatars_enabled()) { ?>
220 220
       <col class="col_avatar" />
221
-<?     } ?>
221
+<?    } ?>
222 222
       <col class="col_post_body" />
223 223
     </colgroup>
224 224
     <tr class="colhead_dark">
@@ -248,7 +248,7 @@ if (empty($Results)) {
248 248
 <?    if ($ViewingOwn && !in_array($TopicID, $UserSubscriptions)) { ?>
249 249
           <a href="#" onclick="Subscribe(<?=$TopicID?>); $('.subscribelink<?=$TopicID?>').remove(); return false;" class="brackets subscribelink<?=$TopicID?>">Subscribe</a>
250 250
           &nbsp;
251
-<?     } ?>
251
+<?    } ?>
252 252
           <a href="#">&uarr;</a>
253 253
         </span>
254 254
       </td>
@@ -270,7 +270,7 @@ if (empty($Results)) {
270 270
           <br />
271 271
 <?        if (check_perms('site_moderate_forums')) { ?>
272 272
           <a href="#content<?=$PostID?>" onclick="LoadEdit(<?=$PostID?>, 1);">&laquo;</a>
273
-<?         } ?>
273
+<?        } ?>
274 274
           Last edited by
275 275
           <?=Users::format_username($EditedUserID, false, false, false) ?> <?=time_diff($EditedTime, 2, true, true)?>
276 276
 <?      } ?>
@@ -281,7 +281,7 @@ if (empty($Results)) {
281 281
   $DB->set_query_id($QueryID);
282 282
 ?>
283 283
   </table>
284
-<?   } ?>
284
+<?  } ?>
285 285
   <div class="linkbox">
286 286
 <?=$Pages?>
287 287
   </div>

+ 4
- 32
static/styles/beluga/style.css View File

@@ -99,6 +99,10 @@ h1,h2 {
99 99
   font-size: 23px;
100 100
 }
101 101
 
102
+#torrents .header h2 {
103
+  text-align: center;
104
+}
105
+
102 106
 h3,h4 {
103 107
   font-size: 18px;
104 108
 }
@@ -1188,38 +1192,6 @@ span.center_poll {
1188 1192
   white-space: nowrap
1189 1193
 }
1190 1194
 
1191
-form[action="inbox.php"] .box.pad.center {
1192
-  margin: 0;
1193
-  width: 900px;
1194
-  padding: 0;
1195
-  margin-top: 10px!important;
1196
-  background: none!important
1197
-}
1198
-
1199
-form[action="inbox.php"] .box.pad table {
1200
-  background: initial!important
1201
-}
1202
-
1203
-#kb .sidebar .box.pad {
1204
-  margin-top: 2px
1205
-}
1206
-
1207
-#tvnews .head {
1208
-  height: initial
1209
-}
1210
-
1211
-#tvnews .sidebar {
1212
-  margin-top: 27px
1213
-}
1214
-
1215
-#tvschedule td {
1216
-  border: none
1217
-}
1218
-
1219
-#collages td {
1220
-  padding: 3px
1221
-}
1222
-
1223 1195
 #collages .sign,#torrents .sign {
1224 1196
   padding: 5px;
1225 1197
   position: relative;

Loading…
Cancel
Save