Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/spotweb/spotweb_catsize_average | ||
|---|---|---|
| 6 | 6 |
# |
| 7 | 7 |
# Spotweb : http://github.com/spotweb/spotweb |
| 8 | 8 |
# |
| 9 |
# This program is free software: you can redistribute it and/or modify
|
|
| 9 |
# This program is free software: you can redistribute it and/or modify |
|
| 10 | 10 |
# it under the terms of the GNU General Public License as published by |
| 11 | 11 |
# the Free Software Foundation, either version 3 of the License, or |
| 12 | 12 |
# (at your option) any later version. |
| ... | ... | |
| 68 | 68 |
} |
| 69 | 69 |
|
| 70 | 70 |
# Output of values. We just call a subroutine here to prevent much duplicate code |
| 71 |
if($COUNTPORN eq 'yes') {
|
|
| 71 |
if($COUNTPORN eq 'yes') {
|
|
| 72 | 72 |
&print_value(0); |
| 73 | 73 |
} |
| 74 |
else {
|
|
| 74 |
else {
|
|
| 75 | 75 |
# 11-04-2011 - New pr0n filters |
| 76 | 76 |
# &print_value(0, " AND subcatd NOT LIKE '%23%' AND subcatd NOT LIKE '%24%' AND subcatd NOT LIKE '%25%' AND subcatd NOT LIKE '%26%'"); |
| 77 |
&print_value(0, " AND (subcatz IS NULL OR subcatz NOT LIKE '%4%') AND subcatd NOT LIKE '%23%' AND subcatd NOT LIKE '%24%' AND subcatd NOT LIKE '%25%' AND subcatd NOT LIKE '%26%' AND subcatd NOT LIKE '%72%' AND subcatd NOT LIKE '%73%' AND subcatd NOT LIKE '%74%' AND subcatd NOT LIKE '%75%' AND subcatd NOT LIKE '%76%' AND subcatd NOT LIKE '%77%' AND subcatd NOT LIKE '%78%' AND subcatd NOT LIKE '%79%' AND subcatd NOT LIKE '%80%' AND subcatd NOT LIKE '%81%' AND subcatd NOT LIKE '%82%' AND subcatd NOT LIKE '%83%' AND subcatd NOT LIKE '%84%' AND subcatd NOT LIKE '%85%' AND subcatd NOT LIKE '%86%' AND subcatd NOT LIKE '%87%' AND subcatd NOT LIKE '%88%' AND subcatd NOT LIKE '%88%' AND subcatd NOT LIKE '%89%'");
|
|
| 77 |
&print_value(0, " AND (subcatz IS NULL OR subcatz NOT LIKE '%4%') AND subcatd NOT LIKE '%23%' AND subcatd NOT LIKE '%24%' AND subcatd NOT LIKE '%25%' AND subcatd NOT LIKE '%26%' AND subcatd NOT LIKE '%72%' AND subcatd NOT LIKE '%73%' AND subcatd NOT LIKE '%74%' AND subcatd NOT LIKE '%75%' AND subcatd NOT LIKE '%76%' AND subcatd NOT LIKE '%77%' AND subcatd NOT LIKE '%78%' AND subcatd NOT LIKE '%79%' AND subcatd NOT LIKE '%80%' AND subcatd NOT LIKE '%81%' AND subcatd NOT LIKE '%82%' AND subcatd NOT LIKE '%83%' AND subcatd NOT LIKE '%84%' AND subcatd NOT LIKE '%85%' AND subcatd NOT LIKE '%86%' AND subcatd NOT LIKE '%87%' AND subcatd NOT LIKE '%88%' AND subcatd NOT LIKE '%88%' AND subcatd NOT LIKE '%89%'"); |
|
| 78 | 78 |
} |
| 79 | 79 |
&print_value(1); |
| 80 | 80 |
&print_value(2); |
| ... | ... | |
| 89 | 89 |
print "cat".$_[0].".value 0\n"; |
| 90 | 90 |
} |
| 91 | 91 |
else {
|
| 92 |
print "cat".$_[0].".value ".$1."\n";
|
|
| 92 |
print "cat".$_[0].".value ".$1."\n"; |
|
| 93 | 93 |
} |
| 94 | 94 |
} |
Formats disponibles : Unified diff