Crowdin localization integration prepare and stopwords removal

This commit is contained in:
Yuriy Pikhtarev 2017-02-10 04:15:58 +03:00
commit 4b9965b062
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
51 changed files with 3145 additions and 1894 deletions

View file

@ -365,9 +365,6 @@ function extract_search_words($text)
// short & long words
// $text = preg_replace('#(?<=^|\s)(\S{1,'.$min_word_len.'}|\S{'.$max_word_len.',}|\W*)(?=$|\s)#u', ' ', $text);
$text = remove_stopwords($text);
# $text = replace_synonyms($text);
// Trim 1+ spaces to one space and split this string into unique words
$text = array_unique(explode(' ', str_compact($text)));
@ -388,23 +385,6 @@ function extract_search_words($text)
return $text;
}
function replace_synonyms($text)
{
static $syn_match = null, $syn_replace = null;
if (is_null($syn_match)) {
preg_match_all("#(\w+) (\w+)(\r?\n|$)#", @file_get_contents(LANG_DIR . 'search_synonyms.txt'), $m);
$syn_match = $m[2];
$syn_replace = $m[1];
array_deep($syn_match, 'pad_with_space');
array_deep($syn_replace, 'pad_with_space');
}
return ($syn_match && $syn_replace) ? str_replace($syn_match, $syn_replace, $text) : $text;
}
function add_search_words($post_id, $post_message, $topic_title = '', $only_return_words = false)
{
global $bb_cfg;

View file

@ -2198,7 +2198,7 @@ function clean_title($str, $replace_underscore = false)
return $str;
}
function clean_text_match($text, $ltrim_star = true, $remove_stopwords = false, $die_if_empty = false)
function clean_text_match($text, $ltrim_star = true, $die_if_empty = false)
{
global $bb_cfg, $lang;
@ -2208,10 +2208,6 @@ function clean_text_match($text, $ltrim_star = true, $remove_stopwords = false,
$text = ' ' . str_compact(ltrim($text, $ltrim_chars)) . ' ';
if ($remove_stopwords) {
$text = remove_stopwords($text);
}
if ($bb_cfg['search_engine_type'] == 'sphinx') {
$text = preg_replace('#(?<=\S)\-#u', ' ', $text); // "1-2-3" -> "1 2 3"
$text = preg_replace('#[^0-9a-zA-Zа-яА-ЯёЁ\-_*|]#u', ' ', $text); // допустимые символы (кроме " которые отдельно)
@ -2334,18 +2330,6 @@ function decode_text_match($txt)
return str_replace('&#039;', "'", $txt);
}
function remove_stopwords($text)
{
static $stopwords = null;
if (is_null($stopwords)) {
$stopwords = explode(' ', str_compact(@file_get_contents(LANG_DIR . 'search_stopwords.txt')));
array_deep($stopwords, 'pad_with_space');
}
return ($stopwords) ? str_replace($stopwords, ' ', $text) : $text;
}
function pad_with_space($str)
{
return ($str) ? " $str " : $str;

View file

@ -1,617 +0,0 @@
able
about
above
ac3
according
accordingly
across
actually
afaik
afair
after
afterwards
again
against
ago
ain
all
allow
allows
almost
alone
along
alot
already
also
although
always
among
amongst
and
another
answer
any
anybody
anybodys
anyhow
anyone
anything
anyway
anyways
anywhere
apart
ape
appear
appreciate
appropriate
are
aren
arent
around
aside
ask
askd
asking
associated
audio
available
avi
away
awfully
bad
became
because
become
becomes
becoming
been
before
beforehand
behind
being
believe
below
beside
besides
best
better
between
beyond
big
both
br
brief
btw
but
came
camrip
can
cannot
cant
cause
causes
certain
certainly
changes
chm
clearly
code
com
come
comes
concerning
consequently
consider
considering
contain
containing
contains
corresponding
could
couldn
couldnt
course
cue
currently
day
days
definitely
described
despite
did
didn
didnt
different
divx
djvu
doc
does
doesn
doesnt
doing
don
done
dont
down
downwards
dts
during
dvd
dvd5
dvd9
dvdrip
dvdscreener
each
ebook
edu
eek
eight
either
else
elsewhere
email
enough
entirely
especially
etc
even
ever
every
everybody
everybodys
everyone
everything
everywhere
exactly
example
except
far
few
fifth
find
first
five
flac
followed
following
follows
font
for
former
formerly
forth
forum
found
four
from
ftp
further
furthermore
get
gets
getting
given
gives
goes
going
gone
good
got
gotten
greetings
grin
had
hadn
happens
hardly
has
hasn
have
haven
havent
having
hdtv
hello
help
hence
her
here
hereafter
hereby
herein
hereupon
hers
herself
him
himself
his
hither
home
hopefully
how
howbeit
however
hows
hr
href
htm
html
http
ignored
iirc
image
img
imho
immediate
inasmuch
inc
indeed
indicate
indicated
indicates
ini
inner
insofar
instead
into
inward
isbn
isn
isnt
its
itself
ive
just
kbps
keep
keeps
kept
know
known
knows
large
last
lately
later
latter
latterly
least
left
less
lest
let
like
liked
likely
list
little
lol
look
looked
looking
looks
lot
ltd
mainly
many
may
maybe
mean
meanwhile
media
merely
might
mkv
mon
more
moreover
most
mostly
mp3
mpeg
mpeg1
mpeg2
mpeg4
mrgreen
much
must
mustnt
myself
name
namely
near
nearly
necessary
need
needs
neither
never
nevertheless
new
news
next
nine
nobody
non
none
noone
nor
normally
not
nothing
novel
now
nowhere
obviously
ocr
off
often
ogg
ogm
okay
old
once
one
ones
only
onto
oops
other
others
otherwise
ought
our
ours
ourselves
out
outside
over
overall
own
page
particular
particularly
pcm
pdf
per
perhaps
placed
please
plus
possible
post
presumably
probably
provides
put
que
question
questioned
questions
quicktime
quite
quote
rar
rather
razz
really
reasonably
recent
regarding
regardless
regards
relatively
respectively
right
roll
rotf
rotflmao
said
same
satrip
saw
say
saying
says
second
secondly
see
seeing
seem
seemed
seeming
seems
seen
sees
self
selves
sensible
sent
serious
seriously
seven
several
shall
she
should
shouldn
since
sites
six
size
small
smile
some
somebody
somehow
someone
something
sometime
sometimes
somewhat
somewhere
soon
sorry
specified
specify
specifying
still
sub
such
sup
sure
tab
take
taken
telecine
telesynch
tell
tends
than
thank
thanks
thanx
that
thatd
thats
the
their
theirs
them
themselves
then
thence
there
thereafter
thereby
therefore
therein
theres
thereupon
these
they
theyd
theyll
theyre
think
third
this
thorough
thoroughly
those
though
three
through
throughout
thru
thus
time
times
together
too
took
topic
toward
towards
tried
tries
true
truly
try
trying
tvrip
twice
twisted
two
under
unfortunately
unless
unlikely
until
unto
untrue
upon
url
use
used
useful
users
uses
using
usually
value
various
version
very
via
viz
vorbis
vpx
want
wants
was
wasn
wave
way
web
welcome
well
went
were
weren
werent
what
whatever
when
whence
whenever
where
whereafter
whereas
whereby
wherein
whereupon
wherever
whether
which
while
whither
who
whoever
whole
whom
whose
why
wide
will
willing
windows
wink
wish
with
within
without
won
wonder
wont
world
worse
worst
would
wouldn
wrote
www
xvid
yes
yet
ymmv
you
youd
youll
your
youre
yours
yourself
yourselves
zero
zip

View file

@ -1,149 +0,0 @@
abcense absence
abridgement abridgment
accomodate accommodate
acknowledgment acknowledgement
airplane aeroplane
allright alright
andy andrew
anemia anaemia
anemic anaemic
anesthesia anaesthesia
appologize appologise
archean archaean
archeology archaeology
archeozoic archaeozoic
armor armour
artic arctic
attachment attachement
attendence attendance
barbecue barbeque
behavior behaviour
biassed biased
biol biology
buletin bulletin
calender calendar
canceled cancelled
car automobile
catalog catalogue
cenozoic caenozoic
center centre
check cheque
color colour
comission commission
comittee committee
commitee committee
conceed concede
creating createing
curiculum curriculum
defense defence
develope develop
discription description
dulness dullness
encyclopedia encyclopaedia
enroll enrol
esthetic aesthetic
etiology aetiology
exhorbitant exorbitant
exhuberant exuberant
existance existence
favorite favourite
fetus foetus
ficticious fictitious
flavor flavour
flourescent fluorescent
foriegn foreign
fourty forty
gage guage
geneology genealogy
grammer grammar
gray grey
guerilla guerrilla
gynecology gynaecology
harbor harbour
heighth height
hemaglobin haemaglobin
hematin haematin
hematite haematite
hematology haematology
honor honour
innoculate inoculate
installment instalment
irrelevent irrelevant
irrevelant irrelevant
jeweler jeweller
judgement judgment
labeled labelled
labor labour
laborer labourer
laborers labourers
laboring labouring
licence license
liesure leisure
liquify liquefy
maintainance maintenance
maintenence maintenance
medieval mediaeval
meter metre
milage mileage
millipede millepede
miscelaneous miscellaneous
morgage mortgage
noticable noticeable
occurence occurrence
offense offence
ommision omission
ommission omission
optimize optimize
organise organize
pajamas pyjamas
paleography palaeography
paleolithic palaeolithic
paleontological palaeontological
paleontologist palaeontologist
paleontology palaeontology
paleozoic palaeozoic
pamplet pamphlet
paralell parallel
parl parliament
parlt parliament
pediatric paediatric
pediatrician paediatrician
pediatrics paediatrics
pedodontia paedodontia
pedodontics paedodontics
personel personnel
practise practice
program programme
psych psychology
questionaire questionnaire
rarify rarefy
reccomend recommend
recieve receive
resistence resistance
restaraunt restaurant
savior saviour
sep september
seperate separate
sept september
sieze seize
summarize summarise
summerize summarise
superceed supercede
superintendant superintendent
supersede supercede
suprise surprise
surprize surprise
synchronise synchronize
temperary temporary
theater theatre
threshhold threshold
transfered transferred
truely truly
truley truly
useable usable
valor valour
vigor vigour
vol volume
whack wack
withold withhold
yeild yield

View file

@ -1,469 +0,0 @@
автор
алло
ало
английский
аннотация
аудио
аудиокнига
аудиоспектакль
без
битрейт
близко
более
больше
будем
будет
будете
будешь
будит
будто
буду
будут
будь
буедт
буит
бывает
был
была
были
было
быть
важная
важное
важные
важный
вам
вами
вас
ваш
ваша
ваше
ваши
вверх
вдали
вдруг
ведь
везде
версия
весь
видео
вниз
внизу
вокруг
вон
восемь
восьмой
вот
впрочем
времени
время
всё
все
всегда
всего
всем
всеми
всему
всех
всею
всю
всюду
вся
второй
выпуска
где
гоблинa
говорил
говорит
год
года
году
давай
давно
даже
дал
далеко
дальше
даром
два
двадцать
две
двенадцать
двух
двухголосый
девять
действительно
день
десять
для
дни
днями
довольно
долго
должно
доп
другая
другие
других
другова
другого
другое
другой
дублирование
дык
его
ему
если
есть
ещё
еще
жанр
закадровый
занят
занята
занято
заняты
затем
зато
зачем
здесь
зип
значит
ибо
издатель
издательство
изначально
или
именно
иметь
ими
имхо
имя
иногда
интерфейса
информация
исполнитель
кадра
каждая
каждое
каждые
каждый
кажется
как
какая
какже
какой
качество
кем
когда
кого
кодек
ком
компьютерное
кому
конечно
коотрый
которая
которого
которой
которые
который
которых
кроме
кругом
кто
куда
лет
либо
лишь
лол
лучше
любительский
люди
мало
мегалол
между
менее
меньше
меня
миллионов
мимо
минут
мля
мне
много
многоголосый
мной
мною
моё
мог
могли
могу
могут
модель
мое
может
можно
мои
мой
мочь
моя
наверху
над
надо
назад
название
наиболее
наконец
нам
нами
нас
нах
наш
наша
наше
наши
неё
него
недавно
недалеко
нее
ней
нельзя
нем
немного
нему
нередко
несжатый
несколько
нет
нею
нибудь
ниже
низко
никогда
никуда
ними
них
ничего
нужно
оба
обложка
обычно
обычный
один
однажды
однако
одного
одноголосый
одной
около
она
они
оно
операционные
описание
опять
оригинальное
особенно
особено
ответ
отовсюду
отсканированные
отсутствует
отсюда
очень
ошибками
ошибок
первый
перевод
перед
песен
платформа
под
пожалуйста
позже
пока
полное
пор
пора
после
посреди
постер
потом
потому
почему
почти
прекрасно
при
присутствует
про
продолжительность
просто
против
профессиональный
процент
процентов
прочем
пятый
пять
раз
разве
размер
разработчик
разработчика
рано
раньше
рар
режиссер
ролях
рус
русский
рядом
сайт
сам
сама
самаво
сами
самим
самими
самих
само
самого
самой
самом
самому
саму
сборки
своё
свое
своего
своей
свои
своих
свой
свою
своя
себе
себя
сегодня
седня
седьмой
сейчас
семь
сжатый
системные
системы
сих
сказал
сказала
сказать
сколько
скриншот
слишком
сначала
снова
собой
собою
совсем
спасибо
список
стал
страна
страницы
субтитры
суть
таб
таблэтка
тагда
так
такая
также
такие
такйо
такое
такой
там
тама
твоё
твой
твоя
тебе
тебя
текст
тем
теми
теперь
тех
тип
тобой
тобою
тогда
того
тоже
той
только
том
тому
топик
топика
торент
торрент
тот
точек
тоьлко
тою
транслит
требования
требуется
третий
три
трэклист
туда
тут
тысяч
тысяча
уже
уметь
упс
формат
форум
форума
хороше
хорошо
хотеть
хоть
хотя
хочешь
часто
чаще
чего
чей
человек
чем
чему
через
четвертый
четыре
что
чтоб
чтобы
чуть
чье
чья
шестой
шесть
щас
эта
эти
этим
этими
этих
это
этого
этой
этом
этому
этот
эту
язык

View file

@ -1,75 +0,0 @@
аббревиатура абревиатура
абонент абанент
агрессивный агресивный
агрессия агресия
агрессор агресор
аккумулятор акамулятор
аккумулятор акумулятор
аккуратно акуратно
аккуратный акуратный
апелляция апеляция
аппарат апарат
аппаратура апаратура
ассистент асистент
баррикада барикада
больше больеш
брэнд бренд
будущее будующее
будущем будующеем
будущем будующем
будущий будующий
видеть видить
всегда всигда
всегда свегда
всякий свякий
гауптвахта гаупвахта
грамотный граммотный
гуманизм гумманизм
делать деалть
дилер диллер
жизнь жизьнь
жизнь жызнь
зачет зачот
идти итти
именно миенно
инженер инжинер
интерес антирес
интерес интирес
инцидент инцедент
инцидент инциндент
легко лекго
легко лехко
машина машына
машина мошина
мощность мощьность
наконец наканец
например напирмер
ничего ничево
ничто ништо
новый нвоый
опечатка очепятка
офис оффис
перспектива переспектива
последний полседний
потом патом
потом поотм
программа софтинка
программист програмист
программу софтинку
просто рпосто
против проитв
раса расса
реклама рекламма
рекламу рекламму
свои сови
сказать сакзать
сколько сколко
случай случяй
смотреть смортеть
твой товй
теперь теепрь
функцыя функцыя
хороший хароший
черный чорный
черным чорным
эффект эфект

View file

@ -0,0 +1,2 @@
order allow,deny
deny from all

View file

@ -0,0 +1,2 @@
order allow,deny
deny from all

View file

@ -0,0 +1,12 @@
Charset: UTF-8
The following is an email sent to you by an administrator of "{SITENAME}". If this message is spam, contains abusive or other comments you find offensive please contact the webmaster of the board at the following address:
{BOARD_EMAIL}
Include this full email (particularly the headers).
Message sent to you follows:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{MESSAGE}

View file

@ -0,0 +1 @@
{MESSAGE}

View file

@ -0,0 +1,12 @@
Subject: You have been added to this usergroup
Charset: UTF-8
Congratulations,
You have been added to the "{GROUP_NAME}" group on {SITENAME}.
This action was done by the group moderator or the site administrator, contact them for more information.
You can view your groups information here:
{U_GROUP}
{EMAIL_SIG}

View file

@ -0,0 +1,11 @@
Subject: Your request has been approved
Charset: UTF-8
Congratulations,
Your request to join the "{GROUP_NAME}" group on {SITENAME} has been approved.
Click on the following link to see your group membership.
{U_GROUP}
{EMAIL_SIG}

View file

@ -0,0 +1,11 @@
Subject: A request to join your group has been made
Charset: UTF-8
Dear {GROUP_MODERATOR},
A user {USER} has requested to join a group you moderator on {SITENAME}.
To approve or deny this request for group membership please visit the following link:
{U_GROUP}
{EMAIL_SIG}

View file

@ -0,0 +1,12 @@
Subject: New Private Message has arrived
Charset: UTF-8
Hello {USERNAME},
You have received a new private message to your account on "{SITENAME}" and you have requested that you be notified on this event. You can view your new message by clicking on the following link:
{U_INBOX}
Remember that you can always choose not to be notified of new messages by changing the appropriate setting in your profile.
{EMAIL_SIG}

View file

@ -0,0 +1,14 @@
Charset: UTF-8
Hello {TO_USERNAME},
The following is an email sent to you by {FROM_USERNAME} via your account on {SITENAME}. If this message is spam, contains abusive or other comments you find offensive please contact the webmaster of the board at the following address:
{BOARD_EMAIL}
Include this full email (particularly the headers). Please note that the reply address to this email has been set to that of {FROM_USERNAME}.
Message sent to you follows
~~~~~~~~~~~~~~~~~~~~~~~~~~~
{MESSAGE}

View file

@ -0,0 +1,14 @@
Subject: Topic Reply Notification - {TOPIC_TITLE}
Charset: UTF-8
Hello,
You are receiving this email because you are watching the topic, "{TOPIC_TITLE}" at {SITENAME}. This topic has received a reply since your last visit. You can use the following link to view the replies made, no more notifications will be sent until you visit the topic.
{U_TOPIC}
If you no longer wish to watch this topic you can either click the "Stop watching this topic link" found at the bottom of the topic above, or by clicking the following link:
{U_STOP_WATCHING_TOPIC}
{EMAIL_SIG}

View file

@ -0,0 +1,10 @@
Subject: Reactivate your account
Charset: UTF-8
Hello {USERNAME},
Your account on "{SITENAME}" has been deactivated, most likely due to changes made to your profile. In order to reactivate your account you must click on the link below:
{U_ACTIVATE}
{EMAIL_SIG}

View file

@ -0,0 +1,18 @@
Subject: New password activation
Charset: UTF-8
Hello {USERNAME}
You are receiving this email because you have (or someone pretending to be you has) requested a new password be sent for your account on {SITENAME}. If you did not request this email then please ignore it, if you keep receiving it please contact the board administrator.
To use the new password you need to activate it. To do this click the link provided below.
{U_ACTIVATE}
If sucessful you will be able to login using the following password:
Password: {PASSWORD}
You can of course change this password yourself via the profile page. If you have any difficulties please contact the board administrator.
{EMAIL_SIG}

View file

@ -0,0 +1,17 @@
Subject: Welcome to {SITENAME} Forums
Charset: UTF-8
{WELCOME_MSG}
Please keep this email for your records. Your account information is as follows:
----------------------------
Username: {USERNAME}
Password: {PASSWORD}
----------------------------
Please do not forget your password as it has been encrypted in our database and we cannot retrieve it for you. However, should you forget your password you can request a new one which will be activated in the same way as this account.
Thank you for registering.
{EMAIL_SIG}

View file

@ -0,0 +1,21 @@
Subject: Welcome to {SITENAME} Forums
Charset: UTF-8
{WELCOME_MSG}
Please keep this email for your records. Your account information is as follows:
----------------------------
Username: {USERNAME}
Password: {PASSWORD}
----------------------------
Your account is currently inactive. You cannot use it until you visit the following link:
{U_ACTIVATE}
Please do not forget your password as it has been encrypted in our database and we cannot retrieve it for you. However, should you forget your password you can request a new one which will be activated in the same way as this account.
Thank you for registering.
{EMAIL_SIG}

View file

@ -0,0 +1,2 @@
order allow,deny
deny from all

View file

@ -0,0 +1,4 @@
<div id="infobox-body">
<h2 class="bold">Advertising on <a href="http://<?php echo ($bb_cfg['server_port'] != 80) ? "{$bb_cfg['server_name']}:{$bb_cfg['server_port']}" : $bb_cfg['server_name']; ?>"><?php echo $bb_cfg['sitename']?></a></h2>
<p>For advertising please contact: <strong><a href="mailto:<?php echo $bb_cfg['adv_email']; ?>" class="gen"><?php echo $bb_cfg['adv_email']; ?></a></strong></p>
</div><!--/infobox-body-->

View file

@ -0,0 +1,35 @@
<div id="infobox-body">
<p><h1>INFORMATION FOR COPYRIGHT HOLDERS</h1></p>
<p>If you are the copyright of any material link (or links) which is available on this site, and would not want to spread this information by users without your consent, we will be happy to assist you by removing the appropriate links.</p>
<p>This requires that you have sent us a letter (in electronic form)
which indicated to us the following information:</p>
<p>1. Documentary proof of your rights to material protected by copyright:</p>
<p> - scanned document with the seal, or</p>
<p> - email from an official e-mail domain of the company owner, or</p>
<p> - other contact information that uniquely identifies you as the owner of the material.</p>
<p>2. The text that you want to place, accompanied by a removable information.</p>
<p>In it you can specify where and under what conditions you can get information, references to which have been removed, as well as your contact information, so that users can get from you all the needed information regarding this material.</p>
<p>3. Direct links to pages that contain references to data that must be removed.</p>
<p>Links should be view <strong>http://<?php echo $_SERVER['SERVER_NAME']?>/viewtopic.php?t=XXXXX</strong> or something similar.</p>
<p>After that in 48 hours, we will remove interesting you links from the site.</p>
<p class="bold">Our email: <strong><a href="mailto:<?php echo $bb_cfg['abuse_email']; ?>" class="gen"><?php echo $bb_cfg['abuse_email']; ?></a></strong></p>
<p>WARNING!</p>
<p>a) We reserve the right to publish on the site of any information sent to us by mail <strong><a href="mailto:<?php echo $bb_cfg['abuse_email']; ?>" class="gen"><?php echo $bb_cfg['abuse_email']; ?></a></strong></p>
<p>b) We have no control over the actions of users who may be re-post links to information, which is the object of your copyright. Any information the forum, place automatically, without any control from any quarter whatsoever, which corresponds to the generally accepted international practice of placing information on the Internet. However, in any case, we consider all your queries regarding the reference to the information that violates your rights.</p>
<p>c) According to the Law on Copyright and Related Rights, a reference to any data (information message), by itself, is not subject to copyright law (although it may violate the "Agreement on the use of the website"). Thus, it is not necessary to send letters containing threats or demands, as not having a real reason.</p>
</div><!--/infobox-body-->

