Changeset 318

Show
Ignore:
Timestamp:
09/22/10 11:14:51 (2 years ago)
Author:
Nafania
Message:

мелкие фиксы, изменен Лист Подписки

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • comment.php

    r316 r318  
    290290             ); 
    291291 
    292              stdhead(sprintf($lang['edit_comment_to'], $arr['name'])); 
     292               stdhead(sprintf($lang['edit_comment_to'], $arr['name'])); 
    293293                $template->set_filenames(array( 
    294                         'body' => 'comments_edit_body.html') 
    295                 )
    296              stdfoot(); 
     294                        'body' => 'comments_edit_body.html' 
     295                ))
     296               stdfoot(); 
    297297        break; 
    298298 
     
    301301                $tid = request_var('tid', 0); 
    302302 
    303              $sql = 'SELECT COUNT(*) AS count FROM ' . COMMENTS_NOTIFY_TABLE . ' WHERE checkcomm_for_id = ' . $tid . ' AND checkcomm_type = ' . $type . ' AND checkcomm_userid = ' . $userdata['uid']; 
     303               $sql = 'SELECT COUNT(*) AS count FROM ' . COMMENTS_NOTIFY_TABLE . ' WHERE checkcomm_for_id = ' . $tid . ' AND checkcomm_type = ' . $type . ' AND checkcomm_userid = ' . $userdata['uid']; 
    304304                $result = $db->sql_query($sql); 
    305305                $docheck = ( $row = $db->sql_fetchrow($result) ) ? $row['count'] : 0; 
     
    308308                if ( $docheck && $action == 'check' ) { 
    309309                        trigger_error($lang['you_already_check']); 
    310              
     310               
    311311 
    312312                if ( $action == 'check' ) { 
    313                         $sql = 'INSERT INTO ' . COMMENTS_NOTIFY_TABLE . ' (checkcomm_userid, checkcomm_for_id, checkcomm_type, checkcomm_view_status) VALUES (' . $userdata['uid'] . ', ' . $tid . ', ' . $type . ', ' . VIEW_STATUS_VIEWED . ')'; 
     313                        $sql = 'SELECT comment_id FROM ' . COMMENTS_TABLE . ' WHERE comment_for_id = ' . $tid . ' AND comment_type = ' . $type . ' ORDER BY comment_added DESC'; 
     314                        $result = $db->sql_query_limit($sql, 1); 
     315                        $last_comment_id = ( $row = $db->sql_fetchrow($result) ) ? $row['comment_id'] : 0; 
     316 
     317 
     318                        $sql = 'INSERT INTO ' . COMMENTS_NOTIFY_TABLE . ' (checkcomm_userid, checkcomm_for_id, checkcomm_type, checkcomm_view_status, checkcomm_last_comment_id) VALUES (' . $userdata['uid'] . ', ' . $tid . ', ' . $type . ', ' . VIEW_STATUS_VIEWED . ', ' . $last_comment_id . ')'; 
    314319                        $db->sql_query($sql); 
    315320                        trigger_error($lang['now_check_on']); 
  • details.php

    r317 r318  
    519519                        //end tags allow 
    520520 
     521                        $base_url = generate_base_url(); 
     522 
     523                        $announce_urls = array(); 
     524                        if ( defined('USE_XBTT') ) { 
     525                                $announce = $config['xbt_listen_url'] . ':' . $config['listen_port'] . '/' . ( $userdata['session_logged_in'] ? $userdata['torrent_pass'] . '/' : '' ) . 'announce/'; 
     526                        } 
     527                        else { 
     528                                $announce = $base_url . '/announce.php' . ( $userdata['session_logged_in'] ? '?passkey=' . $userdata['torrent_pass'] : '' ); 
     529                        } 
     530 
     531                        $announce_urls[] = $announce; 
     532                        $announce_urls[] = 'http://retracker.local/announce'; 
     533 
     534                        $info_hash = preg_replace_callback('/./s', create_function('$matches','return sprintf(\'%02x\', ord($matches[0]));'), str_pad($row['info_hash'], 20)); 
     535 
    521536                        $template->assign_vars( array( 
    522537                                'MESSAGE1' => $message1, 
     
    531546                                'U_VIEW_PEERLIST' => append_sid($root_path . 'details.php?id=' . $id . '&view=peerlist'), 
    532547                                'U_VIEW_FILELIST' => append_sid($root_path . 'details.php?id=' . $id . '&view=filelist'), 
     548                                'U_MAGNET' => 'magnet:?xt=urn:btih:' . $info_hash . '&dn=' . rawurlencode($row['filename']) . '&tr=' . implode('&tr=', $announce_urls), 
    533549                                'S_EDIT_ACTION' => append_sid($root_path . 'details.php?id=' . $id . '&action=edit'), 
    534550                                'SPACER' => '       ', 
    535551                                'NAME' => $torrent_name, 
     552                                'NAME_ENC' => urlencode($torrent_name), 
     553                                'NAME_ENC_TEXT' => str_replace(array("'", "(", ")"), array("\'", "\(", "\)"), $torrent_name), 
    536554                                'FREE_ICON' => get_free_icon($row['free']), 
    537                                 'TORRENT_FILENAME' => htmlspecialchars( $row['filename'] ), 
    538                                 'INFO_HASH' => preg_replace_callback('/./s', create_function('$matches','return sprintf(\'%02x\', ord($matches[0]));'), str_pad($row['info_hash'], 20) )
     555                                'TORRENT_FILENAME' => htmlspecialchars($row['filename']), 
     556                                'INFO_HASH' => $info_hash
    539557                                'DESCRIPTION' => $description, 
    540558                                'BANNED' => ( $row['banned'] ? $lang['yes'] : $lang['no'] ), 
  • include/details/download.php

    r313 r318  
    3939$torrent = new Torrent($fn); 
    4040 
    41 $base_url = generate_base_url(); 
    42  
    43 if ( defined('USE_XBTT') ) { 
    44         $announce = $config['xbt_listen_url'] . ':' . $config['listen_port'] . '/' . ( $userdata['session_logged_in'] ? $userdata['torrent_pass'] . '/' : '' ) . 'announce/'; 
    45 
    46 else { 
    47         $announce = $base_url . '/announce.php' . ( $userdata['session_logged_in'] ? '?passkey=' . $userdata['torrent_pass'] : '' ); 
    48 
    49  
    50 $torrent->announce(array($announce)); 
     41$torrent->announce($announce_urls); 
    5142 
    5243if ( $type == 'gzip' ) { 
  • include/functions.php

    r317 r318  
    11981198                'REDIRECT' => $redirect, 
    11991199                'ADMIN' => ( $userdata['class'] >= UC_ADMINISTRATOR ? $admin : 0 ), 
    1200                 'LOST_PASS_RECOVER' => sprintf($lang['lost_pass_recover'], append_sid('signup.php?type=recover')), 
    1201                 'NO_ACC_REGISTER' => sprintf($lang['no_account_register'], append_sid('signup.php')) 
     1200                'LOST_PASS_RECOVER' => sprintf($lang['lost_pass_recover'], append_sid($root_path . 'signup.php?type=recover')), 
     1201                'NO_ACC_REGISTER' => sprintf($lang['no_account_register'], append_sid($root_path . 'signup.php')) 
    12021202        )); 
    12031203        $template->set_filenames(array( 
     
    12201220                } 
    12211221        } 
    1222         $text = preg_replace('#(?!<.*)(?<!\w)(' . $highlight_match . ')(?!\w|[^<>]*(?:</s(?:cript|tyle))?>)#is', '<span style="background-color:yellow">\1</span>', $text); 
     1222        $text = preg_replace('#(?!<.*)(?<!\w)(' . $highlight_match . ')(?!\w|[^<>]*(?:</s(?:cript|tyle))?>)#isu', '<span style="background-color:yellow">\1</span>', $text); 
    12231223 
    12241224        return $text; 
  • include/functions_search.php

    r293 r318  
    129129                                        foreach ( $result_list AS $id => $match_count ) { 
    130130                                                if ( !isset($row[$id]) || !$row[$id] ) { 
    131                                                         $result_list[$id] = 0; 
     131                                                        //$result_list[$id] = 0; 
     132                                                        @$result_list[$id] -= 1; 
     133                                                } 
     134                                                else { 
     135                                                        @$result_list[$id] += 1; 
    132136                                                } 
    133137                                        } 
     
    139143                        } 
    140144                } 
    141  
    142145                @reset($result_list); 
    143146 
     
    145148 
    146149                foreach ( $result_list AS $id => $matches ) { 
    147                         if ( $matches ) { 
     150                        if ( $matches > 0 ) { 
     151                        //if ( $matches ) { 
    148152                          $search_ids[] = $id; 
    149153                        } 
  • include/functions_torrenttable.php

    r313 r318  
    117117                $dispname = $ary[$i]['name']; 
    118118                $dispname = censor_text($dispname); 
    119                 $hidden_color = ( $ary[$i]['hidden'] ? 'bgcolor="#' . $theme['hidden_torrent_color'] . '" ':''); 
    120119 
    121120                // www.phpBB-SEO.com SEO TOOLKIT BEGIN 
     
    188187                        'DISPNAME' => $dispname, 
    189188                        'MODERATED' => $moderated, 
    190                         'HIDDEN_COLOR' => $hidden_color, 
    191189                        'TORRENT_FREE_ICON' => get_free_icon($ary[$i]['free']), 
    192190                        'TORRENT_HIDDEN' => $ary[$i]['hidden'], 
     191                        'TORRENT_BANNED' => $ary[$i]['banned'], 
    193192                        'TORRENT_COMMENTS' => $ary[$i]['comments'], 
    194193                        'TORRENT_COMPLETED' => $ary[$i]['completed'], 
  • include/ucp/checkcomm.php

    r317 r318  
    88 
    99                if ( $notify_type || $for_id ) { 
    10                         $chk_id[$notify_type] = $for_id
     10                        $chk_id[$for_id] = $notify_type
    1111                } 
    1212 
    1313 
    14                 foreach ( $chk_id AS $notify_type => $for_id ) { 
     14                foreach ( $chk_id AS $for_id => $notify_type ) { 
    1515                        $sql = 'DELETE FROM ' . COMMENTS_NOTIFY_TABLE . ' WHERE checkcomm_userid = ' . $userdata['uid'] . ' AND checkcomm_for_id = ' . $for_id . ' AND checkcomm_type = ' . $notify_type; 
    1616                        $db->sql_query($sql); 
     
    2222        default: 
    2323 
    24                 $sql = 'SELECT COUNT(*) AS count FROM ' . COMMENTS_NOTIFY_TABLE . ' WHERE checkcomm_userid = ' . $userdata['uid'] . ' AND checkcomm_view_status = ' . VIEW_STATUS_NOT_VIEWED; 
     24                $view = request_var('view', ''); 
     25                $view = ( $view == 'all' ? 0 : 1 ); 
     26 
     27                $sql = 'SELECT COUNT(*) AS count FROM ' . COMMENTS_NOTIFY_TABLE . ' WHERE checkcomm_userid = ' . $userdata['uid'] . ( $view ? ' AND checkcomm_view_status = ' . VIEW_STATUS_NOT_VIEWED : '' ); 
    2528                $result = $db->sql_query($sql); 
    2629                $count = ( $row = $db->sql_fetchrow($result) ) ? intval($row['count']) : 0; 
    2730 
    28                 list($pagertop, $pagerbottom, $offset, $limit) = pager($config['posts_per_page'], $count, 'my.php?type=' . $type . '&amp;'); 
     31                list($pagertop, $pagerbottom, $offset, $limit) = pager($config['posts_per_page'], $count, 'my.php?type=' . $type . '&amp;' . ( $view ? '' : 'view=all&amp;') ); 
    2932 
    3033                $i = 0; 
     
    3538                        $sql = 'SELECT * 
    3639                                        FROM ' . COMMENTS_NOTIFY_TABLE . ' 
    37                                         WHERE checkcomm_userid = ' . $userdata['uid'] . ' 
    38                                         AND checkcomm_view_status = ' . VIEW_STATUS_NOT_VIEWED; 
     40                                        WHERE checkcomm_userid = ' . $userdata['uid'] . 
     41                                        ( $view ? ' AND checkcomm_view_status = ' . VIEW_STATUS_NOT_VIEWED : '' ) . 
     42                                        ' ORDER BY checkcomm_type DESC, checkcomm_last_comment_id DESC'; 
    3943                        $result = $db->sql_query_limit($sql, $limit, $offset); 
    4044 
     
    260264                        'PAGERBOTTOM' => $pagerbottom, 
    261265                        'COUNT' => $count + $i, 
     266 
     267                        'SHOW_ALL_LINK' => $view == 'all', 
     268                        'U_VIEW_ALL' => append_sid($root_path . 'my.php?type=checkcomm&amp;view=all'), 
     269                        'U_VIEW_ONLY_NEW' => append_sid($root_path . 'my.php?type=checkcomm'), 
     270                        'POST_ICON' => ( $view == 'all' ? $images['inbox'] : $images['inboxnew'] ), 
     271                        'POST_TEXT' => ( $view == 'all' ? $lang['no_new_posts'] : $lang['new_posts'] ), 
    262272                )); 
    263273 
  • js/ajax_common.js

    r317 r318  
    328328} 
    329329 
    330 function unsubscribe ( notify_type, for_id ) { 
     330function unsubscribe ( notify_type, for_id, _chk_id ) { 
     331        var chk_id = new Object(); 
     332        if ( _chk_id ) { 
     333                $('input[name*=chk_id]').each(function(){ 
     334                        if ( this.checked ) { 
     335                                var element_name = this.name; 
     336                                reg_exp = /chk_id\[(\d+)\]/; 
     337                                parse = element_name.match(reg_exp); 
     338                                var new_element_name = parseInt(parse[1]); 
     339                                chk_id[this.value] = new_element_name; 
     340                        } 
     341                }) 
     342        } 
     343 
    331344        $.ajax({ 
    332345                url: TRACKER_URL + 'my.php?type=checkcomm&action=unsubscribe&sid=' + SID, 
     
    334347                type: "POST", 
    335348                cache: false, 
    336                 data: ({notify_type: notify_type, for_id: for_id}), 
     349                data: ({notify_type: notify_type, for_id: for_id, chk_id: chk_id}), 
    337350                dataType: "json", 
    338351                success: function(data){ 
    339                         $('#chk_' + for_id).remove(); 
     352                        if ( _chk_id ) { 
     353                                $.each(chk_id, function(key, value) { 
     354                                        $('#chk_' + key).remove(); 
     355                                }) 
     356                        } 
     357                        else { 
     358                                $('#chk_' + for_id).remove(); 
     359                        } 
    340360                        alert(data.msg); 
     361                        location.reload(); 
    341362                } 
    342363        }); 
  • languages/lang_english/lang_main.php

    r317 r318  
    13001300                'id' => 'ID', 
    13011301 
     1302                'view_all_checkcomm' => 'Смотреть весь лист подписки', 
     1303                'view_only_new_checkcomm' => 'Смотреть только новые сообщения', 
     1304 
    13021305        'translated_by' => 'Translation to english made by %s', 
    13031306)); 
  • languages/lang_russian/lang_main.php

    r317 r318  
    13221322                'id' => 'ID', 
    13231323 
     1324                'view_all_checkcomm' => 'Смотреть весь лист подписки', 
     1325                'view_only_new_checkcomm' => 'Смотреть только новые сообщения', 
     1326 
    13241327        'translated_by' => 'На русский язык перевел %s', 
    13251328)); 
  • languages/lang_russian/search_stopwords.txt

    r269 r318  
    11a 
    2 about 
    3 actuellement 
    42AFAIK 
    53AFAIR 
    6 after 
    7 ago 
    8 ai 
    9 all 
    10 almost 
    11 along 
    12 alors 
    13 alot 
    14 also 
    15 am 
    16 amp 
    17 an 
    184and 
    19 answer 
    20 any 
    21 anybody 
    22 anybodys 
    23 anywhere 
    24 aprиs 
    25 aprйs 
    26 are 
    27 arent 
    28 around 
    29 arrow 
    30 as 
    31 ask 
    32 askd 
    33 assez 
    34 at 
    35 au 
    36 aucun 
    37 aucune 
    38 aura 
    39 aussi 
    40 autre 
    41 autres 
    42 aux 
    43 avant 
    44 avec 
    45 avez 
    46 avis 
    47 avoir 
    485b 
    49 bad 
    50 bah 
    51 be 
    52 beaucoup 
    53 because 
    54 been 
    55 before 
    56 being 
    57 best 
    58 better 
    59 between 
    60 bien 
    61 big 
    62 bjr 
    63 bof 
    64 bon 
    65 bonjour 
    66 btw 
    67 but 
    68 by 
    696c 
    70 ca 
    71 can 
    72 cant 
    73 car 
    74 cas 
    75 ce 
    76 certains 
    77 ces 
    78 cest 
    79 cette 
    80 ceux 
    81 chaque 
    82 cheesy 
    83 chez 
    84 chose 
    85 cinq 
    86 com 
    87 come 
    88 comme 
    89 comment 
    90 contre 
    91 cool 
    92 could 
    93 couldnt 
    94 coup 
    95 cry 
    96 dans 
    97 day 
    98 days 
    99 de 
    100 deja 
    101 depuis 
    102 des 
    103 deux 
    104 did 
    105 didnt 
    106 dire 
    107 dis 
    108 dit 
    109 dix 
    110 do 
    111 does 
    112 doesnt 
    113 dois 
    114 donc 
    115 dont 
    116 down 
    117 dun 
    118 dйjа 
    119 dйsolй 
    1207e 
    121 each 
    1228eek 
    123 either 
    124 elle 
    125 else 
    126 en 
    127 encore 
    128 enfin 
    129 entre 
    130 eof 
    131 eom 
    132 est 
    133 et 
    134 etait 
    135 etc 
    136 etre 
    137 euh 
    138 eux 
    139 even 
    140 ever 
    141 every 
    142 everybody 
    143 everybodys 
    144 everyone 
    145 evil 
    146 exemple 
    1479f 
    148 faire 
    149 fais 
    150 fait 
    151 far 
    152 faudra 
    153 faudrait 
    154 faut 
    155 find 
    156 fois 
    157 for 
    158 found 
    159 from 
    16010ftp 
    16111g 
    162 get 
    163 go 
    164 going 
    165 gone 
    166 good 
    167 got 
    168 gotten 
    16912grin 
    170 gros 
    171 gt 
    17213h 
    173 had 
    174 has 
    175 have 
    176 havent 
    177 having 
    178 hello 
    179 her 
    180 here 
    181 hers 
    182 him 
    183 his 
    184 home 
    185 how 
    186 hows 
    187 href 
    18814http 
    189 huit 
    19015i 
    191 ici 
    192 idиe 
    193 idйe 
    194 if 
    195 IIRC 
    196 il 
    197 ils 
    19816imho 
    199 in 
    200 ini 
    201 into 
    202 is 
    203 isnt 
    204 it 
    205 its 
    206 Ive 
    20717j 
    208 ja 
    209 jai 
    210 jamais 
    211 je 
    212 jen 
    213 jour 
    214 just 
    215 juste 
    216 justement 
    21718k 
    218 ki 
    219 know 
    22019l 
    221 la 
    222 large 
    223 le 
    224 les 
    225 less 
    226 leur 
    227 leurs 
    228 like 
    229 liked 
    230 line 
    231 little 
    232 lol 
    233 look 
    234 looked 
    235 looking 
    236 lors 
    237 lot 
    238 lt 
    239 lui 
    24020m 
    241 ma 
    242 maintenant 
    243 mais 
    244 mal 
    245 many 
    246 maybe 
    247 me 
    248 meme 
    249 merci 
    250 mes 
    251 message 
    252 met 
    253 mettre 
    254 mieux 
    255 mis 
    256 moi 
    257 moins 
    258 mois 
    259 mon 
    260 more 
    261 most 
    26221mrgreen 
    263 much 
    264 must 
    265 mustnt 
    266 my 
    267 mкme 
    268 ne 
    269 near 
    270 need 
    271 nein 
    272 nest 
    273 net 
    274 neuf 
    275 never 
    276 new 
    277 news 
    278 no 
    279 non 
    280 none 
    281 nos 
    28222not 
    283 nothing 
    284 notre 
    285 nous 
    286 now 
    28723o 
    288 of 
    289 off 
    290 often 
    291 old 
    292 on 
    293 once 
    294 only 
    295 ont 
    29624oops 
    29725or 
    298 other 
    299 ouais 
    300 oui 
    301 our 
    302 ours 
    303 out 
    304 over 
    30526p 
    306 page 
    307 pages 
    308 par 
    309 parce 
    310 parle 
    311 part 
    312 pas 
    313 pense 
    314 peu 
    315 peut 
    316 peux 
    317 pk 
    318 please 
    319 plus 
    320 possible 
    321 pour 
    322 pourquoi 
    323 pouvoir 
    324 prend 
    325 prendre 
    326 problиme 
    327 puis 
    328 put 
    32927q 
    330 quand 
    331 quatre 
    332 que 
    333 quel 
    334 quelques 
    335 question 
    336 questioned 
    337 questions 
    338 qui 
    339 quil 
    340 quoi 
    341 quot 
    342 quote 
    34328r 
    344 rather 
    34529razz 
    346 really 
    347 recent 
    348 reste 
    349 rien 
    35030roll 
    351 ROTF 
    352 ROTFLMAO 
    35331s 
    354 sa 
    355 said 
    356 sais 
    357 salut 
    358 sans 
    359 savoir 
    360 saw 
    361 say 
    362 says 
    363 se 
    364 see 
    365 sees 
    366 sept 
    367 sera 
    368 serait 
    369 seront 
    370 ses 
    371 seul 
    372 seulement 
    373 she 
    374 shock 
    375 should 
    376 sinon 
    377 site 
    378 sites 
    379 six 
    380 slt 
    381 small 
    38232smile 
    383 so 
    384 soit 
    385 some 
    386 something 
    387 sometime 
    388 somewhere 
    389 son 
    390 sont 
    391 soon 
    392 sous 
    393 suis 
    394 suite 
    395 sujet 
    396 super 
    397 sur 
    398 surtout 
    399 ta 
    400 take 
    401 tant 
    402 tas 
    403 td 
    404 te 
    405 temps 
    406 tes 
    407 than 
    408 thank 
    409 that 
    410 thatd 
    411 thats 
    412 the 
    413 their 
    414 theirs 
    415 them 
    416 then 
    417 there 
    418 theres 
    419 these 
    420 they 
    421 theyd 
    422 theyll 
    423 theyre 
    424 this 
    425 those 
    426 though 
    427 through 
    428 thus 
    429 time 
    430 times 
    431 titre 
    432 to 
    433 toi 
    434 ton 
    435 too 
    436 top 
    437 toujours 
    438 tous 
    439 tout 
    440 toute 
    441 tr 
    442 tres 
    443 trois 
    444 trop 
    445 trouve 
    446 trouver 
    447 truc 
    448 true 
    449 trиs 
    450 tu 
    45133twisted 
    45234u 
    453 un 
    454 under 
    455 une 
    456 until 
    457 untrue 
    458 up 
    459 upon 
    460 use 
    461 users 
    46235v 
    463 va 
    464 vais 
    465 very 
    466 veux 
    467 via 
    468 viens 
    469 voila 
    470 voilа 
    471 voir 
    472 vois 
    473 vos 
    474 votre 
    475 vous 
    476 vrai 
    477 vraiment 
    47836w 
    479 want 
    480 was 
    481 way 
    482 we 
    48337web 
    484 well 
    485 went 
    486 were 
    487 werent 
    488 what 
    489 when 
    490 where 
    491 which 
    492 who 
    493 whom 
    494 whose 
    495 why 
    496 wide 
    497 will 
    49838wink 
    499 with 
    500 within 
    501 without 
    502 wont 
    503 world 
    504 worse 
    505 worst 
    506 would 
    507 wrote 
    50839www 
    50940x 
    51041y 
    511 yes 
    512 yet 
    513 YMMV 
    514 you 
    515 youd 
    516 youll 
    517 your 
    518 youre 
    519 yours 
    52042z 
    52143а 
    522 анальный 
    52344б 
    524 без 
    525 бляди 
    526 блядь 
    527 блин 
    528 будем 
    52945будет 
    530 будете 
    53146будит 
    532 буду 
    533 будут 
    534 будь 
    53547буедт 
    53648бфть 
     
    54355в 
    54456вам 
    545 вами 
    54657вас 
    547 ваш 
    548 ваша 
    549 ваше 
    550 вашего 
    551 вашей 
    552 вашем 
    553 вашему 
    554 ваши 
    555 вашим 
    556 ваших 
    557 вашу 
    558 ваще 
    559 ващем 
    560 вдруг 
    561 ведь 
    562 везде 
    56358весь 
    564 весьма 
    565 вместе 
    566 вместо 
    56759во 
    568 возле 
    569 вообще 
    57060вот 
    57161все 
    572 всё 
    57362всего 
    574 всей 
    575 всем 
    576 всеми 
    577 всему 
    57863всех 
    579 всю 
    580 вся 
    581 всякого 
    582 всяком 
    58364вы 
    58465г 
    585 гавно 
    586 где 
    587 говно 
    588 голая 
    589 голые 
    590 голый 
    591 гы 
    59266д 
    59367да 
    594 даже 
    595 дак 
    596 девочки 
    597 девочки 
    598 девушки 
    59968для 
    60069дни 
    60170днями 
    60271до 
    603 до 
    604 др 
    605 другие 
    606 другими 
    607 других 
    608 другого 
    609 другой 
    61072дык 
    61173дял 
     
    61981есть 
    62082еще 
    621 ещё 
    62283ж 
    62384же 
    62485з 
    625 зa 
    62686за 
    627 затем 
    628 зачем 
    62987и 
    63088ибо 
    63189из 
    632 из-за 
    63390или 
    63491им 
    635 ими 
    63692имхо 
    637 иначе 
    638 иная 
    639 индивидуалки 
    640 иногда 
    641 иного 
    642 иной 
    643 иную 
    644 иные 
    645 иным 
    646 иными 
    647 иных 
    648 исп 
    64993их 
    65094й 
    651 йgalement 
    652 йtй 
    65395к 
    654 кtre 
    655 каждая 
    656 каждого 
    657 каждое 
    658 каждой 
    659 каждом 
    660 каждому 
    661 каждую 
    662 каждый 
    66396как 
    66497какже 
    665 какие 
    666 каким 
    667 какими 
    668 каких 
    669 каковы 
    670 какого 
    671 какое 
    672 какой 
    673 каком 
    674 какую 
    675 квартр 
    67698ко 
    67799когда 
    678 кое 
    679100коотрый 
    680101которая 
    681102которйо 
    682 которого 
    683 которое 
    684103которой 
    685 котором 
    686 которому 
    687 которую 
    688 которы 
    689 которые 
    690104который 
    691 которым 
    692105которых 
    693 кроме 
    694106кто 
    695107л 
    696 либо 
    697 лишь 
    698 любого 
    699 любое 
    700 любой 
    701 любом 
    702 любому 
    703 любую 
    704 любые 
    705 любым 
    706 любых 
    707108м 
    708 малолетних 
    709 мда 
    710 мдаа 
    711 мдя 
    712109мегалол 
    713110меня 
    714111мля 
    715 мляха 
    716112мне 
    717 много 
    718 многое 
    719113мной 
    720114могли 
     
    722116могут 
    723117может 
    724 можно 
    725 мои 
    726 моих 
    727 мой 
    728118мочь 
    729 мою 
    730 моя 
    731119мы 
    732120н 
    733121на 
    734 над 
    735 надо 
    736 нам 
    737 нас 
    738122нах 
    739123наш 
    740 наша 
    741 нашего 
    742 нашей 
    743 нашем 
    744 нашему 
    745 наши 
    746 нашим 
    747 наших 
    748 нашу 
    749124не 
    750125него 
    751126нее 
    752 неё 
    753 ней 
    754 нек 
    755 некая 
    756 некий 
    757 некоторого 
    758 некоторое 
    759 некоторые 
    760 некоторый 
    761 некоторых 
    762 нем 
    763 нём 
    764 нему 
    765 нес 
    766127нет 
    767 ни 
    768 нибудь 
    769 нигде 
    770 никогда 
    771 никого 
    772 никто 
    773 ним 
    774 ними 
    775128них 
    776 ничего 
    777129но 
    778 ну 
    779 нужно 
    780130о 
    781131об 
    782 обнаженая 
    783 обнаженная 
    784 обнаженные 
    785 обнаженный 
    786 обнаженые 
    787 обнаженый 
    788 однака 
    789 однако 
    790132омчь 
    791133он 
     
    793135они 
    794136оно 
    795 оральный 
    796137от 
    797138ответ 
    798139п 
    799 пасиб 
    800140по 
    801 под 
    802 порно 
    803 порнограф 
    804 порнографические 
    805 порнография 
    806 прдажа 
    807141при 
    808 про 
    809 проститут 
    810 проститутк 
    811 проститутки 
    812142р 
    813 раз 
    814143с 
    815 сам 
    816 сама 
    817 самая 
    818 сами 
    819 самим 
    820 самих 
    821 самого 
    822 самое 
    823 самой 
    824 самом 
    825 самому 
    826 самую 
    827 самые 
    828 самый 
    829 самым 
    830 самыми 
    831 самых 
    832144свйо 
    833145свое 
     
    835147своя 
    836148себя 
    837 секс 
    838 со 
    839149собой 
    840 спасибо 
    841 стриптиз 
    842 стриптшоу 
    843 стрипт-шоу 
    844150т 
    845151тагда 
    846152так 
    847 такая 
    848 также 
    849 таки 
    850 такие 
    851 таким 
    852 такими 
    853 таких 
    854153такйо 
    855 таковы 
    856 таковых 
    857 такого 
    858 такое 
    859154такой 
    860 таком 
    861 такому 
    862 такую 
    863 там 
    864155те 
    865156тебя 
    866157тем 
    867 теми 
    868158то 
    869159тобой 
    870160тогда 
    871161того 
    872 тоесть 
    873 тоже 
    874162той 
    875163только 
    876164том 
    877 тому 
    878 топ 
    879 тор 
    880 тот 
    881165тоьлко 
    882 тут 
    883166ты 
    884167у 
     
    886169упс 
    887170ф 
    888 фор 
    889171х 
    890172хороше 
    891 хотя 
    892 хуй 
    893 хуя 
    894173ц 
    895 цел 
    896 цен 
    897174ч 
    898 час 
    899175чего 
    900 чего-нибудь 
    901176чем 
    902 чем-нибудь 
    903 через 
    904177что 
    905178чтобы 
    906 что-бы 
    907 что-нибудь 
    908 что-то 
    909 чьи 
    910 чья 
    911179ш 
    912 шлюха 
    913 шлюхи 
    914180шта 
    915181щ 
     
    919185ь 
    920186э 
    921 эротика 
    922 эротические 
    923 эротичный 
    924187эта 
    925188эти 
    926 этим 
    927 этими 
    928 этих 
    929189это 
    930 этого 
    931 этой 
    932 этом 
    933 этому 
    934190этот 
    935 эту 
    936191ю 
    937192я 
    938 php 
    939 open 
    940 edit 
    941 files 
    942 add 
    943 replace 
    944 mail15 
    945 easy 
    946 tpl 
    947 email 
    948 более 
    949 здесь 
    950 имеет 
    951 можете 
  • languages/lang_russian/search_synonyms.txt

    r269 r318  
    1 abcense absence 
    2 abridgement abridgment 
    3 accomodate accommodate 
    4 acknowledgment acknowledgement 
    5 airplane aeroplane 
    6 allright alright 
    7 andy andrew 
    8 anemia anaemia 
    9 anemic anaemic 
    10 anesthesia anaesthesia 
    11 appologize appologise 
    12 archean archaean 
    13 archeology archaeology 
    14 archeozoic archaeozoic 
    15 armor armour 
    16 artic arctic 
    17 attachment attachement 
    18 attendence attendance 
    19 barbecue barbeque 
    20 behavior behaviour 
    21 biassed biased 
    22 biol biology 
    23 birthdays birthday* 
    24 birthday birtday 
    25 buletin bulletin 
    26 calender calendar 
    27 canceled cancelled 
    28 car automobile 
    29 catalog catalogue 
    30 cenozoic caenozoic 
    31 center centre 
    32 check cheque 
    33 color colour 
    34 comission commission 
    35 comittee committee 
    36 commitee committee 
    37 conceed concede 
    38 creating createing 
    39 curiculum curriculum 
    40 defense defence 
    41 develope develop 
    42 discription description 
    43 dulness dullness 
    44 encyclopedia encyclopaedia 
    45 enroll enrol 
    46 esthetic aesthetic 
    47 etiology aetiology 
    48 exhorbitant exorbitant 
    49 exhuberant exuberant 
    50 existance existence 
    51 favorite favourite 
    52 fetus foetus 
    53 ficticious fictitious 
    54 flavor flavour 
    55 flourescent fluorescent 
    56 foriegn foreign 
    57 fourty forty 
    58 gage guage 
    59 geneology genealogy 
    60 grammer grammar 
    61 gray grey 
    62 guerilla guerrilla 
    63 gynecology gynaecology 
    64 harbor harbour 
    65 heighth height 
    66 hemaglobin haemaglobin 
    67 hematin haematin 
    68 hematite haematite 
    69 hematology haematology 
    70 honor honour 
    71 innoculate inoculate 
    72 installment instalment 
    73 irrelevent irrelevant 
    74 irrevelant irrelevant 
    75 jeweler jeweller 
    76 judgement judgment 
    77 labeled labelled 
    78 labor labour 
    79 laborer labourer 
    80 laborers labourers 
    81 laboring labouring 
    82 licence license 
    83 liesure leisure 
    84 liquify liquefy 
    85 maintainance maintenance 
    86 maintenence maintenance 
    87 medieval mediaeval 
    88 meter metre 
    89 milage mileage 
    90 millipede millepede 
    91 miscelaneous miscellaneous 
    92 morgage mortgage 
    93 noticable noticeable 
    94 occurence occurrence 
    95 offense offence 
    96 ommision omission 
    97 ommission omission 
    98 optimize optimize 
    99 organise organize 
    100 pajamas pyjamas 
    101 paleography palaeography 
    102 paleolithic palaeolithic 
    103 paleontological palaeontological 
    104 paleontologist palaeontologist 
    105 paleontology palaeontology 
    106 paleozoic palaeozoic 
    107 pamplet pamphlet 
    108 paralell parallel 
    109 parl parliament 
    110 parlt parliament 
    111 pediatric paediatric 
    112 pediatrician paediatrician 
    113 pediatrics paediatrics 
    114 pedodontia paedodontia 
    115 pedodontics paedodontics 
    116 personel personnel 
    117 practise practice 
    118 program programme 
    119 psych psychology 
    120 questionaire questionnaire 
    121 rarify rarefy 
    122 reccomend recommend 
    123 recieve receive 
    124 resistence resistance 
    125 restaraunt restaurant 
    126 savior saviour 
    127 sep september 
    128 seperate separate 
    129 sept september 
    130 sieze seize 
    131 summarize summarise 
    132 summerize summarise 
    133 superceed supercede 
    134 superintendant superintendent 
    135 supersede supercede 
    136 suprise surprise 
    137 surprize surprise 
    138 synchronise synchronize 
    139 temperary temporary 
    140 theater theatre 
    141 threshhold threshold 
    142 transfered transferred 
    143 truely truly 
    144 truley truly 
    145 useable usable 
    146 valor valour 
    147 vigor vigour 
    148 vol volume 
    149 whack wack 
    150 withold withhold 
    151 yeild yield 
    1521аббревиатура абревиатура 
    1532абонент абанент 
     
    19342машина машына 
    19443машина мошина 
    195 мод mod 
    196 моды mods 
    19744мощность мощьность 
    19845наконец наканец 
     
    20754потом патом 
    20855потом поотм 
    209 программа програма 
    21056программа софтинка 
    21157программист програмист 
     
    22874черным чорным 
    22975эффект эфект 
    230 локализация перевод 
  • login.php

    r295 r318  
    1111$redirect = request_var('redirect', '' ); 
    1212$admin = request_var('admin', '' ); 
    13  
    14 $template->assign_vars(array( 
    15         'REDIRECT' => $redirect, 
    16         'ADMIN' => ( $userdata['class'] >= UC_ADMINISTRATOR ? $admin : 0 ), 
    17         'LOST_PASS_RECOVER' => sprintf($lang['lost_pass_recover'], append_sid('signup.php?type=recover')), 
    18         'NO_ACC_REGISTER' => sprintf($lang['no_account_register'], append_sid('signup.php')) 
    19 )); 
    2013 
    2114if ( isset($_POST['login']) ) { 
  • phpBB2/includes/functions_search.php

    r255 r318  
    4949        // Filter out strange characters like ^, $, &, change "it's" to "its" 
    5050        // 
    51         for($i = 0; $i < count($drop_char_match); $i++) 
    52        
    53                 $entry =  str_replace($drop_char_match[$i], $drop_char_replace[$i], $entry); 
    54        
     51        //for($i = 0; $i < count($drop_char_match); $i++) 
     52        //
     53        $entry =  str_replace($drop_char_match, $drop_char_replace, $entry); 
     54        //
    5555 
    5656        if ( $mode == 'post' ) 
     
    6464        if ( !empty($stopword_list) ) 
    6565        { 
    66                 for ($j = 0; $j < count($stopword_list); $j++) 
    67                 { 
    68                         $stopword = trim($stopword_list[$j]); 
     66 
     67                for ($j = 0, $count = sizeof($stopword_list); $j < $count; $j++) 
     68                { 
     69                    $stopword = trim($stopword_list[$j]); 
     70                        if ( !$stopword ) { 
     71                                continue; 
     72                        } 
    6973 
    7074                        if ( $mode == 'post' || ( $stopword != 'not' && $stopword != 'and' && $stopword != 'or' ) ) 
     
    7781        if ( !empty($synonym_list) ) 
    7882        { 
    79                 for ($j = 0; $j < count($synonym_list); $j++) 
    80                 { 
    81                         list($replace_synonym, $match_synonym) = split(' ', trim(utf_strtolower($synonym_list[$j]))); 
     83 
     84                for ($j = 0, $count = sizeof($synonym_list); $j < $count; $j++) 
     85                { 
     86                        if ( !$synonym_list[$j] ) { 
     87                                continue; 
     88                        } 
     89                        list($replace_synonym, $match_synonym) = explode(' ', trim($synonym_list[$j])); 
    8290                        if ( $mode == 'post' || ( $match_synonym != 'not' && $match_synonym != 'and' && $match_synonym != 'or' ) ) 
    8391                        { 
     
    106114{ 
    107115        global $db, $root_path, $config, $lang, $db_type; 
    108  
    109         $stopword_array = @file($root_path . 'languages/lang_' . $config['default_lang'] . "/search_stopwords.txt"); 
    110         $synonym_array = @file($root_path . 'languages/lang_' . $config['default_lang'] . "/search_synonyms.txt"); 
     116        static $stopword_array, $synonym_array; 
     117 
     118        if ( !isset($stopword_array) || !isset($synonym_array) ) { 
     119                $stopword_array = @file_get_contents($root_path . 'languages/lang_' . $config['default_lang'] . "/search_stopwords.txt"); 
     120                $synonym_array = @file_get_contents($root_path . 'languages/lang_' . $config['default_lang'] . "/search_synonyms.txt"); 
     121 
     122                if ( $stopword_array ) { 
     123                        $stopword_array = explode("\n", utf_strtolower($stopword_array)); 
     124                } 
     125                if ( $synonym_array ) { 
     126                        $synonym_array = explode("\n", utf_strtolower($synonym_array)); 
     127                } 
     128        } 
    111129 
    112130        $search_raw_words = array(); 
  • phpBB2/viewtopic.php

    r316 r318  
    185185        return; 
    186186} 
    187  
    188187$forum_id = intval($forum_topic_data['forum_id']); 
    189188 
     
    333332 
    334333                                $sql_priority = ($db_type == "mysql") ? "LOW_PRIORITY" : ''; 
    335                                 $sql = "INSERT $sql_priority INTO " . COMMENTS_NOTIFY_TABLE . " (checkcomm_userid, checkcomm_for_id, checkcomm_type, checkcomm_view_status, checkcomm_notify_status
    336                                         VALUES (" . $userdata['uid'] . ", $topic_id, " . TYPE_FORUM_POST . ", " . VIEW_STATUS_VIEWED . ", " . NOTIFY_STATUS_NOTIFIED . ")"; 
     334                                $sql = "INSERT $sql_priority INTO " . COMMENTS_NOTIFY_TABLE . " (checkcomm_userid, checkcomm_for_id, checkcomm_type, checkcomm_view_status, checkcomm_notify_status, checkcomm_last_comment_id
     335                                        VALUES (" . $userdata['uid'] . ", $topic_id, " . TYPE_FORUM_POST . ", " . VIEW_STATUS_VIEWED . ", " . NOTIFY_STATUS_NOTIFIED . ", " . $forum_topic_data['topic_last_post_id'] . ")"; 
    337336                                $result = $db->sql_query($sql); 
    338337                        } 
  • signup.php

    r313 r318  
    2929                        trigger_error($lang['bad_data']); 
    3030                } 
    31                 redirect( append_sid('my.php?emailch=1')); 
     31                redirect( append_sid($root_path . 'my.php?emailch=1')); 
    3232        break; 
    3333 
     
    7878                } 
    7979                if ( $row['status'] ) { 
    80                         redirect( append_sid('signup.php?type=confirmed')); 
     80                        redirect( append_sid($root_path . 'signup.php?type=confirmed')); 
    8181                } 
    8282                $sec = str_pad($row['editsecret'], 20); 
     
    9090                } 
    9191                session_begin ($id, $user_ip, FALSE); 
    92                 redirect( append_sid('signup.php?type=confirm')); 
     92                redirect( append_sid($root_path . 'signup.php?type=confirm')); 
    9393        break; 
    9494 
     
    121121                     'USERNAME' => $row['name'], 
    122122                     'PASSWORD' => $newpassword, 
    123                      'U_LINK'   => generate_base_url() . '/login.php' ) 
    124                 )
     123                     'U_LINK'   => $seo->drop_sid(append_sid($root_path . 'login.php', false, false)), 
     124                ))
    125125                $messenger->send(NOTIFY_EMAIL); 
    126126                $messenger->reset(); 
     
    135135                        $sql = 'SELECT uid, pass, name FROM ' . USERS_TABLE . ' WHERE email=\'' . $db->sql_escape($email) . '\' AND uid <> ' . ANONYMOUS; 
    136136                        $result = $db->sql_query_limit($sql, 1); 
    137                         if ( !($row = $db->sql_fetchrow($result)) ) { 
     137                        if ( !$row = $db->sql_fetchrow($result) ) { 
    138138                                trigger_error(sprintf($lang['email_adress_not_found'], $email)); 
    139139                        } 
     
    151151                        $messenger->assign_vars(array( 
    152152                                'EMAIL' => $email, 
    153                              'IP' => $user_ip, 
    154                              'U_LINK' => generate_base_url() . '/signup.php?id=' . $row['uid'] . '&type=restore&hash=' . $hash
    155                         )
     153                               'IP' => $user_ip, 
     154                               'U_LINK' => $seo->drop_sid(append_sid($root_path . 'signup.php?id=' . $row['uid'] . '&type=restore&hash=' . $hash, false, false)
     155                        ))
    156156                        $messenger->send(NOTIFY_EMAIL); 
    157157                        $messenger->reset(); 
     
    161161                else { 
    162162                        $template->assign_vars(array( 
    163                                 'S_FORM_ACTION' => append_sid('signup.php?type=recover') 
     163                                'S_FORM_ACTION' => append_sid($root_path . 'signup.php?type=recover') 
    164164                        )); 
    165165                        stdhead($lang['pass_recover']); 
     
    380380                                                 'EMAIL' => $email, 
    381381                                                 'IP' => $user_ip, 
    382                                                  'U_LINK' => generate_base_url() . '/signup.php?type=register&id=' . $id . '&hash=' . $psecret ) 
    383                                 )
     382                                                 'U_LINK' => $seo->drop_sid(append_sid($root_path . 'signup.php?type=register&id=' . $id . '&hash=' . $psecret, false, false)), 
     383                                ))
    384384                                $messenger->send(NOTIFY_EMAIL); 
    385385                                $messenger->reset(); 
    386                                 redirect( append_sid('signup.php?type=signup&email=' . urlencode($email))); 
     386                                redirect( append_sid($root_path . 'signup.php?type=signup&email=' . urlencode($email))); 
    387387                        } 
    388388                        else { 
    389389                                $sql = 'UPDATE ' . USERS_TABLE . ' SET status = 1, editsecret=\'\' WHERE uid=' . $id . ' AND status = 0'; 
    390                              $db->sql_query($sql); 
    391                              session_begin ($id, $user_ip, false); 
    392                              redirect( append_sid('signup.php?type=confirm')); 
     390                               $db->sql_query($sql); 
     391                               session_begin ($id, $user_ip, false); 
     392                               redirect( append_sid($root_path . 'signup.php?type=confirm')); 
    393393                        } 
    394394                } 
  • templates/bithdtv/bithdtv.css

    r308 r318  
    281281border:1px solid #ccc; 
    282282font-weight:700; 
     283} 
     284 
     285.hidden { 
     286background-color:#ccc; 
     287} 
     288.banned { 
     289font-style:italic; 
    283290} 
    284291 
  • templates/bithdtv/torrents_table.html

    r313 r318  
    3737        <!-- ENDIF --> 
    3838 
    39         <tr
     39        <tr class="<!-- IF torrents_table.TORRENT_BANNED -->banned<!-- ENDIF --><!-- IF torrents_table.TORRENT_HIDDEN --> hidden<!-- ENDIF -->"
    4040                <td class=detail align=center><p><a href='{torrents_table.U_DOWNLOAD}'><img src="{TEMPLATE_PATH}/images/download.gif" /></a></p><p style='padding-top: 2px;'></p><p style='padding-top: 2px;'><a href={torrents_table.U_ADD_BOOKMARK}><img src={TEMPLATE_PATH}/images/bookmark.gif  border=0></a></p></td> 
    4141                <td class=detail align=center style="padding: 0px"><a href="{torrents_table.U_CATEGORY}"> 
  • templates/bithdtv/ucp_checkcomm_body.html

    r316 r318  
    77<!-- ELSE --> 
    88 
     9<script type="text/javascript" src="{ROOT_PATH}js/ajax_common.js"></script> 
     10 
    911<table width="100%" class="detail"> 
    1012        <tr> 
    1113                <td class="colhead" width=2%>&nbsp;</td> 
    12                 <td class="colhead" width=73% align="left" style="font-size:10px;">{L_NAME}</td> 
     14                <td class="colhead" width=68% align="left" style="font-size:10px;">{L_NAME}</td> 
    1315                <td class="colhead" width=25% align="left" style="font-size:10px;">{L_LAST_POST}</td> 
     16                <td class="colhead" width=5% align="left" style="font-size:10px;"><input type="checkbox" onclick="var cs = this.checked;$('input[name*=chk_id]').each(function(){this.checked = cs;});" /></td> 
    1417        </tr> 
    1518 
    1619<!-- BEGIN checkcomm_row --> 
    1720 
    18         <tr
     21        <tr id="chk_{checkcomm_row.FOR_ID}"
    1922                <td class="{checkcomm_row.ROW_CLASS}"><img src="{TEMPLATE_IMAGE_INBOXNEW}" title="{L_NEW_POSTS}" alt="{L_NEW_POSTS}" /></td> 
    2023                <td align="left" class="{checkcomm_row.ROW_CLASS}"><b><a href="{checkcomm_row.U_FILE}">{checkcomm_row.NAME}</a></b><br /> 
    21                         <i>{checkcomm_row.NAME}</i>&nbsp;|&nbsp;<i><a href="{checkcomm_row.U_CHECKOFF}">{L_CHECKOFF}</a></i> 
     24                        <i>{checkcomm_row.NAME}</i>&nbsp;|&nbsp;<i><a href="javascript:;" onclick="unsubscribe({checkcomm_row.NOTIFY_TYPE}, {checkcomm_row.FOR_ID})">{L_CHECKOFF}</a></i> 
    2225                </td> 
    2326                <td align="left" class="{checkcomm_row.ROW_CLASS}">{L_FROM} <!-- IF checkcomm_row.U_LAST_POSTER --><a href="{checkcomm_row.U_LAST_POSTER}">{checkcomm_row.LAST_POSTER_NAME}</a><!-- ELSE -->{checkcomm_row.LAST_POSTER_NAME}<!-- ENDIF --> 
     
    2528                        <i>{checkcomm_row.ADDED}</i> 
    2629                </td> 
     30 
     31                <td align="left" class="{checkcomm_row.ROW_CLASS}"><input type="checkbox" value="{checkcomm_row.FOR_ID}" name="chk_id[{checkcomm_row.NOTIFY_TYPE}]" id="chk_id_{checkcomm_row.FOR_ID}" /></td> 
    2732        </tr> 
    2833 
     
    3237</table> 
    3338 
    34 {PAGERBOTTOM} 
     39<p style="text-align:right;"> 
     40<input type="button" onclick="unsubscribe(0, 0, 1)" value="{L_CHECKOFF}" /> 
     41</p> 
    3542 
    3643<!-- ENDIF --> 
    3744 
     45<p style="text-align:left;"> 
     46<!-- IF SHOW_ALL_LINK --><a href="{U_VIEW_ONLY_NEW}"><!-- ENDIF -->{L_VIEW_ONLY_NEW_CHECKCOMM}<!-- IF SHOW_ALL_LINK --></a><!-- ENDIF --> 
     47 | 
     48<!-- IF not SHOW_ALL_LINK --><a href="{U_VIEW_ALL}"><!-- ENDIF -->{L_VIEW_ALL_CHECKCOMM}<!-- IF not SHOW_ALL_LINK --></a><!-- ENDIF --> 
     49</p> 
     50 
     51{PAGERBOTTOM} 
     52 
    3853<!-- INCLUDE ucp_footer.html --> 
  • templates/main/main.css

    r313 r318  
    449449font-family:Verdana, Arial, Helvetica, sans-serif; 
    450450font-size:11px; 
     451} 
     452 
     453.hidden { 
     454background-color:#ccc; 
     455} 
     456.banned { 
     457font-style:italic; 
    451458} 
    452459 
  • templates/main/ucp_checkcomm_body.html

    r316 r318  
    77<!-- ELSE --> 
    88 
    9 <table width="100%" cellpadding="0" cellspacing="0"> 
    10         <col class="col1" /><col class="col1" /><col class="col1" /> 
     9<script type="text/javascript" src="{ROOT_PATH}js/ajax_common.js"></script> 
     10 
     11<table width="100%" cellpadding="10" cellspacing="0"> 
     12 
    1113        <thead> 
    1214                <tr> 
    1315                        <th width=2%>&nbsp;</th> 
    14                         <th width=73% align="left" style="font-size:10px;">{L_NAME}</th> 
    15                         <th width=25% align="left" style="font-size:10px;">{L_LAST_POST}</th> 
     16                        <th width=73% align="left">{L_NAME}</th> 
     17                        <th width=25% align="left">{L_LAST_POST}</th> 
     18                        <th><input type="checkbox" onclick="var cs = this.checked;$('input[name*=chk_id]').each(function(){this.checked = cs;});" /></th> 
    1619                </tr> 
    1720        </thead> 
    1821 
    1922        <!-- BEGIN checkcomm_row --> 
    20         <tr> 
    21                 <td class="{checkcomm_row.ROW_CLASS}"><img src="{TEMPLATE_IMAGE_INBOXNEW}" title="{L_NEW_POSTS}" alt="{L_NEW_POSTS}" /></td> 
     23 
     24        <tr id="chk_{checkcomm_row.FOR_ID}"> 
     25                <td class="{checkcomm_row.ROW_CLASS}"><img src="{POST_ICON}" title="{POST_TEXT}" alt="{POST_TEXT}" /></td> 
    2226                <td align="left" class="{checkcomm_row.ROW_CLASS}"><b><a href="{checkcomm_row.U_FILE}">{checkcomm_row.NAME}</a></b><br /> 
    23                 <i>{checkcomm_row.TYPE_NAME}</i>&nbsp;|&nbsp;<i><a href="{checkcomm_row.U_CHECKOFF}" target="_blank">{L_CHECKOFF}</a></i> 
     27                <i>{checkcomm_row.TYPE_NAME}</i>&nbsp;|&nbsp;<i><a href="javascript:;" onclick="unsubscribe({checkcomm_row.NOTIFY_TYPE}, {checkcomm_row.FOR_ID}, 0)">{L_CHECKOFF}</a></i> 
    2428                </td> 
    2529                <td align="left" class="{checkcomm_row.ROW_CLASS}">{L_FROM} <!-- IF checkcomm_row.U_LAST_POSTER --><a href="{checkcomm_row.U_LAST_POSTER}">{checkcomm_row.LAST_POSTER_NAME}</a><!-- ELSE -->{checkcomm_row.LAST_POSTER_NAME}<!-- ENDIF --> 
     
    2731                <i>{checkcomm_row.ADDED}</i> 
    2832                </td> 
     33 
     34                <td class="{checkcomm_row.ROW_CLASS}"><input type="checkbox" value="{checkcomm_row.FOR_ID}" name="chk_id[{checkcomm_row.NOTIFY_TYPE}]" id="chk_id_{checkcomm_row.FOR_ID}" /></td> 
    2935        </tr> 
     36 
    3037        <!-- END checkcomm_row --> 
    3138 
    3239</table> 
    33 {PAGERBOTTOM} 
     40 
     41<p style="text-align:right;"> 
     42<span class="tbut"><a href="javascript:;" onclick="unsubscribe(0, 0, 1)">{L_CHECKOFF}</a></span> 
     43</p> 
    3444 
    3545<!-- ENDIF --> 
    3646 
     47<p style="text-align:left;"> 
     48<!-- IF SHOW_ALL_LINK --><a href="{U_VIEW_ONLY_NEW}"><!-- ENDIF -->{L_VIEW_ONLY_NEW_CHECKCOMM}<!-- IF SHOW_ALL_LINK --></a><!-- ENDIF --> 
     49 | 
     50<!-- IF not SHOW_ALL_LINK --><a href="{U_VIEW_ALL}"><!-- ENDIF -->{L_VIEW_ALL_CHECKCOMM}<!-- IF not SHOW_ALL_LINK --></a><!-- ENDIF --> 
     51</p> 
     52 
     53{PAGERBOTTOM} 
     54 
    3755<!-- INCLUDE ucp_footer.html --> 
  • templates/reflection/reflection.css

    r308 r318  
    336336width:75%; 
    337337padding-bottom:1em; 
     338} 
     339 
     340.hidden { 
     341background-color:#888; 
     342} 
     343.banned { 
     344font-style:italic; 
    338345} 
    339346 
  • templates/reflection/ucp_checkcomm_body.html

    r316 r318  
    77<!-- ELSE --> 
    88 
     9<script type="text/javascript" src="{ROOT_PATH}js/ajax_common.js"></script> 
     10 
    911        <div class="tableRow"> 
    1012                <div class="leftCell" style="width:2%;">&nbsp;</div> 
    11                 <div class="middleCell" style="width:73%;">{L_NAME}</div> 
    12                 <div class="rightCell" style="width:25%;">{L_LAST_POST}</div> 
     13                <div class="middleCell" style="width:68%;">{L_NAME}</div> 
     14                <div class="middleCell" style="width:25%;">{L_LAST_POST}</div> 
     15                <div class="rightCell" style="width:5%;"><input type="checkbox" onclick="var cs = this.checked;$('input[name*=chk_id]').each(function(){this.checked = cs;});" /></div> 
    1316                <div class="clear">&nbsp;</div> 
    1417        </div> 
    1518 
    1619<!-- BEGIN checkcomm_row --> 
    17         <div class="tableRow"
    18                 <div class="leftCell" style="width:2%;"><img src="{TEMPLATE_IMAGE_INBOXNEW}" title="{L_NEW_POSTS}" alt="{L_NEW_POSTS}" /></div> 
    19                 <div class="middleCell" style="width:73%;"><b><a href="{checkcomm_row.U_FILE}">{checkcomm_row.NAME}</a></b><br /> 
    20                 <i>{checkcomm_row.TYPE_NAME}</i>&nbsp;|&nbsp;<i><a href="{checkcomm_row.U_CHECKOFF}" target="_blank">{L_CHECKOFF}</a></i> 
     20        <div class="tableRow" id="chk_{checkcomm_row.FOR_ID}"
     21                <div class="leftCell" style="width:2%;"><img src="{POST_ICON}" title="{POST_TEXT}" alt="{POST_TEXT}" /></div> 
     22                <div class="middleCell" style="width:68%;"><b><a href="{checkcomm_row.U_FILE}">{checkcomm_row.NAME}</a></b><br /> 
     23                <i>{checkcomm_row.TYPE_NAME}</i>&nbsp;|&nbsp;<i><a href="javascript:;" onclick="unsubscribe({checkcomm_row.NOTIFY_TYPE}, {checkcomm_row.FOR_ID}, 0)">{L_CHECKOFF}</a></i> 
    2124                </div> 
    22                 <div class="rightCell" style="width:25%;">{L_FROM} <!-- IF checkcomm_row.U_LAST_POSTER --><a href="{checkcomm_row.U_LAST_POSTER}">{checkcomm_row.LAST_POSTER_NAME}</a><!-- ELSE -->{checkcomm_row.LAST_POSTER_NAME}<!-- ENDIF --> 
     25                <div class="middleCell" style="width:25%;">{L_FROM} <!-- IF checkcomm_row.U_LAST_POSTER --><a href="{checkcomm_row.U_LAST_POSTER}">{checkcomm_row.LAST_POSTER_NAME}</a><!-- ELSE -->{checkcomm_row.LAST_POSTER_NAME}<!-- ENDIF --> 
    2326                        <a href="{checkcomm_row.U_COMMENTS}"><img src="{TEMPLATE_IMAGE_ARROW_RIGHT}" alt="{L_GO_TO_THE_LAST_POST}" title="{L_GO_TO_THE_LAST_POST}" /></a><br /> 
    2427                        <i>{checkcomm_row.ADDED}</i> 
    2528                </div> 
     29                <div class="rightCell" style="width:5%;"><input type="checkbox" value="{checkcomm_row.FOR_ID}" name="chk_id[{checkcomm_row.NOTIFY_TYPE}]" id="chk_id_{checkcomm_row.FOR_ID}" /></div> 
    2630                <div class="clear">&nbsp;</div> 
    2731        </div> 
     32 
    2833<!-- END checkcomm_row --> 
    29 {PAGERBOTTOM} 
     34 
     35<div class="commentButtonsBlock" style="text-align:right;"> 
     36        <a href="javascript:;" onclick="unsubscribe(0, 0, 1)">{L_CHECKOFF}</a> 
     37</div> 
    3038 
    3139<!-- ENDIF --> 
    3240 
     41<p style="text-align:left;"> 
     42<!-- IF SHOW_ALL_LINK --><a href="{U_VIEW_ONLY_NEW}"><!-- ENDIF -->{L_VIEW_ONLY_NEW_CHECKCOMM}<!-- IF SHOW_ALL_LINK --></a><!-- ENDIF --> 
     43 | 
     44<!-- IF not SHOW_ALL_LINK --><a href="{U_VIEW_ALL}"><!-- ENDIF -->{L_VIEW_ALL_CHECKCOMM}<!-- IF not SHOW_ALL_LINK --></a><!-- ENDIF --> 
     45</p> 
     46 
     47{PAGERBOTTOM} 
     48 
    3349<!-- INCLUDE ucp_footer.html -->