View file

@ -0,0 +1,3 @@
<div id="infobox-body">
<p>File not found</p>
</div><!--/infobox-body-->

View file

@ -0,0 +1,23 @@
<div>
<h3>BitTorrent clients</h3>
<ul>
<li><a rel="nofollow" href="http://www.utorrent.com/" class="med"><b>uTorrent</b></a></li>
<li><a rel="nofollow" href="http://www.bittorrent.com/" class="med"><b>BitTorrent</b></a></li>
<li><a rel="nofollow" href="http://www.transmissionbt.com/" class="med"><b>Transmission</b></a></li>
</ul>
</div>
<br />
<div>
<h3>FAQ</h3>
<ul class="med">
<li><a href="info.php?show=user_agreement" class="med" onclick="window.open(this.href, '', IWP); return false;"><b>Terms of use resource</b></a></li>
<li><a href="https://torrentpier.me/threads/faq-dlja-novichkov.260" class="med">FAQ for beginners</a></li>
<li><a href="https://torrentpier.me/forums/osnovnye-voprosy-po-torrentpier-ii.10" class="med">Where is ask a question?</a></li>
</ul>
</div>
<br />
<img width="210" class="spacer" src="./styles/images/spacer.gif" alt="" />

View file

@ -0,0 +1,11 @@
<div>
<h3>Sidebar 2</h3>
To add content into this sidebar, edit the following files:
<br /><br />
<ul class="med">
<li>library/language/*/html/sidebar2.html</li>
<li>style/templates/default/page_footer.tpl</li>
</ul>
<br />
To disable this sidebar, set the variable $page_cfg['show_sidebar2'] in file config.php to false.
</div>

View file

@ -0,0 +1,84 @@
<div id="infobox-body">
<p>
<p><h1>USER AGREEMENT</h1></p>
<p><h3>ABOUT SITE</h3></p>
<p>Internet - resource (website) <a href="http://<?php echo ($bb_cfg['server_port'] != 80) ? "{$bb_cfg['server_name']}:{$bb_cfg['server_port']}" : $bb_cfg['server_name']; ?>"><?php echo $bb_cfg['sitename']?></a> (hereinafter - Resource) is an internet site that allows users to share information with each other via bit-torrent, as well as in free form, and provides a means to monitor the integrity of information transmitted (via hash-files).</p>
<ol>
<li type="1"><h3>ABOUT USER AGREEMENT</h3>
<p>This USER AGREEMENT shall enter into force after clicking "I agree" at the bottom and works all the time use of resource users. USER AGREEMENT may be changed by the Administration without any notice. The new version of the UA enters into force after 3 (three) days from the date it is submitted, unless otherwise provided in the new version of the USER AGREEMENT.</p>
<li><h3>LIMITATIONS OF LIABILITY</h3>
<p>The user expressly agrees that uses Resource at your own risk.</p>
<p>User knows and agrees that deals with Resource materials and data created by third parties and placed them on the Internet on their computers and (or) servers. Content and security of these materials can not be controlled by Resource administration, so the latter is not liable:</p>
<ul>
<p>- for the content of the materials obtained by the User from the use of data Resources and their possible inconsistency with applicable laws or offensive;</p>
<p>- for the consequences of the application, use or non-use of the information received;</p>
<p>- for a possible discrepancy between the results obtained using the Resource User's expectations;</p>
<p>- for any damage to hardware or software User resulting from the use of Resource;</p>
<p>- for inability to resource use for any reason;</p>
<p>- for the consequences that may result from the spread of illegal or unlicensed software and audio-/video products, and other materials or data affecting the rights of third parties.</p>
</ul>
<p>Under no circumstances Resource not be liable to the User or a third party liability for damages, losses or expenses arising in connection with this Resource, its use or inability to use, including loss or lost profits.</p>
<p>Resource Administration is under no obligation to ensure the confidentiality of information provided by its Users, while taking all possible measures to this, if there is no agreement to the contrary or the relevant requirements of current legislation.</p>
<p>The duties of Resource NOT INCLUDED control legally or illegally transmitted information (any, including, but not limited to, information transmitted between users via bit-torrent, internal transfer information in a variety of links, text or files), the definition of property rights or legitimacy of the transmission or reception using this information.</p>
<li><h3>RESOURCE USAGE LIMITS BY USER</h3>
<p>When you use this Resource, the USER has no right to, and agrees with this:</p>
<ul>
<p>- place hash-files (torrents) data that contain viruses or other malicious computer programs known actions, files or programs designed to interrupt, destroy or limit the functionality of any computer or telecommunications equipment or programs for unauthorized access, as well as serial numbers for commercial software products and programs for their generation, logins, passwords and other means to gain unauthorized access to sites on the Internet, as well as post links to the above information;</p>
<p>- place hash-files (torrents) any messages, data, or programs, the use of which infringes any patent, trademark, trade secret, copyright or other proprietary rights and / or copyrights and related rights of third parties;</p>
<p>- send e-mail addresses listed on the site, unauthorized mail messages advertising type (junk mail, spam);</p>
<p>- copy and use for commercial purposes any information obtained through this resource, violates the rights of others or could cause them direct material or moral damage;</p>
<p>- post links to web resources, whose content contradicts the current legislation of the Russian Federation;</p>
<p>- impersonate any person or representative of an organization and / or community without sufficient rights, including employees of Administration, for the owner of the Resource.</p>
</ul>
<li><h3>PERFORMANCE WARRANTY</h3>
<p>Access to Resource are provided on an «as is» without warranties of any kind, both direct and indirect.</p>
<p>In particular Resource Administration not guarantee functionality as the site and its individual sections, and performance and reliability of links placed on it of its Users.</p>
<p>Resource is not responsible for any direct or indirect losses occurred due to: the use or inability to use the service; unauthorized access to your communications.</p>
<li><h3>RIGHTS OF RESOURCE ADMINISTRATION</h3>
<p>Resource Administration has the right to deny access to resource any User or Group of users without explanation of his actions and notice.</p>
<p>Resource Administration may modify or delete any information, hash-files (torrents), graphics, audio, and other data on the submitted by the User from resource without notice and explanation of their actions.</p>
<li><h3>RESPONSIBILITIES OF THE PARTIES</h3>
<p>User agrees that all possible disputes concerning the AGREEMENT ON USE will be settled according to the norms of russian law.</p>
<p>User agrees that the rules and laws on consumer protection can not be applied to the use of theim Resource, since it has no paid services.</p>
<p>Resource does not set user agent relations, partnership relations on joint activity, relations of recruitment, as well as any other relations not expressly described in the AGREEMENT ON USE.</p>
<p>Inaction by the Resource to event of a breach by User or Group of users USER AGREEMENT does not mean that the Resource is to assist Users or Groups of users in such actions.</p>
<p>Inaction by the Resource to event of a breach by User or Group of users USER AGREEMENT does not deprive Resource right to take appropriate action to protect its interests later.</p>
<li><h3>ACCEPTANCE OF USER AGREEMENT</h3>
<p>IF YOU DO NOT AGREE TO ALL OF THE ABOVE TERMS AND CONDITIONS, YOU MAY NOT GO TO RESOURCE AS A WHOLE OR ANY PART OF, EXCEPT PAGE WITH USER AGREEMENT, RECEIVE AND / OR ACCESS THE CONTENTS OF THIS RESOURCE ANY OTHER METHODS AS A WHOLE OR IN ANY PART!</p>
<p>IF YOU DO NOT AGREE WITH THE USER AGREEMENT, YOU MUST IMMEDIATELY LEAVE RESOURCE.</p>
</ol>
</p>
</div><!--/infobox-body-->

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1 @@
TorrentPier source localization pack

View file

@ -1,469 +0,0 @@
автор
алло
ало
английский
аннотация
аудио
аудиокнига
аудиоспектакль
без
битрейт
близко
более
больше
будем
будет
будете
будешь
будит
будто
буду
будут
будь
буедт
буит
бывает
был
была
были
было
быть
важная
важное
важные
важный
вам
вами
вас
ваш
ваша
ваше
ваши
вверх
вдали
вдруг
ведь
везде
версия
весь
видео
вниз
внизу
вокруг
вон
восемь
восьмой
вот
впрочем
времени
время
всё
все
всегда
всего
всем
всеми
всему
всех
всею
всю
всюду
вся
второй
выпуска
где
гоблинa
говорил
говорит
год
года
году
давай
давно
даже
дал
далеко
дальше
даром
два
двадцать
две
двенадцать
двух
двухголосый
девять
действительно
день
десять
для
дни
днями
довольно
долго
должно
доп
другая
другие
других
другова
другого
другое
другой
дублирование
дык
его
ему
если
есть
ещё
еще
жанр
закадровый
занят
занята
занято
заняты
затем
зато
зачем
здесь
зип
значит
ибо
издатель
издательство
изначально
или
именно
иметь
ими
имхо
имя
иногда
интерфейса
информация
исполнитель
кадра
каждая
каждое
каждые
каждый
кажется
как
какая
какже
какой
качество
кем
когда
кого
кодек
ком
компьютерное
кому
конечно
коотрый
которая
которого
которой
которые
который
которых
кроме
кругом
кто
куда
лет
либо
лишь
лол
лучше
любительский
люди
мало
мегалол
между
менее
меньше
меня
миллионов
мимо
минут
мля
мне
много
многоголосый
мной
мною
моё
мог
могли
могу
могут
модель
мое
может
можно
мои
мой
мочь
моя
наверху
над
надо
назад
название
наиболее
наконец
нам
нами
нас
нах
наш
наша
наше
наши
неё
него
недавно
недалеко
нее
ней
нельзя
нем
немного
нему
нередко
несжатый
несколько
нет
нею
нибудь
ниже
низко
никогда
никуда
ними
них
ничего
нужно
оба
обложка
обычно
обычный
один
однажды
однако
одного
одноголосый
одной
около
она
они
оно
операционные
описание
опять
оригинальное
особенно
особено
ответ
отовсюду
отсканированные
отсутствует
отсюда
очень
ошибками
ошибок
первый
перевод
перед
песен
платформа
под
пожалуйста
позже
пока
полное
пор
пора
после
посреди
постер
потом
потому
почему
почти
прекрасно
при
присутствует
про
продолжительность
просто
против
профессиональный
процент
процентов
прочем
пятый
пять
раз
разве
размер
разработчик
разработчика
рано
раньше
рар
режиссер
ролях
рус
русский
рядом
сайт
сам
сама
самаво
сами
самим
самими
самих
само
самого
самой
самом
самому
саму
сборки
своё
свое
своего
своей
свои
своих
свой
свою
своя
себе
себя
сегодня
седня
седьмой
сейчас
семь
сжатый
системные
системы
сих
сказал
сказала
сказать
сколько
скриншот
слишком
сначала
снова
собой
собою
совсем
спасибо
список
стал
страна
страницы
субтитры
суть
таб
таблэтка
тагда
так
такая
также
такие
такйо
такое
такой
там
тама
твоё
твой
твоя
тебе
тебя
текст
тем
теми
теперь
тех
тип
тобой
тобою
тогда
того
тоже
той
только
том
тому
топик
топика
торент
торрент
тот
точек
тоьлко
тою
транслит
требования
требуется
третий
три
трэклист
туда
тут
тысяч
тысяча
уже
уметь
упс
формат
форум
форума
хороше
хорошо
хотеть
хоть
хотя
хочешь
часто
чаще
чего
чей
человек
чем
чему
через
четвертый
четыре
что
чтоб
чтобы
чуть
чье
чья
шестой
шесть
щас
эта
эти
этим
этими
этих
это
этого
этой
этом
этому
этот
эту
язык

View file

@ -1,75 +0,0 @@
аббревиатура абревиатура
абонент абанент
агрессивный агресивный
агрессия агресия
агрессор агресор
аккумулятор акамулятор
аккумулятор акумулятор
аккуратно акуратно
аккуратный акуратный
апелляция апеляция
аппарат апарат
аппаратура апаратура
ассистент асистент
баррикада барикада
больше больеш
брэнд бренд
будущее будующее
будущем будующеем
будущем будующем
будущий будующий
видеть видить
всегда всигда
всегда свегда
всякий свякий
гауптвахта гаупвахта
грамотный граммотный
гуманизм гумманизм
делать деалть
дилер диллер
жизнь жизьнь
жизнь жызнь
зачет зачот
идти итти
именно миенно
инженер инжинер
интерес антирес
интерес интирес
инцидент инцедент
инцидент инциндент
легко лекго
легко лехко
машина машына
машина мошина
мощность мощьность
наконец наканец
например напирмер
ничего ничево
ничто ништо
новый нвоый
опечатка очепятка
офис оффис
перспектива переспектива
последний полседний
потом патом
потом поотм
программа софтинка
программист програмист
программу софтинку
просто рпосто
против проитв
раса расса
реклама рекламма
рекламу рекламму
свои сови
сказать сакзать
сколько сколко
случай случяй
смотреть смортеть
твой товй
теперь теепрь
функцыя функцыя
хороший хароший
черный чорный
черным чорным
эффект эфект

View file

@ -424,7 +424,7 @@ if (!$items_found) {
} else {
$title_match_val = $tmp;
}
$text_match_sql = clean_text_match($title_match_val, $all_words_val, false, true);
$text_match_sql = clean_text_match($title_match_val, $all_words_val, true);
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -0,0 +1 @@
TorrentPier source localization image pack

View file

@ -444,7 +444,7 @@ if (!$set_default) {
} else {
$title_match_val = $tmp;
}
$title_match_sql = clean_text_match($title_match_val, true, false, false);
$title_match_sql = clean_text_match($title_match_val, true, false);
}
}
}

View file

@ -322,7 +322,7 @@ $title_match_sql = '';
if ($title_match =& $_REQUEST[$title_match_key]) {
if ($tmp = mb_substr(trim($title_match), 0, $title_match_max_len)) {
$title_match_val = clean_text_match($tmp, true, false, false);
$title_match_val = clean_text_match($tmp, true, false);
$title_match_topics = get_title_match_topics($title_match_val, array(0 => $forum_id));
if ($search_match_topics_csv = join(',', $title_match_topics)) {