You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(193) |
Nov
(393) |
Dec
(347) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(401) |
Feb
(232) |
Mar
(343) |
Apr
(129) |
May
(129) |
Jun
(116) |
Jul
(189) |
Aug
(129) |
Sep
(68) |
Oct
(172) |
Nov
(298) |
Dec
(148) |
| 2003 |
Jan
(264) |
Feb
(210) |
Mar
(322) |
Apr
(309) |
May
(234) |
Jun
(188) |
Jul
(215) |
Aug
(161) |
Sep
(234) |
Oct
(163) |
Nov
(110) |
Dec
(7) |
| 2004 |
Jan
(95) |
Feb
(107) |
Mar
(55) |
Apr
(3) |
May
(49) |
Jun
(35) |
Jul
(57) |
Aug
(43) |
Sep
(56) |
Oct
(40) |
Nov
(25) |
Dec
(21) |
| 2005 |
Jan
(93) |
Feb
(25) |
Mar
(22) |
Apr
(72) |
May
(45) |
Jun
(24) |
Jul
(29) |
Aug
(20) |
Sep
(50) |
Oct
(93) |
Nov
(69) |
Dec
(183) |
| 2006 |
Jan
(185) |
Feb
(143) |
Mar
(402) |
Apr
(260) |
May
(322) |
Jun
(367) |
Jul
(234) |
Aug
(299) |
Sep
(206) |
Oct
(288) |
Nov
(338) |
Dec
(307) |
| 2007 |
Jan
(296) |
Feb
(250) |
Mar
(261) |
Apr
(434) |
May
(539) |
Jun
(274) |
Jul
(440) |
Aug
(190) |
Sep
(128) |
Oct
(249) |
Nov
(86) |
Dec
(51) |
| 2008 |
Jan
(177) |
Feb
(67) |
Mar
(61) |
Apr
(48) |
May
(56) |
Jun
(97) |
Jul
(60) |
Aug
(64) |
Sep
(151) |
Oct
(79) |
Nov
(109) |
Dec
(123) |
| 2009 |
Jan
(70) |
Feb
(70) |
Mar
(73) |
Apr
(80) |
May
(22) |
Jun
(193) |
Jul
(191) |
Aug
(181) |
Sep
(120) |
Oct
(48) |
Nov
(24) |
Dec
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 17:09:52
|
Update of /cvsroot/phpbb/phpBB2/language/lang_portuguese
In directory usw-pr-cvs1:/tmp/cvs-serv18401/language/lang_portuguese
Modified Files:
Tag: phpBB-2_0_0
lang_admin.php lang_faq.php lang_main.php
Log Message:
Various updates
Index: lang_admin.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_portuguese/Attic/lang_admin.php,v
retrieving revision 1.4.2.2
retrieving revision 1.4.2.3
diff -C2 -r1.4.2.2 -r1.4.2.3
*** lang_admin.php 20 Jun 2002 16:25:56 -0000 1.4.2.2
--- lang_admin.php 14 Jul 2002 17:09:47 -0000 1.4.2.3
***************
*** 462,466 ****
$lang['No_group_moderator'] = 'Deve ser especificado um moderador para este grupo';
$lang['No_group_mode'] = 'Deve ser especificado um modo para este grupo, aberto ou encerrado';
- $lang['No_group_action'] = 'Nenhuma acção especificada';
$lang['delete_group_moderator'] = 'Remover o moderador antigo do grupo?';
$lang['delete_moderator_explain'] = 'Se está a mudar o moderador do grupo assinale aqui para remover o moderador anterior. Caso contrário nao assinale e o utilizador passará a ser um membro normal do grupo.';
--- 462,465 ----
Index: lang_faq.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_portuguese/Attic/lang_faq.php,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -r1.4 -r1.4.2.1
Index: lang_main.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_portuguese/Attic/lang_main.php,v
retrieving revision 1.7.2.2
retrieving revision 1.7.2.3
diff -C2 -r1.7.2.2 -r1.7.2.3
*** lang_main.php 20 Jun 2002 16:25:57 -0000 1.7.2.2
--- lang_main.php 14 Jul 2002 17:09:47 -0000 1.7.2.3
***************
*** 34,40 ****
$lang['ENCODING'] = 'iso-8859-1';
! $lang['DIRECTION'] = 'ltr';
! $lang['LEFT'] = 'left';
! $lang['RIGHT'] = 'right';
$lang['DATE_FORMAT'] = 'd M Y'; // This should be changed to the default date format for your language, php date() format
--- 34,40 ----
$lang['ENCODING'] = 'iso-8859-1';
! $lang['DIRECTION'] = 'ltr'; // rtl for Arabic, Hebrew, etc.
! $lang['LEFT'] = 'left'; // right for Arabic, Hebrew, etc.
! $lang['RIGHT'] = 'right'; // left for Arabic, Hebrew, etc.
$lang['DATE_FORMAT'] = 'd M Y'; // This should be changed to the default date format for your language, php date() format
***************
*** 116,121 ****
$lang['Admin_panel'] = 'Ir ao Painel de Administração';
! $lang['Board_disable'] = 'Este painel não se encontra disponível de momento. Tente novamente mais tarde';
!
//
--- 116,121 ----
$lang['Admin_panel'] = 'Ir ao Painel de Administração';
! $lang['Board_disable'] = 'Este fórum não se encontra disponível de momento.';
! $lang['Board_unavailable'] = 'Este fórum está temporariamente desligado. Por favor tentar novamente em alguns minutos.';
//
***************
*** 138,143 ****
--- 138,145 ----
$lang['Record_online_users'] = 'Total de utilizadores ligados ao mesmo tempo foi de <b>%s</b> em %s'; // first %s = number of users, second %s is the date.
+ $lang['Legend'] = 'Legend';
$lang['Admin_online_color'] = '%sAdministrador%s';
$lang['Mod_online_color'] = '%sModerador%s';
+ $lang['User_online_color'] = '%sUtilizador%s';
$lang['You_last_visit'] = 'A sua última visita foi a %s'; // %s replaced by date/time
***************
*** 245,248 ****
--- 247,255 ----
$lang['No_topics_post_one'] = 'Não há mensagens neste fórum<br />Premir em <b>Novo Tópico</b> nesta página para registar uma';
+ $lang['Stop_watching_forum'] = 'Parar de \"Observar\" este fórum';
+ $lang['Start_watching_forum'] = '\"Observar\" este fórum em mensagens novas';
+ $lang['No_longer_watching_forum'] = 'Você não se encontra mais a \"Observar\" este fórum';
+ $lang['You_are_watching_forum'] = 'Você encontra-se a partir de agora a \"Observar\" este fórum';
+
//
***************
*** 432,436 ****
$lang['You_new_pms'] = 'Há Mensagens Privadas na Caixa de Entrada';
$lang['You_no_new_pm'] = 'Mensagens Privadas novas: 0';
-
$lang['Unread_message'] = 'Mensagem não lida';
$lang['Read_message'] = 'Ler mensagem';
--- 439,442 ----
***************
*** 513,517 ****
$lang['Preferences'] = 'Preferências';
! $lang['Items_required'] = 'Itens marcados com um * são necessários excepto quando manifestado o contrário';
$lang['Registration_info'] = 'Informação de Registo';
$lang['Profile_info'] = 'Informação de Perfil';
--- 519,523 ----
$lang['Preferences'] = 'Preferências';
! $lang['Items_required'] = 'Itens marcados com um * são necessários';
$lang['Registration_info'] = 'Informação de Registo';
$lang['Profile_info'] = 'Informação de Perfil';
***************
*** 573,577 ****
$lang['Avatar'] = 'Avatar';
$lang['Avatar_explain'] = 'Mostra uma pequena imagem gráfica por baixo dos seus detalhes nas mensagens. Apenas pode ser mostrada uma imagem de cada vez, a largura não exceder %d pixels, a altura não ser superior a %d pixels e o tamanho do ficheiro não ser superior a %dkB.'; $lang['Upload_Avatar_file'] = 'Carregar o Avatar a partir do seu computador';
! $lang['Upload_Avatar_URL'] = 'carregar o Avatar a partir de um URL';
$lang['Upload_Avatar_URL_explain'] = 'Escrever o URL do local contendo o Avatar, para ser copiado para a página.';
$lang['Pick_local_Avatar'] = 'Seleccionar um Avatar da galeria';
--- 579,583 ----
$lang['Avatar'] = 'Avatar';
$lang['Avatar_explain'] = 'Mostra uma pequena imagem gráfica por baixo dos seus detalhes nas mensagens. Apenas pode ser mostrada uma imagem de cada vez, a largura não exceder %d pixels, a altura não ser superior a %d pixels e o tamanho do ficheiro não ser superior a %dkB.'; $lang['Upload_Avatar_file'] = 'Carregar o Avatar a partir do seu computador';
! $lang['Upload_Avatar_URL'] = 'Carregar o Avatar a partir de um URL';
$lang['Upload_Avatar_URL_explain'] = 'Escrever o URL do local contendo o Avatar, para ser copiado para a página.';
$lang['Pick_local_Avatar'] = 'Seleccionar um Avatar da galeria';
***************
*** 626,630 ****
$lang['Registration'] = 'Condições de Aceitação de Registo';
! $lang['Reg_agreement'] = 'Apesar dos administradores e moderadores deste fórum tentarem remover ou editar qualquer material indesejável logo que detectado, é impossível rever todas as mensagens. Como tal você reconhece que todas as mensagens efectuadas nos fóruns expressam os pontos de vista e opiniões dos seus respectivos autores e não dos administradores, moderadores ou o encarregado das páginas (excepto menasgens colocadas por essas pessoas) não sendo por tal responsáveis.<br /><br />Você aceita não colocar qualquer mensagem abusiva, obscena, invulgar, insultuosa, de ódio, ameaçadora, sexualmente tendenciosa ou qualquer outro material que possa violar qualquer lei aplicável. Tal acontecendo conduz à sua expulsão imediata e permanente (além de ser notificado o seu provedor de Internet). Os endereços de IP de todas as mensagens são registados para ajudar a implementar essas condições. Você concorda que quem faz e mantém estas páginas, administradores e moderadores deste fórum tem o direito de remover, editar, mover ou encerrar qualquer tópico em qualquer altura que eles assim o decidam e seja implícito. Como utilizador você aceita que qualquer informação que forneceu acima seja guardada numa base de dados. Apesar dessa informação não ser fornecida a terceiros sem a sua autorização, o encarregado das páginas, administradores ou moderadores não podem assumir a responsabilidade por qualquer tentativa de acto de \"hacking\", intromissão forçada e ilegal que conduza a essa informação ser exposta.<br /><br />Este sistema de fóruns usa \"cookies\" para guardar informação no seu computador. Esses \"cookies\" não possúem nenhuma da informação acima fornecida, apenas servem para melhorar o seu prazer aquando e enquanto visita estes fóruns. O endereço de email é apenas usado para confirmar a informação do seu registo e a senha (bem como para enviar novas senhas caso se esqueça da que acabou de submeter).<br /><br />Ao carregar abaixo para prosseguir com o registo você concorda em seguir estas condições.';
$lang['Agree_under_13'] = 'Aceito estes termos e tenho <b>menos que</b> 13 anos de idade';
--- 632,636 ----
$lang['Registration'] = 'Condições de Aceitação de Registo';
! $lang['Reg_agreement'] = 'Apesar dos administradores e moderadores deste fórum tentarem remover ou editar qualquer material indesejável logo que detectado, é impossível rever todas as mensagens. Como tal você reconhece por este meio que todas as mensagens colocadas nos fóruns expressam os pontos de vista e opiniões dos seus respectivos autores e não dos administradores, moderadores ou o encarregado das páginas (excepto mensagens colocadas por essas pessoas) não sendo por tal responsáveis.<br /><br />Você aceita não colocar qualquer mensagem abusiva, obscena, invulgar, insultuosa, de ódio, ameaçadora, sexualmente tendenciosa ou qualquer outro material que possa violar qualquer lei em vigor. Tal acontecendo conduz à sua expulsão imediata e permanente (além de ser notificado o seu provedor de Internet). Os endereços de IP de todas as mensagens são registados para ajudar a implementar essas condições. Você concorda que quem faz e mantém estas páginas, administradores e moderadores deste fórum tem o direito de remover, editar, mover ou encerrar qualquer tópico em qualquer altura que eles assim o entendam e seja implícito. Como utilizador você aceita que qualquer informação que forneceu acima seja guardada numa base de dados. Apesar dessa informação não ser fornecida a terceiros sem a sua autorização, o encarregado das páginas, administradores ou moderadores não podem assumir a responsabilidade por qualquer tentativa de acto de \"hacking\", intromissão forçada e ilegal que conduza a essa informação ser exposta.<br /><br />Este sistema de fóruns usa \"cookies\" para guardar informação no seu computador. Esses \"cookies\" não possúem nenhuma da informação acima fornecida, apenas servem para melhorar o seu prazer aquando e enquanto visita estes fóruns. O endereço de email é apenas usado para confirmar a informação do seu registo e a senha (bem como para enviar novas senhas caso se esqueça da que acabou de submeter).<br /><br />Ao premir abaixo para prosseguir com o registo você concorda em seguir estas condições.';
$lang['Agree_under_13'] = 'Aceito estes termos e tenho <b>menos que</b> 13 anos de idade';
***************
*** 701,705 ****
$lang['Group_hidden_members'] = 'Este Grupo encontra-se invisível, não pode ver os seus membros';
$lang['No_pending_group_members'] = 'Este Grupo não possui membros pendentes';
! $lang['Group_joined''] = 'Você subscreveu com sucesso a este Grupo<br />Será notificado quando a sua subscripção for aprovada pelo Moderador de Grupo';
$lang['Group_request'] = 'Foi feito um pedido para se juntar ao seu Grupo';
$lang['Group_approved'] = 'O seu pedido foi aceite';
--- 707,711 ----
$lang['Group_hidden_members'] = 'Este Grupo encontra-se invisível, não pode ver os seus membros';
$lang['No_pending_group_members'] = 'Este Grupo não possui membros pendentes';
! $lang['Group_joined'] = 'Você subscreveu com sucesso a este Grupo<br />Será notificado quando a sua subscripção for aprovada pelo Moderador de Grupo';
$lang['Group_request'] = 'Foi feito um pedido para se juntar ao seu Grupo';
$lang['Group_approved'] = 'O seu pedido foi aceite';
***************
*** 873,877 ****
$lang['This_posts_IP'] = 'IP para esta mensagem';
! $lang['Other_IP_this_user'] = 'Outros IP\'s que este utilizador usou para colocar mensagens';
$lang['Users_this_IP'] = 'Utilizadores a colocar mensagens a partir deste IP';
$lang['IP_info'] = 'Informação de IP';
--- 879,883 ----
$lang['This_posts_IP'] = 'IP para esta mensagem';
! $lang['Other_IP_this_user'] = 'Outros endereços de IP que este utilizador usou para colocar mensagens';
$lang['Users_this_IP'] = 'Utilizadores a colocar mensagens a partir deste IP';
$lang['IP_info'] = 'Informação de IP';
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 17:06:03
|
Update of /cvsroot/phpbb/phpBB2/language/lang_polish
In directory usw-pr-cvs1:/tmp/cvs-serv17703/language/lang_polish
Modified Files:
Tag: phpBB-2_0_0
lang_admin.php lang_main.php
Log Message:
Updates for 2.0.1
Index: lang_admin.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_polish/Attic/lang_admin.php,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -r1.4 -r1.4.2.1
*** lang_admin.php 2 Mar 2002 00:27:37 -0000 1.4
--- lang_admin.php 14 Jul 2002 17:06:00 -0000 1.4.2.1
***************
*** 537,540 ****
--- 537,541 ----
$lang['Rank_added'] = "Ranga zosta³a dodana";
$lang['Rank_removed'] = "Ranga zosta³a usuniêta";
+ $lang['No_update_ranks'] = "Ranga zosta³a usuniêta, jednak¿e konta u¿ytkowników, którym zosta³a przydzielona nie zosta³y zmienione. Bêdziesz musia³ rêcznie usun±æ rangê z tych kont";
$lang['Click_return_rankadmin'] = "Kliknij %sTutaj%s aby powróciæ do Administracji Rangami";
Index: lang_main.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_polish/Attic/lang_main.php,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -r1.9 -r1.9.2.1
*** lang_main.php 6 Mar 2002 00:36:23 -0000 1.9
--- lang_main.php 14 Jul 2002 17:06:00 -0000 1.9.2.1
***************
*** 109,113 ****
$lang['Board_disable'] = "Przepraszamy, ale to forum jest obecnie niedostêpne. Zapraszamy pó¼niej";
!
//
--- 109,113 ----
$lang['Board_disable'] = "Przepraszamy, ale to forum jest obecnie niedostêpne. Zapraszamy pó¼niej";
! $lang['Board_unavailable'] = 'Przepraszamy, ale forum jest obecnie niedostêpne. Spróbuj za kilka minut';
//
***************
*** 130,135 ****
$lang['Record_online_users'] = "Najwiêcej u¿ytkowników <b>%s</b> by³o obecnych %s"; // first %s = number of users, second %s is the date.
! $lang['Admin_online_color'] = "%sAdministrator%s";
! $lang['Mod_online_color'] = "%sModerator%s";
$lang['You_last_visit'] = "Ostatnio odwiedzi³e¶ nas %s"; // %s replaced by date/time
--- 130,137 ----
$lang['Record_online_users'] = "Najwiêcej u¿ytkowników <b>%s</b> by³o obecnych %s"; // first %s = number of users, second %s is the date.
! $lang['Legend'] = 'Legenda';
! $lang['Admin_online_color'] = "%sAdministrator%s";
! $lang['Mod_online_color'] = "%sModerator%s";
! $lang['User_online_color'] = '%sU¿ytkownik%s';
$lang['You_last_visit'] = "Ostatnio odwiedzi³e¶ nas %s"; // %s replaced by date/time
***************
*** 237,240 ****
--- 239,247 ----
$lang['No_topics_post_one'] = "Nie ma ¿adnych postów na tym forum<br />Kliknij na przycisk <b>Nowy Temat</b> aby co¶ napisaæ";
+ $lang['Stop_watching_forum'] = 'Przestañ ¶ledziæ to forum';
+ $lang['Start_watching_forum'] = 'Powiadom mnie o nowych postach na tym forum';
+ $lang['No_longer_watching_forum'] = 'Przesta³e¶ ¶ledziæ to forum';
+ $lang['You_are_watching_forum'] = 'Rozpocz±³e¶ ¶ledzenie tego forum';
+
//
***************
*** 328,331 ****
--- 335,340 ----
$lang['To_many_poll_options'] = "Poda³e¶ zbyt wiele opcji dla ankiety";
$lang['Post_has_no_poll'] = "Ten post nie ma ankiety";
+ $lang['Already_voted'] = 'Odda³e¶ ju¿ g³os w tej ankiecie';
+ $lang['No_vote_option'] = 'Musisz wybraæ opcjê podczas g³osowania';
$lang['Add_poll'] = "Dodaj Ankietê";
***************
*** 422,425 ****
--- 431,442 ----
$lang['You_new_pms'] = "Nowe prywatne wiadomo¶ci czekaj± na Ciebie w Skrzynce";
$lang['You_no_new_pm'] = "Nie ma dla Ciebie ¿adnych nowych prywatnych wiadomo¶ci";
+ $lang['Unread_message'] = 'Nowa wiadomo¶æ';
+ $lang['Read_message'] = 'Przeczytana wiadomo¶æ';
+
+ $lang['Read_pm'] = 'Odczytaj wiadomo¶æ';
+ $lang['Post_new_pm'] = 'Napisz wiadomo¶æ';
+ $lang['Post_reply_pm'] = 'Odpowiedz na wiadomo¶æ';
+ $lang['Post_quote_pm'] = 'Cytuj wiadomo¶æ';
+ $lang['Edit_pm'] = 'Zmieñ wiadomo¶æ';
$lang['Inbox'] = "Skrzynka";
***************
*** 604,607 ****
--- 621,625 ----
$lang['Account_active_admin'] = "Konto zosta³o aktywowane";
$lang['Reactivate'] = "Reaktywuj soje konto!";
+ $lang['Already_activated'] = 'Twoje konto zosta³o ju¿ aktywowane';
$lang['COPPA'] = "Twoje konto zosta³o utworzone ale musi jeszcze zostaæ zaakceptowane. Otrzymasz specjalny email z instrukcjami.";
***************
*** 888,891 ****
--- 906,910 ----
$lang['5.5'] = "GMT + 5.5 Godzin";
$lang['6'] = "GMT + 6 Godzin";
+ $lang['6.5'] = 'GMT + 6.5 Godziny';
$lang['7'] = "GMT + 7 Godzin";
$lang['8'] = "WST (Australia)";
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 17:05:23
|
Update of /cvsroot/phpbb/phpBB2/language/lang_portuguese_brazil
In directory usw-pr-cvs1:/tmp/cvs-serv17578/language/lang_portuguese_brazil
Modified Files:
Tag: phpBB-2_0_0
lang_admin.php lang_main.php
Log Message:
Various updates ...
Index: lang_admin.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_portuguese_brazil/Attic/lang_admin.php,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** lang_admin.php 13 May 2002 11:36:47 -0000 1.1.2.2
--- lang_admin.php 14 Jul 2002 17:05:20 -0000 1.1.2.3
***************
*** 11,17 ****
****************************************************************************/
! /****************************************************************************
* Traduzido por:
! * JuniorZ rs_...@ho... || http://www.phpbrasil.rg3.net
****************************************************************************/
--- 11,17 ----
****************************************************************************/
[...1487 lines suppressed...]
! $lang['Upgrade'] = 'Atualizar';
! $lang['Install_Method'] = 'Escolher o seu método de instalação';
! $lang['Install_No_Ext'] = 'A configuração de php no seu server não aceita o tipo de base de dados que escolheu';
! $lang['Install_No_PCRE'] = 'O phpBB2 requer o módulo para php \'Perl-Compatible Regular Expressions\' cuja configuração do seu php parece não aceitar!';
//
***************
*** 767,769 ****
// -------------------------------------------------
! ?>
--- 767,769 ----
// -------------------------------------------------
! ?>
\ No newline at end of file
Index: lang_main.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_portuguese_brazil/Attic/lang_main.php,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** lang_main.php 13 May 2002 11:36:47 -0000 1.1.2.2
--- lang_main.php 14 Jul 2002 17:05:20 -0000 1.1.2.3
***************
*** 13,17 ****
/****************************************************************************
* Traduzido por:
! * JuniorZ rs_...@ho... || http://www.phpbrasil.rg3.net
****************************************************************************/
--- 13,17 ----
/****************************************************************************
* Traduzido por:
! * JuniorZ rs_...@ho... || http://usuarios.lycos.es/suportephpbb
****************************************************************************/
[...2055 lines suppressed...]
// TELL A FRIEND
! $lang['Tell_Friend'] = 'Recomende a um Amigo.';
! $lang['Tell_Friend_Sender_User'] = 'Seu Nome:';
! $lang['Tell_Friend_Sender_Email'] = 'Seu Email:';
! $lang['Tell_Friend_Reciever_User'] = 'Nome do Amigo:';
! $lang['Tell_Friend_Reciever_Email'] = 'Email do Amigo:';
! $lang['Tell_Friend_Msg'] = 'Sua Mensagem:';
! $lang['Tell_Friend_Title'] = 'Recomende a um Amigo';
//
***************
*** 1042,1044 ****
// -------------------------------------------------
! ?>
--- 1055,1057 ----
// -------------------------------------------------
! ?>
\ No newline at end of file
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 17:02:37
|
Update of /cvsroot/phpbb/phpBB2/language/lang_hebrew
In directory usw-pr-cvs1:/tmp/cvs-serv16788/language/lang_hebrew
Modified Files:
Tag: phpBB-2_0_0
lang_admin.php lang_main.php
Added Files:
Tag: phpBB-2_0_0
lang_bbcode.php lang_faq.php
Log Message:
2.0.1 compatible I believe
--- NEW FILE ---
<?php
/***************************************************************************
* lang_bbcode.php [english]
* -------------------
* begin : Monday Apr 22, 2002
* copyright : (C) 2002 Gil Osher and the Chaotic Goat
* email : do...@rp...
*
* $Id: lang_bbcode.php,v 1.1.2.1 2002/07/14 17:02:34 psotfx Exp $
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
//
// To add an entry to your BBCode guide simply add a line to this file in this format:
// $faq[] = array("question", "answer");
// If you want to separate a section enter $faq[] = array("--","Block heading goes here if wanted");
// Links will be created automatically
//
// DO NOT forget the ; at the end of the line.
// Do NOT put double quotes (") in your BBCode guide entries, if you absolutely must then escape them ie. \"something\"
//
// The BBCode guide items will appear on the BBCode guide page in the same order they are listed in this file
//
// If just translating this file please do not alter the actual HTML unless absolutely necessary, thanks :)
//
// In addition please do not translate the colours referenced in relation to BBCode any section, if you do
// users browsing in your language may be confused to find they're BBCode doesn't work :D You can change
// references which are 'in-line' within the text though.
//
$faq[] = array("--","äéëøåú");
$faq[] = array("îä æä BBCode?", "BBCode äéðå äæðä îéåçãú ùì ÷åã HTML. àí àëï ðéúï ìäùúîù á BBCode áäåãòåú áôåøåí îåçìè òì-éãé äîðäì. áðåñó ðéúï ìëáåú àú ä BBCode áäåãòä áàîöòåú èåôñ ëúéáú ääåãòä. BBCode ìëùòöîå ãåîä ìñâðåï ùì HTML, äúâéí ðîöàéí áúåê ñåâøééí îøåáòåú [ å ] áðéâåã ì < å > åæä îöéò ùìéèä âãåìä éåúø òì àéê îùäå éøàä. ìôé äúáðéú áä àúä îùúîù úâìä ùäåñôú BBCode ìäåãòåúéê ðäééú ÷ìä éåúø òì-éãé îîù÷ ìçéõ îòì ääåãòä áèåôñ ääåãòä. àôéìå òí æä úåëì ìîöåà àú äîãøéê äæä éòéì.");
$faq[] = array("--","òéöåá è÷ñè");
$faq[] = array("àéê ìéöåø è÷ñèéí îåãâùéí, ðèåééí àå òí ÷å úçúé", "BBCode ëåìì úâéí äîàôùøéí ìùðåú àú òéöåá äè÷ñè ùìê áîäøä. æä îúáöò áãøëéí äáàåú: <ul><li>ëãé ìäãâéù ÷èò è÷ñè ùéí àåúå áúåê <b>[b][/b]</b>, ìãâåîä <br /><br /><b>[b]</b>ùìåí<b>[/b]</b><br /><br />éäôê ì <b>ùìåí</b></li><li>ëãé ìùéí ÷å úçúé <b>[u][/u]</b>, ìãåâîä:<br /><br /><b>[u]</b>áå÷ø èåá<b>[/u]</b><br /><br />éäôê ì <u>áå÷ø èåá</u></li><li>ëãé ìäèåú è÷ñè äùúîù á <b>[i][/i]</b>, ìãâåîä<br /><br />æä <b>[i]</b>ðäãø!<b>[/i]</b><br /><br />ééúï ìðå æä <i>ðäãø!</i></li></ul>");
$faq[] = array("àéê ìùðåú àú öáò äè÷ñè àå àú âåãìå", "ëãé ìùðåú àú öáò àå âåãì äè÷ñè ùìê ðéúï ìäùúîù áúâéí äáàéí. ùéí ìá ùäöåøä áä äôìè éåôéò úìåé áãôãôï åáîòøëú ùì äöåôéí: <ul><li>ùéðåé öáò äè÷ñè ðòùä òì-éãé ëìéàúå áúåê <b>[color=][/color]</b>. ðéúï ìöééï àå ùí öáò îæåää (áàðâìéú) (ìãåâîä: red, blue, yellow, åëå') àå ìçéìåôéï áîùåìù ä÷ñãöéîìé, ìãåâîä: #FFFFFF, #000000. ìãåâîä, ëãé ìéöåø è÷ñè àãåí ðéúï ìäùúîù á <br /><br /><b>[color=red]</b>ùìåí!<b>[/color]</b><br /><br />àå á<br /><br /><b>[color=#FF0000]</b>ùìåí!<b>[/color]</b><br /><br />ùðéäí ééúðå <span style=\"color:red\">ùìåí!</span></li><li>ùéðåé âåãì äè÷ñè îåùâ áãøê ãåîä òì-éãé ùéîåù á <b>[size=][/size]</b>. úâ æä úìåé áúáðéú áä àúä îùúîù àê äôåøîè äîåîìõ äéðå îñôø äîééöâ àú âåãì äè÷ñè áôé÷ñìéí, äîúçéì á 1 (ëì-ëê ÷èðä ùìà úøàä àú æä) òã 29 (âãåì îàåã). ìãåâîä:<br /><br /><b>[size=9]</b>÷èï<b>[/size]</b><br /><br />éäôê ì <span style=\"font-size:9px\">÷èï</span><br /><br />áðéâåã ì:<br /><br /><b>[size=24]</b>òð÷!<b>[/size]</b><br /><br />ùéäéä <span style=\"font-size:24px\">òð÷!</span></li></ul>");
$faq[] = array("äàí àðé éëåì ìùìá úâé òéöåá?", "ëï, ëîåáï ùàúä éëåì, ìãåâîä, ëãé ì÷áì àú úùåîú äìá ùì îéùäå ëúåá:<br /><br /><b>[size=18][color=red][b]</b>úñúëì òìé!<b>[/b][/color][/size]</b><br /><br />æä éçæéø <span style=\"color:red;font-size:18px\"><b>úñúëì òìé!</b></span><br /><br />ìîøåú ùàðçðå ìà îîìéöéí ìê ìëúåá äøáä è÷ñè ùðøàä ëê! æëåø ëé æä úìåé áê, äîôøñí ìååãà ùëì äúâéí ñâåøéí áöåøä ðëåðä. äãåâîä äáàä àéðä ðëåðä:<br /><br /><b>[b][u]</b>æä ìà ðëåï<b>[/b][/u]</b>");
$faq[] = array("--","öéèåè åäöâú è÷ñè îéåùø");
$faq[] = array("öéèåè è÷ñè áúâåáåú", "éùðï ùúé ãøëéí áäï ðéúï ìöèè è÷ñè, òí äôðéä àå áìòãéä.<ul><li>ëùàúä îùúîù áôåð÷öééú äöéèåè ëãé ìäâéá ìäåãòä áìåç àúä úùéí ìá ùúåëï ääåãòä îúååñó ìçìåï ääåãòä áúåê áìå÷ <b>[quote=\"\"][/quote]</b>. ùéèä æå îàôùøú ìê ìöèè òí ÷éùåø àãí àå ëì ãáø àçø ùáøöåðê ìäëðéñ! ìãåâîä, ëãé ìöèè ôéñú è÷ñè àùø àãåï áìåáé ëúá, ðëðéñ:<br /><br /><b>[quote=\"àãåï áìåáé\"]</b>äè÷ñè ùàãåï áìåáé ëúá éëðñ ëàï<b>[/quote]</b><br /><br />úåöàú äôìè úåñéó àåèåîèéú, àãåï áìåáé ëúá: ìôðé äè÷ñè äîîùé. æëåø ëé äéðê <b>çééá</b> ìëìåì âøùééí \"\" ñáéá äùí ùì îé ùàúä îöèè, äí ìà àåôöéä.</li><li>äùéèä ùäðéä äéà öéèåè òéååø ùì îùäå. ëãé ìäùúîù áæä ñâåø àú äè÷ñè áúâé <b>[quote][/quote]</b>. ëùúöôä áäåãòä æä ôùåè éøàä, öéèåè: ìôðé äè÷ñè òöîå.</li></ul>");
$faq[] = array("äöâú ÷åã àå îéãò îéåùø", "àí áøöåðê ìäöéâ ôéñú ÷åã àå ìîòùä ëì ãáø äîöøéê øåçá îéåùø, ìãåâîä áñåâ âåôï Courier éù ìëìåà àú äè÷ñè áúâéí <b>[code][/code]</b> ìãåâîä<br /><br /><b>[code]</b>echo \"This is some code\";<b>[/code]</b><br /><br />ëì äééùåøéí áúåê äúâéí <b>[code][/code]</b> éùîøå ëùúöôä áäí àçø-ëê.");
$faq[] = array("--","ééöåø øùéîåú");
$faq[] = array("éöéøú øùéîä ìà îñåãøú", "BBCode úåîê áùðé ñåâé øùéîåú, ìà îñåãøú åîñåãøú. äï æäåú ìî÷áéìé ä HTML ùìäï. øùéîä ìà îñåãøú úçæéø ëì ôøéè áøùéîä ùìê áøöó àçã àçøé äùðé ïúééöâ ëì àçã áúå îãâéù. ëãé ìéöåø øùéîä ìà îñåãøú äùúîù á <b>[list][/list]</b> åäâãø ëì ôøéè òì-éãé ùéîåù á <b>[*]</b>. ìãåâîä ëãé ìôøè àú äöáòéí äàäåáéí òìéê úåëì ìäùúîù á:<br /><br /><b>[list]</b><br /><b>[*]</b>àãåí<br /><b>[*]</b>ëçåì<br /><b>[*]</b>öäåá<br /><b>[/list]</b><br /><br />æä ééöø àú äøùéîä äáàä:<ul><li>àãåí</li><li>ëçåì</li><li>öäåá</li></ul>");
$faq[] = array("éöéøú øùéîä îñåãøú", "äñåâ äùðé ùì øùéîä, øùéîä îñåãøú ðåðú ìê ùìéèä òì îä ùéåöâ ìôðé ëì ôøéè. ëãé ìéöåø øùéîä îñåãøú îùúîùéí á <b>[list=1][/list]</b> ëãé ìéöåø øùéîä îñåãøú ìôé îñôøéí àå ìçéìåôéï <b>[list=a][/list]</b> ìøùéîä àìôáúéú (áàðâìéú). ëîå áøùéîä äìà îñåãøú ôøéèéí îééåöâéí òì-éãé ùéîåù á <b>[*]</b>. ìãåâîä:<br /><br /><b>[list=1]</b><br /><b>[*]</b>ììëú ìçðåú<br /><b>[*]</b>ì÷ðåú ùøú çãù<br /><b>[*]</b>ì÷ìì àú äùøú ëùäåà ðåôì<br /><b>[/list]</b><br /><br />ééöø àú äøùéîä äáàä:<ol type=\"1\"><li>ììëú ìçðåú</li><li>ì÷ðåú ùøú çãù</li><li>ì÷ìì àú äùøú ëùäåà ðåôì</li></ol>ëàùø áøùéîä àìôáúéú úùúîù á:<br /><br /><b>[list=a]</b><br /><b>[*]</b>äúùåáä äàôùøéú äøàùåðä<br /><b>[*]</b>äúùåáä äàôùøéú äùðéä<br /><b>[*]</b>äúùåáä äàôùøéú äùìéùéú<br /><b>[/list]</b><br /><br />ééúï<ol type=\"a\"><li>äúùåáä äàôùøéú äøàùåðä</li><li>äúùåáä äàôùøéú äùðéä</li><li>äúùåáä äàôùøéú äùìéùéú</li></ol>");
$faq[] = array("--", "ééöéøú ÷éùåøéí");
$faq[] = array("÷éùåø ìàúø àçø", "ä BBCode ùì phpBB úåîê áîñôø øá ùì ãøëéí ìéöåø ÷éùåøéí.<ul><li>äãøê äøàùåðä äéà ìäùúîù áúâéí <b>[url=][/url]</b>, îä ùðëúá àçøé ñéîï är the = éâøåí ìúåëï ùì äúâ ìäúðäâ ë÷éùåø. ìãåâîä, ÷éùåø ì phpBB.com éúáöò ëê:<br /><br /><b>[url=http://www.phpbb.com/]</b>á÷øå àú phpBB!<b>[/url]</b><br /><br />æä éöåø àú ä÷éùåø äáà, <a href=\"http://www.phpbb.com/\" target=\"_blank\">á÷øå àú phpBB!</a> àúä úùéí ìá ùä÷éùåø ðôúç áçìåï çãù ëãé ùäîùúîù éåëì ìäîùéê ìâìåù áôåøåîéí ëøöåðå.</li><li>àí áøöåðê ùäëúåáú òöîä úåöâ ë÷éùåø, ðéúï ìòùåú æàú á÷ìåú ëê:<br /><br /><b>[url]</b>http://www.phpbb.com/<b>[/url]</b><br /><br />æä éöåø àú ä÷éùåø äáà, <a href=\"http://www.phpbb.com/\" target=\"_blank\">http://www.phpbb.com/</a></li><li>áðåñó phpBB ãáø äð÷øà <i>÷éùåøéí ÷ñåîéí</i>, æä éäôåê ëì ëúåáú ì÷éùåø ììà öåøê ìöééï úâéí ëìùäí àå àôéìå http://. ìãåâîä, ëúéáú www.phpbb.com áúåê ääåãòä ùìê, ú÷ùø àåèåîèéú ì <a href=\"http://www.phpbb.com/\" target=\"_blank\">www.phpbb.com</a> áæîï ùöåôéí áäåãòä.</li><li>àåúå äãáø áãéå÷ ìâáé ëúåáåú ãåà\"ì, ðéúï ìöééï ëúåáú áàåôï îéåçã, ìãåâîä:<br /><br /><b>[email]</b>no...@do...<b>[/email]</b><br /><br />àùø éöåø <a href=\"emailto:no...@do...\">no...@do...</a> àå ùðéúï ìëúåá ø÷ no...@do... áäåãòä ùìê åæä àåèåîèéú éåîø áöôééä.</li></ul>ëîå ëì úâé ä BBCode ðéúï ìëìåà ÷éùåøéí îñáéá ìëì úâ àçø, ëãåâîú <b>[img][/img]</b> (òééï äòøê äáà), <b>[b][/b]</b>, åëå'. áðåâò ìòéöåá äúâéí æä úìåé áê ìååãà ùñãø äôúéçä åäñâéøä òå÷á, ìãåâîä:<br /><br /><b>[url=http://www.phpbb.com/][img]</b>http://www.phpbb.com/images/phplogo.gif<b>[/url][/img]</b><br /><br />æä <u>ìà</u> ðëåï åéëåì ìäåáéì ìîçé÷ú äåãòúê, àæ ùéí ìá.");
$faq[] = array("--", "äöâú úîåðåú áäåãòåú");
$faq[] = array("äåñôú úîåðä ìäåãòä", "ä BBCode ùì phpBB ëåìì úâ ëãé ìäåñéó úîåðåú ìäåãòåú ùìê. ùðé ãáøéí çùåáéí îàåã ìæëåø ëàùø îùúîùéí áúâ äæä; äøáä îùúîùéí ìà àåäáéí äøáä úîåðåú ùîåôéòåú áäåãòåú åùðéú äúîåðä ùáøöåðê ìäöéâ çééáú ìäéåú æîéðä òì äàéðèøðè (äéà àéððä éëåìä ìäéåú ÷ééîú ø÷ òì äîçùá ùìê ìãåâîä, àìà àí àúä îøéõ ùøú àéðèøðè!). àéï ëøâò ùåí ãøê ìùîåø úîåðåú î÷åîéåú á phpBB (ëì äðåùàéí äììå öôåééí ìäñúãø áäåöàä äáàä ùì phpBB). ëãé ìäöéâ úîåðä éù ìä÷éó àú äëúåáú äîëéìä àú äúîåðä áúâé <b>[img][/img]</b>. ìãåâîä:<br /><br /><b>[img]</b>http://www.phpbb.com/images/phplogo.gif<b>[/img]</b><br /><br />ëôé ùöåééï áçì÷ òì ÷éùåø ìàúø ðéúï ìä÷éó àú äúîåðä áúâéí <b>[url][/url]</b>, ìãåâîä: <br /><br /><b>[url=http://www.phpbb.com/][img]</b>http://www.phpbb.com/images/phplogo.gif<b>[/img][/url]</b><br /><br />éöåø:<br /><br /><a href=\"http://www.phpbb.com/\" target=\"_blank\"><img src=\"http://www.phpbb.com/images/phplogo.gif\" border=\"0\" alt=\"\" /></a><br />");
$faq[] = array("--", "òéðééðéí àçøéí");
$faq[] = array("àðé éëåì ìäåñéó úâéí îùìé?", "ìà, çåùùðé ùìà éùéøåú î phpBB 2.0. àðå øåöéí ìäöéò úâé BBCode îåúàîéí àéùéú ìâéøñä äáàä.");
//
// This ends the BBCode guide entries
//
?>
--- NEW FILE ---
<?php
/*****************************************************************************
* lang_faq.php [Hebrew]
*
----------------------------------------------------------------------------------------------------------------
* Begin : 06 / 04 / 02
* Copyright : (C) 2001 The phpBB Group
* Translation : Translated by Michael SHraibmaN (Gomp).
* Language : Hebrew
*
******************************************************************************
* This Program is free Software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either Version 2 of the License, or
* ( At Your Option ) Any Later Version.
******************************************************************************/
//
// To add an entry to your FAQ simply add a line to this file in this format:
// $faq[] = array("question", "answer");
// If you want to separate a section enter $faq[] = array("--","Block heading goes here if wanted");
// Links will be created automatically
//
// DO NOT forget the ; at the end of the line.
// Do NOT put double quotes (") in your FAQ entries, if you absolutely must then escape them ie. \"something\"
//
// The FAQ items will appear on the FAQ page in the same order they are listed in this file
//
$faq[] = array("--","äúçáøåú åäøùîä");
$faq[] = array("îãåò àðé ìà îöìéç ìäúçáø ìôåøåí?", "áùáéì ìäúçáø ìîòøëú
äôåøåîéí éù öåøê ìäéøùí ëçáø åì÷áì äåãòä ùäçùáåï ðåöø åäåà ôòéì. ëàùø ðåöø
çùáåï ìîùúîù äåà ðçùá îùúîù øùåí åéù áéãéå ùí îùúîù åñéñîä, áòæøú ùí äîùúîù
åäñéñîä àôùø ìäúçáø ìîòøëú äôåøåîéí åìùìåç äåãòåú åâí ìäðåú îàôùøåéåú ùåðåú
ðåñôåú ìçáøéí áìáã. àí àúä ìà îöìéç ìäúçáø ìîòøëú ìàçø ùðøùîú, çùáåðê äåôòì
åéù áéãê àú ùí äîùúîù ùìê åäñéñîä àæ òìéê ìáãå÷ ùëúáú àú ùí äîùúîù åäñéñîä
ðëåï, àí àúä áèåç ùùí äîùúîù åäñéñîä ðëåðéí àæ éëåì ìäéåú ùàúä
îâåøù îñéáä ëìùäé îäîòøëú òì-éãé îðäì îòøëú äôåøåîéí, áî÷øä ëæä òìéê ìéöåø
÷ùø òí îðäì äàúø ì÷áìú ôøèéí ðåñôéí.");
$faq[] = array("äàí àðé çééá ìäøùí ìôåøåí?", "àúä ìà çééá ìäøùí ìîòøëú
äôåøåîéí, àáì ääâãøåú ùì ùìéçú äåãòåú åäàôùøåéåú ùì àåøçéí åçáøéí áôåøåîéí
îåâãøåú ò''é îðäì äôåøåîéí , ëçáø (îùúîù øùåí) àúä ðäðä îàôùøåéåú øáåú
ùëàåøç (îùúîù ùàéðå øùåí) àúä àéðê éëåì ìäðåú îäí. çáøéí éëåìéí ìòøåê äåãòåú
ùì òöîí åìîçå÷ äåãòåú ùì òöîí, ìäùúúó á÷áåöåú çáøéí, ìùìåç äåãòåú ôøèéåú,
åìäðåú îòåã àôùøåéåú øáåú, ëàåøç àúä àéðê éëåì ìäðåú îîáçø äàôùøåéåú ùéù
ìîùúîù øùåí åäàôùøåéåú ùìê îåâáìåú åúìåéåú áîä ùäâãéø äîðäì ìîùúîùéí äàåøçéí,
éëåì ìäéååöø îöá ùäîðäì ÷áò ùàåøçéí ìà éëåìéí ìëúåá äåãòåú åìäâéá åäàôùøåú
äéçéãä ùì äàåøçéí äéà ø÷ ìöôåú áäåãòåú áî÷øä ëæä äîùúîù äàåøç îôñéã àú
äàôùøåú ìäúáèà áôåøåîéí åìëï äåà àéðå éëåì ì÷çú çì÷ ôòéì áîòøëú.<BR> îåîìõ
ìäéøùí îôðé ùúäìéê ääøùîä äåà úäìéê îäéø ùì ëîä ã÷åú åäåà áçéðí, àæ ìîä ìà?
æä îäø, æä çéðí åéù îâååï àôùøåéåú ëçáø.");
$faq[] = array("îãåò àðé îúðú÷ îäîòøëú áàåôï àåèåîèé?", "àí ìà áçøú áàôùøåú
ùì ëðéñä àåèåîèéú ìîòøëú äôåøåîéí áòú äáé÷åø áä, àæ ëì ôòí ùúäéä áîòøëú
äôåøåîéí úöèøê ìäúçáø îçãù ìîòøëú, àí ìà áçøú áàôùøåú ùì çéáåø àåèåîèé àæ
àçøé ëì éöéàä ùìê îäôåøåîéí úöèøê ìäúçáø ùåá. <BR> àúä îðåú÷ àåèåîèéú ëùàúä
éåöà îãôé äôåøåí àå îúðú÷ îäàéðèøðè. äðéúå÷ îúáöò áëãé ìàáèç àú çùáåðê åâí
ëãé ìà ìäòîéñ òì äúô÷åã ùì äùøú åùëì äîùúîùéí ùëï îçåáøéí áàåúä äòú, ëåúáéí
äåãòåú åðîöàéí áôåøåîéí éæëå ìîäéøåú ñáéøä åèåáä áæîï äâìéùä
áôåøåîéí.<BR><BR>ëãé ìäúçáø àåèåîèéú áëì áé÷åø áôåøåîéí òìéê ìñîï àú úéáú
äñéîåï ùì ääúçáøåú äàåèåîèéú áæîï ùàúä îúçáø ìçùáåï ùìê áîòøëú, äàôùøåú ùì
çéáåø àåèîèé àéðä îåîìöú ìîé ùîùúîù áîçùá áòáåãä àå ùéù ëîä îùúîùéí ìîçùá
àçã îôðé ùàæ ëì àçã éåëì ìäëðñ ìôåøåîéí åìëúåá áùîê.");
$faq[] = array("àéê àðé îçáéà àú îöá äçéáåø ùìé áîòøëú äôåøåîéí?", "àí
àéðê øåöä ùùàø äîá÷øéí áîòøëú äôåøåîéí éøàå äàí àúä îçåáø ìîòøëú àå ìà àæ
òìéê ìòøåê àú äàôùøåú äæàú áôøåôéì äîùúîù ùìê. àí úáçø ùùàø äîá÷øéí áôåøåîéí
ìà éëåìå ìøàåú àú îöá äçéáåø ùìê àæ ø÷ àúä åîðäì îòøëú äôåøåîéí úéøàå àú îöá
äçéáåø ùìê. <BR>ëàùø àúä îñúéø àú îöá äçéáåø ùìê àúä ðçùá ëîùúîù áìúé ðéøàä
(çáåé) åùàø äîùúîùéí ìà éëåìéí ìøàåú àú îöá äçéáåø ùìê.");
$faq[] = array("îä àðé òåùä àí ùëçúé àú ñéñîúé?", "áî÷øä ùì àåáãï äñéñîä
äàéùéú ùì äçùáåï ùìê òìéê ììëú ìòîåã ä- <i>äúçáøåú ìîòøëú äôåøåîéí</i>
åìáçåø áàôùøåú \"ùëçúé àú ñéñîúé\", ìò÷åá àçøé ääåøàåú åúåê æîï ÷öø äáòéä
úôúø.");
$faq[] = array("îãåò ìàçø ääøùîä àðé ìà îöìéç ìäúçáø ìîòøëú?", "àí àéðê
îöìéç ìäúçáø ìîòøëú äôåøåîéí ìàçø ääøùîä òìéê ìáãå÷ ÷åãí ëì ùëúáú àú ùí
äîùúîù åäñéñîä äðëåðéí ùìê. éù î÷øéí ùäçùáåï öøéê ì÷áì àéùåø ìàçø ääøùîä,
ðéúï ìàùø çùáåï ùì îùúîù ùðøùí áùúé ãøëéí, äãøê äøàùåðä äéà ò''é îðäì
äôåøåîéí áìáã åäãøê äùðéä äéà áàîöòåú ùìéçú ÷åã äôòìä ìãåàø äàì÷èøåðé ùöåééï
áúäìéê ääøùîä, áî÷øä ùáôåøåí æä îåôòìú äàôùøåú äùðéä àæ éëåì ìäéåú ùëúåáú äãåàø äàì÷èøåðé
ùöééðú àéðä ðëåðä åéù ìäøùí îçãù åìöééï ëúåáú ãåàø
àì÷èøåðé ú÷éðä åôòéìä. éùðå âí î÷øä ùáå çùáåï ìà ãåøù àéùåø, áî÷øä æä éëåìä
ìäéåú àôùøåú ðåñôú åäéà úìåéä ááçéøä ùì äîùúîù áòú ääøùîä, ìàçø äåøàåú
äùéîåù, ìîé ùáçø áàôùøåú ùäåà îñëéí ìúðàéí àê äåà îúçú ìâéì 13 ãøåùä äøùîä
îéåçãú åäéà îôåøèú ìîé ùáåçø áàôùøåú äæàú.<BR> áî÷øä ùì áòéä çåæøú éù ìôðåú
ìîðäì äôåøåîéí.");
$faq[] = array("ìà îöìéç ìäúçáø ìçùáåï àôéìå ùðøùîú ôòí?", "äñéáä äëé ðôåöä
ìëê ùîùúîù ìà îöìéç ìäúçáø ìçùáåðå äéà ùäîùúîù èåòä áùí äîùúîù ùìå àå áñéñîä
ùìå , äñéáä äéåúø ùëéçä äéà ùäîùúîù åäçùáåï ùìå ðîç÷å áéãé îðäì äôåøåí,
îùúîù åçùáåï äîùúîù áãøê ëìì ðîç÷éí ìàçø ùäîùúîù àéðå ëåúá ùåí äåãòåú áîùê
ú÷åôä àøåëä áôåøåîéí åìëï àéï èòí áçùáåï ôòéì ìîùúîù ùàéðå îùúúó áëìì. áî÷øä
ùàúä çåùá ùæå äàôùøåú äùðéä åìà ëúáú äåãòä áîùê æîï øá, öåø çùáåï çãù åäôòí
äùúãì ìëúåá åìäùúúó éåúø áôåøåîéí.");
$faq[] = array("--","äâãøåú åîàôééðéí ùì îùúîùéí áîòøëú");
$faq[] = array("àéê àðé éëåì ìùðåú àú ääâãøåú áçùáåï ùìé?", "áîéãä åàúä øùåí
ìîòøëú äôåøåîéí àæ ëì äôøèéí åääâãøåú ùì çùáåðê øùåîéí ááñéñ äðúåðéí ùì
äîòøëú, àúä éëåì ìâùú ìôøåôéì äîùúîù ùìê åìòøåê àåúå ò''é ìçéöä òì
ä÷éùåø ìôøåôéì äîùúîù ùîåôéò ìîòìä, îéãò æä ø÷ àúä éëåì ìòøåê áàîöòåú
äñéñîä åùí äîùúîù ùìê.");
$faq[] = array("àéê àðé îùðä àú äæîï ùîåöâ áôåøåîéí ìæîï ðëåï?", "ëì äæîðéí
ùîåöâéí áôåøåîéí äí ðëåðéí, àáì ëì îùúîù ùðøùí áåçø ìòîöå àú àæåø äæîï.
ëìåîø, ìëì îãéðä éù àæåø æîï îùìä åàúä öøéê ùàæåø äæîï ùéåöâ éäéä àéæåø
äæîï ùì äîãéðä ùáä àúä ðéîöà, ðéúï ìùðåú àú àæåø äæîï áôøåôéì äàéùé.
áøéøú äîçãì ùì àæåø äæîï äéà 2+ ùæä àæåø æîï éøåùìéí, àéæåø äæîï äæä îåôéò
ìëì äàåøçéí áôåøåîéí åâí ëáøéøú îçãì ìëì äðøùîéí äçãùéí, áîéãä åùéðúí àöìëí àú àæåø äæîï åàúí øåöéí ìçæåø ìàæåø
æîï éøåùìéí (éùøàì) àæ òìéëí ìáçåø áàôùøåú ùì àæåø æîï æîï éøåùìéí
ùäåà: <BR><u>GMT +2:00</u>.");
$faq[] = array("ìîä äæîï ùîåöâ àéðå ðëåï àôéìå ùàæåø äæîï ùîåâãø àöìé äåà
ðëåï?", "àí àúä áèåç ùäâãøú àæåø æîï ðëåï áôøåôéì ùìê åòãééï ìà îåöâ æîï
ðëåï àæ éúëï ùæä áâìì äùéðåé ùáéï äæîï áòåðåú äùðä äùåðåú , ëùéù îòáø áéï
ùòåï çåøó åùòåï ÷éõ àå ìäôê éù ùéðåé áùòä, äîòøëú ìà áðåéä ìùéðåé ëæä
åàéï áéëåìúä ìùðåú àú äæîï áäúàí ìòåðä åìùòåï ùì àåúä îãéðä.");
$faq[] = array("îãåò äùôä ùìé àéðä îåöâú áøùéîú äùôåú ùáäí úåîëú äîòøëú?",
"áî÷øä ùäùôä ùìê àéðä îåôéòä áøùéîú äùôåú áäí úåîëú îòøëú äôåøåîéí æä îôðé
ùîðäì îòøëú äôåøåîéí ìà äú÷éï úîéëä áùôä ùìê , àúä éëåì ìéöåø ÷ùø òí îðäì
äîòøëú åìá÷ù îîðå ìäú÷éï úîéëä áùôä ùìê.");
$faq[] = array("ëéöã àðé éëåì ìäöéâ úîåðä (ñîì àéùé) îúçú ìùí äîùúîù ùìé?",
"áòú ääøùîä ìîòøëú äôåøåîéí ðéúï ìáçåø ñéîìåï ùéåôéò îúçú ìùí
äîùúîù ëàùø úåöâ äåãòä ùì äîùúîù áôåøåîéí . àú äúîåðä ðéúï ìùðåú àå ìäåñéó
áôøåôéì äàéùé áäúàí ìãøëéí ùðéúï ìôòåì áàîöòåúí (ìäòìåú úîåðä, ì÷ùø ìúîåðä
åëãåîä....). <BR>ëùàø öåôéí áäåãòä ùì îùúîù éëåìéí ìäåôéò ùðé ñåâé úîåðåú ,
úîåðä ùì ãéøåâ åäúîåðä äàéùéú. äúîåðä àéùéú äéà äñéîìåï, éùðí îùúîùéí
ùéåâáìå åìà éëåìå ìäöéâ ñéîìåï (ääâáìä äéà ò''é îðäì äôåøåí), äñéîìåï
îåâáì áâåãì ä÷åáõ åáîéãåú ùìå åäåà öøéê ìäéåú îöåøó ìôé äëììéí ùîåôòéí ìéã
ùãä ääåñôä áòîåã äôøåôéì äàéùé.");
$faq[] = array("àéê àðé îùðä àú äãéøåâ ùìé áôåøåîéí?", "áîöéàåú ìà îîù ðéúï
ìîùúîùéí ìùðåú àú äãéøåâ ùìäí . äãéøåâ äåà è÷ñè åìôòîéí áöéøåó úîåðä ùîåöâ
îúçú ìùí äîùúîù ùì ùåìç ääåãòä. äè÷èñ åäúîåðä ðáçøéí ò''é îðäìé äôåøåîéí
åäãéøåâ áãøê ëìì îùúðä ìàçø ùîùúîù ùìç îñôø äåãòåú îñåééí, îðäìé äôåøåîéí
åîðäì äîòøëú éëåìéí ìäåñéó ìòöîí ãéøåâ îéåçã îùìäí ùéçåãé ø÷ ìäí.");
$faq[] = array("îãåò ëùàðé ìåçõ òì ùìéçú äåãòä áãåàø äàì÷èøåðé àðé îâéò
ìòîåã ääúçáøåú?", "ø÷ çáøéí øùåîéí ìîòøëú éëåìéí ìùìåç äåãòä áãåàø äàì÷èøåðé
áîéãä ùæä îåâãø òì ùìéçä áàîöòåú äùøú , ääâãøåú ð÷áòåú ò''é îðäì äôåøåí åìëï
äàôùøåú äæàú éëåìä âí ìà ìôòåì àöì çáøéí øùåîéí. àúä îåæîï ìäøùí àí àúä ìà
øùåí òãééï, ìäúçáø ìîòøëú åìðñåú ìùìåç äåãòä áàîöòåú äãåàø äàì÷èøåðé ãøê äùøú
(áîéãä åæä àôùøé åîåâãø ò''é îðäì äôåøåí).");
$faq[] = array("--","ùìéçä åòøéëä ùì äåãòåú");
$faq[] = array("ëéöã àðé éëåì ìùìåç äåãòä áðåùà çãù áôåøåí?", "àúä éëåì
ìùìåç äåãòä çãùä ò''é ìçéöä ôùåèä òì äëôúåø ùîåôéò ìîòìä áòîåã äôåøåí ùáçøú
ùëúåá òìéå <i>ðåùà çãù</i> , éëåì ìäéåú ùìà úåëì ìùìåç äåãòä áðåùà çãù
ìôðé ùúéøùí (æä úìåé áäâãøåú îðäì äîòøëú) , ëãé ìãòú éåúø òì îä àúä éëåì åìà
éëåì ìòùåú áôåøåí àúä éëåì ìöôåú áàôùøåéåú ùìê áúçúéú äòîåã. (éåôéòå
àôùøåéåú ùåðåú ìîé ùîçåáø ëîùúîù åàôùøåéåú ùåðåú ìîé ùìà îçåáø åðîöà
ëàåøç).");
$faq[] = array("àéê àðé òåøê àå îåç÷ àú ääåãòåú ùìé?", "ëîùúîù øùåí áîòøëú
äôåøåîéí àúä éëåì ìòøåê åìîçå÷ äåãòåú ùì òöîê, ëùàúä îçåáø ìîòøëú àúä éëåì
á÷ìåú ìâùú ìäåãòä äøöåéä åììçåõ òì äúîåðä òí ä÷éùåø ùìéã ääåãòä ùëúåá òìéä
òøéëä àå îçé÷ä. úåëì ìòøåê àú ääåãòä ùìê åìîçå÷ àåúä (äåãòä òí úâåáåú àéðä
éëåìä ìäîç÷) .");
$faq[] = array("àéê àðé îöøó çúéîä ìäåãòä ùìé?", "áëãé ìöøó çúéîä àéùéú
ìäåãòä ùìê òìéê ÷åãí ëì ìéöåø çúéîä áôøåôéì äîùúîù ùìê (áîéãä åìà éöøú
çúéîä), ìàçø ùéù ìê çúéîä àúä éëåì ìöøó ìëì äåãòä àú äçúéîä áàîöòåú ìçéöä
òì úéáú äáçéøä áòú ùìéçú ääåãòä.");
$faq[] = array("ëéöã ìéöåø ñ÷ø åìöøó àåúå ìäåãòä ùìé?", "÷åãí ëì òìéê ìãòú
ùìëì îùúîù éù îñôø îñåééí ùì ñ÷øéí ùäåà éëåì ìöøó ìäåãòåú ùìå (áäúàí ìäøùàåú
îðäì äîòøëú), ñ÷ø éëåì ìäéåú îöåøó ø÷ ìäåãòä áðåùà çãù åäåà ìà éëåì ìäéåú
îöåøó áúâåáåú , ëãé ìöøó ñ÷ø òìéê ìîìà àú äùãåú äøöåéåú ùì äñ÷ø ùîåôéòåú
ëàùø àúä ùåìç äåãòä áðåùà çãù. áñ÷ø ëì çáø éëåì ìáçåø ôòí àçú åàúä âí éëåì
ìáçåø ëîä éîéí äñ÷ø éäéä ôòéì åëîä àôùøåéåú (úùåáåú) éäéå ìùàìú äñ÷ø , ëãé
ìäåñéó úùåáä òìéê ìëúåá àåúä åììçåõ òì öøó úùåáä, çæåø òì äôòåìä áëãé ì÷áì
àú îñôø äúùåáåú äøöåé (îéðéîåí 2 úùåáåú). ìúùåîú ìáê: éúëï ëé ìà úäéä
äøùàä îöã îðäì äôåøåí ìöøó ñ÷øéí ìäåãòåú.");
$faq[] = array("àéê àðé òåøê àå îåç÷ ñ÷ø ùîöåøó ìäåãòä ùìé?", "ø÷ îùúîùéí
øùåîéí éëåìéí ìòøåê àú äñ÷ø ùîöåøó ìäåãòä ùìäí. ëãé ìòøåê àå ìîçå÷ ñ÷ø
ùîöåøó ìäåãòä ùàúä ëúáú ëðñ ìäåãòä ùàìéä îöåøó äñ÷ø åáçø ìòøåê àú ääåãòä. ø÷
àí àó àçã òãééï ìà äöáéò áñ÷ø àæ úåëì ìòøåê àå ìîçå÷ àåúå (æä áëãé ùìà úåëì
ìæééó àú úåöàåú äñ÷ø).");
$faq[] = array("îãåò àðé ìà îöìéç ìäúçáø ìôåøåí îñåééí?", "éùðí ôåøåîéí
ùñâåøéí ì÷áåöåú îùúîùéí îñåéîåú àå ìîðäìéí àå ìîùúîùéí øùåîéí åëãåîä... àí
àéðê ðëìì áîé ùîåøùä ìäëðñ ìôåøåí äîñåééí àæ àéï ìê âéùä åàúä îúá÷ù
ìòæåá.<BR> àí àúä çåùá ùîãåáø áú÷ìä èëðéú àæ öåø ÷ùø òí îðäì äôåøåí.");
$faq[] = array("ìîä àðé ìà éëåì ìäöáéò áñ÷øéí?", "ø÷ îùúîùéí øùåîéí éëåìéí
ìäöáéò áñ÷øéí (òì îðú ìà ì÷ì÷ì àú úåöàåú äñ÷øéí òí äöáòåú ëôåìåú), àí àúä
àåøç, àúä éëåì ìäøùí åàæ ú÷áì àú äàôùøåú ìäöáéò áëì ñ÷ø ôòí àçú, áîéãä
åàúä îùúîù øùåí åàéðê îöìéç ìäöáéò áôåøåîéí éëåì ìäéåú ùàúä îðåò îìäöáéò
ò''é îðäì äôåøåí.<BR> áîéãä åàúä çåùá ùàúä îðåò îìäöáéò öåø ÷ùø òí îðäì
äôåøåí ìôøèéí ðåñôéí.");
$faq[] = array("--","òéöåá äè÷ñè åñåâé äðåùàéí");
$faq[] = array("îä æä BBCode ?", "BBCode æä ÷åã îéåçã ùîùîù ëëìé ìòéöåá ùì
HTML. îùúîùéí á÷åã áòú ùìéçú äåãòä áôåøåîéí áëãé ìòöá àú ääåãòä áòæøú äëìéí
åäúâéí ùîùúîùéí áäí á-HTML , ðéúï ìäùúîù á÷åã ä- BBCode àí äåà ôòéì (äîöá
ùì ä÷åã: ôòéì àå ìà ôòéì ð÷áò ò''é îðäì äôåøåí), ëãé ììîåã éåúø òì ä÷åã
ðéúï ì÷øåà àú äîãøéê ùìå áòîåã ùìéçú ääåãòä áàîöòåú ìçéöä òì äëéúåá BBCode
ùîåôéò áöã ìéã äàôùøåéåú.");
$faq[] = array("äàí àðé éëåì ìäùúîù á-HTML ?", "áîéãä ùä-HTML ôòéì (ð÷áò
ò''é îðäì äôåøåí), ðéúï ìäùúîù áå áëúéáú ääåãòä áôåøåîéí, áîéãä ùäåà ôòéì
àæ ðéúï ìäùúîù ø÷ áîä ùäâãéø îðäì äîòøëú åæä áãøê ëìì ø÷ ëîä úâéí (ñáéø
ìäðéç ùàìå úâéí ëîå: <b> <pre> <p> åëãåîä...). äùéîåù
ðòùä áãøê ëìì ø÷ áàîöòåú úâéí áåããéí ùì HTML áëãé ùùåìç ääåãòä ìà éäøåñ àú
òéöåá ãôé äôåøåí åáëãé ùìà éòùä ãáøéí îæé÷éí àçøéí.");
$faq[] = array("îä äí ñîééìéí åàéê àðé îöøó àåúí ìäåãòä ùìé?", "ñîééìéí äí
úîåðåú âøàôéåú ÷èðåú ùîùîùåú ìäöéâ øâù àå àéæå úçåùä àå ðåùà ùøåöéí ìäáéò àå
ìäòáéø îñø áàîöòåú úîåðä ÷èðä åìà áàîöòåú îéìéí, ðéúï ììçåõ òì äñîééìé äøöåé
åäåà éåëðñ ìäåãòä, øùéîú äñîééìéí îåôéòä áòîåã ùìéçú ääåãòä áöã, ìéã âåó
ääåãòä. ëàùø ìåçöéí òì äñîééìé æä îöøó ÷åã ÷èï ëîå ìãåâîà: :D
(àçøé äùìéçä áî÷åí ä÷åã éåöâ ñîééìé öåç÷). ä÷åã ä÷èï äåà è÷ñè ùìàçø
ùìéçú ääåãòä éäôê ìúîåðä. ìëì úîåðä éù ÷åã ùäîòøëú îòáãú àåúå ìñîééìé.");
$faq[] = array("äàí àðé éëåì ìëìåì áäåãòåú ùàðé ùåìç âí úîåðåú?", "ðéúï ìöøó
úîåðåú áúåê ääåãòåú äðùìçåú áàîöòåú BBCode àå áàîöòåú HTML àí æä àôùøé.
äúîåðä úåöâ î÷éùåø ìëúåáú ùáä ðîöàú äúîåðä áøùú, àúä éëåì ì÷ùø ìúîåðä
ùðîöàú òì äùøú ùìê àå òì ùøúéí àçøéí áàúøéí àçøéí. òìéê ìëúåá îùäå áãåîä
ìæä: http://www.SomeSite.co.il/SomePicture.gif .<BR><BR>îëéååï ùàéï áîòøëú
àôùøåú ìäòìåú úîåðåú àæ æå äãøê äéçéãä ìöøó úîåðä áäåãòä.");
$faq[] = array("îä æàú äëøæä?", "äåãòú äëøæä äéà äåãòä ùîåôéòä áãó
äøàùåï ùì äôåøåí îòì ìëì ääåãòåú åúô÷éãä ìäöäéø (ìäëøéæ) òì äåãòä çùåáä ùì
îðäì äôåøåí àå îðäì äîòøëú, áãøê ëìì ø÷ îðäì äîòøëú åîðäì äôåøåí éëåìéí
ìôøñí äëøæåú åääåãòä îåãâùú åîåôéòä áàåôï áåìè ëàùø ðëðñéí ìôåøåí ùáå
îåôéòä ääëøæä. ääåãòä áãøê ëìì îëéìä çåîø çùåá ùëãàé ì÷øåà.");
$faq[] = array("îä æàú äåãòä ãáé÷ä?", "äåãòåú ãáé÷åú îåôéòåú ìàçø äëøæåú
(ìà áäëøç), äåãòåú ãáé÷åú îåôéòåú áøàù äôåøåí áàåôï áåìè åîëéìåú çåîø çùåá
ùðëúá ò''é îðäì äîòøëú àå ò''é îðäì äôåøåí, ääåãòåú äï äåãòåú çùåáåú
åîëéìåú îéãò çùåá ðåñó ùìà ðëðñ ìäëøæä.");
$faq[] = array("îäí ðåùàéí ðòåìéí?", "ðåùàéí ðòåìéí äí äåãòåú áðåùàéí ëìùäí
ùðñâøå (ððòìå) åìà ðéúï ìäöáéò áñ÷øéí ùìäí (àí éù) åìà ðéúï ìäâéá òìéäï.
ðåùàéí éëåìéí ìäéåú ðòåìéí îîñôø ñéáåú.");
$faq[] = array("--","ñåâé îùúîùéí å÷áåöåú îùúîùéí");
$faq[] = array("îäí îðäìé äôåøåîéí?", "ìîòøëú äôåøåîéí éù îéùäå ùàçøàé
ìîòøëú, ìú÷éðåúä åìôòéìåúä, æäå îðäì äôåøåí (ìôòîéí éù ëîä îðäìéí). äîðäì
ùåìè áëì äîéãò ùîåòáø áôåøåîéí åéù ìå àôùøåú ìîçå÷ åìäåñéó äåãòåú, ìâøù
îùúîùéí, ìéöåø ÷áåöåú îùúîùéí, ìàùø çùáåðåú, ìùðåú äâãøåú, åìùðåú ëì ãáø
áôåøåí.
ìîðäì äîòøëú éù âéùä åàôùøåú ìðäì ëì ãáø áëì äîòøëú.");
$faq[] = array("îäí àçøàéí?", "ìëì ôåøåí éù îéùäå ùàçøàé ìñãø áôåøåí
, äîéùäå äæä ð÷øà \"àçøàé\". äàçøàé îâéá åòåæø áôåøåí ùìå áðåñó, äåà âí éëåì
ìîçå÷ äåãòåú ìà ÷ùåøåú, ìòøåê äåãòåú, ìäòáéø äåãòåú åìôöì äåãòåú.
äàçøàé äåà äîô÷ç òì äôåøåí åäåà ðîöà úçú ôé÷åçå ùì îðäì äôåøåí.<br>
àçøàéí ð÷áòéí áéãé îðäì äôåøåîéí.");
$faq[] = array("îäí ÷áåöåú îùúîùéí?", "ìîùúîù øùåí áôåøåîéí éù àôùøåú ùì
äöèøôåú ì÷áåöú îùúîùéí (éåúø îàçú), áîéãä å÷ééîú ÷áåöú îùúîùéí, äîùúîù
øùàé ìá÷ù çáøåú ì÷áåöä îîðäì ä÷áåöä. ÷áåöú îùúîùéí î÷áìú àôùøåéåú îùìä,
ìãåâîà, éëåì ìäéåú ùø÷ äçáøéí ùì ÷áåöä îñåééîú éëåìéí ìäëðñ ìôåøåí ëìùäå
ùùàø äîùúîùéí ùìà á÷áåöä àéðí éëåìéí ìäëðñ àìéå.<br>÷áåöåú îùúîùéí ðåöøåú
ò''é îðäì äôåøåí åäîðäìéí âí ð÷áòéí òì éãí.");
$faq[] = array("àéê îöèøôéí ì÷áåöú îùúîùéí?", "àúä öøéê ìáçåø ÷áåöä åìäëðñ
àìéä, áîéãä åàôùø ìäöèøó ì÷áåöä éåôéò ÷éùåø ùì á÷ùä ìäöèøôåú ì÷áåöä, ìçõ
òì ä÷éùåø åçëä òã ùúöåøó ì÷áåöä, éùðí ÷áåöåú ñâåøåú ùàìéäï ìà ðéúï ìäöèøó,
éùðï ÷áåöåú áìúé ðøàåú (çáåéåú) åéù ÷áåöåú ôúåçåú ùðéúï ìäöèøó àìéäï.
<BR>àðà àì úùìç á÷ùåú ìäöèøôåú ì÷áåöä ìàçø ëîä ãçéåú îöã îðäì ä÷áåöä.");
$faq[] = array("àéê àðé éëåì ìéöåø ÷áåöú îùúîùéí îùìé åìðäì àåúä?", "ëãé
ìéöåø ÷áåöú îùúîùéí òìéê ìôðåú ìîðäì äôåøåí åìá÷ù îîðå ùéöåø áùáéìê
÷áåöä áùí åáäâãøåú ùàúä øåöä åùéöéá àåúê ëîðäì ä÷áåöä. òãéó ìéöåø
àú ä÷ùø äøàùåðé òí îðäì äôåøåí áàîöòåú äåãòä ôøèéú (àí æä àôùøé).");
$faq[] = array("--","äåãòåú ôøèéåú");
$faq[] = array("ìîä àðé ìà éëåì ìùìåç äåãòåú ôøèéåú?", "àí àéðê îöìéç ìùìåç
äåãòåú ôøèéåú æä îôðé ùàúä àéðê îùúîù øùåí áîòøëú, îôðé ùîðäì äîòøëú áéèì
àú ùìéçú ääåãòåú äôøèéåú áéï äîùúîùéí àå îôðé ùîðäì äîòøëú ÷áò ùàéðê éëåì
ìùìåç äåãòåú ôøèéåú ìîùúîùéí àçøéí. ëãé ìãòú òåã ôøèéí òì äñéáä ùäæëåú
ìùìéçú äåãòåú ôøèéåú ðùììä îîê öåø ÷ùø òí îðäì äôåøåí.");
$faq[] = array("îä ìòùåú àí àðé î÷áì äåãòåú ôøèéåú îèøéãåú?", "àí àúä î÷áì
äåãòåú ôøèéåú àùø îèøéãåú àåúê áëì ãøê ùäéà (äöôåú, ÷ììåú åëå'), öåø ÷ùø òí
îðäì äôåøåí, äñáø ìå àú äáòéä, åäåà éèôì ëøàåé áîùúîù äáòééúé, àí àëï
ääèøãä çîåøä.");
//
// This ends the FAQ entries
//
?>
Index: lang_admin.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_hebrew/Attic/lang_admin.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** lang_admin.php 19 Apr 2002 22:38:47 -0000 1.1.2.1
--- lang_admin.php 14 Jul 2002 17:02:34 -0000 1.1.2.2
***************
*** 1,906 ****
! <?php
!
! /**************************************************************************
! * lang_admin.php [Hebrew]
! *
! * begin : Sat Apr 16 2002
! * copyright : Itay Cishnvesky, Gil Osher and the Chaotic Goat
! * email : it...@ho...
! *
! * lang_admin.php [English] [original]
[...1766 lines suppressed...]
! $lang['NoFTP_config'] = 'ðñéåï äùìéçä ùì ä÷åáõ áàîöòåú FTP ðëùì. àðà äåøã àú
! ä÷åáõ åäëðñ àåúå áòöîê áàåôï éãðé.';
!
! $lang['Install'] = 'äú÷ï';
! $lang['Upgrade'] = 'ùãøâ';
!
!
! $lang['Install_Method'] = 'áçø àú ùéèú ääú÷ðä äøöåééä';
!
! $lang['Install_No_Ext'] = 'äâãøåú ä-php áùøú ùìê ìà úåîëåú áñåâ îàâø äîéãò
! áå áçøú';
!
! $lang['Install_No_PCRE'] = 'phpBB2 ãåøù Perl-Compatible Regular
! Expressions Module òáåø php, ëàùø äâãøåú ä-Php ùìê ëðøàä àéðï úåîëåú!';
!
! //
! // That's all Folks!
! // -------------------------------------------------
!
?>
Index: lang_main.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/language/lang_hebrew/Attic/lang_main.php,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** lang_main.php 17 May 2002 13:13:42 -0000 1.1.2.2
--- lang_main.php 14 Jul 2002 17:02:34 -0000 1.1.2.3
***************
*** 1,8 ****
<?php
/***************************************************************************
! * lang_main.php [English]
* -------------------
! * begin : Tue Apr 9 2002
! * copyright : (C) 2002 Gil Osher and the Chaotic Goat
* email : do...@rp...
*
--- 1,8 ----
<?php
[...1968 lines suppressed...]
//
! $lang['Information'] = 'îéãò';
! $lang['Critical_Information'] = 'îéãò ÷øéèé';
! $lang['General_Error'] = 'ùâéàä ëììéú';
! $lang['Critical_Error'] = 'ùâéàä ÷øéèéú';
! $lang['An_error_occured'] = 'àøàä ùâéàä';
! $lang['A_critical_error'] = 'àøàä ùâéàä ÷øéèéú';
//
***************
*** 991,993 ****
// -------------------------------------------------
! ?>
--- 1006,1008 ----
// -------------------------------------------------
! ?>
\ No newline at end of file
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 16:52:06
|
Update of /cvsroot/phpbb/phpBB2/templates/cache In directory usw-pr-cvs1:/tmp/cvs-serv14172/cache Log Message: Directory /cvsroot/phpbb/phpBB2/templates/cache added to the repository |
|
From: Paul S. O. <ps...@us...> - 2002-07-14 15:03:36
|
Update of /cvsroot/phpbb/phpBB2/language/lang_english In directory usw-pr-cvs1:/tmp/cvs-serv20240a/language/lang_english Modified Files: lang_admin.php Log Message: Various extra lines Index: lang_admin.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/language/lang_english/lang_admin.php,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -r1.36 -r1.37 *** lang_admin.php 6 Jul 2002 13:18:18 -0000 1.36 --- lang_admin.php 14 Jul 2002 15:03:23 -0000 1.37 *************** *** 23,26 **** --- 23,27 ---- // Format is same as lang_main // + $lang['Admin_title'] = 'Administration Panel'; $lang['No_admin'] = 'You are not authorised to administer this board'; $lang['No_frames'] = 'Sorry, your browser does not support frames'; *************** *** 30,33 **** --- 31,35 ---- // in the modules[][] arrays in each module file // + $lang['Return_to'] = 'Return to ...'; $lang['General'] = 'General Admin'; $lang['Users'] = 'User Admin'; *************** *** 53,56 **** --- 55,60 ---- $lang['DB_Restore'] = 'DB Restore'; $lang['Basic_Config'] = 'Basic Configuration'; + $lang['Administrators'] = 'Administrators'; + $lang['View_admin_log'] = 'Admin log'; // *************** *** 61,74 **** $lang['log_index_remind'] = 'Sent reminder email to <b>%s</b> inactive users from admin index'; ! $lang['log_mass_email'] = 'Sent mass email to %s'; ! ! $lang['log_template_edit'] = 'Edited template %s from template set %s'; ! $lang['log_imageset_edit'] = 'Edited imageset %s'; ! $lang['log_style_edit'] = 'Edited style %s'; ! $lang['log_theme_edit'] = 'Edited theme %s'; $lang['log_db_backup'] = 'Database backup'; $lang['log_db_restore'] = 'Database restore'; ! $lang['log_search_index'] = 'Re-indexed search system %s'; // --- 65,94 ---- $lang['log_index_remind'] = 'Sent reminder email to <b>%s</b> inactive users from admin index'; ! $lang['log_mass_email'] = 'Sent mass email to <b>%s</b>'; ! $lang['log_delete_word'] = 'Deleted word censor'; ! $lang['log_edit_word'] = 'Edited word censor <b>%s</b>'; ! $lang['log_add_word'] = 'Added word censor <b>%s</b>'; ! ! $lang['log_template_edit'] = 'Edited template <b>%s</b> from template set <b>%s</b>'; ! $lang['log_imageset_edit'] = 'Edited imageset <b>%s</b>'; ! $lang['log_style_edit'] = 'Edited style <b>%s</b>'; ! $lang['log_theme_edit'] = 'Edited theme <b>%s</b>'; $lang['log_db_backup'] = 'Database backup'; $lang['log_db_restore'] = 'Database restore'; ! $lang['log_search_index'] = 'Re-indexed search system [ <b>%s</b> ]'; ! ! $lang['log_prune'] = 'Pruned forum <b>%s</b>'; ! ! // ! // View log ! // ! $lang['Admin_log_explain'] = 'This lists all the actions carried out by board administrators. You can sort by username, date, IP or action. If you have appropriate permissions you can also clear individual operations or the log as a whole.'; ! $lang['Display_log'] = 'Display entries from previous'; ! $lang['All_Entries'] = 'All entries'; ! $lang['Sort_ip'] = 'IP address'; ! $lang['Sort_date'] = 'Date'; ! $lang['Sort_action'] = 'Log action'; ! $lang['No_entries'] = 'No log entries for this period'; // *************** *** 105,111 **** $lang['Inactive_users'] = 'Inactive Users'; $lang['Inactive_users_explain'] = 'This is a list of users who have registered but whos accounts are inactive. You can activate, delete or remind (by sending an email) these users if you wish.'; $lang['Admin_log'] = 'Logged administrator actions'; ! $lang['Admin_log_explain'] = 'This gives an overview of the last few actions carried out by board moderators. The username, IP, time and action are all listed. A full copy of the log can be viewed from the appropriate menu item to the left'; $lang['IP'] = 'User IP'; $lang['Action'] = 'Logged action'; --- 125,132 ---- $lang['Inactive_users'] = 'Inactive Users'; $lang['Inactive_users_explain'] = 'This is a list of users who have registered but whos accounts are inactive. You can activate, delete or remind (by sending an email) these users if you wish.'; + $lang['No_inactive_users'] = 'No inactive users'; $lang['Admin_log'] = 'Logged administrator actions'; ! $lang['Admin_log_index_explain'] = 'This gives an overview of the last few actions carried out by board administrators. The username, IP, time and action are all listed. A full copy of the log can be viewed from the appropriate menu item to the left'; $lang['IP'] = 'User IP'; $lang['Action'] = 'Logged action'; *************** *** 145,149 **** // $lang['Permissions'] = 'Permissions'; ! $lang['Permissions_explain'] = 'Here you can alter which users and groups can access which forums. You can also set a default usergroup for a forum. Permissions can be set for individual operations such as; reading, posting, voting, etc. This page only applies to forum permissions (including moderators), to assign administrator privileges please use the appropriate page (see left hand side menu).'; $lang['Select_a_User'] = 'Select a User'; --- 166,197 ---- // $lang['Permissions'] = 'Permissions'; ! $lang['Permissions_explain'] = 'Here you can alter which users and groups can access which forums. You can also set a default usergroup for a forum. Permissions can be set for individual operations such as; reading, posting, voting, etc. This page only applies to forum permissions. To assign moderators or define administrators please use the appropriate page (see left hand side menu).'; ! ! $lang['Moderators'] = 'Moderators'; ! $lang['Moderators_explain'] = 'Here you can assign users and groups as forum moderators. You can give users or groups individual access to certain moderator functions as you set fit. Moderators have additional power in a given forum and by default can post and reply even when a forum or topic is locked.'; ! ! $lang['Administrators_explain'] = 'Here you can assign administrator rights to users or groups. All users with admin permissions can view the administration panel. However you can limit users or groups to only certain functions, these are; forum, user, group, post, banning, permissions, emailing, backup, search re-indexing, styles addition and editing and general configuration.'; ! ! $lang['Admin_group'] = 'Administrators'; ! $lang['Reg_group'] = 'All registered'; ! ! $lang['Allowed_users'] = 'Allowed users'; ! $lang['Disallowed_users'] = 'Disallowed users'; ! $lang['Allowed_groups'] = 'Allowed groups'; ! $lang['Disallowed_groups'] = 'Disallowed groups'; ! ! $lang['Advanced'] = 'Advanced'; ! ! $lang['acl_admin_general'] = 'Can admin general settings'; ! $lang['acl_admin_user'] = 'Can admin users'; ! $lang['acl_admin_group'] = 'Can admin groups'; ! $lang['acl_admin_forum'] = 'Can admin forums'; ! $lang['acl_admin_post'] = 'Can admin posts'; ! $lang['acl_admin_ban'] = 'Can admin bans'; ! $lang['acl_admin_auth'] = 'Can admin permissions'; ! $lang['acl_admin_email'] = 'Can admin email'; ! $lang['acl_admin_styles'] = 'Can admin styles'; ! $lang['acl_admin_backup'] = 'Can admin backups'; ! $lang['acl_admin_clearlogs'] = 'Can clear admin logs'; $lang['Select_a_User'] = 'Select a User'; |
Update of /cvsroot/phpbb/phpBB2/imagesets/subSilver/ratings
In directory usw-pr-cvs1:/tmp/cvs-serv18706/imagesets/subSilver/ratings
Added Files:
-1.gif -2.gif -3.gif -4.gif -5.gif 0.gif 1.gif 2.gif 3.gif
4.gif 5.gif
Log Message:
More images ... remember my 'nicked' comment previously ... applies here too ...
--- NEW FILE ---
GIF89a-
áB
B4¡4L `
-\Á
T<\^z
Ït.xÂéÔÐ>P£ÙøØxµ`Áa6aǼPpµÐ
1´¥ÓiÉ%]àõ%ip
0$ðA\5°p$XÞO0BTWUaPÖH2|@\ À)ÐáN=IØyrå', À%ôB$pÏ
¥&%Ð$
--- NEW FILE ---
GIF89a-
!V<¨Ü~.sÑt.xÂêÖ×ýôÀ
54PÃ\Éf¬÷P`ÕwÕð
--- NEW FILE ---
GIF89a-
]R©«QGúx±à
H8$¸GIôòbFwÞàú5 Ô
dG[0b\8AÆÀ =dX0 c¡æpP#Eu{F£E È-÷h¹|O°"º#´¥A£tÀ= `à
ÅJå*0C þ49:±iÀGP
"³=lý·#&Gp\ýòä+`!ëãê¾m ÓjwÁkÉ`°`6Äf¼)@ck
$\uÙtÝ
8éÄSfD*ÒB:u+0 @ /T(Ò-$~ þ4Ð(3
--- NEW FILE ---
GIF89a-
@@0¡I?}ZÌ"dhÐá.z¹ùcGd0T)teH¥°FéãÅ>xH !ò¦ª;p¨8J¢çÉ?ä atç
¯?IHàQãAÏ©oãâÀ#Æ
´T(Ã$ãµØ#)"ðéîâÆ-ZÐY· ߣ%ì>i2Âð"®ºqÔ*Nð@ÀÀ
ÜxQ 0àN<ù$`[v¹EHB
PA ÕA
dPÃB\ÞuÑx+Ä
DÁ9tª_ù CO?
--- NEW FILE ---
GIF89a-
@P0¡I?}Zä¡$jhð¡KHEBÄGj0T)teH¥°Æ89DÆCHX¢Ä&Ϊ>v°8j¢çÉ?ð0at§¯?MHã[©7«îX<Æ
´TXÃ$ãµ(-v,9üÖGÜaÀ@¡³nA¾GOØ|Òd#ZõÇ7h¨NAx¨¡p¤À^f¢[·TM3ñ
$¸ {¥Åw
ä@'8éÄAÕã]õPÔQ$´À
--- NEW FILE ---
GIF89a-
¸ú,Ø!§Kë"NPÉÂ
*^(Ы®
-,¡À
Õ@jõi1E:9 ´{.D¹AK>
°=y·wrå, @%d @A Z
·¢\'-& ðÀ&DZ
*TIu±ù^*ôR@
--- NEW FILE ---
GIF89a-
*®è #*fXÕQ®x°¢Æ$¸ú,X"§
Kk#N&`IÃ*^(Ðk®
-¬Õ@jõi1F:I ´k¡¸å-y
QÎÉâ,h`àÀJªr"] sº
/ÌaE¦
,l@6½çA/Xà
|ààH0´¥jÜ¥áN0À'ÒÙÕð"ÄEÃ
,Ø {çåWUuPVI2à@
\°ÁPª'=¨ZÆÐ=
--- NEW FILE ---
GIF89a-
.¾Á #*fXÕQ¾ð"Ç
(¸ú,"§K«£N*hÃ
*^(Ðk®
-ìÎ-AÆ
µú´X#Å(ÚÕp ÁÓP.Æc!Ô¦ä`ð B
H]àO&H +Y®C
PÀÂ öñ\Ò
FÂPÉàÁV&ÝØä
áÐ| CDÖ`ÃId"&p&TCO"
--- NEW FILE ---
GIF89a-
H¨pá&Wæûs¨,T¬íx®C
HxÑ h CòÑ\εUAF%$ðu?à@BpV&¥>øp PÂ~i¹'ÑX~N(R=
--- NEW FILE ---
GIF89a-
0 `:91«Ï4r °¤È»Eàl@b(9ã$*^(Ðë*®
mÂ
0`vlÙ#zØ0R«O@hÐ9¡Þ&TÙ/`²1q#·)¹b²Ã
,dà0
5s`1^ÀÀô®Ã"
<heÒ[. \,t`
qÉAt ^rê]BBôdW@
--- NEW FILE ---
GIF89a-
8p£d!(<RÃCG"U&Ô:°$ª(X°RB,Á£«Ï=rºèЩݮIpJÐ!A±Ì0
@ì O9¥apAå¸ AÞ5a/@C[ô_ÊgD
&¼04Ú'QébP^úÐ@KôdR@
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:56:04
|
Update of /cvsroot/phpbb/phpBB2/images/icons In directory usw-pr-cvs1:/tmp/cvs-serv18282/icons Log Message: Directory /cvsroot/phpbb/phpBB2/images/icons added to the repository |
Update of /cvsroot/phpbb/phpBB2/templates/subSilver In directory usw-pr-cvs1:/tmp/cvs-serv17690/templates/subSilver Removed Files: agreement.tpl bbcode.tpl confirm_body.tpl error_body.tpl faq_body.tpl index_body.tpl install.tpl jumpbox.tpl login_body.tpl memberlist_body.tpl message_body.tpl overall_footer.tpl overall_header.tpl posting_body.tpl posting_poll_body.tpl posting_preview.tpl posting_smilies.tpl posting_topic_review.tpl profile_add_body.tpl profile_view_body.tpl search_body.tpl search_username.tpl simple_footer.tpl simple_header.tpl subSilver.cfg theme_info.cfg viewforum_body.tpl viewonline_body.tpl viewtopic_body.tpl viewtopic_poll_ballot.tpl viewtopic_poll_result.tpl Log Message: Name changes, removal of .cfg --- agreement.tpl DELETED --- --- bbcode.tpl DELETED --- --- confirm_body.tpl DELETED --- --- error_body.tpl DELETED --- --- faq_body.tpl DELETED --- --- index_body.tpl DELETED --- --- install.tpl DELETED --- --- jumpbox.tpl DELETED --- --- login_body.tpl DELETED --- --- memberlist_body.tpl DELETED --- --- message_body.tpl DELETED --- --- overall_footer.tpl DELETED --- --- overall_header.tpl DELETED --- --- posting_body.tpl DELETED --- --- posting_poll_body.tpl DELETED --- --- posting_preview.tpl DELETED --- --- posting_smilies.tpl DELETED --- --- posting_topic_review.tpl DELETED --- --- profile_add_body.tpl DELETED --- --- profile_view_body.tpl DELETED --- --- search_body.tpl DELETED --- --- search_username.tpl DELETED --- --- simple_footer.tpl DELETED --- --- simple_header.tpl DELETED --- --- subSilver.cfg DELETED --- --- theme_info.cfg DELETED --- --- viewforum_body.tpl DELETED --- --- viewonline_body.tpl DELETED --- --- viewtopic_body.tpl DELETED --- --- viewtopic_poll_ballot.tpl DELETED --- --- viewtopic_poll_result.tpl DELETED --- |
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv17328/templates/subSilver
Modified Files:
subSilver.css
Added Files:
agreement.html bbcode.html confirm_body.html error_body.html
faq_body.html index_body.html jumpbox.html login_body.html
memberlist_body.html message_body.html overall_footer.html
overall_header.html posting_body.html posting_poll_body.html
posting_preview.html posting_smilies.html
posting_topic_review.html profile_add_body.html
profile_view_body.html search_body.html search_username.html
simple_footer.html simple_header.html viewforum_body.html
viewonline_body.html viewtopic_body.html
Log Message:
Name change to .html from .tpl as per requests (to ease local editing ... for those who can't search for .tpl ... ;) ), various updates to account for conditionals in templating engine, etc.
--- NEW FILE ---
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a></span></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<th class="thHead" height="25" valign="middle"><span class="tableTitle">{SITENAME} - {REGISTRATION}</span></th>
</tr>
<tr>
<td class="row1" align="center"><table width="80%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td><span class="genmed"><br />{AGREEMENT}<br /><br /><br /><div align="center"><a href="{U_AGREE_OVER13}" class="genmed">{AGREE_OVER_13}</a><br /><br /><a href="{U_AGREE_UNDER13}" class="genmed">{AGREE_UNDER_13}</a><br /><br /><a href="{U_INDEX}" class="genmed">{DO_NOT_AGREE}</a></div><br /></span></td>
</tr>
</table></td>
</tr>
</table>
--- NEW FILE ---
<!-- BEGIN ulist_open --><ul><!-- END ulist_open -->
<!-- BEGIN ulist_close --></ul><!-- END ulist_close -->
<!-- BEGIN olist_open --><ol type="{LIST_TYPE}"><!-- END olist_open -->
<!-- BEGIN olist_close --></ol><!-- END olist_close -->
<!-- BEGIN listitem --><li><!-- END listitem -->
<!-- BEGIN quote_username_open --></span>
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td><span class="genmed"><b>{USERNAME} {L_WROTE}:</b></span></td>
</tr>
<tr>
<td class="quote"><!-- END quote_username_open -->
<!-- BEGIN quote_open --></span>
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td><span class="genmed"><b>{L_QUOTE}:</b></span></td>
</tr>
<tr>
<td class="quote"><!-- END quote_open -->
<!-- BEGIN quote_close --></td>
</tr>
</table>
<span class="postbody"><!-- END quote_close -->
<!-- BEGIN code_open --></span>
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td><span class="genmed"><b>{L_CODE}:</b></span></td>
</tr>
<tr>
<td class="code"><!-- END code_open -->
<!-- BEGIN code_close --></td>
</tr>
</table>
<span class="postbody"><!-- END code_close -->
<!-- BEGIN b_open --><span style="font-weight: bold"><!-- END b_open -->
<!-- BEGIN b_close --></span><!-- END b_close -->
<!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open -->
<!-- BEGIN u_close --></span><!-- END u_close -->
<!-- BEGIN i_open --><span style="font-style: italic"><!-- END i_open -->
<!-- BEGIN i_close --></span><!-- END i_close -->
<!-- BEGIN color_open --><span style="color: {COLOR}"><!-- END color_open -->
<!-- BEGIN color_close --></span><!-- END color_close -->
<!-- BEGIN size_open --><span style="font-size: {SIZE}px; line-height: normal"><!-- END size_open -->
<!-- BEGIN size_close --></span><!-- END size_close -->
<!-- BEGIN img --><img src="{URL}" border="0" /><!-- END img -->
<!-- BEGIN url --><a href="{URL}" target="_blank" class="postlink">{DESCRIPTION}</a><!-- END url -->
<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</A><!-- END email -->
--- NEW FILE ---
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td class="nav" align="left"><a class="nav" href="{U_INDEX}">{L_INDEX}</a></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<th class="thHead" height="25" valign="middle"><span class="tableTitle">{MESSAGE_TITLE}</span></th>
</tr>
<tr>
<td class="row1" align="center"><form action="{S_CONFIRM_ACTION}" method="post"><span class="gen"><br />{MESSAGE_TEXT}<br /><br />{S_HIDDEN_FIELDS}<input type="submit" name="confirm" value="{L_YES}" class="mainoption" /> <input type="submit" name="cancel" value="{L_NO}" class="liteoption" /></span></form></td>
</tr>
</table>
<br clear="all" />
--- NEW FILE ---
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
<tr>
<td><table width="100%" cellspacing="0" cellpadding="1" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><span class="error">{ERROR_MESSAGE}</span></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<br clear="all" />
--- NEW FILE ---
<!-- INCLUDE overall_header.html -->
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th class="thHead">{L_FAQ_TITLE}</th>
</tr>
<tr>
<td class="row1">
<!-- BEGIN faq_block_link -->
<span class="gen"><b>{faq_block_link.BLOCK_TITLE}</b></span><br />
<!-- BEGIN faq_row_link -->
<span class="gen"><a href="{faq_block_link.faq_row_link.U_FAQ_LINK}" class="postlink">{faq_block_link.faq_row_link.FAQ_LINK}</a></span><br />
<!-- END faq_row_link -->
<br />
<!-- END faq_block_link -->
</td>
</tr>
<tr>
<td class="catBottom" height="28"> </td>
</tr>
</table>
<br clear="all" />
<!-- BEGIN faq_block -->
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="catHead" height="28" align="center"><span class="cattitle">{faq_block.BLOCK_TITLE}</span></td>
</tr>
<!-- BEGIN faq_row -->
<tr>
<td class="{faq_block.faq_row.ROW_CLASS}" align="left" valign="top"><span class="postbody"><a name="{faq_block.faq_row.U_FAQ_ID}"></a><b>{faq_block.faq_row.FAQ_QUESTION}</b></span><br /><span class="postbody">{faq_block.faq_row.FAQ_ANSWER}<br /><a class="postlink" href="#Top">{L_BACK_TO_TOP}</a></span></td>
</tr>
<tr>
<td class="spaceRow" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END faq_row -->
</table>
<br clear="all" />
<!-- END faq_block -->
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><br /><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>
<!-- INCLUDE overall_footer.html -->
--- NEW FILE ---
<!-- INCLUDE overall_header.html -->
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td width="100%" align="left" valign="bottom"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" valign="bottom"><p><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span></p><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
<td align="right" class="gensmall" valign="bottom"><!-- IF S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /><!-- ENDIF --><a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br /><br /><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<br /><!-- ENDIF -->{CURRENT_TIME}</td>
</tr>
</table></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="2" border="0">
<tr>
<th class="thCornerL" colspan="2" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th class="thTop" width="50" nowrap="nowrap"> {L_TOPICS} </th>
<th class="thTop" width="50" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" width="50" height="50" align="center" valign="middle">{catrow.forumrow.FORUM_FOLDER_IMG}</td>
<td class="row1" width="100%" height="50"><span class="forumlink"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /></span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
<!-- BEGINELSE -->
<tr>
<td class="row1" colspan="5" height="28" align="center"><span class="gen">{L_NO_FORUMS}</span></td>
</tr>
<!-- END catrow -->
</table>
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<br clear="all" />
<table class="forumline" width="100%" cellspacing="1" cellpadding="2" border="0">
<tr>
<td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
</tr>
<tr>
<td class="row1" width="46" rowspan="2" align="center" valign="middle"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>
<table width="100%" cellspacing="1" cellpadding="1" border="0">
<tr>
<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
<!-- IF not S_USER_LOGGED_IN -->
<form method="post" action="{S_LOGIN_ACTION}"><table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td class="catHead" height="28"><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
</tr>
<tr>
<td class="row1" height="28" align="center" valign="middle"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" /> {L_PASSWORD}: <input class="post" type="password" name="password" size="10" /> {L_AUTO_LOGIN} <input class="text" type="checkbox" name="autologin" /> <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /></span></td>
</tr>
</table></form>
<!-- ENDIF -->
<br clear="all" />
<table cellspacing="3" cellpadding="0" border="0" align="center">
<tr>
<td width="20" align="center">{FORUM_NEW_IMG}</td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center">{FORUM_IMG}</td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
<!-- INCLUDE overall_footer.html -->
--- NEW FILE ---
<form method="get" name="jumpbox" action="{S_JUMPBOX_ACTION}" onSubmit="if(document.jumpbox.f.value == -1){return false;}"><table cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap="nowrap"><span class="gensmall">{L_JUMP_TO}: {S_JUMPBOX_SELECT} <input type="submit" value="{L_GO}" class="liteoption" /></span></td>
</tr>
</table></form>
--- NEW FILE ---
<!-- INCLUDE overall_header.html -->
<form action="{S_LOGIN_ACTION}" method="post">
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
</tr>
</table>
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th height="25" class="thHead" nowrap="nowrap">{L_ENTER_PASSWORD}</th>
</tr>
<tr>
<td class="row1"><table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr>
<td colspan="2" align="center"> </td>
</tr>
<tr>
<td width="45%" align="right"><span class="gen">{L_USERNAME}:</span></td>
<td>
<input type="text" name="username" size="25" maxlength="40" value="{USERNAME}" />
</td>
</tr>
<tr>
<td align="right"><span class="gen">{L_PASSWORD}:</span></td>
<td>
<input type="password" name="password" size="25" maxlength="25" />
</td>
</tr>
<tr align="center">
<td colspan="2"><span class="gen">{L_AUTO_LOGIN}: <input type="checkbox" name="autologin" /></span></td>
</tr>
<tr align="center">
<td colspan="2">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="mainoption" value="{L_LOGIN}" /></td>
</tr>
<tr align="center">
<td colspan="2"><span class="gensmall"><a href="{U_SEND_PASSWORD}" class="gensmall">{L_SEND_PASSWORD}</a></span></td>
</tr>
</table></td>
</tr>
</table>
</form>
<!-- INCLUDE overall_footer.html -->
--- NEW FILE ---
<!-- INCLUDE overall_header.html -->
<form method="post" action="{S_MODE_ACTION}"><table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
<td align="right" nowrap="nowrap"><span class="genmed">{L_SELECT_SORT_METHOD}: {S_MODE_SELECT} {L_ORDER} {S_ORDER_SELECT} <input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" /></span></td>
</tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th height="25" class="thCornerL" nowrap="nowrap">#</th>
<th class="thTop" nowrap="nowrap"> </th>
<th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
<th class="thTop" nowrap="nowrap">{L_EMAIL}</th>
<th class="thTop" nowrap="nowrap">{L_FROM}</th>
<th class="thTop" nowrap="nowrap">{L_JOINED}</th>
<th class="thTop" nowrap="nowrap">{L_POSTS}</th>
<th class="thCornerR" nowrap="nowrap">{L_WEBSITE}</th>
</tr>
<!-- BEGIN memberrow -->
<!-- IF memberrow.S_ROW_COUNT is even -->
<tr class="row2">
<!-- ELSE -->
<tr class="row1">
<!-- ENDIF -->
<td align="center"><span class="gen"> {memberrow.ROW_NUMBER} </span></td>
<td align="center"> {memberrow.PM_IMG} </td>
<td align="center"><span class="gen"><a href="{memberrow.U_VIEWPROFILE}" class="gen">{memberrow.USERNAME}</a></span></td>
<td align="center" valign="middle"> {memberrow.EMAIL_IMG} </td>
<td align="center" valign="middle"><span class="gen">{memberrow.FROM}</span></td>
<td align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
<td align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
<td align="center"> {memberrow.WWW_IMG} </td>
</tr>
<!-- END memberrow -->
<tr>
<td class="catbottom" colspan="8" height="28"> </td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="right" valign="top"></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><span class="nav">{PAGE_NUMBER}</span></td>
<td align="right"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
</tr>
</table></form>
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td valign="top" align="right"><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>
<!-- INCLUDE overall_footer.html -->
--- NEW FILE ---
<!-- INCLUDE overall_header.html -->
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
<tr>
<th class="thHead" height="25"><b>{MESSAGE_TITLE}</b></th>
</tr>
<tr>
<td class="row1"><table width="100%" cellspacing="0" cellpadding="1" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><span class="gen">{MESSAGE_TEXT}</span></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<br clear="all" />
<!-- INCLUDE overall_footer.html -->
--- NEW FILE ---
<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
reason) retain the full copyright we request you at least leave in place the
Powered by phpBB {PHPBB_VERSION} line, with phpBB linked to www.phpbb.com. If you refuse
to include even this then support on our forums may be affected.
The phpBB Group : 2002
// -->
Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2001 phpBB Group<br />{TRANSLATION_INFO}{DEBUG_OUTPUT}</span></div>
</td>
</tr>
</table>
</body>
</html>
--- NEW FILE ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css">
<style type="text/css">
<!--
{T_STYLESHEET_DATA}
//-->
</style>
<!-- IF S_USER_PM_POPUP -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- ENDIF -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<a name="top"></a>
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br /> </span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu"> <a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a> <a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a> <a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
<!-- IF not S_USER_LOGGED_IN -->
<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>
<!-- ENDIF -->
</td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a> <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a> <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a> </span></td>
</tr>
</table></td>
</tr>
</table>
<br />
--- NEW FILE ---
<!-- INCLUDE overall_header.html -->
<script language="JavaScript" type="text/javascript">
<!--
// bbCode control by
// subBlue design
// www.subBlue.com
// Startup variables
var imageTag = false;
var theSelection = false;
// Check for Browser & Platform for PC & IE specific bits
// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var clientVer = parseInt(navigator.appVersion); // Get browser version
var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));
var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)
&& (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)
&& (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));
var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));
var is_mac = (clientPC.indexOf("mac")!=-1);
// Helpline messages
b_help = "{L_BBCODE_B_HELP}";
i_help = "{L_BBCODE_I_HELP}";
u_help = "{L_BBCODE_U_HELP}";
q_help = "{L_BBCODE_Q_HELP}";
c_help = "{L_BBCODE_C_HELP}";
l_help = "{L_BBCODE_L_HELP}";
o_help = "{L_BBCODE_O_HELP}";
p_help = "{L_BBCODE_P_HELP}";
w_help = "{L_BBCODE_W_HELP}";
a_help = "{L_BBCODE_A_HELP}";
s_help = "{L_BBCODE_S_HELP}";
f_help = "{L_BBCODE_F_HELP}";
// Define the bbCode tags
bbcode = new Array();
bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]');
imageTag = false;
// Shows the help messages in the helpline window
function helpline(help) {
document.post.helpbox.value = eval(help + "_help");
}
// Replacement for arrayname.length property
function getarraysize(thearray) {
for (i = 0; i < thearray.length; i++) {
if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null))
return i;
}
return thearray.length;
}
// Replacement for arrayname.push(value) not implemented in IE until version 5.5
// Appends element to the array
function arraypush(thearray,value) {
thearray[ getarraysize(thearray) ] = value;
}
// Replacement for arrayname.pop() not implemented in IE until version 5.5
// Removes and returns the last element of an array
function arraypop(thearray) {
thearraysize = getarraysize(thearray);
retval = thearray[thearraysize - 1];
delete thearray[thearraysize - 1];
return retval;
}
function checkForm() {
formErrors = false;
if (document.post.message.value.length < 2) {
formErrors = "{L_EMPTY_MESSAGE}";
}
if (formErrors) {
alert(formErrors);
return false;
} else {
bbstyle(-1);
//formObj.preview.disabled = true;
//formObj.submit.disabled = true;
return true;
}
}
function emoticon(text) {
text = ' ' + text + ' ';
if (document.post.message.createTextRange && document.post.message.caretPos) {
var caretPos = document.post.message.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
document.post.message.focus();
} else {
document.post.message.value += text;
document.post.message.focus();
}
}
function bbfontstyle(bbopen, bbclose) {
if ((clientVer >= 4) && is_ie && is_win) {
theSelection = document.selection.createRange().text;
if (!theSelection) {
document.post.message.value += bbopen + bbclose;
document.post.message.focus();
return;
}
document.selection.createRange().text = bbopen + theSelection + bbclose;
document.post.message.focus();
return;
} else {
document.post.message.value += bbopen + bbclose;
document.post.message.focus();
return;
}
storeCaret(document.post.message);
}
function bbstyle(bbnumber) {
donotinsert = false;
theSelection = false;
bblast = 0;
if (bbnumber == -1) { // Close all open tags & default button names
while (bbcode[0]) {
butnumber = arraypop(bbcode) - 1;
document.post.message.value += bbtags[butnumber + 1];
buttext = eval('document.post.addbbcode' + butnumber + '.value');
eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
}
imageTag = false; // All tags are closed including image tags :D
document.post.message.focus();
return;
}
if ((clientVer >= 4) && is_ie && is_win)
theSelection = document.selection.createRange().text; // Get text selection
if (theSelection) {
// Add tags around selection
document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1];
document.post.message.focus();
theSelection = '';
return;
}
// Find last occurance of an open tag the same as the one just clicked
for (i = 0; i < bbcode.length; i++) {
if (bbcode[i] == bbnumber+1) {
bblast = i;
donotinsert = true;
}
}
if (donotinsert) { // Close all open tags up to the one just clicked & default button names
while (bbcode[bblast]) {
butnumber = arraypop(bbcode) - 1;
document.post.message.value += bbtags[butnumber + 1];
buttext = eval('document.post.addbbcode' + butnumber + '.value');
eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
imageTag = false;
}
document.post.message.focus();
return;
} else { // Open tags
if (imageTag && (bbnumber != 14)) { // Close image tag before adding another
document.post.message.value += bbtags[15];
lastValue = arraypop(bbcode) - 1; // Remove the close image tag from the list
document.post.addbbcode14.value = "Img"; // Return button back to normal state
imageTag = false;
}
// Open tag
document.post.message.value += bbtags[bbnumber];
if ((bbnumber == 14) && (imageTag == false)) imageTag = 1; // Check to stop additional tags after an unclosed image tag
arraypush(bbcode,bbnumber+1);
eval('document.post.addbbcode'+bbnumber+'.value += "*"');
document.post.message.focus();
return;
}
storeCaret(document.post.message);
}
// Insert at Claret position. Code from
// http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
function storeCaret(textEl) {
if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
}
//-->
</script>
<!-- IF S_DISPLAY_PM_ICONS -->
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
<tr>
<td valign="top" align="center" width="100%">
<table height="40" cellspacing="2" cellpadding="2" border="0">
<tr valign="middle">
<td>{INBOX_IMG}</td>
<td><span class="cattitle">{INBOX_LINK} </span></td>
<td>{SENTBOX_IMG}</td>
<td><span class="cattitle">{SENTBOX_LINK} </span></td>
<td>{OUTBOX_IMG}</td>
<td><span class="cattitle">{OUTBOX_LINK} </span></td>
<td>{SAVEBOX_IMG}</td>
<td><span class="cattitle">{SAVEBOX_LINK} </span></td>
</tr>
</table>
</td>
</tr>
</table>
<br clear="all" />
<!-- ENDIF -->
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">
{POST_PREVIEW_BOX}
{ERROR_BOX}
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>
<!-- BEGIN switch_not_privmsg -->
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<!-- END switch_not_privmsg -->
</tr>
</table>
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
<tr>
<th class="thHead" colspan="2" height="25"><b>{L_POST_A}</b></th>
</tr>
<!-- BEGIN switch_username_select -->
<tr>
<td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></span></td>
</tr>
<!-- END switch_username_select -->
<!-- BEGIN switch_privmsg -->
<tr>
<td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" class="post" name="username" maxlength="25" size="25" tabindex="1" value="{USERNAME}" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></span></td>
</tr>
<!-- END switch_privmsg -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2" width="78%"> <span class="gen">
<input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />
</span> </td>
</tr>
<tr>
<td class="row1" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td><span class="gen"><b>{L_MESSAGE_BODY}</b></span> </td>
</tr>
<tr>
<td valign="middle" align="center"> <br />
<table width="100" border="0" cellspacing="0" cellpadding="5">
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}" class="gensmall"><b>{L_EMOTICONS}</b></td>
</tr>
<!-- BEGIN smilies_row -->
<tr align="center" valign="middle">
<!-- BEGIN smilies_col -->
<td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
<!-- END smilies_col -->
</tr>
<!-- END smilies_row -->
<!-- BEGIN switch_smilies_extra -->
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}"><span class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a></span></td>
</tr>
<!-- END switch_smilies_extra -->
</table>
</td>
</tr>
</table>
</td>
<td class="row2" valign="top"><span class="gen"> <span class="genmed"> </span>
<table width="450" border="0" cellspacing="0" cellpadding="2">
<tr align="center" valign="middle">
<td><span class="genmed">
<input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(0)" onMouseOver="helpline('b')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(2)" onMouseOver="helpline('i')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(4)" onMouseOver="helpline('u')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline('q')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onClick="bbstyle(8)" onMouseOver="helpline('c')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onClick="bbstyle(10)" onMouseOver="helpline('l')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onClick="bbstyle(12)" onMouseOver="helpline('o')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onClick="bbstyle(14)" onMouseOver="helpline('p')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
</span></td>
</tr>
<tr>
<td colspan="9">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="genmed"> {L_FONT_COLOR}:
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')">
<option style="color:black; background-color: #FFFFFF " value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option>
<option style="color:darkred; background-color: #DEE3E7" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option>
<option style="color:red; background-color: #DEE3E7" value="red" class="genmed">{L_COLOR_RED}</option>
<option style="color:orange; background-color: #DEE3E7" value="orange" class="genmed">{L_COLOR_ORANGE}</option>
<option style="color:brown; background-color: #DEE3E7" value="brown" class="genmed">{L_COLOR_BROWN}</option>
<option style="color:yellow; background-color: #DEE3E7" value="yellow" class="genmed">{L_COLOR_YELLOW}</option>
<option style="color:green; background-color: #DEE3E7" value="green" class="genmed">{L_COLOR_GREEN}</option>
<option style="color:olive; background-color: #DEE3E7" value="olive" class="genmed">{L_COLOR_OLIVE}</option>
<option style="color:cyan; background-color: #DEE3E7" value="cyan" class="genmed">{L_COLOR_CYAN}</option>
<option style="color:blue; background-color: #DEE3E7" value="blue" class="genmed">{L_COLOR_BLUE}</option>
<option style="color:darkblue; background-color: #DEE3E7" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>
<option style="color:indigo; background-color: #DEE3E7" value="indigo" class="genmed">{L_COLOR_INDIGO}</option>
<option style="color:violet; background-color: #DEE3E7" value="violet" class="genmed">{L_COLOR_VIOLET}</option>
<option style="color:white; background-color: #DEE3E7" value="white" class="genmed">{L_COLOR_WHITE}</option>
<option style="color:black; background-color: #DEE3E7" value="black" class="genmed">{L_COLOR_BLACK}</option>
</select> {L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
<option value="7" class="genmed">{L_FONT_TINY}</option>
<option value="9" class="genmed">{L_FONT_SMALL}</option>
<option value="12" selected class="genmed">{L_FONT_NORMAL}</option>
<option value="18" class="genmed">{L_FONT_LARGE}</option>
<option value="24" class="genmed">{L_FONT_HUGE}</option>
</select>
</span></td>
<td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="9"> <span class="gensmall">
<input type="text" name="helpbox" size="45" maxlength="100" style="width:450px; font-size:10px" class="helpline" value="{L_STYLES_TIP}" />
</span></td>
</tr>
<tr>
<td colspan="9"><span class="gen">
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
</span></td>
</tr>
</table>
</span></td>
</tr>
<tr>
<td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span><br /><span class="gensmall">{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
<td class="row2"><span class="gen"> </span>
<table cellspacing="0" cellpadding="1" border="0">
<!-- BEGIN switch_html_checkbox -->
<tr>
<td>
<input type="checkbox" name="disable_html" {S_HTML_CHECKED} />
</td>
<td><span class="gen">{L_DISABLE_HTML}</span></td>
</tr>
<!-- END switch_html_checkbox -->
<!-- BEGIN switch_bbcode_checkbox -->
<tr>
<td>
<input type="checkbox" name="disable_bbcode" {S_BBCODE_CHECKED} />
</td>
<td><span class="gen">{L_DISABLE_BBCODE}</span></td>
</tr>
<!-- END switch_bbcode_checkbox -->
<!-- BEGIN switch_smilies_checkbox -->
<tr>
<td>
<input type="checkbox" name="disable_smilies" {S_SMILIES_CHECKED} />
</td>
<td><span class="gen">{L_DISABLE_SMILIES}</span></td>
</tr>
<!-- END switch_smilies_checkbox -->
<!-- BEGIN switch_signature_checkbox -->
<tr>
<td>
<input type="checkbox" name="attach_sig" {S_SIGNATURE_CHECKED} />
</td>
<td><span class="gen">{L_ATTACH_SIGNATURE}</span></td>
</tr>
<!-- END switch_signature_checkbox -->
<!-- BEGIN switch_notify_checkbox -->
<tr>
<td>
<input type="checkbox" name="notify" {S_NOTIFY_CHECKED} />
</td>
<td><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
</tr>
<!-- END switch_notify_checkbox -->
<!-- BEGIN switch_delete_checkbox -->
<tr>
<td>
<input type="checkbox" name="delete" />
</td>
<td><span class="gen">{L_DELETE_POST}</span></td>
</tr>
<!-- END switch_delete_checkbox -->
<!-- BEGIN switch_type_toggle -->
<tr>
<td></td>
<td><span class="gen">{S_TYPE_TOGGLE}</span></td>
</tr>
<!-- END switch_type_toggle -->
</table>
</td>
</tr>
{POLLBOX}
<tr>
<td class="catBottom" colspan="2" align="center" height="28"> {S_HIDDEN_FORM_FIELDS}<input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" /> <input type="submit" accesskey="s" tabindex="6" name="post" class="mainoption" value="{L_SUBMIT}" /></td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="right" valign="top"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
</form>
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td valign="top" align="right"><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>
{TOPIC_REVIEW_BOX}
<!-- INCLUDE overall_footer.html -->
--- NEW FILE ---
<tr>
<th class="thHead" colspan="2">{L_ADD_A_POLL}</th>
</tr>
<tr>
<td class="row1" colspan="2"><span class="gensmall">{L_ADD_POLL_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_POLL_QUESTION}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" name="poll_title" size="50" maxlength="255" class="post" value="{POLL_TITLE}" /></span></td>
</tr>
<!-- BEGIN poll_option_rows -->
<tr>
<td class="row1"><span class="gen"><b>{L_POLL_OPTION}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" name="poll_option_text[{poll_option_rows.S_POLL_OPTION_NUM}]" size="50" class="post" maxlength="255" value="{poll_option_rows.POLL_OPTION}" /></span> <input type="submit" name="edit_poll_option" value="{L_UPDATE_OPTION}" class="liteoption" /> <input type="submit" name="del_poll_option[{poll_option_rows.S_POLL_OPTION_NUM}]" value="{L_DELETE_OPTION}" class="liteoption" /></td>
</tr>
<!-- END poll_option_rows -->
<tr>
<td class="row1"><span class="gen"><b>{L_POLL_OPTION}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" name="add_poll_option_text" size="50" maxlength="255" class="post" value="{ADD_POLL_OPTION}" /></span> <input type="submit" name="add_poll_option" value="{L_ADD_OPTION}" class="liteoption" /></td>
</tr>
<tr>
<td class="row1"><span class="gen"><b>{L_POLL_LENGTH}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" name="poll_length" size="3" maxlength="3" class="post" value="{POLL_LENGTH}" /></span> <span class="gen"><b>{L_DAYS}</b></span> <span class="gensmall">{L_POLL_LENGTH_EXPLAIN}</span></td>
</tr>
<!-- BEGIN switch_poll_delete_toggle -->
<tr>
<td class="row1"><span class="gen"><b>{L_POLL_DELETE}</b></span></td>
<td class="row2"><input type="checkbox" name="poll_delete" /></td>
</tr>
<!-- END switch_poll_delete_toggle -->
--- NEW FILE ---
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
<tr>
<th height="25" class="thHead">{L_PREVIEW}</th>
</tr>
<tr>
<td class="row1"><img src="templates/subSilver/images/icon_minipost.gif" alt="{L_POST}" /><span class="postdetails">{L_POSTED}: {POST_DATE} {L_POST_SUBJECT}: {POST_SUBJECT}</span></td>
</tr>
<tr>
<td class="row1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<span class="postbody">{MESSAGE}</span>
</td>
</tr>
</table></td>
</tr>
<tr>
<td class="spaceRow" height="1"><img src="templates/subSilver/images/spacer.gif" width="1" height="1" /></td>
</tr>
</table>
<br clear="all" />
--- NEW FILE ---
<script language="javascript" type="text/javascript">
<!--
function emoticon(text) {
text = ' ' + text + ' ';
if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) {
var caretPos = opener.document.forms['post'].message.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
opener.document.forms['post'].message.focus();
} else {
opener.document.forms['post'].message.value += text;
opener.document.forms['post'].message.focus();
}
}
//-->
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">
<tr>
<th class="thHead" height="25">{L_EMOTICONS}</th>
</tr>
<tr>
<td><table width="100" border="0" cellspacing="0" cellpadding="5">
<!-- BEGIN smilies_row -->
<tr align="center" valign="middle">
<!-- BEGIN smilies_col -->
<td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
<!-- END smilies_col -->
</tr>
<!-- END smilies_row -->
<!-- BEGIN switch_smilies_extra -->
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}"><span class="nav"><a href="{U_MORE_SMILIES}" onclick="open_window('{U_MORE_SMILIES}', 250, 300);return false" target="_smilies" class="nav">{L_MORE_SMILIES}</a></td>
</tr>
<!-- END switch_smilies_extra -->
</table></td>
</tr>
<tr>
<td align="center"><br /><span class="genmed"><a href="javascript:window.close();" class="genmed">{L_CLOSE_WINDOW}</a></span></td>
</tr>
</table></td>
</tr>
</table>
--- NEW FILE ---
<!-- BEGIN switch_inline_mode -->
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
<tr>
<td class="catHead" height="28" align="center"><b><span class="cattitle">{L_TOPIC_REVIEW}</span></b></td>
</tr>
<tr>
<td class="row1"><iframe width="100%" height="300" src="{U_REVIEW_TOPIC}" >
<!-- END switch_inline_mode -->
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
<tr>
<th class="thCornerL" width="22%" height="26">{L_AUTHOR}</th>
<th class="thCornerR">{L_MESSAGE}</th>
</tr>
<!-- BEGIN postrow -->
<tr>
<td width="22%" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span></td>
<td class="{postrow.ROW_CLASS}" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" height="1" class="spaceRow"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END postrow -->
</table>
<!-- BEGIN switch_inline_mode -->
</iframe></td>
</tr>
</table>
<!-- END switch_inline_mode -->
--- NEW FILE ---
<!-- INCLUDE overall_header.html -->
<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post">
{ERROR_BOX}
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
</tr>
</table>
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
<tr>
<th class="thHead" colspan="2" height="25" valign="middle">{L_REGISTRATION_INFO}</th>
</tr>
<tr>
<td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
</tr>
<tr>
<td class="row1" width="38%"><span class="gen">{L_USERNAME}: *</span></td>
<td class="row2"><input type="text" class="post" style="width:200px" name="username" size="25" maxlength="40" value="{USERNAME}" /></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_EMAIL_ADDRESS}: *</span></td>
<td class="row2"><input type="text" class="post" style="width:200px" name="email" size="25" maxlength="255" value="{EMAIL}" /></td>
</tr>
<!-- IF S_EDIT_PROFILE -->
<tr>
<td class="row1"><span class="gen">{L_CURRENT_PASSWORD}: *</span><br />
<span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span></td>
<td class="row2">
<input type="password" class="post" style="width: 200px" name="cur_password" size="25" maxlength="100" value="{PASSWORD}" />
</td>
</tr>
<!-- ENDIF -->
<tr>
<td class="row1"><span class="gen">{L_NEW_PASSWORD}: *</span><br />
<span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
<td class="row2">
<input type="password" class="post" style="width: 200px" name="new_password" size="25" maxlength="100" value="{PASSWORD}" />
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
<span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
<td class="row2">
<input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="100" value="{PASSWORD_CONFIRM}" />
</td>
</tr>
<tr>
<td class="catSides" colspan="2" height="28"> </td>
</tr>
<tr>
<th class="thSides" colspan="2" height="25" valign="middle">{L_PROFILE_INFO}</th>
</tr>
<tr>
<td class="row2" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_ICQ_NUMBER}:</span></td>
<td class="row2">
<input type="text" name="icq" class="post"style="width: 100px" size="10" maxlength="15" value="{ICQ}" />
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_AIM}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 150px" name="aim" size="20" maxlength="255" value="{AIM}" />
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_MESSENGER}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 150px" name="msn" size="20" maxlength="255" value="{MSN}" />
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_YAHOO}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 150px" name="yim" size="20" maxlength="255" value="{YIM}" />
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_WEBSITE}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 200px" name="website" size="25" maxlength="255" value="{WEBSITE}" />
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_LOCATION}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 200px" name="location" size="25" maxlength="100" value="{LOCATION}" />
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_OCCUPATION}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 200px" name="occupation" size="25" maxlength="100" value="{OCCUPATION}" />
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_INTERESTS}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 200px" name="interests" size="35" maxlength="150" value="{INTERESTS}" />
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_SIGNATURE}:</span><br /><span class="gensmall">{L_SIGNATURE_EXPLAIN}<br /><br />{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
<td class="row2">
<textarea name="signature"style="width: 300px" rows="6" cols="30" class="post">{SIGNATURE}</textarea>
</td>
</tr>
<tr>
<td class="catSides" colspan="2" height="28"> </td>
</tr>
<tr>
<th class="thSides" colspan="2" height="25" valign="middle">{L_PREFERENCES}</th>
</tr>
<tr>
<td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL}:</span></td>
<td class="row2">
<input type="radio" name="viewemail" value="1" {VIEW_EMAIL_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_HIDE_USER}:</span></td>
<td class="row2">
<input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}:</span><br />
<span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
<td class="row2">
<input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG}:</span></td>
<td class="row2">
<input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG}:</span><br /><span class="gensmall">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span></td>
<td class="row2">
<input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE}:</span></td>
<td class="row2">
<input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE}:</span></td>
<td class="row2">
<input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML}:</span></td>
<td class="row2">
<input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES}:</span></td>
<td class="row2">
<input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_BOARD_LANGUAGE}:</span></td>
<td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_BOARD_STYLE}:</span></td>
<td class="row2"><span class="gensmall">{STYLE_SELECT}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_TIMEZONE}:</span></td>
<td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_DATE_FORMAT}:</span><br />
<span class="gensmall">{L_DATE_FORMAT_EXPLAIN}</span></td>
<td class="row2">
<input type="text" name="dateformat" value="{DATE_FORMAT}" maxlength="14" class="post" />
</td>
</tr>
<tr>
<td class="catSides" colspan="2" height="28"> </td>
</tr>
<!-- IF S_DISPLAY_AVATAR_BLOCK -->
<tr>
<th class="thSides" colspan="2" height="12" valign="middle">{L_AVATAR_PANEL}</th>
</tr>
<tr>
<td class="row1" colspan="2"><table width="70%" cellspacing="2" cellpadding="0" border="0" align="center">
<tr>
<td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
<td align="center"><span class="gensmall">{L_CURRENT_IMAGE}</span><br />{AVATAR}<br /><input type="checkbox" name="avatardel" /> <span class="gensmall">{L_DELETE_AVATAR}</span></td>
</tr>
</table></td>
</tr>
<!-- IF S_DISPLAY_AVATAR_UPLOAD -->
<tr>
<td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE}:</span></td>
<td class="row2"><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_SIZE}" /><input type="file" name="avatar" class="post" style="width:200px" /></td>
</tr>
<!-- ENDIF -->
<!-- IF S_DISPLAY_AVATAR_URL -->
<tr>
<td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL}:</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
<td class="row2"><input type="text" name="avatarurl" size="40" class="post" style="width:200px" /></td>
</tr>
<!-- ENDIF -->
<!-- IF S_DISPLAY_AVATAR_REMOTE -->
<tr>
<td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR}:</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
<td class="row2"><input type="text" name="avatarremoteurl" size="40" class="post" style="width:200px" /></td>
</tr>
<!-- ENDIF -->
<!-- IF S_DISPLAY_AVATAR_GALLERY -->
<tr>
<td class="row1"><span class="gen">{L_AVATAR_GALLERY}:</span></td>
<td class="row2"><input type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" class="liteoption" /></td>
</tr>
<!-- ENDIF -->
<!-- ENDIF -->
<tr>
<td class="catBottom" colspan="2" align="center" height="28">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" name="reset" class="liteoption" /></td>
</tr>
</table>
</form>
<!-- INCLUDE overall_footer.html -->
--- NEW FILE ---
<!-- INCLUDE overall_header.html -->
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th class="thHead" colspan="2" height="25" nowrap="nowrap">{L_VIEWING_PROFILE}</th>
</tr>
<tr>
<td class="catLeft" width="40%" height="28" align="center"><b><span class="gen">{L_AVATAR}</span></b></td>
<td class="catRight" width="60%"><b><span class="gen">{L_ABOUT_USER}</span></b></td>
</tr>
<tr>
<td class="row1" height="6" valign="top" align="center">{AVATAR_IMG}<br /><span class="postdetails">{POSTER_RANK}</span></td>
<td class="row1" rowspan="3" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_JOINED}: </span></td>
<td width="100%"><b><span class="gen">{JOINED}</span></b></td>
</tr>
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_TOTAL_POSTS}: </span></td>
<td valign="top"><b><span class="gen">{POSTS}</span></b><br /><span class="genmed">[{POST_PERCENT_STATS} / {POST_DAY_STATS}]</span> <br /><span class="genmed"><a href="{U_SEARCH_USER}" class="genmed">{L_SEARCH_USER_POSTS}</a></span></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_LOCATION}: </span></td>
<td><b><span class="gen">{LOCATION}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_WEBSITE}: </span></td>
<td><span class="gen"><b>{WWW}</b></span></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_OCCUPATION}: </span></td>
<td><b><span class="gen">{OCCUPATION}</span></b></td>
</tr>
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_INTERESTS}:</span></td>
<td> <b><span class="gen">{INTERESTS}</span></b></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="catLeft" align="center" height="28"><b><span class="gen">{L_CONTACT} {USERNAME} </span></b></td>
</tr>
<tr>
<td class="row1" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_EMAIL_ADDRESS}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{EMAIL_IMG}</span></b></td>
</tr>
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_PM}:</span></td>
<td class="row1" valign="middle"><b><span class="gen">{PM_IMG}</span></b></td>
</tr>
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_MESSENGER}:</span></td>
<td class="row1" valign="middle"><span class="gen">{MSN}</span></td>
</tr>
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_YAHOO}:</span></td>
<td class="row1" valign="middle"><span class="gen">{YIM_IMG}</span></td>
</tr>
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_AIM}:</span></td>
<td class="row1" valign="middle"><span class="gen">{AIM_IMG}</span></td>
</tr>
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_ICQ_NUMBER}:</span></td>
<td class="row1"><script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 )
document.write(' {ICQ_IMG}');
else
document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td nowrap="nowrap"><div style="position:relative;height:18px"><div style="position:absolute">{ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{ICQ_STATUS_IMG}</div></div></td></tr></table>');
//--></script><noscript>{ICQ_IMG}</noscript></td>
</tr>
</table>
</td>
</tr>
</...
[truncated message content] |
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:51:08
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv16663/admin
Modified Files:
admin_board.php admin_db_utilities.php admin_permissions.php
admin_search.php admin_styles.php admin_users.php
admin_words.php index.php page_footer_admin.php
page_header_admin.php pagestart.php subSilver.css
Added Files:
admin_email.php admin_prune.php forms.css
Log Message:
Hard-coded HTML into admin modules ... no point in continuing to template this stuff since no one (or few) rarely bother to make use of the feature. Lots of changes for permissions, sessions, etc. some new styling stuff present (inc. editing templates though not complete), lots of bugs and non-functioning stuff ... any 'existing' modules will cause the right hand panel to fail ... remove them. If I catch anyone nicking graphics from here I'll kill 'em ...
--- NEW FILE ---
<?php
/***************************************************************************
* admin_email.php
* -------------------
* begin : Thu May 31, 2001
* copyright : (C) 2001 The phpBB Group
* email : su...@ph...
*
* $Id: admin_email.php,v 1.1 2002/07/14 14:51:03 psotfx Exp $
*
****************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
if ( !empty($setmodules) )
{
if ( !$acl->get_acl_admin('general') )
{
return;
}
$filename = basename(__FILE__);
$module['Users']['Mass_Email'] = $filename;
return;
}
define('IN_PHPBB', 1);
//
// Include files
//
$phpbb_root_path = '../';
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
//
// Do we have general admin permissions?
//
if ( !$acl->get_acl_admin('general') )
{
return;
}
//
// Set some vars
//
$message = '';
$subject = '';
//
// Do the job ...
//
if ( isset($HTTP_POST_VARS['submit']) )
{
//
// Increase maximum execution time in case of a lot of users, but don't complain about it if it isn't
// allowed.
//
@set_time_limit(1200);
$group_id = intval($HTTP_POST_VARS['g']);
$sql = ( $group_id != -1 ) ? "SELECT u.user_email FROM " . USERS_TABLE . " u, " . USER_GROUP_TABLE . " ug WHERE ug.group_id = $group_id AND ug.user_pending <> " . TRUE . " AND u.user_id = ug.user_id" : "SELECT user_email FROM " . USERS_TABLE;
$result = $db->sql_query($sql);
if ( !($email_list = $db->sql_fetchrowset($g_result)) )
{
//
// Output a relevant GENERAL_MESSAGE about users/group
// not existing
//
}
$subject = stripslashes($HTTP_POST_VARS['subject']);
$message = stripslashes($HTTP_POST_VARS['message']);
//
// Error checking needs to go here ... if no subject and/or
// no message then skip over the send and return to the form
//
$error = FALSE;
if ( !$error )
{
include($phpbb_root_path . 'includes/emailer.'.$phpEx);
//
// Let's do some checking to make sure that mass mail functions
// are working in win32 versions of php.
//
if ( preg_match('/[c-z]:\\\.*/i', getenv('PATH')) && !$board_config['smtp_delivery'])
{
// We are running on windows, force delivery to use
// our smtp functions since php's are broken by default
$board_config['smtp_delivery'] = 1;
$board_config['smtp_host'] = get_cfg_var('SMTP');
}
$emailer = new emailer($board_config['smtp_delivery']);
$email_headers = 'From: ' . $board_config['board_email'] . "\n";
$bcc_list = '';
for($i = 0; $i < count($email_list); $i++)
{
$bcc_list .= ( ( $bcc_list != '' ) ? ', ' : '' ) . $email_list[$i]['user_email'];
}
$email_headers .= "Bcc: $bcc_list\n";
$email_headers .= 'Return-Path: ' . $userdata['board_email'] . "\n";
$email_headers .= 'X-AntiAbuse: Board servername - ' . $server_name . "\n";
$email_headers .= 'X-AntiAbuse: User_id - ' . $userdata['user_id'] . "\n";
$email_headers .= 'X-AntiAbuse: Username - ' . $userdata['username'] . "\n";
$email_headers .= 'X-AntiAbuse: User IP - ' . $user_ip . "\r\n";
$emailer->use_template('admin_send_email');
$emailer->email_address($board_config['board_email']);
$emailer->set_subject($subject);
$emailer->extra_headers($email_headers);
$emailer->assign_vars(array(
'SITENAME' => $board_config['sitename'],
'BOARD_EMAIL' => $board_config['board_email'],
'MESSAGE' => $message)
);
$emailer->send();
$emailer->reset();
$message = $lang['Email_sent'] . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . "index.$phpEx$SID?pane=right" . '">', '</a>');
message_die(MESSAGE, $message);
}
}
//
// Initial selection
//
$sql = "SELECT group_id, group_name
FROM ".GROUPS_TABLE;
$result = $db->sql_query($sql);
$select_list = '<select name = "g"><option value = "-1">' . $lang['All_users'] . '</option>';
if ( $row = $db->sql_fetchrow($result) )
{
do
{
$select_list .= '<option value = "' . $row['group_id'] . '">' . $row['group_name'] . '</option>';
}
while ( $row = $db->sql_fetchrow($result) );
}
$select_list .= '</select>';
page_header($lang['Users']);
?>
<h1><?php echo $lang['Email']; ?></h1>
<p><?php echo $lang['Mass_email_explain']; ?></p>
<form method="post" action="<?php echo "admin_mass_email.$phpEx$SID"; ?>"><table cellspacing="1" cellpadding="4" border="0" align="center" bgcolor="#98AAB1">
<tr>
<th colspan="2"><?php echo $lang['Compose']; ?></th>
</tr>
<tr>
<td class="row1" align="right"><b><?php echo $lang['Recipients']; ?></b></td>
<td class="row2" align="left"><?php echo $select_list; ?></td>
</tr>
<tr>
<td class="row1" align="right"><b><?php echo $lang['Subject']; ?></b></td>
<td class="row2"><span class="gen"><input type="text" name="subject" size="45" maxlength="100" tabindex="2" class="post" value="<?php echo $subject; ?>" /></span></td>
</tr>
<tr>
<td class="row1" align="right" valign="top"><span class="gen"><b><?php echo $lang['Message']; ?></b></span>
<td class="row2"><textarea class="post" name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3"><?php echo $message; ?></textarea></td>
</tr>
<tr>
<td class="cat" colspan="2" align="center"><input type="submit" value="<?php echo $lang['Email']; ?>" name="submit" class="mainoption" /></td>
</tr>
</table></form>
<?php
page_footer();
?>
--- NEW FILE ---
<?php
/***************************************************************************
* admin_prune.php
* -------------------
* begin : Mon Jul 31, 2001
* copyright : (C) 2001 The phpBB Group
* email : su...@ph...
*
* $Id: admin_prune.php,v 1.1 2002/07/14 14:51:03 psotfx Exp $
*
****************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
if ( !empty($setmodules) )
{
if ( !$acl->get_acl_admin('forum') )
{
return;
}
$filename = basename(__FILE__);
$module['Forums']['Prune'] = $filename . $SID . '&mode=forums';
return;
}
define('IN_PHPBB', 1);
//
// Include files
//
$phpbb_root_path = '../';
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
require($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
//
// Do we have forum admin permissions?
//
if ( !$acl->get_acl_admin('forum') )
{
message_die(MESSAGE, $lang['No_admin']);
}
//
// Get the forum ID for pruning
//
if ( isset($HTTP_GET_VARS['f']) || isset($HTTP_POST_VARS['f']) )
{
$forum_id = ( isset($HTTP_POST_VARS['f']) ) ? intval($HTTP_POST_VARS['f']) : intval($HTTP_GET_VARS['f']);
$forum_sql = ( $forum_id == -1 ) ? '' : "AND forum_id = $forum_id";
}
else
{
$forum_id = '';
$forum_sql = '';
}
//
// Get a list of forum's or the data for the forum that we are pruning.
//
$sql = "SELECT f.*
FROM " . FORUMS_TABLE . " f, " . CATEGORIES_TABLE . " c
WHERE c.cat_id = f.cat_id
$forum_sql
ORDER BY c.cat_order ASC, f.forum_order ASC";
$result = $db->sql_query($sql);
$forum_rows = array();
while( $row = $db->sql_fetchrow($result) )
{
$forum_rows[] = $row;
}
//
// Check for submit to be equal to Prune. If so then proceed with the pruning.
//
if ( isset($HTTP_POST_VARS['doprune']) )
{
$prunedays = ( isset($HTTP_POST_VARS['prunedays']) ) ? intval($HTTP_POST_VARS['prunedays']) : 0;
// Convert days to seconds for timestamp functions...
$prunedate = time() - ( $prunedays * 86400 );
$template->set_filenames(array(
'body' => 'admin/forum_prune_result_body.tpl')
);
$log_data = '';
for($i = 0; $i < count($forum_rows); $i++)
{
$p_result = prune($forum_rows[$i]['forum_id'], $prunedate);
sync('forum', $forum_rows[$i]['forum_id']);
$template->assign_block_vars('prune_results', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'FORUM_NAME' => $forum_rows[$i]['forum_name'],
'FORUM_TOPICS' => $p_result['topics'],
'FORUM_POSTS' => $p_result['posts'])
);
$log_data .= ( ( $log_data != '' ) ? ', ' : '' ) . $forum_rows[$i]['forum_name'];
}
$template->assign_vars(array(
'L_FORUM_PRUNE' => $lang['Forum_Prune'],
'L_FORUM' => $lang['Forum'],
'L_TOPICS_PRUNED' => $lang['Topics_pruned'],
'L_POSTS_PRUNED' => $lang['Posts_pruned'],
'L_PRUNE_RESULT' => $lang['Prune_success'])
);
add_admin_log('log_prune', $log_data);
}
else
{
page_header($lang['Forums']);
//
// If they haven't selected a forum for pruning yet then
// display a select box to use for pruning.
//
if ( empty($forum_id) )
{
//
// Output a selection table if no forum id has been specified.
//
$select_list .= '<option value="-1">' . $lang['All_Forums'] . '</option>';
for($i = 0; $i < count($forum_rows); $i++)
{
$select_list .= '<option value="' . $forum_rows[$i]['forum_id'] . '">' . $forum_rows[$i]['forum_name'] . '</option>';
}
?>
<h1><?php echo $lang['Prune']; ?></h1>
<p><?php echo $lang['Forum_Prune_explain']; ?></p>
<form method="post" action="<?php echo "admin_prune.$phpEx$SID"; ?>"><table cellspacing="1" cellpadding="4" border="0" align="center" bgcolor="#98AAB1">
<tr>
<th align="center"><?php echo $lang['Select_a_Forum']; ?></th>
</tr>
<tr>
<td class="row1" align="center"><?php echo $s_hidden_fields; ?> <select name="f"><?php echo $select_list; ?></select> <input type="submit" value="<?php echo $lang['Look_up_Forum']; ?>" class="mainoption" /> </td>
</tr>
</table></form>
<?php
}
else
{
$forum_name = ( $forum_id == -1 ) ? $lang['All_Forums'] : $forum_rows[0]['forum_name'];
$prune_data = $lang['Prune_topics_not_posted'] . " ";
$prune_data .= '<input type="text" name="prunedays" size="4"> ' . $lang['Days'];
$s_hidden_fields = '<input type="hidden" name="f" value="' . $forum_id . '">';
?>
<h1><?php echo $lang['Prune']; ?></h1>
<p><?php echo $lang['Forum_Prune_explain']; ?></p>
<h2><?php echo $lang['Forum'] . ': ' . $forum_name; ?></h2>
<form method="post" action="<?php echo "admin_prune.$phpEx$SID"; ?>"><table cellspacing="1" cellpadding="4" border="0" align="center" bgcolor="#98AAB1">
<tr>
<th class="th"><?php echo $lang['Forum_Prune']; ?></th>
</tr>
<tr>
<td class="row1"><?php echo $prune_data; ?></td>
</tr>
<tr>
<td class="cat" align="center"><?php echo $s_hidden_fields; ?><input type="submit" name="doprune" value="<?php echo $lang['Do_Prune']; ?>" class="mainoption"></td>
</tr>
</table></form>
<?php
}
}
//
// Actually output the page here.
//
page_footer();
?>
--- NEW FILE ---
/* Fancy form styles for IE */
input, textarea, select {
border-width: 1px;
}
input {
text-indent: 2px;
}
.postbody {
line-height: 18px
}
Index: admin_board.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_board.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -r1.51 -r1.52
*** admin_board.php 22 Mar 2002 17:00:32 -0000 1.51
--- admin_board.php 14 Jul 2002 14:51:03 -0000 1.52
***************
*** 9,21 ****
* $Id$
*
- *
***************************************************************************/
! define('IN_PHPBB', 1);
! if( !empty($setmodules) )
{
$file = basename(__FILE__);
! $module['General']['Configuration'] = "$file?mode=config";
return;
}
--- 9,36 ----
* $Id$
*
***************************************************************************/
! /***************************************************************************
! *
! * This program is free software; you can redistribute it and/or modify
! * it under the terms of the GNU General Public License as published by
! * the Free Software Foundation; either version 2 of the License, or
! * (at your option) any later version.
! *
! ***************************************************************************/
! if ( !empty($setmodules) )
{
+ if ( !$acl->get_acl_admin('general') )
+ {
+ return;
+ }
+
$file = basename(__FILE__);
! $module['General']['Avatar_Setup'] = "$file?mode=avatars";
! $module['General']['Basic_Config'] = "$file?mode=basic";
! $module['General']['Cookie_Parameters'] = "$file?mode=cookies";
! $module['General']['Default_Settings'] = "$file?mode=gendefs";
! $module['Users']['Default_Settings'] = "$file?mode=userdefs";
return;
}
***************
*** 24,31 ****
// Let's set the root dir for phpBB
//
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
! include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
//
--- 39,51 ----
// Let's set the root dir for phpBB
//
+ define('IN_PHPBB', 1);
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
!
! if ( !$acl->get_acl_admin('general') )
! {
! return;
! }
//
***************
*** 34,126 ****
$sql = "SELECT *
FROM " . CONFIG_TABLE;
! if(!$result = $db->sql_query($sql))
! {
! message_die(CRITICAL_ERROR, "Could not query config information in admin_board", "", __LINE__, __FILE__, $sql);
! }
! else
{
! while( $row = $db->sql_fetchrow($result) )
{
! $config_name = $row['config_name'];
! $config_value = $row['config_value'];
! $default_config[$config_name] = $config_value;
!
! $new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name];
!
! if( isset($HTTP_POST_VARS['submit']) )
! {
! $sql = "UPDATE " . CONFIG_TABLE . " SET
! config_value = '" . str_replace("\'", "''", $new[$config_name]) . "'
! WHERE config_name = '$config_name'";
! if( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql);
! }
! }
}
! if( isset($HTTP_POST_VARS['submit']) )
! {
! $message = $lang['Config_updated'] . "<br /><br />" . sprintf($lang['Click_return_config'], "<a href=\"" . append_sid("admin_board.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
! message_die(GENERAL_MESSAGE, $message);
! }
}
! $style_select = style_select($new['default_style'], 'default_style', "../templates");
! $lang_select = language_select($new['default_lang'], 'default_lang', "../language");
$timezone_select = tz_select($new['board_timezone'], 'board_timezone');
! $disable_board_yes = ( $new['board_disable'] ) ? "checked=\"checked\"" : "";
! $disable_board_no = ( !$new['board_disable'] ) ? "checked=\"checked\"" : "";
! $cookie_secure_yes = ( $new['cookie_secure'] ) ? "checked=\"checked\"" : "";
! $cookie_secure_no = ( !$new['cookie_secure'] ) ? "checked=\"checked\"" : "";
$html_tags = $new['allow_html_tags'];
! $override_user_style_yes = ( $new['override_user_style'] ) ? "checked=\"checked\"" : "";
! $override_user_style_no = ( !$new['override_user_style'] ) ? "checked=\"checked\"" : "";
! $html_yes = ( $new['allow_html'] ) ? "checked=\"checked\"" : "";
! $html_no = ( !$new['allow_html'] ) ? "checked=\"checked\"" : "";
! $bbcode_yes = ( $new['allow_bbcode'] ) ? "checked=\"checked\"" : "";
! $bbcode_no = ( !$new['allow_bbcode'] ) ? "checked=\"checked\"" : "";
! $activation_none = ( $new['require_activation'] == USER_ACTIVATION_NONE ) ? "checked=\"checked\"" : "";
! $activation_user = ( $new['require_activation'] == USER_ACTIVATION_SELF ) ? "checked=\"checked\"" : "";
! $activation_admin = ( $new['require_activation'] == USER_ACTIVATION_ADMIN ) ? "checked=\"checked\"" : "";
! $board_email_form_yes = ( $new['board_email_form'] ) ? "checked=\"checked\"" : "";
! $board_email_form_no = ( !$new['board_email_form'] ) ? "checked=\"checked\"" : "";
! $gzip_yes = ( $new['gzip_compress'] ) ? "checked=\"checked\"" : "";
! $gzip_no = ( !$new['gzip_compress'] ) ? "checked=\"checked\"" : "";
! $privmsg_on = ( !$new['privmsg_disable'] ) ? "checked=\"checked\"" : "";
! $privmsg_off = ( $new['privmsg_disable'] ) ? "checked=\"checked\"" : "";
! $prune_yes = ( $new['prune_enable'] ) ? "checked=\"checked\"" : "";
! $prune_no = ( !$new['prune_enable'] ) ? "checked=\"checked\"" : "";
! $smile_yes = ( $new['allow_smilies'] ) ? "checked=\"checked\"" : "";
! $smile_no = ( !$new['allow_smilies'] ) ? "checked=\"checked\"" : "";
! $sig_yes = ( $new['allow_sig'] ) ? "checked=\"checked\"" : "";
! $sig_no = ( !$new['allow_sig'] ) ? "checked=\"checked\"" : "";
! $namechange_yes = ( $new['allow_namechange'] ) ? "checked=\"checked\"" : "";
! $namechange_no = ( !$new['allow_namechange'] ) ? "checked=\"checked\"" : "";
! $avatars_local_yes = ( $new['allow_avatar_local'] ) ? "checked=\"checked\"" : "";
! $avatars_local_no = ( !$new['allow_avatar_local'] ) ? "checked=\"checked\"" : "";
! $avatars_remote_yes = ( $new['allow_avatar_remote'] ) ? "checked=\"checked\"" : "";
! $avatars_remote_no = ( !$new['allow_avatar_remote'] ) ? "checked=\"checked\"" : "";
! $avatars_upload_yes = ( $new['allow_avatar_upload'] ) ? "checked=\"checked\"" : "";
! $avatars_upload_no = ( !$new['allow_avatar_upload'] ) ? "checked=\"checked\"" : "";
! $smtp_yes = ( $new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
! $smtp_no = ( !$new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
$template->set_filenames(array(
--- 54,138 ----
$sql = "SELECT *
FROM " . CONFIG_TABLE;
! $result = $db->sql_query($sql);
!
! while ( $row = $db->sql_fetchrow($result) )
{
! $config_name = $row['config_name'];
! $config_value = $row['config_value'];
! $default_config[$config_name] = $config_value;
!
! $new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name];
!
! if ( isset($HTTP_POST_VARS['submit']) )
{
! $sql = "UPDATE " . CONFIG_TABLE . " SET
! config_value = '" . str_replace("\'", "''", $new[$config_name]) . "'
! WHERE config_name = '$config_name'";
! $db->sql_query($sql);
}
+ }
! if ( isset($HTTP_POST_VARS['submit']) )
! {
! $message = $lang['Config_updated'] . "<br /><br />" . sprintf($lang['Click_return_config'], '<a href="' . "admin_board.$phpEx$SID" . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . "index.$phpEx$SID?pane=right" . '">', '</a>');
! message_die(MESSAGE, $message);
}
! $style_select = style_select($new['default_style'], 'default_style', '../templates');
! $lang_select = language_select($new['default_lang'], 'default_lang', '../language');
$timezone_select = tz_select($new['board_timezone'], 'board_timezone');
! $disable_board_yes = ( $new['board_disable'] ) ? 'checked="checked"' : '';
! $disable_board_no = ( !$new['board_disable'] ) ? 'checked="checked"' : '';
! $cookie_secure_yes = ( $new['cookie_secure'] ) ? 'checked="checked"' : '';
! $cookie_secure_no = ( !$new['cookie_secure'] ) ? 'checked="checked"' : '';
$html_tags = $new['allow_html_tags'];
! $override_user_style_yes = ( $new['override_user_style'] ) ? 'checked="checked"' : '';
! $override_user_style_no = ( !$new['override_user_style'] ) ? 'checked="checked"' : '';
! $html_yes = ( $new['allow_html'] ) ? 'checked="checked"' : '';
! $html_no = ( !$new['allow_html'] ) ? 'checked="checked"' : '';
! $bbcode_yes = ( $new['allow_bbcode'] ) ? 'checked="checked"' : '';
! $bbcode_no = ( !$new['allow_bbcode'] ) ? 'checked="checked"' : '';
! $activation_none = ( $new['require_activation'] == USER_ACTIVATION_NONE ) ? 'checked="checked"' : '';
! $activation_user = ( $new['require_activation'] == USER_ACTIVATION_SELF ) ? 'checked="checked"' : '';
! $activation_admin = ( $new['require_activation'] == USER_ACTIVATION_ADMIN ) ? 'checked="checked"' : '';
! $board_email_form_yes = ( $new['board_email_form'] ) ? 'checked="checked"' : '';
! $board_email_form_no = ( !$new['board_email_form'] ) ? 'checked="checked"' : '';
! $gzip_yes = ( $new['gzip_compress'] ) ? 'checked="checked"' : '';
! $gzip_no = ( !$new['gzip_compress'] ) ? 'checked="checked"' : '';
! $privmsg_on = ( !$new['privmsg_disable'] ) ? 'checked="checked"' : '';
! $privmsg_off = ( $new['privmsg_disable'] ) ? 'checked="checked"' : '';
! $prune_yes = ( $new['prune_enable'] ) ? 'checked="checked"' : '';
! $prune_no = ( !$new['prune_enable'] ) ? 'checked="checked"' : '';
! $smile_yes = ( $new['allow_smilies'] ) ? 'checked="checked"' : '';
! $smile_no = ( !$new['allow_smilies'] ) ? 'checked="checked"' : '';
! $sig_yes = ( $new['allow_sig'] ) ? 'checked="checked"' : '';
! $sig_no = ( !$new['allow_sig'] ) ? 'checked="checked"' : '';
! $namechange_yes = ( $new['allow_namechange'] ) ? 'checked="checked"' : '';
! $namechange_no = ( !$new['allow_namechange'] ) ? 'checked="checked"' : '';
! $avatars_local_yes = ( $new['allow_avatar_local'] ) ? 'checked="checked"' : '';
! $avatars_local_no = ( !$new['allow_avatar_local'] ) ? 'checked="checked"' : '';
! $avatars_remote_yes = ( $new['allow_avatar_remote'] ) ? 'checked="checked"' : '';
! $avatars_remote_no = ( !$new['allow_avatar_remote'] ) ? 'checked="checked"' : '';
! $avatars_upload_yes = ( $new['allow_avatar_upload'] ) ? 'checked="checked"' : '';
! $avatars_upload_no = ( !$new['allow_avatar_upload'] ) ? 'checked="checked"' : '';
! $smtp_yes = ( $new['smtp_delivery'] ) ? 'checked="checked"' : '';
! $smtp_no = ( !$new['smtp_delivery'] ) ? 'checked="checked"' : '';
$template->set_filenames(array(
***************
*** 132,139 ****
// box on the admin page
//
- $new['site_desc'] = str_replace('"', '"', $new['site_desc']);
- $new['sitename'] = str_replace('"', '"', strip_tags($new['sitename']));
$template->assign_vars(array(
! "S_CONFIG_ACTION" => append_sid("admin_board.$phpEx"),
"L_YES" => $lang['Yes'],
--- 144,149 ----
// box on the admin page
//
$template->assign_vars(array(
! "S_CONFIG_ACTION" => "admin_board.$phpEx$SID",
"L_YES" => $lang['Yes'],
***************
*** 233,238 ****
"SCRIPT_PATH" => $new['script_path'],
"SERVER_PORT" => $new['server_port'],
! "SITENAME" => $new['sitename'],
! "SITE_DESCRIPTION" => $new['site_desc'],
"S_DISABLE_BOARD_YES" => $disable_board_yes,
"S_DISABLE_BOARD_NO" => $disable_board_no,
--- 243,248 ----
"SCRIPT_PATH" => $new['script_path'],
"SERVER_PORT" => $new['server_port'],
! "SITENAME" => htmlentities($new['sitename']),
! "SITE_DESCRIPTION" => htmlentities($new['site_desc']),
"S_DISABLE_BOARD_YES" => $disable_board_yes,
"S_DISABLE_BOARD_NO" => $disable_board_no,
***************
*** 310,316 ****
);
- $template->pparse("body");
-
include('page_footer_admin.'.$phpEx);
! ?>
--- 320,324 ----
);
include('page_footer_admin.'.$phpEx);
! ?>
\ No newline at end of file
Index: admin_db_utilities.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_db_utilities.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -r1.42 -r1.43
*** admin_db_utilities.php 3 Apr 2002 20:14:46 -0000 1.42
--- admin_db_utilities.php 14 Jul 2002 14:51:03 -0000 1.43
***************
*** 31,49 ****
define('IN_PHPBB', 1);
! if( !empty($setmodules) )
{
! $filename = basename(__FILE__);
! $module['General']['Backup_DB'] = $filename . "?perform=backup";
! if(@phpversion() >= '4.0.0')
! {
! $file_uploads = @ini_get('file_uploads');
! }
[...1941 lines suppressed...]
!
}
+ return(true);
}
! function output_table_content($content)
! {
! global $tempfile;
! //fwrite($tempfile, $content . "\n");
! //$backup_sql .= $content . "\n";
! echo $content ."\n";
! return;
! }
! //
! // End Functions
! // -------------
!
! ?>
\ No newline at end of file
Index: admin_permissions.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_permissions.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** admin_permissions.php 5 Jul 2002 23:52:14 -0000 1.1
--- admin_permissions.php 14 Jul 2002 14:51:03 -0000 1.2
***************
*** 22,26 ****
if ( !empty($setmodules) )
{
! if ( !$acl->get_acl_admin('forums') )
{
return;
--- 22,26 ----
if ( !empty($setmodules) )
{
! if ( !$acl->get_acl_admin('auth') )
{
return;
***************
*** 29,33 ****
$filename = basename(__FILE__);
$module['Forums']['Permissions'] = $filename . $SID . '&mode=forums';
! $module['General']['Set_Administrators'] = $filename . $SID . '&mode=admins';
return;
--- 29,34 ----
$filename = basename(__FILE__);
$module['Forums']['Permissions'] = $filename . $SID . '&mode=forums';
! $module['Forums']['Moderators'] = $filename . $SID . '&mode=moderators';
! $module['General']['Administrators'] = $filename . $SID . '&mode=administrators';
return;
***************
*** 45,49 ****
// Do we have forum admin permissions?
//
! if ( !$acl->get_acl_admin('forums') )
{
message_die(MESSAGE, $lang['No_admin']);
--- 46,50 ----
// Do we have forum admin permissions?
//
! if ( !$acl->get_acl_admin('auth') )
{
message_die(MESSAGE, $lang['No_admin']);
***************
*** 56,60 ****
{
$forum_id = ( isset($HTTP_POST_VARS['f']) ) ? intval($HTTP_POST_VARS['f']) : intval($HTTP_GET_VARS['f']);
-
$forum_sql = " WHERE forum_id = $forum_id";
}
--- 57,60 ----
***************
*** 65,71 ****
--- 65,88 ----
}
+ $mode = ( isset($HTTP_GET_VARS['mode']) ) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
+
//
// Start program proper
//
+ switch ( $mode )
+ {
+ case 'forums':
+ $l_title = $lang['Permissions'];
+ $l_title_explain = $lang['Permissions_explain'];
+ break;
+ case 'moderators':
+ $l_title = $lang['Moderators'];
+ $l_title_explain = $lang['Moderators_explain'];
+ break;
+ case 'administrators':
+ $l_title = $lang['Administrators'];
+ $l_title_explain = $lang['Administrators_explain'];
+ break;
+ }
//
***************
*** 74,93 ****
// was
//
! if ( !empty($forum_id) )
{
//
! // Output the selection table if no forum id was
! // specified
//
! $template->set_filenames(array(
! "body" => "admin/auth_select_body.tpl")
! );
! $select_list = '<select name=f">';
! for($i = 0; $i < count($forum_rows); $i++)
{
! $select_list .= '<option value="' . $forum_rows[$i]['forum_id'] . '">' . $forum_rows[$i]['forum_name'] . '</option>';
}
! $select_list .= '</select>';
}
else
--- 91,310 ----
// was
//
! if ( !empty($forum_id) || $mode == 'administrators' )
{
//
! // Clear some vars, grab some info if relevant ...
! //
! $s_hidden_fields = '';
! if ( !empty($forum_id) )
! {
! $sql = "SELECT forum_name
! FROM " . FORUMS_TABLE . "
! WHERE forum_id = $forum_id";
! $result = $db->sql_query($sql);
!
! $forum_info = $db->sql_fetchrow($result);
!
! $l_title .= ' : <i>' . $forum_info['forum_name'] . '</i>';
! $s_hidden_fields = '<input type="hidden" name="f" value="' . $forum_id .'" />';
! }
!
//
! // Generate header
! //
! page_header($lang['Forums']);
!
! ?>
!
! <h1><?php echo $l_title; ?></h1>
! <p><?php echo $l_title_explain; ?></p>
!
! <?php
!
! switch ( $mode )
{
! case 'forums':
!
! ?>
!
! <form method="post" action="<?php echo "admin_permissions.$phpEx$SID&mode=$mode"; ?>">
!
! <h3><?php echo $lang['Allowed_users']; ?></h3>
!
! <select name="user_allowed"><?php echo $user_allowed_options; ?></select>
!
! <p>[ <a href=""><?php echo $lang['Advanced']; ?></a> ]</p>
!
! <h3><?php echo $lang['Allowed_groups']; ?></h3>
!
! <select name="group_allowed"><?php echo $group_allowed_options; ?></select>
!
! <p>[ <a href=""><?php echo $lang['Advanced']; ?></a> ]</p>
!
! <h3><?php echo $lang['Disallowed_users']; ?></h3>
!
! <select name="user_disallowed"><?php echo $user_disallowed_options; ?></select>
!
! <p>[ <a href=""><?php echo $lang['Advanced']; ?></a> ]</p>
!
! <h3><?php echo $lang['Disallowed_groups']; ?></h3>
!
! <select name="group_disallowed"><?php echo $group_disallowed_options; ?></select>
!
! <p>[ <a href=""><?php echo $lang['Advanced']; ?></a> ]</p>
!
! <?php
! break;
!
! case 'moderators':
! $sql = "SELECT auth_option
! FROM " . ACL_OPTIONS_TABLE . "
! WHERE auth_type LIKE 'mod'";
! $result = $db->sql_query($sql);
!
! $auth_options = array();
! while ( $row = $db->sql_fetchrow($result) )
! {
! $auth_options[] = $row;
! }
!
! $sql = "SELECT u.user_id, u.username, ao.auth_option
! FROM " . USERS_TABLE . " u, " . ACL_USERS_TABLE . " au, " . ACL_OPTIONS_TABLE . " ao
! WHERE ao.auth_type LIKE 'mod'
! AND au.auth_option_id = ao.auth_option_id
! AND au.forum_id = $forum_id
! AND u.user_id = au.user_id
! ORDER BY u.username, u.user_regdate ASC";
! $result = $db->sql_query($sql);
!
! $auth_users = array();
! while ( $row = $db->sql_fetchrow($result) )
! {
! $auth_users[$row['auth_option']] .= '<option value="' . $row['user_id'] . '">' . $row['username'] . '</option>';
! }
!
! $sql = "SELECT g.group_id, g.group_name, ao.auth_option
! FROM " . GROUPS_TABLE . " g, " . ACL_GROUPS_TABLE . " ag, " . ACL_OPTIONS_TABLE . " ao
! WHERE ao.auth_type LIKE 'mod'
! AND ag.auth_option_id = ao.auth_option_id
! AND ag.forum_id = $forum_id
! AND g.group_id = ag.group_id
! ORDER BY g.group_name ASC";
! $result = $db->sql_query($sql);
!
! $auth_groups = array();
! while ( $row = $db->sql_fetchrow($result) )
! {
! $auth_groups[$row['auth_option']] .= '<option value="' . $row['group_id'] . '">' . $row['group_name'] . '</option>';
! }
!
! ?>
!
! <table class="bg" cellspacing="1" cellpadding="4" border="0" align="center">
! <tr>
! <th>Setting</th>
! <th>Users</th>
! <th>Groups</th>
! </tr>
! <?php
! for($i = 0; $i < sizeof($auth_options); $i++)
! {
! $cell_bg = ( $cell_bg == 'row1' ) ? 'row2' : 'row1';
!
! ?>
! <tr>
! <td class="<?php echo $cell_bg; ?>" align="center"><?php echo $auth_options[$i]['auth_option']; ?></td>
! <td class="<?php echo $cell_bg; ?>" align="center"><select name="option[<?php echo $auth_options[$i]['auth_option']; ?>]" multiple="multiple"><?php echo $auth_users[$auth_options[$i]['auth_option']]; ?></select></td>
! <td class="<?php echo $cell_bg; ?>" align="center"><select name="option[<?php echo $auth_options[$i]['auth_option']; ?>]" multiple="multiple"><?php echo $auth_groups[$auth_options[$i]['auth_option']]; ?></select></td>
! </tr>
!
! <?php
! }
!
! ?>
! </table>
!
! <?php
! break;
!
! case 'administrators':
! $sql = "SELECT auth_option
! FROM " . ACL_OPTIONS_TABLE . "
! WHERE auth_type LIKE 'admin'";
! $result = $db->sql_query($sql);
!
! $auth_options = array();
! while ( $row = $db->sql_fetchrow($result) )
! {
! $auth_options[] = $row;
! }
!
! $sql = "SELECT u.user_id, u.username, ao.auth_option
! FROM " . USERS_TABLE . " u, " . ACL_USERS_TABLE . " au, " . ACL_OPTIONS_TABLE . " ao
! WHERE ao.auth_type LIKE 'admin'
! AND au.auth_option_id = ao.auth_option_id
! AND u.user_id = au.user_id
! ORDER BY u.username, u.user_regdate ASC";
! $result = $db->sql_query($sql);
!
! $auth_users = array();
! while ( $row = $db->sql_fetchrow($result) )
! {
! $auth_users[$row['auth_option']] .= '<option value="' . $row['user_id'] . '">' . $row['username'] . '</option>';
! }
!
! $sql = "SELECT g.group_id, g.group_name, ao.auth_option
! FROM " . GROUPS_TABLE . " g, " . ACL_GROUPS_TABLE . " ag, " . ACL_OPTIONS_TABLE . " ao
! WHERE ao.auth_type LIKE 'admin'
! AND ag.auth_option_id = ao.auth_option_id
! AND g.group_id = ag.group_id
! ORDER BY g.group_name ASC";
! $result = $db->sql_query($sql);
!
! $auth_groups = array();
! while ( $row = $db->sql_fetchrow($result) )
! {
! $auth_groups[$row['auth_option']] .= '<option value="' . $row['group_id'] . '">' . ( ( $row['group_name'] == 'ADMINISTRATORS' ) ? $lang['Admin_group'] : $row['group_name'] ) . '</option>';
! }
!
! ?>
!
! <table class="bg" cellspacing="1" cellpadding="4" border="0" align="center">
! <tr>
! <th>Setting</th>
! <th>Users</th>
! <th>Groups</th>
! </tr>
! <?php
! for($i = 0; $i < sizeof($auth_options); $i++)
! {
! $cell_bg = ( $cell_bg == 'row1' ) ? 'row2' : 'row1';
!
! $l_can_cell = ( !empty($lang['acl_admin_' . $auth_options[$i]['auth_option']]) ) ? $lang['acl_admin_' . $auth_options[$i]['auth_option']] : $auth_options[$i]['auth_option'];
!
! ?>
! <tr>
! <td class="<?php echo $cell_bg; ?>"><?php echo $l_can_cell; ?></td>
! <td class="<?php echo $cell_bg; ?>" align="center"><?php if ( !empty($auth_users[$auth_options[$i]['auth_option']]) ) { ?><select name="user_option[<?php echo $auth_options[$i]['auth_option']; ?>]"><?php echo $auth_users[$auth_options[$i]['auth_option']]; ?></select><?php } else { ?> <?php } ?></td>
! <td class="<?php echo $cell_bg; ?>" align="center"><?php if ( !empty($auth_groups[$auth_options[$i]['auth_option']]) ) { ?><select name="group_option[<?php echo $auth_options[$i]['auth_option']; ?>]"><?php echo $auth_groups[$auth_options[$i]['auth_option']]; ?></select><?php } else { ?> <?php } ?></td>
! </tr>
!
! <?php
! }
!
! ?>
! </table>
! <?php
! break;
}
!
!
! ?>
!
! <?php echo $s_hidden_fields; ?></form>
!
! <?php
!
}
else
***************
*** 109,122 ****
?>
! <h1><?php echo $lang['Permissions']; ?></h1>
! <p><?php echo $lang['Permissions_explain']; ?></p>
! <form method="post" action="<?php echo "admin_permissions.$phpEx$SID"; ?>"><table cellspacing="1" cellpadding="4" border="0" align="center" bgcolor="#98AAB1">
<tr>
<th align="center"><?php echo $lang['Select_a_Forum']; ?></th>
</tr>
<tr>
! <td class="row1" align="center"> <select name="f"><?php echo $select_list; ?></select> <input type="submit" value="<?php echo $lang['Look_up_Forum']; ?>" class="mainoption" /> </td>
</tr>
</table></form>
--- 326,339 ----
?>
! <h1><?php echo $l_title; ?></h1>
! <p><?php echo $l_title_explain ?></p>
! <form method="post" action="<?php echo "admin_permissions.$phpEx$SID&mode=$mode"; ?>"><table class="bg" cellspacing="1" cellpadding="4" border="0" align="center">
<tr>
<th align="center"><?php echo $lang['Select_a_Forum']; ?></th>
</tr>
<tr>
! <td class="row1" align="center"> <select name="f"><?php echo $select_list; ?></select> <input type="submit" value="<?php echo $lang['Look_up_Forum']; ?>" class="mainoption" /> </td>
</tr>
</table></form>
Index: admin_search.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_search.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** admin_search.php 5 Jul 2002 23:52:14 -0000 1.1
--- admin_search.php 14 Jul 2002 14:51:03 -0000 1.2
***************
*** 1,5 ****
<?php
/***************************************************************************
! * admin_search.php
* -------------------
* begin : Saturday, Feb 13, 2001
--- 1,5 ----
<?php
/***************************************************************************
! * admin_search.php
* -------------------
* begin : Saturday, Feb 13, 2001
***************
*** 33,36 ****
--- 33,40 ----
}
+ define('IN_PHPBB', 1);
+ //
+ // Include files
+ //
$phpbb_root_path = '../';
require($phpbb_root_path . 'extension.inc');
***************
*** 49,69 ****
// Start indexing
//
! if ( isset($HTTP_POST_VARS['start']) )
{
//
// Do not change anything below this line.
//
! set_time_limit(0);
$common_percent = 0.4; // Percentage of posts in which a word has to appear to be marked as common
- print "<html>\n<body>\n";
-
//
// Try and load stopword and synonym files
//
// This needs fixing! Shouldn't be hardcoded to English files!
! $stopword_array = file($phpbb_root_path . "language/lang_english/search_stopwords.txt");
! $synonym_array = file($phpbb_root_path . "language/lang_english/search_synonyms.txt");
//
--- 53,101 ----
// Start indexing
//
! if ( isset($HTTP_POST_VARS['start']) || isset($HTTP_GET_VARS['batchstart']) )
{
//
// Do not change anything below this line.
//
! @set_time_limit(0);
$common_percent = 0.4; // Percentage of posts in which a word has to appear to be marked as common
//
// Try and load stopword and synonym files
//
// This needs fixing! Shouldn't be hardcoded to English files!
! $stopword_array = array();
! $synonym_array = array();
!
! $dir = opendir($phpbb_root_path . 'language/');
! while ( $file = readdir($dir) )
! {
! if ( ereg('^lang_', $file) && !is_file($phpbb_root_path . 'language/' . $file) && !is_link($phpbb_root_path . 'language/' . $file) )
! {
! unset($tmp_array);
! $tmp_array = @file($phpbb_root_path . 'language/' . $file . '/search_stopwords.txt');
!
! if ( is_array($tmp_array) )
! {
! $stopword_array = array_merge($stopword_array, $tmp_array);
! }
!
! unset($tmp_array);
! $tmp_array = @file($phpbb_root_path . 'language/' . $file . '/search_synonyms.txt');
!
! if ( is_array($tmp_array) )
! {
! $synonym_array = array_merge($synonym_array, $tmp_array);
! }
! }
! }
!
! closedir($dir);
!
! $sql = "UPDATE " . CONFIG_TABLE . "
! SET config_value = '1'
! WHERE config_name = 'board_disable'";
! $db->sql_query($sql);
//
***************
*** 71,80 ****
//
$sql = "SELECT COUNT(*) as total, MAX(post_id) as max_post_id
! FROM ". POSTS_TEXT_TABLE;
! if ( !($result = $db->sql_query($sql)) )
! {
! $error = $db->sql_error();
! die("Couldn't get maximum post ID :: " . $sql . " :: " . $error['message']);
! }
$max_post_id = $db->sql_fetchrow($result);
--- 103,108 ----
//
$sql = "SELECT COUNT(*) as total, MAX(post_id) as max_post_id
! FROM " . POSTS_TEXT_TABLE;
! $result = $db->sql_query($sql);
$max_post_id = $db->sql_fetchrow($result);
***************
*** 83,90 ****
$max_post_id = $max_post_id['max_post_id'];
! $postcounter = (!isset($HTTP_GET_VARS['batchstart'])) ? 0 : $HTTP_GET_VARS['batchstart'];
- $batchsize = 200; // Process this many posts per loop
$batchcount = 0;
for(;$postcounter <= $max_post_id; $postcounter += $batchsize)
{
--- 111,118 ----
$max_post_id = $max_post_id['max_post_id'];
! $postcounter = ( !isset($HTTP_GET_VARS['batchstart']) ) ? 0 : $HTTP_GET_VARS['batchstart'];
$batchcount = 0;
+ $batchsize = 200; // Process this many posts per loop
for(;$postcounter <= $max_post_id; $postcounter += $batchsize)
{
***************
*** 98,130 ****
BETWEEN $batchstart
AND $batchend";
! if( !($result = $db->sql_query($sql)) )
! {
! $error = $db->sql_error();
! die("Couldn't get post_text :: " . $sql . " :: " . $error['message']);
! }
!
! $rowset = $db->sql_fetchrowset($result);
! $db->sql_freeresult($result);
!
! $post_rows = count($rowset);
! if( $post_rows )
{
! // $sql = "LOCK TABLES ".POST_TEXT_TABLE." WRITE";
! // $result = $db->sql_query($sql);
! print "\n<p>\n<a href='$PHP_SELF?batchstart=$batchstart'>Restart from posting $batchstart</a><br>\n";
!
! // For every post in the batch:
! for($post_nr = 0; $post_nr < $post_rows; $post_nr++ )
! {
! print ".";
! flush();
! $post_id = $rowset[$post_nr]['post_id'];
$matches = array();
! $matches['text'] = split_words(clean_words("post", $rowset[$post_nr]['post_text'], $stopword_array, $synonym_array));
! $matches['title'] = split_words(clean_words("post", $rowset[$post_nr]['post_subject'], $stopword_array, $synonym_array));
while( list($match_type, $match_ary) = @each($matches) )
--- 126,143 ----
BETWEEN $batchstart
AND $batchend";
! $result = $db->sql_query($sql);
! if ( $row = $db->sql_fetchrow($result) )
{
+ do
+ {
! // print "\n<p>\n<a href='$PHP_SELF?batchstart=$batchstart'>Restart from posting $batchstart</a><br>\n";
! $post_id = $row['post_id'];
$matches = array();
! $matches['text'] = split_words(clean_words('post', $row['post_text'], $stopword_array, $synonym_array));
! $matches['title'] = split_words(clean_words('post', $row['post_subject'], $stopword_array, $synonym_array));
while( list($match_type, $match_ary) = @each($matches) )
***************
*** 141,146 ****
// For all words in the posting
! $sql_in = "";
!
$sql_insert = '';
$sql_select = '';
--- 154,158 ----
// For all words in the posting
! $sql_in = '';
$sql_insert = '';
$sql_select = '';
***************
*** 151,156 ****
for($j = 0; $j < $num_matches; $j++)
{
! $this_word = strtolower(trim($match_ary[$j]));
! if ( $this_word != '' )
{
$word_count[$this_word] = ( isset($word_count[$this_word]) ) ? $word_count[$this_word] + 1 : 0;
--- 163,167 ----
for($j = 0; $j < $num_matches; $j++)
{
! if ( $this_word = strtolower(trim($match_ary[$j])) )
{
$word_count[$this_word] = ( isset($word_count[$this_word]) ) ? $word_count[$this_word] + 1 : 0;
***************
*** 164,178 ****
if ( $sql_insert == '' )
{
! die("no words found");
}
! $sql = 'INSERT IGNORE INTO ' . SEARCH_WORD_TABLE . "
! (word_text)
VALUES $sql_insert";
! if ( !$result = $db->sql_query($sql) )
! {
! $error = $db->sql_error();
! die("Couldn't INSERT words :: " . $sql . " :: " . $error['message']);
! }
// Get the word_id's out of the DB (to see if they are already there)
--- 175,184 ----
if ( $sql_insert == '' )
{
! message_die(ERROR, 'No words found to index');
}
! $sql = "INSERT IGNORE INTO " . SEARCH_WORD_TABLE . " (word_text)
VALUES $sql_insert";
! $db->sql_query($sql);
// Get the word_id's out of the DB (to see if they are already there)
***************
*** 181,227 ****
WHERE word_text IN ($sql_select)
GROUP BY word_text";
! $result = $db->sql_query($sql);
! if ( !$result )
! {
! $error = $db->sql_error();
! die("Couldn't select words :: " . $sql . " :: " . $error['message']);
! }
$sql_insert = array();
! while( $row = $db->sql_fetchrow($result) )
{
$sql_insert[] = "($post_id, " . $row['word_id'] . ", $title_match)";
}
! $db->sql_freeresult($result);
! $sql = "INSERT INTO " . SEARCH_MATCH_TABLE . "
! (post_id, word_id, title_match)
! VALUES " . implode(", ", $sql_insert);
! $result = $db->sql_query($sql);
! if ( !$result )
! {
! $error = $db->sql_error();
! die("Couldn't insert new word match :: " . $sql . " :: " . $error['message']);
! }
} // All posts
}
!
! // $sql = "UNLOCK TABLES";
! // $result = $db->sql_query($sql);
!
}
// Remove common words after the first 2 batches and after every 4th batch after that.
! if( $batchcount % 4 == 3 )
{
! print "<br>Removing common words (words that appear in more than $common_percent of the posts)<br>\n";
! flush();
! print "Removed ". remove_common("global", $common_percent) ." words that where too common.<br>";
}
}
echo "<br>Done";
}
--- 187,220 ----
WHERE word_text IN ($sql_select)
GROUP BY word_text";
! $result2 = $db->sql_query($sql);
$sql_insert = array();
! while( $row = $db->sql_fetchrow($result2) )
{
$sql_insert[] = "($post_id, " . $row['word_id'] . ", $title_match)";
}
! $db->sql_freeresult($result2);
! $sql = "INSERT INTO " . SEARCH_MATCH_TABLE . " (post_id, word_id, title_match)
! VALUES " . implode(', ', $sql_insert);
! $db->sql_query($sql);
} // All posts
}
! while ( $row = $db->sql_fetchrow($result) );
}
// Remove common words after the first 2 batches and after every 4th batch after that.
! if ( $batchcount % 4 == 3 )
{
! // print "<br>Removing common words (words that appear in more than $common_percent of the posts)<br>\n";
! // flush();
! // print "Removed ". remove_common("global", $common_percent) ." words that where too common.<br>";
}
}
echo "<br>Done";
+ exit;
}
Index: admin_styles.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_styles.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** admin_styles.php 2 Apr 2002 21:13:47 -0000 1.27
--- admin_styles.php 14 Jul 2002 14:51:03 -0000 1.28
***************
*** 1,937 ****
<?php
- /***************************************************************************
- * admin_styles.php
- * -------------------
- * begin : Thursday, Jul 12, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : su...@ph...
- *
- * $Id$
- *
[...1168 lines suppressed...]
{
! global $db;
!
! $sql = "SELECT template_name, template_path
! FROM " . STYLES_TPL_TABLE . "
! ORDER BY template_name";
! $result = $db->sql_query($sql);
!
! $tplroot_options = '';
! while ( $row = $db->sql_fetchrow($result) )
! {
! $selected = ( $tplroot == $row['template_path'] ) ? ' selected="selected"' : '';
! $tplroot_options .= '<option name="' . $row['template_path'] . '"' . $selected . '>' . $row['template_path'] . '</option>';
! }
!
! return $tplroot_options;
}
! ?>
\ No newline at end of file
Index: admin_users.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_users.php,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -r1.57 -r1.58
*** admin_users.php 27 Mar 2002 19:15:39 -0000 1.57
--- admin_users.php 14 Jul 2002 14:51:03 -0000 1.58
***************
*** 9,13 ****
* $Id$
*
- *
***************************************************************************/
--- 9,12 ----
***************
*** 21,28 ****
***************************************************************************/
! define('IN_PHPBB', 1);
!
! if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['Users']['Manage'] = $filename;
--- 20,30 ----
***************************************************************************/
! if ( !empty($setmodules) )
{
+ if ( !$acl->get_acl_admin('user') )
+ {
+ return;
+ }
+
$filename = basename(__FILE__);
$module['Users']['Manage'] = $filename;
***************
*** 31,43 ****
}
! $phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
require($phpbb_root_path . 'includes/bbcode.'.$phpEx);
! require($phpbb_root_path . 'includes/functions_post.'.$phpEx);
! require($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
require($phpbb_root_path . 'includes/functions_validate.'.$phpEx);
//
// Set mode
//
--- 33,56 ----
}
! define('IN_PHPBB', 1);
! //
! // Include files
! //
! $phpbb_root_path = '../';
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
require($phpbb_root_path . 'includes/bbcode.'.$phpEx);
! require($phpbb_root_path . 'includes/functions_posting.'.$phpEx);
require($phpbb_root_path . 'includes/functions_validate.'.$phpEx);
//
+ // Do we have forum admin permissions?
+ //
+ if ( !$acl->get_acl_admin('user') )
+ {
+ return;
+ }
+
+ //
// Set mode
//
***************
*** 54,58 ****
// Begin program
//
! if( $mode == 'edit' || $mode == 'save' && ( isset($HTTP_POST_VARS['username']) || isset($HTTP_GET_VARS[POST_USERS_URL]) || isset( $HTTP_POST_VARS[POST_USERS_URL]) ) )
{
//
--- 67,71 ----
// Begin program
//
! if ( $mode == 'edit' || $mode == 'save' && ( isset($HTTP_POST_VARS['username']) || isset($HTTP_GET_VARS['u']) || isset( $HTTP_POST_VARS['u']) ) )
{
//
***************
*** 66,70 ****
if( !$this_userdata )
{
! message_die(GENERAL_MESSAGE, $lang['No_user_id_specified'] );
}
--- 79,83 ----
if( !$this_userdata )
{
! message_die(MESSAGE, $lang['No_user_id_specified'] );
}
***************
*** 205,212 ****
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE session_user_id = $user_id";
! if( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not delete this users sessions', '', __LINE__, __FILE__, $sql);
! }
}
--- 218,222 ----
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE session_user_id = $user_id";
! $db->sql_query($sql);
}
***************
*** 240,244 ****
// Avatar stuff
//
! $avatar_sql = "";
if( isset($HTTP_POST_VARS['avatardel']) )
{
--- 250,254 ----
// Avatar stuff
//
! $avatar_sql = '';
if( isset($HTTP_POST_VARS['avatardel']) )
{
***************
*** 516,576 ****
AND g.group_id = ug.group_id
AND g.group_single_user = 1";
! if( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not obtain group information for this user', '', __LINE__, __FILE__, $sql);
! }
$row = $db->sql_fetchrow($result);
!
$sql = "UPDATE " . POSTS_TABLE . "
SET poster_id = " . ANONYMOUS . ", post_username = '$username'
WHERE poster_id = $user_id";
! if( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not update posts for this user', '', __LINE__, __FILE__, $sql);
! }
$sql = "UPDATE " . TOPICS_TABLE . "
SET topic_poster = " . ANONYMOUS . "
WHERE topic_poster = $user_id";
! if( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not update topics for this user', '', __LINE__, __FILE__, $sql);
! }
$sql = "DELETE FROM " . USERS_TABLE . "
WHERE user_id = $user_id";
! if( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not delete user', '', __LINE__, __FILE__, $sql);
! }
$sql = "DELETE FROM " . USER_GROUP_TABLE . "
WHERE user_id = $user_id";
! if( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not delete user from user_group table', '', __LINE__, __FILE__, $sql);
! }
$sql = "DELETE FROM " . GROUPS_TABLE . "
WHERE group_id = " . $row['group_id'];
! if( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not delete group for this user', '', __LINE__, __FILE__, $sql);
! }
$sql = "DELETE FROM " . AUTH_ACCESS_TABLE . "
WHERE group_id = " . $row['group_id'];
! if( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not delete group for this user', '', __LINE__, __FILE__, $sql);
! }
$sql = "DELETE FROM " . TOPICS_WATCH_TABLE . "
WHERE user_id = $user_id";
! if ( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not delete user from topic watch table', '', __LINE__, __FILE__, $sql);
! }
$message = $lang['User_deleted'];
--- 526,567 ----
AND g.group_id = ug.group_id
AND g.group_single_user = 1";
! $result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
! $db->sql_freeresult($result);
!
! $db->sql_transaction();
!
$sql = "UPDATE " . POSTS_TABLE . "
SET poster_id = " . ANONYMOUS . ", post_username = '$username'
WHERE poster_id = $user_id";
! $db->sql_query($sql);
$sql = "UPDATE " . TOPICS_TABLE . "
SET topic_poster = " . ANONYMOUS . "
WHERE topic_poster = $user_id";
! $db->sql_query($sql);
$sql = "DELETE FROM " . USERS_TABLE . "
WHERE user_id = $user_id";
! $db->sql_query($sql);
$sql = "DELETE FROM " . USER_GROUP_TABLE . "
WHERE user_id = $user_id";
! $db->sql_query($sql);
$sql = "DELETE FROM " . GROUPS_TABLE . "
WHERE group_id = " . $row['group_id'];
! $db->sql_query($sql);
$sql = "DELETE FROM " . AUTH_ACCESS_TABLE . "
WHERE group_id = " . $row['group_id'];
! $db->sql_query($sql);
$sql = "DELETE FROM " . TOPICS_WATCH_TABLE . "
WHERE user_id = $user_id";
! $db->sql_query($sql);
!
! $db->sql_transaction('commit');
$message = $lang['User_deleted'];
***************
*** 582,609 ****
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) . "', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", $aim) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_sig_bbcode_uid = '$signature_bbcode_uid', user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowavatar = $user_allowavatar, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_allow_pm = $user_allowpm, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_active = $user_status, user_rank = $user_rank" . $avatar_sql . "
WHERE user_id = $user_id";
! if( $result = $db->sql_query($sql) )
! {
! if( isset($rename_user) )
! {
! $sql = "UPDATE " . GROUPS_TABLE . "
! SET group_name = '".str_replace("\'", "''", $rename_user)."'
! WHERE group_name = '".str_replace("\'", "''", $this_userdata['username'] )."'";
! if( !$result = $db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not rename users group', '', __LINE__, __FILE__, $sql);
! }
! }
! $message .= $lang['Admin_user_updated'];
! }
! else
{
! $error = TRUE;
! $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Admin_user_fail'];
}
}
! $message .= '<br /><br />' . sprintf($lang['Click_return_useradmin'], '<a href="' . append_sid("admin_users.$phpEx") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
else
--- 573,592 ----
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) . "', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", $aim) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_sig_bbcode_uid = '$signature_bbcode_uid', user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowavatar = $user_allowavatar, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_allow_pm = $user_allowpm, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_active = $user_status, user_rank = $user_rank" . $avatar_sql . "
WHERE user_id = $user_id";
! $result = $db->sql_query($sql);
!
! if ( isset($rename_user) )
{
! $sql = "UPDATE " . GROUPS_TABLE . "
! SET group_name = '".str_replace("\'", "''", $rename_user)."'
! WHERE group_name = '".str_replace("\'", "''", $this_userdata['username'] )."'";
! $db->sql_query($sql);
}
+
+ $message .= $lang['Admin_user_updated'];
}
! $message .= '<br /><br />' . sprintf($lang['Click_return_useradmin'], '<a href="' . "admin_users.$phpEx$SID" . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . "index.$phpE$SID?pane=right" . '">', '</a>');
! message_die(MESSAGE, $message);
}
else
***************
*** 647,651 ****
if( !$this_userdata )
{
! message_die(GENERAL_MESSAGE, $lang['No_user_id_specified'] );
}
}
--- 630,634 ----
if( !$this_userdata )
{
! message_die(MESSAGE, $lang['No_user_id_specified'] );
}
}
***************
*** 655,659 ****
if( !$this_userdata )
{
! message_die(GENERAL_MESSAGE, $lang['No_user_id_specified'] );
}
}
--- 638,642 ----
if( !$this_userdata )
{
! message_die(MESSAGE, $lang['No_user_id_specified'] );
}
}
***************
*** 871,878 ****
WHERE rank_special = 1
ORDER BY rank_title";
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not obtain ranks data', '', __LINE__, __FILE__, $sql);
! }
$rank_select_box = '<option value="0">' . $lang['No_assigned_rank'] . '</option>';
--- 854,858 ----
WHERE rank_special = 1
ORDER BY rank_title";
! $result = $db->sql_query($sql);
$rank_select_box = '<option value="0">' . $lang['No_assigned_rank'] . '</option>';
***************
*** 1002,1006 ****
'HTML_STATUS' => $html_status,
! 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="../' . append_sid("faq.$phpEx?mode=bbcode") . '" target="_phpbbcode">', '</a>'),
'SMILIES_STATUS' => $smilies_status,
--- 982,986 ----
'HTML_STATUS' => $html_status,
! 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="../' . "faq.$phpEx$SID&mode=bbcode" . '" target="_phpbbcode">', '</a>'),
'SMILIES_STATUS' => $smilies_status,
***************
*** 1010,1014 ****
'S_HIDDEN_FIELDS' => $s_hidden_fields,
! 'S_PROFILE_ACTION' => append_sid("admin_users.$phpEx"))
);
--- 990,994 ----
'S_HIDDEN_FIELDS' => $s_hidden_fields,
! 'S_PROFILE_ACTION' => "admin_u...
[truncated message content] |
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:51:08
|
Update of /cvsroot/phpbb/phpBB2/admin/images
In directory usw-pr-cvs1:/tmp/cvs-serv16663/admin/images
Added Files:
cellpic1.gif cellpic3.gif header_bg.jpg header_left.jpg
Log Message:
Hard-coded HTML into admin modules ... no point in continuing to template this stuff since no one (or few) rarely bother to make use of the feature. Lots of changes for permissions, sessions, etc. some new styling stuff present (inc. editing templates though not complete), lots of bugs and non-functioning stuff ... any 'existing' modules will cause the right hand panel to fail ... remove them. If I catch anyone nicking graphics from here I'll kill 'em ...
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
ÿØÿà
ÿÀ
--- NEW FILE ---
ÿØÿà
ÿÀ
T!9ÿ
ÛdÐíúé!Õ2òôÑÁJÞÄôGÉ\h^iôõ
ªf´æ<~l]oOj×ýY«tO%¬-6`Ð-}ÊËäîhåìÐ 5Ý`Bãÿ
=@AvRç>[£rÆÇuû5ntäfWR34f
$å*÷iFú¾ý´ÿ
¶ö¹HºÛ¡Ü[üDLi.¢<øn¤+PZ£Zê|£&aa ÀÂ Äu·égM`á8
ßÁ¯%î
"84DphàÑ{Í}Óº>¢¾ár¨?+"DïaÌ6ß@Q³½q 'H),6HüQ«eD×7H`ÈV¢ÒHkµç¸8Ø>%_QºÛþûTÕêÍE>Ý¿þñ6kv ¼«ÔóiñR^ªÀ
uÕ;Úªâçwº|:ö½£ÞGb×í`ªÔµ·:[öÚ§?söY^W¯vþâqÿ
XVàIÙRTÓLºZ¢ÝÎ|=dÎ¢ÞÆG§zô£
²©Kc*!ÌÙ³ûØrÕVãÃxfÖäíÍj.ËÅa;¿ «VîóMÇ\"G°ÕHÕÙÜëó{ ´·±I¹A`ç6ÂDÀÄc¨ß_$úQU#ô·°/¦y"Vj
bÑm¸I #t]R«QÃE}ÊoW£QNõ¾D§;îsO¼¯yDº}Rª[ÊÙÓ
IVáYh'
ÄçjùÚÖ®öS±Î-.
`ÂûHYµI/MÓÚéÎ
$EÇ&)egüµP,p ßaéìhâÚv1Qħy:1ÒÀþ+Ê~©ÍÒé,æØÒc08»Ù,
{e×O3帴»êyÇ ¨çü¬·_3~l99Ü-ÑK²¤9¼ ÚÐoo(CºTF=´*ïQuÖK·ºïý2åÝgI+y6òÔêé93IsìÏÞÿ
_÷9´±`ɳ$$\ó®+kPé&b¦ÙOȵ«öVÊçJßîªû°~Yb¸ßì°(îFÓ¿³£ïù¦þÑwÄ«ÎÆ4©UEsr+ëLBÝ®«²8TDp¨áQ¢#
DJ³N5¤ýEæÏ$nO¾ï>`>ÚevËa`)*J¶
%I: é¬ÕF\³úc6NòÖ«Ï»×%#Ý5˾hSI^8-'«Ô9Õ*rê|h´AÙ¦Ç
˽ÊUk
:dØLL·Laq¥Ûßm.0ë$¡m-µ!I$+8z-@Ü2þQË9Nü«-jÎÞjÌ&VéJP\Sl! *)H
¡ª07V¦
VCÊS_2dåèkyG--oú0üµWÉz-TÎöm,²ãyËñëR9RÌðÞ1ÆI~%¶$F¡Æoû¶@BÈ*~E$±*CÆÐP±DÔTM¨y|×8ï&'ÚR|TDÉr{pÙLçÂr`BCFºV$h®Ì¡§lóP%´M#)|bÛà]yUM2¢óÄå0º*'ÌùVÝ%nÉU©
HV%N¥*Q﨧OËQU¼£WÍïgÒËsͤÂÕfëΦæ=FÜ©ï
Ü#8F0êT?Þ[<óÝq´º¹VÐSVÅX¸¶èÔÚKºimÁý-£úwªî2v¢K§<½Ø¸xpS*S;2òË"M¹0`^áÚÑm¾A÷O7&-B°ÄA¯}kå:ªÎbSH1qùù¡j¿òU[åé08.;?ϼÏùÃ$dëC"Í`·9*ÿ
,¡Ùÿ
¶Õ4LJS»#C
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:48:26
|
Update of /cvsroot/phpbb/phpBB2/admin/images In directory usw-pr-cvs1:/tmp/cvs-serv16104/images Log Message: Directory /cvsroot/phpbb/phpBB2/admin/images added to the repository |
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:48:00
|
Update of /cvsroot/phpbb/phpBB2/imagesets/subSilver/lang_english
In directory usw-pr-cvs1:/tmp/cvs-serv15975/imagesets/subSilver/lang_english
Added Files:
icon_aim.gif icon_edit.gif icon_email.gif icon_icq_add.gif
icon_ip.gif icon_msnm.gif icon_pm.gif icon_profile.gif
icon_quote.gif icon_search.gif icon_www.gif icon_yim.gif
msg_newpost.gif post.gif reply-locked.gif reply.gif
Log Message:
To allow for 'easy switch' imagesets (i.e. .cfg's move into the DB as requested) 'non-style' specific images (buttons, etc.) are now stored separately to the template
--- NEW FILE ---
GIF89a;
*®
ypü9±b
ü£ÁãÅXt@@
--- NEW FILE ---
GIF89a;
9fÚ¬Z¯BM¤Re¬øúy<S·«Óí4ç¸|N¯Ï?ÃhµXÐ43k*:$}+ ? &*;;!)/$¬
!eª}#
11Ñ4ö4Ô}$5.náÈ1¥À·'5È5bÀ
HÁp@¼(j
AÆ',0èñC'|`XAdô®|yE´ a½@`À
--- NEW FILE ---
GIF89a;
|ì± Á(ØùÁaÿ4Hvá
rx`!G&x¨
YÈ|`¦+À¶À\`¨ 1 ÕÇ"°ÐàÆZ-~Ã_Ö±`ô0
--- NEW FILE ---
GIF89a;
FõFÿÿÿöööùùùÿÿ±ìíì½½»éééÂÆÈ{¬Äÿÿ*¤þ¤···P°_YzózÒâèïÊ÷:zj¥ááá]ÃúÃ)þ)M1SÅÔÜüüüm^m
! - 7j (&?|$
4!
)
¥¦$¨©$¬h1
.#.!`"±("ª¨Ï=h.:-2
¾'$/&$'è'5ÎÐÐ÷Ó%%-.Ül|C*
j`Â
êÙ£ºáê,ìhË
;ZBè˹ï_F¸x
ojÀï06HÀÛ
ðvÞí<µÏª¸XpÊͬ tèÀ·ÃçxG#sÞÌ@#.qÕëÜÛyùò¾Î9¸ÝÀ.à0#Âûòë߯¿Â
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a;
X@`¡]&dàÁÁA$xñBÀÏ"4HàAA¤<3`.µCT.(4 PUV4$\uªÚmŪe+²ss°0A4¨(¡CEp;0La
`<B0XÏëCüÈÃg}Ë
Äæ ý
--- NEW FILE ---
GIF89a;
Ë«ÏÎÒëÒ«ÙÌ8»¨ÁZÉhÆâE³/0¼ø
#*ØñÙ2vPF¼/
Vd°0#
1̰Pcå
"¤øÿ6lP#`2Ô¨
<èÖ`
1 <`@=Ê¢m° bP°ÅU16W(TsÃ!r]PvF?
;@ÄÑ"ó:_p ÂìÚ²iÇÆ;33ZÔ aF!XûQ¡
ǰ ÇÙÉ\ï
.ÐãPº ¥PîV©å.Ü1Ä)æd"ÉA
--- NEW FILE ---
GIF89a;
-
! ,XQÿ
¸F#qZ¡-`Ä ÐN¨G E
#FÑWì=° #
--- NEW FILE ---
GIF89a;
Ê´!
º®(×-¥)¦(,ª+2,
7+7ÃêÆÊñÊ4Ó
øDÈÈ¡
--- NEW FILE ---
GIF89a;
-= !&&;&¤¤*b=))! ¶¶§1b: !z"&z44//{:/¶::&:#¤/Ú¹,ÖÖÀ
9 ±/(z/ó:ó03d<0]dÌ3À"CÁ}8qC=V¼[¶
MaÀ|0Á
2\x
7Äa Ä@
`ÀÇ[ zMAÆÊ*À1A0ÈCC^c<(·BZ=Cà°uªò -4\ÕÜ×)òx 8¯_$»ØÆ×bl]`«¬²¯Û:xh¶ÅfXéBëÊ1~ó&p`b
b
@¯!ܦ0ÎÃXØ: Âø¯ÆÝ:þìõÄo}
AÇ(¦¨¢A
--- NEW FILE ---
GIF89a;
Ð,Ú
ô-++ú´pOÀ/0"00pF)PxÈð@À"BòhQÀt´Ð¡
--- NEW FILE ---
GIF89a;
c§À¯>ÃÄ>o(¤3V H
&#{
£(Ì¡*©2ÃÇ©%Æì)&¦){ÔÖ4 &Ü¢(rP86 S¨hÀE¤"EñJùp
rW¨
ºæZ(¦Hb6øõÃ,
4Öh£
ä¨ã<öèã:~ðo bäH&)"?
--- NEW FILE ---
GIF89aR
MnµËyªÂYYYóóóëʪöÍ¥ý4ööö¥®ÕrùêÛÇÕÝÜÜÜÙÙÙô׺b¹I¬©»ôôôµÐÞú©Zù¸x|||õÆû£Lóìåm¸ÃÈ555çÓ¿ø.öÜÃêÞÓj¨ÿs§¡¡¡iiiëãÜä´ÞÞÞû±iݤlEEEåÌ´ÔÝâëà ÄÖéïú
`er±Kµ¯ÍÜÁËûÁX£äêí¾Ðöùú®®®t»Ïþ"ø®fãíò
¨0FNácÀ
ADÄ=@
ALØÃ8lÖÄøPx?×À
P H)Ðw"Ñ{hhB}{ý³40ÆVÁÁûPáEÿ0 ÂEÄ@6`aH@ÑDQp6Þ
P,â©Áy|²T{C
0ôÁÂ
gxZDû±ÄdDpüðÿ
<x[*lðÅÑAOÀ¸HA0`A:à@0àÀÍó§ÁC£
Mj©dÜí>pÀÓOS
Ög¡F^Üc¢7(ì½·ß ÷M"ÁLd`BÚD0À+° »WnùåwÞò°Äç¡ß÷
#È0Ñ>F´Ó¯¯À¨Ú&f.÷¨/üöP?u& (Ç
pÁà4ñ1`
--- NEW FILE ---
GIF89aR
`o u)w1w;yA
W¤Prå
£G]ª´)Ó§NjùI5%Ip8hPÄMvN8رäÚaÖäñ÷õ½üÞèoÞ̹þâÎh/®\y÷¶xO1,N8àð
æ0H1E
%Bè̹³çÎÿÝÛçÏß;2Q8áe`2°`Á6Oûþi [ÜtgúN<¸qÀÅáÂí;Ón<,P T8O
K¬l1<âè}cFþñõݽ|¹æ¯tn~óFÿÿÏÚúïêâ«o>¿{ø6W~ÿùÏ<iP
áÏ5!Æ[¼±l D
"
(`5wDB6óf#Ï=´° ö¤0<óô@90!
"¼ÈÆ´ ¢6
L ÿ0À
Âa
Â5
äáBÑàf<ÚG=!m8aÖ Í=þwØãÂ`Ë>ì24°c-` Cî OaèZP $Ãd
x
TÈÉ9M-î¸;0;úöÃñP&
KAüò<@¦ c0ÃyëpaÔAE-ÂF®´vhXîhñÝñâsLîGw«gÃÇ-^qk%\g`Ô
--- NEW FILE ---
GIF89aR
l(Õ¢SEñAÕ¸LÊ LWÒC
YP¦TÙ§ ¼QãT#²@±.:yÇä
ç\ÔÃ
j"gRA³f<èÐ@À8>¡¸Zµwä,Y2¯Ô[6ÙÐ
)Y`0Âm ïqÄï$
:ÁàÁëQq,U OOÉ` Q%(g
hxlØÿL6©
8`¨
--- NEW FILE ---
GIF89aX
; )tJ#¼|*
À²À ©À%4c¬@£c¤
dÌËÉ2ÊJ*põpÉ·ÃñÂ-ÌÑ`4
ïÌN@ô±5eÄbÅL¼
BÅã<¯K6<Ãò¸ñk|Ì(<òêH¶½£¨ñÓ+àÄìMFMA0ÆPÈ43Üî~$ºï<¿Þýøç¯ÿþüëï½ûóPÔ?U4ÁF>æ k¬o`$^AAmAbýË 58
OPúðÄ1ô& «pE
~JÃÚØ_a0N=Ì¡w¿DA£
Y
áó
h "´:à¡§¨?¡A¢¶¸E#¡
ÛrtNE*qèÃg±!æÆ~
|
Update of /cvsroot/phpbb/phpBB2/imagesets/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv15975/imagesets/subSilver
Added Files:
folder.gif folder_announce.gif folder_announce_new.gif
folder_big.gif folder_hot.gif folder_lock.gif
folder_lock_new.gif folder_locked_big.gif folder_new.gif
folder_new_big.gif folder_new_hot.gif folder_sticky.gif
folder_sticky_new.gif icon_delete.gif icon_latest_reply.gif
icon_minipost.gif icon_minipost_new.gif icon_newest_reply.gif
topic_delete.gif topic_lock.gif topic_move.gif topic_split.gif
topic_unlock.gif vote_lcap.gif vote_rcap.gif voting_bar.gif
Log Message:
To allow for 'easy switch' imagesets (i.e. .cfg's move into the DB as requested) 'non-style' specific images (buttons, etc.) are now stored separately to the template
--- NEW FILE ---
GIF89a
m
bMJ_YjK
¤°¹Z»8¼ÒÒ
°#&ÕÓ½.0
â9
ö
bð#6À¸
--- NEW FILE ---
GIF89a
bj¡¼i¶Öãê pÐÑÑ¢áìòÁÔÝ2z^õ÷øw¨ÀkìóöÙÙÙW£¤ªB©ÿÿÿ!ù
7BYÌ
ÁÁÃ
Ìè¢p$Â*ã(."
woz'"[Stz
t©^©mµ¶Ár>kÌÉ
e%××.=Ý)!
--- NEW FILE ---
GIF89a
¥{ °±²±L= ³º d%ÆÆÄ.<Ë)!
--- NEW FILE ---
GIF89a.
td,[z{))rSp={'z<R$2z
z!¤Eyz¿
l 0·D$%¨liÑ ÈB{ÑÒ 3!Ú%ÌÎz-Ú1)ææÀYP
ðt«E &h`îE4¸ C
--- NEW FILE ---
GIF89a
b$p§±ñóô¿ìîï ÂÔ9|¾Ñz ¹Óß·Ì¼ÃÆÿÿÿ!ÿNETSCAPE2.0
?«Dã@
$V§0e0J°¥d2(
ÍW̶ÜÌän[F#KkNuax"
6?`
! ¢:=)"¢±
Êb3ø) È Ó¡`1§2"<
h9À~æAÚ%
Åâèh m0ÑHôb8CD:Åf°XüDWa\Ît(BÌ&Y<8åáøe XBGG?A
--- NEW FILE ---
GIF89a
ePwj[Xe
--- NEW FILE ---
GIF89a
b¹Óß$p9|ÄØãñóô¿ìîï§±úüýz ã5·ÌÀÒM£ÁËÑ¼ÃÆXÿÿÿ!ù
/&CAL§P$à <pÃÃÉWÌnÐÌCC§î
¦zY u
))3?`z)8
&,
¹ §¨Á³$1,&(ÃË´!6?"3Îçç%'B <ÛôÛ#-CF=óîÝ#PbDN.T¨QB
Jl¸EË
--- NEW FILE ---
GIF89a.
ó<8à<¶uëÉ!PÅ,ÀÍrëÎí
--- NEW FILE ---
GIF89a
Uf^
--- NEW FILE ---
GIF89a.
²¨ØÔì<&PÈæd,[l&zjqS14xk$ l%R%3
©8l!:¡E
WÐ
+"а0À)rÃX`$ÍV
abÈ¡AèQ@-s5 ¥Ð!ïH,øýXð&ü5!¯ã:N¶@9°i*:þ¡@BÈ}c>;àÁV1cc@hÉ~`¶AAµn!!"PP±â V¨
--- NEW FILE ---
GIF89a
FÄA-@N¡Kr¨TR47ÌfÌCnÛaPÁªÛ"?~%
«%¼¼y40»ÉÕ
Åâñ(yèø
--- NEW FILE ---
GIF89a
v«^¬
'k
--- NEW FILE ---
GIF89a
E¡0(FÃ3àÈHd×ÈwwI.
¶¶\·3#··Á
ÊÊÐ#u\l
--- NEW FILE ---
GIF89a
,
,s££¥¸¹¸;"/À³!
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
êw{
w\
--- NEW FILE ---
GIF89a
Xg
f{v¢
J
[¢
--- NEW FILE ---
GIF89a
dxzd<X
³ 8
´¼´#&½¨¿
.0ÅÏÊ9Ü[Ö#6Y.!
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:45:55
|
Update of /cvsroot/phpbb/phpBB2/imagesets/subSilver/ratings In directory usw-pr-cvs1:/tmp/cvs-serv15545/ratings Log Message: Directory /cvsroot/phpbb/phpBB2/imagesets/subSilver/ratings added to the repository |
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:45:55
|
Update of /cvsroot/phpbb/phpBB2/imagesets/subSilver/lang_english In directory usw-pr-cvs1:/tmp/cvs-serv15545/lang_english Log Message: Directory /cvsroot/phpbb/phpBB2/imagesets/subSilver/lang_english added to the repository |
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:45:49
|
Update of /cvsroot/phpbb/phpBB2/imagesets/subSilver In directory usw-pr-cvs1:/tmp/cvs-serv15522/subSilver Log Message: Directory /cvsroot/phpbb/phpBB2/imagesets/subSilver added to the repository |
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:45:43
|
Update of /cvsroot/phpbb/phpBB2/imagesets In directory usw-pr-cvs1:/tmp/cvs-serv15491/imagesets Log Message: Directory /cvsroot/phpbb/phpBB2/imagesets added to the repository |
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:45:30
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv15403
Modified Files:
common.php faq.php groupcp.php index.php login.php
memberlist.php modcp.php posting.php privmsg.php profile.php
search.php viewforum.php viewonline.php viewtopic.php
Log Message:
Updates for permissions, sessions, lots of things ... note that _many_ things _do_not_work_ now ... I'm commiting them to stop people complaining about my holding on to everything :) There is _no_ update script at present for all these changes, you'll have to work out what's needed yourselves till I finish various things
Index: common.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/common.php,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -r1.77 -r1.78
*** common.php 9 May 2002 14:07:52 -0000 1.77
--- common.php 14 Jul 2002 14:45:20 -0000 1.78
***************
*** 9,13 ****
* $Id$
*
- *
***************************************************************************/
--- 9,12 ----
***************
*** 23,27 ****
if ( !defined('IN_PHPBB') )
{
! die("Hacking attempt");
}
--- 22,26 ----
if ( !defined('IN_PHPBB') )
{
! die('Hacking attempt');
}
***************
*** 29,80 ****
set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
! //
! // addslashes to vars if magic_quotes_gpc is off this is a security precaution
! // to prevent someone trying to break out of a SQL statement.
! //
! function slash_input_data(&$data)
! {
! if ( is_array($data) )
! {
! while( list($k, $v) = each($data) )
! {
! $data[$k] = ( is_array($v) ) ? slash_input_data($v) : addslashes($v);
! }
!
! @reset($data);
! }
! return $data;
! }
! if ( !get_magic_quotes_gpc() )
{
! $HTTP_GET_VARS = slash_input_data($HTTP_GET_VARS);
! $HTTP_POST_VARS = slash_input_data($HTTP_POST_VARS);
! $HTTP_COOKIE_VARS = slash_input_data($HTTP_COOKIE_VARS);
}
//
! // Define some basic configuration arrays this also prevents
! // malicious rewriting of language and otherarray values via
! // URI params
//
- $board_config = array();
- $userdata = array();
- $theme = array();
- $images = array();
- $lang = array();
- $gen_simple_header = FALSE;
-
- require($phpbb_root_path . 'config.'.$phpEx);
-
- if( !defined("PHPBB_INSTALLED") )
- {
- header("Location: install.$phpEx");
- }
-
- // Debug Level
- define('DEBUG', 1); // Debugging on
- //define('DEBUG', 0); // Debugging off
-
// User Levels <- Do not change the values of USER or ADMIN
--- 28,42 ----
set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
! require($phpbb_root_path . 'config.'.$phpEx);
! if ( !defined('PHPBB_INSTALLED') )
{
! header('Location: install/install.'.$phpEx);
! exit;
}
//
! // Define some constants/variables
//
// User Levels <- Do not change the values of USER or ADMIN
***************
*** 84,92 ****
define('MOD', 2);
-
// User related
define('USER_ACTIVATION_NONE', 0);
define('USER_ACTIVATION_SELF', 1);
define('USER_ACTIVATION_ADMIN', 2);
define('USER_AVATAR_NONE', 0);
--- 46,54 ----
define('MOD', 2);
// User related
define('USER_ACTIVATION_NONE', 0);
define('USER_ACTIVATION_SELF', 1);
define('USER_ACTIVATION_ADMIN', 2);
+ define('USER_ACTIVATION_CLOSED', 3);
define('USER_AVATAR_NONE', 0);
***************
*** 95,99 ****
define('USER_AVATAR_GALLERY', 3);
-
// Group settings
define('GROUP_OPEN', 0);
--- 57,60 ----
***************
*** 101,117 ****
define('GROUP_HIDDEN', 2);
-
// Forum state
define('FORUM_UNLOCKED', 0);
define('FORUM_LOCKED', 1);
-
// Topic status
define('TOPIC_UNLOCKED', 0);
define('TOPIC_LOCKED', 1);
define('TOPIC_MOVED', 2);
- define('TOPIC_WATCH_NOTIFIED', 1);
- define('TOPIC_WATCH_UN_NOTIFIED', 0);
-
// Topic types
--- 62,73 ----
***************
*** 119,136 ****
define('POST_STICKY', 1);
define('POST_ANNOUNCE', 2);
- define('POST_GLOBAL_ANNOUNCE', 3);
-
-
- // SQL codes
- define('BEGIN_TRANSACTION', 1);
- define('END_TRANSACTION', 2);
-
// Error codes
! define('GENERAL_MESSAGE', 200);
! define('GENERAL_ERROR', 202);
! define('CRITICAL_MESSAGE', 203);
! define('CRITICAL_ERROR', 204);
!
// Private messaging
--- 75,82 ----
define('POST_STICKY', 1);
define('POST_ANNOUNCE', 2);
// Error codes
! define('MESSAGE', 200);
! define('ERROR', 201);
// Private messaging
***************
*** 142,211 ****
define('PRIVMSGS_UNREAD_MAIL', 5);
-
- // URL PARAMETERS
- define('POST_TOPIC_URL', 't');
- define('POST_CAT_URL', 'c');
- define('POST_FORUM_URL', 'f');
- define('POST_USERS_URL', 'u');
- define('POST_POST_URL', 'p');
- define('POST_GROUPS_URL', 'g');
-
// Session parameters
define('SESSION_METHOD_COOKIE', 100);
define('SESSION_METHOD_GET', 101);
-
- // Page numbers for session handling
- define('PAGE_INDEX', 0);
- define('PAGE_LOGIN', -1);
- define('PAGE_SEARCH', -2);
- define('PAGE_REGISTER', -3);
- define('PAGE_PROFILE', -4);
- define('PAGE_VIEWONLINE', -6);
- define('PAGE_VIEWMEMBERS', -7);
- define('PAGE_FAQ', -8);
- define('PAGE_POSTING', -9);
- define('PAGE_PRIVMSGS', -10);
- define('PAGE_GROUPCP', -11);
- define('PAGE_TOPIC_OFFSET', 5000);
-
-
- // Auth settings
- define('AUTH_LIST_ALL', 0);
- define('AUTH_ALL', 0);
-
- define('AUTH_REG', 1);
- define('AUTH_ACL', 2);
- define('AUTH_MOD', 3);
- define('AUTH_ADMIN', 5);
-
- define('AUTH_VIEW', 1);
- define('AUTH_READ', 2);
- define('AUTH_POST', 3);
- define('AUTH_REPLY', 4);
- define('AUTH_EDIT', 5);
- define('AUTH_DELETE', 6);
- define('AUTH_ANNOUNCE', 7);
- define('AUTH_STICKY', 8);
- define('AUTH_POLLCREATE', 9);
- define('AUTH_VOTE', 10);
- define('AUTH_ATTACH', 11);
-
-
// Table names
! define('AUTH_ACCESS_TABLE', $table_prefix.'auth_access');
define('BANLIST_TABLE', $table_prefix.'banlist');
! define('CATEGORIES_TABLE', $table_prefix.'categories');
define('CONFIG_TABLE', $table_prefix.'config');
! define('DISALLOW_TABLE', $table_prefix.'disallow');
define('FORUMS_TABLE', $table_prefix.'forums');
define('FORUMS_WATCH_TABLE', $table_prefix.'forums_watch');
define('GROUPS_TABLE', $table_prefix.'groups');
define('POSTS_TABLE', $table_prefix.'posts');
define('POSTS_TEXT_TABLE', $table_prefix.'posts_text');
define('PRIVMSGS_TABLE', $table_prefix.'privmsgs');
define('PRIVMSGS_TEXT_TABLE', $table_prefix.'privmsgs_text');
- define('PRIVMSGS_IGNORE_TABLE', $table_prefix.'privmsgs_ignore');
- define('PRUNE_TABLE', $table_prefix.'forum_prune');
define('RANKS_TABLE', $table_prefix.'ranks');
define('SEARCH_TABLE', $table_prefix.'search_results');
--- 88,114 ----
define('PRIVMSGS_UNREAD_MAIL', 5);
// Session parameters
define('SESSION_METHOD_COOKIE', 100);
define('SESSION_METHOD_GET', 101);
// Table names
! define('ACL_GROUPS_TABLE', $table_prefix.'auth_groups');
! define('ACL_OPTIONS_TABLE', $table_prefix.'auth_options');
! define('ACL_PREFETCH_TABLE', $table_prefix.'auth_prefetch');
! define('ACL_USERS_TABLE', $table_prefix.'auth_users');
define('BANLIST_TABLE', $table_prefix.'banlist');
! define('CATEGORIES_TABLE', $table_prefix.'categories'); //
define('CONFIG_TABLE', $table_prefix.'config');
! define('DISALLOW_TABLE', $table_prefix.'disallow'); //
define('FORUMS_TABLE', $table_prefix.'forums');
define('FORUMS_WATCH_TABLE', $table_prefix.'forums_watch');
define('GROUPS_TABLE', $table_prefix.'groups');
+ define('ICONS_TABLE', $table_prefix.'icons');
+ define('LOG_ADMIN_TABLE', $table_prefix.'log_admin');
+ define('LOG_MOD_TABLE', $table_prefix.'log_moderators');
define('POSTS_TABLE', $table_prefix.'posts');
define('POSTS_TEXT_TABLE', $table_prefix.'posts_text');
define('PRIVMSGS_TABLE', $table_prefix.'privmsgs');
define('PRIVMSGS_TEXT_TABLE', $table_prefix.'privmsgs_text');
define('RANKS_TABLE', $table_prefix.'ranks');
define('SEARCH_TABLE', $table_prefix.'search_results');
***************
*** 214,220 ****
define('SESSIONS_TABLE', $table_prefix.'sessions');
define('SMILIES_TABLE', $table_prefix.'smilies');
! define('THEMES_TABLE', $table_prefix.'themes');
! define('THEMES_NAME_TABLE', $table_prefix.'themes_name');
define('TOPICS_TABLE', $table_prefix.'topics');
define('TOPICS_WATCH_TABLE', $table_prefix.'topics_watch');
define('USER_GROUP_TABLE', $table_prefix.'user_group');
--- 117,126 ----
define('SESSIONS_TABLE', $table_prefix.'sessions');
define('SMILIES_TABLE', $table_prefix.'smilies');
! define('STYLES_TABLE', $table_prefix.'styles');
! define('STYLES_TPL_TABLE', $table_prefix.'styles_template');
! define('STYLES_CSS_TABLE', $table_prefix.'styles_theme');
! define('STYLES_IMAGE_TABLE', $table_prefix.'styles_imageset');
define('TOPICS_TABLE', $table_prefix.'topics');
+ define('TOPICS_RATINGS_TABLE', $table_prefix.'topics_rating');
define('TOPICS_WATCH_TABLE', $table_prefix.'topics_watch');
define('USER_GROUP_TABLE', $table_prefix.'user_group');
***************
*** 225,303 ****
define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');
! include($phpbb_root_path . 'includes/template.'.$phpEx);
! include($phpbb_root_path . 'includes/sessions.'.$phpEx);
! include($phpbb_root_path . 'includes/auth.'.$phpEx);
! include($phpbb_root_path . 'includes/functions.'.$phpEx);
!
! switch($dbms)
{
! case 'mysql':
! include($phpbb_root_path . 'db/mysql.'.$phpEx);
! break;
!
! case 'mysql4':
! include($phpbb_root_path . 'db/mysql4.'.$phpEx);
! break;
!
! case 'postgres':
! include($phpbb_root_path . 'db/postgres7.'.$phpEx);
! break;
!
! case 'mssql':
! include($phpbb_root_path . 'db/mssql.'.$phpEx);
! break;
!
! case 'oracle':
! include($phpbb_root_path . 'db/oracle.'.$phpEx);
! break;
!
! case 'msaccess':
! include($phpbb_root_path . 'db/msaccess.'.$phpEx);
! break;
!
! case 'mssql-odbc':
! include($phpbb_root_path . 'db/mssql-odbc.'.$phpEx);
! break;
}
! // Make the database connection.
! $db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false);
! if ( !$db->db_connect_id )
! {
! message_die(CRITICAL_ERROR, "Could not connect to the database");
! }
//
! // Mozilla navigation bar
! // Default items that should be valid on all pages.
! // Defined here and not in page_header.php so they can be redefined in the code
! //
! $nav_links['top'] = array (
! 'url' => append_sid($phpbb_root_dir."index.".$phpEx),
! 'title' => sprintf($lang['Forum_Index'], $board_config['sitename'])
! );
! $nav_links['search'] = array (
! 'url' => append_sid($phpbb_root_dir."search.".$phpEx),
! 'title' => $lang['Search']
! );
! $nav_links['help'] = array (
! 'url' => append_sid($phpbb_root_dir."faq.".$phpEx),
! 'title' => $lang['FAQ']
! );
! $nav_links['author'] = array (
! 'url' => append_sid($phpbb_root_dir."memberlist.".$phpEx),
! 'title' => $lang['Memberlist']
! );
//
! // Obtain and encode users IP
//
! if( getenv('HTTP_X_FORWARDED_FOR') != '' )
{
$user_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : $REMOTE_ADDR );
! if ( preg_match("/^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/", getenv('HTTP_X_FORWARDED_FOR'), $ip_list) )
{
! $private_ip = array('/^127\.0\.0\.1/', '/^192\.168\..*/', '/^172\.16\..*/', '/^10..*/', '/^224..*/', '/^240..*/');
$user_ip = preg_replace($private_ip, $client_ip, $ip_list[1]);
}
--- 131,169 ----
define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');
! if ( !get_magic_quotes_gpc() )
{
! $HTTP_GET_VARS = slash_input_data($HTTP_GET_VARS);
! $HTTP_POST_VARS = slash_input_data($HTTP_POST_VARS);
! $HTTP_COOKIE_VARS = slash_input_data($HTTP_COOKIE_VARS);
}
! $board_config = array();
! $userdata = array();
! $theme = array();
! $images = array();
! $lang = array();
//
! // Include files
! //
! require($phpbb_root_path . 'includes/template.'.$phpEx);
! require($phpbb_root_path . 'includes/session.'.$phpEx);
! require($phpbb_root_path . 'includes/functions.'.$phpEx);
! require($phpbb_root_path . 'db/' . $dbms . '.'.$phpEx);
!
! $session = new session();
! $db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
//
! // Obtain users IP, not encoded in 2.2
//
! if ( $HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR'] != '' || $HTTP_ENV_VARS['HTTP_X_FORWARDED_FOR'] != '' )
{
$user_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : $REMOTE_ADDR );
+ $x_ip = ( !empty($HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR']) ) ? $HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR'] : $HTTP_ENV_VARS['HTTP_X_FORWARDED_FOR'];
! if ( preg_match('/^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/', $x_ip, $ip_list) )
{
! $private_ip = array('/^0\./', '/^127\.0\.0\.1/', '/^192\.168\..*/', '/^172\.16\..*/', '/^10\..*/', '/^224\..*/', '/^240\..*/');
$user_ip = preg_replace($private_ip, $client_ip, $ip_list[1]);
}
***************
*** 309,324 ****
//
! // Setup forum wide options, if this fails
! // then we output a CRITICAL_ERROR since
// basic forum information is not available
//
$sql = "SELECT *
FROM " . CONFIG_TABLE;
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(CRITICAL_ERROR, 'Could not query config information', '', __LINE__, __FILE__, $sql);
! }
! while($row = $db->sql_fetchrow($result))
{
$board_config[$row['config_name']] = $row['config_value'];
--- 175,186 ----
//
! // Setup forum wide options, if this fails we output a CRITICAL_ERROR since
// basic forum information is not available
//
$sql = "SELECT *
FROM " . CONFIG_TABLE;
! $result = $db->sql_query($sql);
! while ( $row = $db->sql_fetchrow($result) )
{
$board_config[$row['config_name']] = $row['config_value'];
***************
*** 330,334 ****
if ( $board_config['board_disable'] && !defined('IN_ADMIN') && !defined('IN_LOGIN') )
{
! message_die(GENERAL_MESSAGE, 'Board_disable', 'Information');
}
--- 192,215 ----
if ( $board_config['board_disable'] && !defined('IN_ADMIN') && !defined('IN_LOGIN') )
{
! $message = ( !empty($board_config['board_disable_msg']) ) ? $board_config['board_disable_msg'] : 'Board_disable';
! message_die(MESSAGE, $message, 'Information');
! }
!
! //
! // addslashes to vars if magic_quotes_gpc is off this is a security precaution
! // to prevent someone trying to break out of a SQL statement.
! //
! function slash_input_data(&$data)
! {
! if ( is_array($data) )
! {
! while ( list($k, $v) = each($data) )
! {
! $data[$k] = ( is_array($v) ) ? slash_input_data($v) : addslashes($v);
! }
!
! @reset($data);
! }
! return $data;
}
Index: faq.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/faq.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** faq.php 31 Mar 2002 00:06:33 -0000 1.14
--- faq.php 14 Jul 2002 14:45:20 -0000 1.15
***************
*** 29,34 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, PAGE_FAQ);
! init_userprefs($userdata);
//
// End session management
--- 29,34 ----
// Start session management
//
! $userdata = $session->start();
! $acl = new auth('list', $userdata);
//
// End session management
***************
*** 36,42 ****
//
// Load the appropriate faq file
//
! if( isset($HTTP_GET_VARS['mode']) )
{
switch( $HTTP_GET_VARS['mode'] )
--- 36,47 ----
//
+ // Configure style, language, etc.
+ //
+ $session->configure($userdata);
+
+ //
// Load the appropriate faq file
//
! if ( isset($HTTP_GET_VARS['mode']) )
{
switch( $HTTP_GET_VARS['mode'] )
***************
*** 70,74 ****
for($i = 0; $i < count($faq); $i++)
{
! if( $faq[$i][0] != '--' )
{
$faq_block[$j][$counter]['id'] = $counter_2;
--- 75,79 ----
for($i = 0; $i < count($faq); $i++)
{
! if ( $faq[$i][0] != '--' )
{
$faq_block[$j][$counter]['id'] = $counter_2;
***************
*** 92,103 ****
// Lets build a page ...
//
- $page_title = $l_title;
- include($phpbb_root_path . 'includes/page_header.'.$phpEx);
-
- $template->set_filenames(array(
- 'body' => 'faq_body.tpl')
- );
- make_jumpbox('viewforum.'.$phpEx, $forum_id);
-
$template->assign_vars(array(
'L_FAQ_TITLE' => $l_title,
--- 97,100 ----
***************
*** 107,111 ****
for($i = 0; $i < count($faq_block); $i++)
{
! if( count($faq_block[$i]) )
{
$template->assign_block_vars('faq_block', array(
--- 104,108 ----
for($i = 0; $i < count($faq_block); $i++)
{
! if ( count($faq_block[$i]) )
{
$template->assign_block_vars('faq_block', array(
***************
*** 122,125 ****
--- 119,123 ----
$template->assign_block_vars('faq_block.faq_row', array(
+ 'ROW_COUNT' => $j,
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
***************
*** 131,134 ****
--- 129,133 ----
$template->assign_block_vars('faq_block_link.faq_row_link', array(
+ 'ROW_COUNT' => $j,
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
***************
*** 141,145 ****
}
! $template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
--- 140,150 ----
}
! $page_title = $l_title;
! include($phpbb_root_path . 'includes/page_header.'.$phpEx);
!
! $template->set_filenames(array(
! 'body' => 'faq_body.html')
! );
! make_jumpbox('viewforum.'.$phpEx, $forum_id);
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
Index: groupcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/groupcp.php,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** groupcp.php 20 Apr 2002 00:22:27 -0000 1.59
--- groupcp.php 14 Jul 2002 14:45:20 -0000 1.60
***************
*** 112,117 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, PAGE_GROUPCP);
! init_userprefs($userdata);
//
// End session management
--- 112,117 ----
// Start session management
//
! $userdata = $session->start();
! $acl = new auth('list', $userdata);
//
// End session management
***************
*** 167,171 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not obtain user and group information', '', __LINE__, __FILE__, $sql);
}
--- 167,171 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Could not obtain user and group information', '', __LINE__, __FILE__, $sql);
}
***************
*** 180,184 ****
$message = $lang['Not_group_moderator'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
--- 180,184 ----
$message = $lang['Not_group_moderator'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(MESSAGE, $message);
}
***************
*** 188,192 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not obtain user and group information', '', __LINE__, __FILE__, $sql);
}
--- 188,192 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Could not obtain user and group information', '', __LINE__, __FILE__, $sql);
}
***************
*** 197,201 ****
$message = $lang['Group_type_updated'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
--- 197,201 ----
$message = $lang['Group_type_updated'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(MESSAGE, $message);
}
***************
*** 218,222 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not obtain user and group information', '', __LINE__, __FILE__, $sql);
}
--- 218,222 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Could not obtain user and group information', '', __LINE__, __FILE__, $sql);
}
***************
*** 235,239 ****
$message = $lang['Already_member_group'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
} while ( $row = $db->sql_fetchrow($result) );
--- 235,239 ----
$message = $lang['Already_member_group'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(MESSAGE, $message);
}
} while ( $row = $db->sql_fetchrow($result) );
***************
*** 247,256 ****
$message = $lang['This_closed_group'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
}
else
{
! message_die(GENERAL_MESSAGE, $lang['No_groups_exist']);
}
--- 247,256 ----
$message = $lang['This_closed_group'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(MESSAGE, $message);
}
}
else
{
! message_die(MESSAGE, $lang['No_groups_exist']);
}
***************
*** 259,263 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, "Error inserting user group subscription", "", __LINE__, __FILE__, $sql);
}
--- 259,263 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, "Error inserting user group subscription", "", __LINE__, __FILE__, $sql);
}
***************
*** 268,272 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, "Error getting group moderator data", "", __LINE__, __FILE__, $sql);
}
--- 268,272 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, "Error getting group moderator data", "", __LINE__, __FILE__, $sql);
}
***************
*** 299,303 ****
$message = $lang['Group_joined'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
else if ( isset($HTTP_POST_VARS['unsub']) || isset($HTTP_POST_VARS['unsubpending']) && $group_id )
--- 299,303 ----
$message = $lang['Group_joined'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(MESSAGE, $message);
}
else if ( isset($HTTP_POST_VARS['unsub']) || isset($HTTP_POST_VARS['unsubpending']) && $group_id )
***************
*** 323,327 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not delete group memebership data', '', __LINE__, __FILE__, $sql);
}
--- 323,327 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Could not delete group memebership data', '', __LINE__, __FILE__, $sql);
}
***************
*** 335,339 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not obtain moderator status', '', __LINE__, __FILE__, $sql);
}
--- 335,339 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Could not obtain moderator status', '', __LINE__, __FILE__, $sql);
}
***************
*** 345,349 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
}
--- 345,349 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
}
***************
*** 356,360 ****
$message = $lang['Usub_success'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
else
--- 356,360 ----
$message = $lang['Usub_success'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(MESSAGE, $message);
}
else
***************
*** 438,442 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not get moderator information', '', __LINE__, __FILE__, $sql);
}
--- 438,442 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Could not get moderator information', '', __LINE__, __FILE__, $sql);
}
***************
*** 468,472 ****
$message = $lang['Not_group_moderator'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
--- 468,472 ----
$message = $lang['Not_group_moderator'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(MESSAGE, $message);
}
***************
*** 480,484 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, "Could not get user information", $lang['Error'], __LINE__, __FILE__, $sql);
}
--- 480,484 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, "Could not get user information", $lang['Error'], __LINE__, __FILE__, $sql);
}
***************
*** 491,495 ****
$message = $lang['Could_not_add_user'] . "<br /><br />" . sprintf($lang['Click_return_group'], "<a href=\"" . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_index'], "<a href=\"" . append_sid("index.$phpEx") . "\">", "</a>");
! message_die(GENERAL_MESSAGE, $message);
}
--- 491,495 ----
$message = $lang['Could_not_add_user'] . "<br /><br />" . sprintf($lang['Click_return_group'], "<a href=\"" . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_index'], "<a href=\"" . append_sid("index.$phpEx") . "\">", "</a>");
! message_die(MESSAGE, $message);
}
***************
*** 502,506 ****
$message = $lang['Could_not_anon_user'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
--- 502,506 ----
$message = $lang['Could_not_anon_user'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(MESSAGE, $message);
}
***************
*** 512,516 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not get user information', '', __LINE__, __FILE__, $sql);
}
--- 512,516 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Could not get user information', '', __LINE__, __FILE__, $sql);
}
***************
*** 521,525 ****
if ( !$db->sql_query($sql) )
{
! message_die(GENERAL_ERROR, 'Could not add user to group', '', __LINE__, __FILE__, $sql);
}
--- 521,525 ----
if ( !$db->sql_query($sql) )
{
! message_die(ERROR, 'Could not add user to group', '', __LINE__, __FILE__, $sql);
}
***************
*** 531,535 ****
if ( !$db->sql_query($sql) )
{
! message_die(GENERAL_ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
}
--- 531,535 ----
if ( !$db->sql_query($sql) )
{
! message_die(ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
}
***************
*** 544,548 ****
if ( !($result = $db->sql_query($group_sql)) )
{
! message_die(GENERAL_ERROR, 'Could not get group information', '', __LINE__, __FILE__, $group_sql);
}
--- 544,548 ----
if ( !($result = $db->sql_query($group_sql)) )
{
! message_die(ERROR, 'Could not get group information', '', __LINE__, __FILE__, $group_sql);
}
***************
*** 579,583 ****
$message = $lang['User_is_member_group'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(GENERAL_MESSAGE, $message);
}
}
--- 579,583 ----
$message = $lang['User_is_member_group'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
! message_die(MESSAGE, $message);
}
}
***************
*** 605,609 ****
if ( !$db->sql_query($sql) )
{
! message_die(GENERAL_ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
}
--- 605,609 ----
if ( !$db->sql_query($sql) )
{
! message_die(ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
}
***************
*** 630,634 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Could not obtain moderator status', '', __LINE__, __FILE__, $sql);
}
--- 630,634 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Could not obtain moderator status', '', __LINE__, __FILE__, $sql);
}
***************
*** 660,664 ****
if ( !$db->sql_query($sql) )
{
! message_die(GENERAL_ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
}
--- 660,664 ----
if ( !$db->sql_query($sql) )
{
! message_die(ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
}
***************
*** 673,677 ****
if ( !$db->sql_query($sql) )
{
! message_die(GENERAL_ERROR, 'Could not update user group table', '', __LINE__, __FILE__, $sql);
}
--- 673,677 ----
if ( !$db->sql_query($sql) )
{
! message_die(ERROR, 'Could not update user group table', '', __LINE__, __FILE__, $sql);
}
***************
*** 683,687 ****
if ( !($result = $db->sql_query($sql_select)) )
{
! message_die(GENERAL_ERROR, 'Could not get user email information', '', __LINE__, __FILE__, $sql);
}
--- 683,687 ----
if ( !($result = $db->sql_query($sql_select)) )
{
! message_die(ERROR, 'Could not get user email information', '', __LINE__, __FILE__, $sql);
}
***************
*** 700,704 ****
if ( !($result = $db->sql_query($group_sql)) )
{
! message_die(GENERAL_ERROR, 'Could not get group information', '', __LINE__, __FILE__, $group_sql);
}
--- 700,704 ----
if ( !($result = $db->sql_query($group_sql)) )
{
! message_die(ERROR, 'Could not get group information', '', __LINE__, __FILE__, $group_sql);
}
***************
*** 735,739 ****
else
{
! message_die(GENERAL_MESSAGE, $lang['No_groups_exist']);
}
--- 735,739 ----
else
{
! message_die(MESSAGE, $lang['No_groups_exist']);
}
***************
*** 747,756 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Error getting group information', '', __LINE__, __FILE__, $sql);
}
if ( !($group_info = $db->sql_fetchrow($result)) )
{
! message_die(GENERAL_MESSAGE, $lang['Group_not_exist']);
}
--- 747,756 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Error getting group information', '', __LINE__, __FILE__, $sql);
}
if ( !($group_info = $db->sql_fetchrow($result)) )
{
! message_die(MESSAGE, $lang['Group_not_exist']);
}
***************
*** 763,767 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Error getting user list for group', '', __LINE__, __FILE__, $sql);
}
--- 763,767 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Error getting user list for group', '', __LINE__, __FILE__, $sql);
}
***************
*** 780,784 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Error getting user list for group', '', __LINE__, __FILE__, $sql);
}
--- 780,784 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Error getting user list for group', '', __LINE__, __FILE__, $sql);
}
***************
*** 796,800 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Error getting user pending information', '', __LINE__, __FILE__, $sql);
}
--- 796,800 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Error getting user pending information', '', __LINE__, __FILE__, $sql);
}
***************
*** 1154,1158 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Error getting group information', '', __LINE__, __FILE__, $sql);
}
--- 1154,1158 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Error getting group information', '', __LINE__, __FILE__, $sql);
}
***************
*** 1193,1197 ****
if ( !($result = $db->sql_query($sql)) )
{
! message_die(GENERAL_ERROR, 'Error getting group information', '', __LINE__, __FILE__, $sql);
}
--- 1193,1197 ----
if ( !($result = $db->sql_query($sql)) )
{
! message_die(ERROR, 'Error getting group information', '', __LINE__, __FILE__, $sql);
}
***************
*** 1262,1266 ****
else
{
! message_die(GENERAL_MESSAGE, $lang['No_groups_exist']);
}
--- 1262,1266 ----
else
{
! message_die(MESSAGE, $lang['No_groups_exist']);
}
Index: index.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/index.php,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -r1.100 -r1.101
*** index.php 30 Apr 2002 17:56:50 -0000 1.100
--- index.php 14 Jul 2002 14:45:20 -0000 1.101
***************
*** 9,13 ****
* $Id$
*
- *
***************************************************************************/
--- 9,12 ----
***************
*** 29,41 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, PAGE_INDEX);
! init_userprefs($userdata);
//
// End session management
//
! $viewcat = ( !empty($HTTP_GET_VARS[POST_CAT_URL]) ) ? $HTTP_GET_VARS[POST_CAT_URL] : -1;
! if( isset($HTTP_GET_VARS['mark']) || isset($HTTP_POST_VARS['mark']) )
{
$mark_read = ( isset($HTTP_POST_VARS['mark']) ) ? $HTTP_POST_VARS['mark'] : $HTTP_GET_VARS['mark'];
--- 28,46 ----
// Start session management
//
! $userdata = $session->start();
! $acl = new auth('list', $userdata);
//
// End session management
//
! //
! // Configure style, language, etc.
! //
! $session->configure($userdata);
!
! $viewcat = ( !empty($HTTP_GET_VARS['c']) ) ? intval($HTTP_GET_VARS['c']) : -1;
! $forum_id = ( !empty($HTTP_GET_VARS['f']) ) ? intval($HTTP_GET_VARS['f']) : 0;
! if ( isset($HTTP_GET_VARS['mark']) || isset($HTTP_POST_VARS['mark']) )
{
$mark_read = ( isset($HTTP_POST_VARS['mark']) ) ? $HTTP_POST_VARS['mark'] : $HTTP_GET_VARS['mark'];
***************
*** 49,55 ****
// Handle marking posts
//
! if( $mark_read == 'forums' )
{
! if( $userdata['session_logged_in'] )
{
setcookie($board_config['cookie_name'] . '_f_all', time(), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
--- 54,60 ----
// Handle marking posts
//
! if ( $mark_read == 'forums' )
{
! if ( $userdata['user_id'] != ANONYMOUS )
{
setcookie($board_config['cookie_name'] . '_f_all', time(), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
***************
*** 57,66 ****
$template->assign_vars(array(
! "META" => '<meta http-equiv="refresh" content="3;url=' .append_sid("index.$phpEx") . '">')
);
! $message = $lang['Forums_marked_read'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a> ');
!
! message_die(GENERAL_MESSAGE, $message);
}
//
--- 62,70 ----
$template->assign_vars(array(
! 'META' => '<meta http-equiv="refresh" content="3;url=' . "index.$phpEx$SID" . '">')
);
! $message = $lang['Forums_marked_read'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . "index.$phpEx$SID" . '">', '</a> ');
! message_die(MESSAGE, $message);
}
//
***************
*** 68,73 ****
//
! $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : array();
! $tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : array();
//
--- 72,77 ----
//
! $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) : array();
! $tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) : array();
//
***************
*** 76,92 ****
//
$total_posts = get_db_stat('postcount');
- //$total_users = get_db_stat('usercount');
- //$newest_userdata = get_db_stat('newestuser');
- //$newest_user = $newest_userdata['username'];
- //$newest_uid = $newest_userdata['user_id'];
$total_users = $board_config['num_users'];
$newest_user = $board_config['newest_username'];
$newest_uid = $board_config['newest_user_id'];
! if( $total_posts == 0 )
{
$l_total_post_s = $lang['Posted_articles_zero_total'];
}
! else if( $total_posts == 1 )
{
$l_total_post_s = $lang['Posted_article_total'];
--- 80,92 ----
//
$total_posts = get_db_stat('postcount');
$total_users = $board_config['num_users'];
$newest_user = $board_config['newest_username'];
$newest_uid = $board_config['newest_user_id'];
! if ( $total_posts == 0 )
{
$l_total_post_s = $lang['Posted_articles_zero_total'];
}
! else if ( $total_posts == 1 )
{
$l_total_post_s = $lang['Posted_article_total'];
***************
*** 97,105 ****
}
! if( $total_users == 0 )
{
$l_total_user_s = $lang['Registered_users_zero_total'];
}
! else if( $total_users == 1 )
{
$l_total_user_s = $lang['Registered_user_total'];
--- 97,105 ----
}
! if ( $total_users == 0 )
{
$l_total_user_s = $lang['Registered_users_zero_total'];
}
! else if ( $total_users == 1 )
{
$l_total_user_s = $lang['Registered_user_total'];
***************
*** 111,114 ****
--- 111,282 ----
+ /*
+ switch ( SQL_LAYER )
+ {
+ case 'oracle':
+ break;
+
+ default:
+ $sql = "SELECT f1.*, p.post_time, p.post_username, u.username, u.user_id
+ FROM ((( " . FORUMS_TABLE . " f1
+ LEFT JOIN " . FORUMS_TABLE . " f2
+ LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f2.forum_last_post_id )
+ LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )
+ WHERE f1.forum_left_id BETWEEN f2.forum_left_id AND f2.forum_right_id
+ ORDER BY f2.forum_id";
+ break;
+ }
+ $result = $db->sql_query($sql);
+
+ $forum_data = array();
+ if ( $row = $db->sql_fetchrow($result) )
+ {
+ do
+ {
+ $forum_data[] = $row;
+ }
+ while ( $row = $db->sql_fetchrow($result) );
+
+ $total_forums = sizeof($forum_data);
+ }
+
+ if ( $total_forums > 1 )
+ {
+ $last_forum_right_id = 0;
+ for( $i = 0; $i < $total_forums; $i++)
+ {
+ $row_forum_id = $forum_data[$i]['forum_id'];
+
+ //
+ // A non-postable forum on the index is treated as a category
+ //
+ if ( $forum_data[$i]['forum_status'] == 2 || $row_forum_id == $forum_id )
+ {
+ $template->assign_block_vars('catrow', array(
+ 'CAT_ID' => $forum_id,
+ 'CAT_DESC' => $forum_data[$i]['forum_name'],
+ 'U_VIEWCAT' => "index.$phpEx?$SID&" . POST_FORUM_URL . "=$forum_id")
+ );
+
+ $current_parent = $row_forum_id;
+ }
+ else
+ {
+ if ( $forum_data[$i]['parent_id'] == $current_parent )
+ {
+ if ( $acl->get_acl($row_forum_id, 'forum', 'list') )
+ {
+ if ( $forum_data[$i]['forum_status'] == FORUM_LOCKED )
+ {
+ $folder_image = $theme['forum_locked'];
+ $folder_alt = $lang['Forum_locked'];
+ }
+ else
+ {
+ $unread_topics = false;
+ if ( $userdata['user_id'] != ANONYMOUS )
+ {
+ if ( !empty($new_topic_data[$row_forum_id]) )
+ {
+ $forum_last_post_time = 0;
+
+ while( list($check_topic_id, $check_post_time) = @each($new_topic_data[$row_forum_id]) )
+ {
+ if ( empty($tracking_topics[$check_topic_id]) )
+ {
+ $unread_topics = true;
+ $forum_last_post_time = max($check_post_time, $forum_last_post_time);
+
+ }
+ else
+ {
+ if ( $tracking_topics[$check_topic_id] < $check_post_time )
+ {
+ $unread_topics = true;
+ $forum_last_post_time = max($check_post_time, $forum_last_post_time);
+ }
+ }
+ }
+
+ if ( !empty($tracking_forums[$row_forum_id]) )
+ {
+ if ( $tracking_forums[$row_forum_id] > $forum_last_post_time )
+ {
+ $unread_topics = false;
+ }
+ }
+
+ if ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all']) )
+ {
+ if ( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all'] > $forum_last_post_time )
+ {
+ $unread_topics = false;
+ }
+ }
+
+ }
+ }
+
+ $folder_image = ( $unread_topics ) ? $theme['forum_new'] : $theme['forum'];
+ $folder_alt = ( $unread_topics ) ? $lang['New_posts'] : $lang['No_new_posts'];
+ }
+
+ $posts = $forum_data[$i]['forum_posts'];
+ $topics = $forum_data[$i]['forum_topics'];
+
+ if ( $forum_data[$i]['forum_last_post_id'] )
+ {
+ $last_post_time = create_date($board_config['default_dateformat'], $forum_data[$i]['post_time'], $board_config['board_timezone']);
+
+ $last_post = $last_post_time . '<br />';
+
+ $last_post .= ( $forum_data[$i]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$i]['post_username'] != '' ) ? $forum_data[$i]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . "profile.$phpEx$SID&mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$i]['user_id'] . '">' . $forum_data[$i]['username'] . '</a> ';
+
+ $last_post .= '<a href="' . "viewtopic.$phpEx$SID&" . POST_POST_URL . '=' . $forum_data[$i]['forum_last_post_id'] . '#' . $forum_data[$i]['forum_last_post_id'] . '"><img src="' . $theme['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
+ }
+ else
+ {
+ $last_post = $lang['No_Posts'];
+ }
+
+ if ( count($forum_moderators[$row_forum_id]) > 0 )
+ {
+ $l_moderators = ( count($forum_moderators[$row_forum_id]) == 1 ) ? $lang['Moderator'] : $lang['Moderators'];
+ $moderator_list = implode(', ', $forum_moderators[$row_forum_id]);
+ }
+ else
+ {
+ $l_moderators = ' ';
+ $moderator_list = ' ';
+ }
+
+ $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
+ $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
+
+ $template->assign_block_vars('catrow.forumrow', array(
+ 'ROW_COLOR' => '#' . $row_color,
+ 'ROW_CLASS' => $row_class,
+ 'FORUM_FOLDER_IMG' => $folder_image,
+ 'FORUM_NAME' => $forum_data[$i]['forum_name'],
+ 'FORUM_DESC' => $forum_data[$i]['forum_desc'],
+ 'POSTS' => $forum_data[$i]['forum_posts'],
+ 'TOPICS' => $forum_data[$i]['forum_topics'],
+ 'LAST_POST' => $last_post,
+ 'MODERATORS' => $moderator_list,
+
+ 'L_MODERATOR' => $l_moderators,
+ 'L_FORUM_FOLDER_ALT' => $folder_alt,
+
+ 'U_VIEWFORUM' => "viewforum.$phpEx$SID&" . POST_FORUM_URL . "=$row_forum_id")
+ );
+ }
+ }
+ }
+ }
+
+ $template->assign_var_from_handle('SUB_FORUM', 'forum');
+ }
+ */
+
//
// Start page proper
***************
*** 117,151 ****
FROM " . CATEGORIES_TABLE . " c
ORDER BY c.cat_order";
! if( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not query categories list', '', __LINE__, __FILE__, $sql);
! }
! while( $category_rows[] = $db->sql_fetchrow($result) );
! if( ( $total_categories = count($category_rows) ) )
{
//
// Define appropriate SQL
//
! switch(SQL_LAYER)
{
- case 'postgresql':
- $sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
- FROM " . FORUMS_TABLE . " f, " . POSTS_TABLE . " p, " . USERS_TABLE . " u
- WHERE p.post_id = f.forum_last_post_id
- AND u.user_id = p.poster_id
- UNION (
- SELECT f.*, NULL, NULL, NULL, NULL
- FROM " . FORUMS_TABLE . " f
- WHERE NOT EXISTS (
- SELECT p.post_time
- FROM " . POSTS_TABLE . " p
- WHERE p.post_id = f.forum_last_post_id
- )
- )
- ORDER BY cat_id, forum_order";
- break;
-
case 'oracle':
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
--- 285,299 ----
FROM " . CATEGORIES_TABLE . " c
ORDER BY c.cat_order";
! $result = $db->sql_query($sql);
! while ( $category_rows[] = $db->sql_fetchrow($result) );
! if ( ( $total_categories = count($category_rows) ) )
{
//
// Define appropriate SQL
//
! switch ( SQL_LAYER )
{
case 'oracle':
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
***************
*** 164,188 ****
break;
}
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not query forums information', '', __LINE__, __FILE__, $sql);
! }
$forum_data = array();
! while( $row = $db->sql_fetchrow($result) )
{
$forum_data[] = $row;
}
- if ( !($total_forums = count($forum_data)) )
- {
- message_die(GENERAL_MESSAGE, $lang['No_forums']);
- }
-
//
// Obtain a list of topic ids which contain
// posts made since user last visited
//
! if ( $userdata['session_logged_in'] )
{
$sql = "SELECT t.forum_id, t.topic_id, p.post_time
--- 312,328 ----
break;
}
! $result = $db->sql_query($sql);
$forum_data = array();
! while ( $row = $db->sql_fetchrow($result) )
{
$forum_data[] = $row;
}
//
// Obtain a list of topic ids which contain
// posts made since user last visited
//
! /* if ( $userdata['user_id'] != ANONYMOUS )
{
$sql = "SELECT t.forum_id, t.topic_id, p.post_time
***************
*** 191,198 ****
AND p.post_time > " . $userdata['user_lastvisit'] . "
AND t.topic_moved_id = 0";
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not query new topic information', '', __LINE__, __FILE__, $sql);
! }
$new_topic_data = array();
--- 331,335 ----
AND p.post_time > " . $userdata['user_lastvisit'] . "
AND t.topic_moved_id = 0";
! $result = $db->sql_query($sql);
$new_topic_data = array();
***************
*** 202,273 ****
}
}
!
//
// Obtain list of moderators of each forum
// First users, then groups ... broken into two queries
//
- $sql = "SELECT aa.forum_id, u.user_id, u.username
- FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g, " . USERS_TABLE . " u
- WHERE aa.auth_mod = " . TRUE . "
- AND g.group_single_user = 1
- AND ug.group_id = aa.group_id
- AND g.group_id = aa.group_id
- AND u.user_id = ug.user_id
- GROUP BY u.user_id, u.username, aa.forum_id
- ORDER BY aa.forum_id, u.user_id";
- if ( !($result = $db->sql_query($sql)) )
- {
- message_die(GENERAL_ERROR, 'Could not query forum moderator information', '', __LINE__, __FILE__, $sql);
- }
-
$forum_moderators = array();
! while( $row = $db->sql_fetchrow($result) )
! {
! $forum_moderators[$row['forum_id']][] = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '">' . $row['username'] . '</a>';
! }
!
! $sql = "SELECT aa.forum_id, g.group_id, g.group_name
! FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g
! WHERE aa.auth_mod = " . TRUE . "
! AND g.group_single_user = 0
! AND g.group_type <> " . GROUP_HIDDEN . "
! AND ug.group_id = aa.group_id
! AND g.group_id = aa.group_id
! GROUP BY g.group_id, g.group_name, aa.forum_id
! ORDER BY aa.forum_id, g.group_id";
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not query forum moderator information', '', __LINE__, __FILE__, $sql);
! }
!
! while( $row = $db->sql_fetchrow($result) )
! {
! $forum_moderators[$row['forum_id']][] = '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=" . $row['group_id']) . '">' . $row['group_name'] . '</a>';
! }
!
! //
! // Find which forums are visible for this user
! //
! $is_auth_ary = array();
! $is_auth_ary = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata, $forum_data);
!
! //
! // Start output of page
! //
! $page_title = $lang['Index'];
! include($phpbb_root_path . 'includes/page_header.'.$phpEx);
!
! $template->set_filenames(array(
! 'body' => 'index_body.tpl')
! );
$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
! 'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
! 'FORUM_IMG' => $images['forum'],
! 'FORUM_NEW_IMG' => $images['forum_new'],
! 'FORUM_LOCKED_IMG' => $images['forum_locked'],
'L_FORUM' => $lang['Forum'],
--- 339,358 ----
}
}
! */
//
// Obtain list of moderators of each forum
// First users, then groups ... broken into two queries
//
$forum_moderators = array();
! get_moderators($forum_moderators);
$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
! 'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . "profile.$phpEx$SID&mode=viewprofile&u=$newest_uid" . '">', $newest_user, '</a>'),
! 'FORUM_IMG' => create_img($theme['forum'], $lang['No_new_posts']),
! 'FORUM_NEW_IMG' => create_img($theme['forum_new'], $lang['New_posts']),
! 'FORUM_LOCKED_IMG' => create_img($theme['forum_locked'], $lang['No_new_posts_locked']),
'L_FORUM' => $lang['Forum'],
***************
*** 283,291 ****
'L_ONLINE_EXPLAIN' => $lang['Online_explain'],
! 'L_MODERATOR' => $lang['Moderators'],
'L_FORUM_LOCKED' => $lang['Forum_is_locked'],
'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],
! 'U_MARK_READ' => append_sid("index.$phpEx?mark=forums"))
);
--- 368,380 ----
'L_ONLINE_EXPLAIN' => $lang['Online_explain'],
! 'L_VIEW_MODERATORS' => $lang['View_moderators'],
'L_FORUM_LOCKED' => $lang['Forum_is_locked'],
'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],
+ 'L_LEGEND' => $lang['Legend'],
+ 'L_NO_FORUMS' => $lang['No_forums'],
! 'S_LEGEND' => $legend,
!
! 'U_MARK_READ' => "index.$phpEx$SID&mark=forums")
);
***************
*** 301,307 ****
//
$display_forums = false;
! for($j = 0; $j < $total_forums; $j++)
{
! if ( $is_auth_ary[$forum_data[$j]['forum_id']]['auth_view'] && $forum_data[$j]['cat_id'] == $cat_id )
{
$display_forums = true;
--- 390,396 ----
//
$display_forums = false;
! for($j = 0; $j < sizeof($forum_data); $j++)
{
! if ( $acl->get_acl($forum_data[$j]['forum_id'], 'forum', 'list') && $forum_data[$j]['cat_id'] == $cat_id )
{
$display_forums = true;
***************
*** 318,337 ****
'CAT_ID' => $cat_id,
'CAT_DESC' => $category_rows[$i]['cat_title'],
! 'U_VIEWCAT' => append_sid("index.$phpEx?" . POST_CAT_URL . "=$cat_id"))
);
if ( $viewcat == $cat_id || $viewcat == -1 )
{
! for($j = 0; $j < $total_forums; $j++)
{
if ( $forum_data[$j]['cat_id'] == $cat_id )
{
! $forum_id = $forum_data[$j]['forum_id'];
! if ( $is_auth_ary[$forum_id]['auth_view'] )
{
if ( $forum_data[$j]['forum_status'] == FORUM_LOCKED )
{
! $folder_image = $images['forum_locked'];
$folder_alt = $lang['Forum_locked'];
}
--- 407,427 ----
'CAT_ID' => $cat_id,
'CAT_DESC' => $category_rows[$i]['cat_title'],
! 'U_VIEWCAT' => "index.$phpEx$SID&c=$cat_id",
! 'HAVE_FORUMS' => true)
);
if ( $viewcat == $cat_id || $viewcat == -1 )
{
! for($j = 0; $j < sizeof($forum_data); $j++)
{
if ( $forum_data[$j]['cat_id'] == $cat_id )
{
! $row_forum_id = $forum_data[$j]['forum_id'];
! if ( $acl->get_acl($row_forum_id, 'forum', 'list') )
{
if ( $forum_data[$j]['forum_status'] == FORUM_LOCKED )
{
! $folder_image = $theme['forum_locked'];
$folder_alt = $lang['Forum_locked'];
}
***************
*** 339,349 ****
{
$unread_topics = false;
! if ( $userdata['session_logged_in'] )
{
! if ( !empty($new_topic_data[$forum_id]) )
{
$forum_last_post_time = 0;
! while( list($check_topic_id, $check_post_time) = @each($new_topic_data[$forum_id]) )
{
if ( empty($tracking_topics[$check_topic_id]) )
--- 429,439 ----
{
$unread_topics = false;
! if ( $userdata['user_id'] != ANONYMOUS )
{
! if ( !empty($new_topic_data[$row_forum_id]) )
{
$forum_last_post_time = 0;
! foreach ( $new_topic_data[$row_forum_id] as $check_topic_id => $check_post_time )
{
if ( empty($tracking_topics[$check_topic_id]) )
***************
*** 363,369 ****
}
! if ( !empty($tracking_forums[$forum_id]) )
{
! if ( $tracking_forums[$forum_id] > $forum_last_post_time )
{
$unread_topics = false;
--- 453,459 ----
}
! if ( !empty($tracking_forums[$row_forum_id]) )
{
! if ( $tracking_forums[$row_forum_id] > $forum_last_post_time )
{
$unread_topics = false;
***************
*** 382,386 ****
}
! $folder_image = ( $unread_topics ) ? $images['forum_new'] : $images['forum'];
$folder_alt = ( $unread_topics ) ? $lang['New_posts'] : $lang['No_new_posts'];
}
--- 472,476 ----
}
! $folder_image = ( $unread_topics ) ? $theme['forum_new'] : $theme['forum'];
$folder_alt = ( $unread_topics ) ? $lang['New_posts'] : $lang['No_new_posts'];
}
***************
*** 395,401 ****
$last_post = $last_post_time . '<br />';
! $last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a> ';
! $last_post .= '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
}
else
--- 485,491 ----
$last_post = $last_post_time . '<br />';
! $last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . "profile.$phpEx$SID&mode=viewprofile&u=" . $forum_data[$j]['user_id'] . '">' . $forum_data[$j]['username'] . '</a> ';
! $last_post .= '<a href="' . "viewtopic.$phpEx$SID&f=$row_forum_id&p=" . $forum_data[$j]['forum_last_post_id'] . '#' . $forum_data[$j]['forum_last_post_id'] . '">' . create_img($theme['goto_post_latest'], $lang['View_latest_post']) . '</a>';
}
else
***************
*** 404,411 ****
}
! if ( count($forum_moderators[$forum_id]) > 0 )
{
! $l_moderators = ( count($forum_moderators[$forum_id]) == 1 ) ? $lang['Moderator'] : $lang['Moderators'];
! $moderator_list = implode(', ', $forum_moderators[$forum_id]);
}
else
--- 494,501 ----
}
! if ( count($forum_moderators[$row_forum_id]) > 0 )
{
! $l_moderators = ( count($forum_moderators[$row_forum_id]) == 1 ) ? $lang['Moderator'] . ':' : $lang['Moderators'] . ':' ;
! $moderator_list = implode(', ', $forum_moderators[$row_forum_id]);
}
else
***************
*** 415,425 ****
}
- $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
- $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
-
$template->assign_block_vars('catrow.forumrow', array(
! 'ROW_COLOR' => '#' . $row_color,
! 'ROW_CLASS' => $row_class,
! 'FORUM_FOLDER_IMG' => $folder_image,
'FORUM_NAME' => $forum_data[$j]['forum_name'],
...
[truncated message content] |
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:43:33
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv14914/includes
Modified Files:
topic_review.php
Removed Files:
auth.php auth_session.php constants.php db.php
functions_post.php functions_search.php functions_selects.php
prune.php sessions.php sql_parse.php
Log Message:
Gone but not forgotten ... what's not forgotten? who said that? shut up Paul
Index: topic_review.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/topic_review.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** topic_review.php 31 Mar 2002 00:06:34 -0000 1.5
--- topic_review.php 14 Jul 2002 14:43:30 -0000 1.6
***************
*** 24,28 ****
function topic_review($topic_id, $is_inline_review)
{
! global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path;
global $userdata, $user_ip;
global $orig_word, $replacement_word;
--- 24,28 ----
function topic_review($topic_id, $is_inline_review)
{
! global $SID, $session, $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path;
global $userdata, $user_ip;
global $orig_word, $replacement_word;
***************
*** 59,72 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, $forum_id);
! init_userprefs($userdata);
//
// End session management
//
! $is_auth = array();
! $is_auth = auth(AUTH_ALL, $forum_id, $userdata, $forum_row);
!
! if ( !$is_auth['auth_read'] )
{
message_die(GENERAL_MESSAGE, sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']));
--- 59,69 ----
// Start session management
//
! $userdata = $session->start();
! $acl = new auth($userdata);
//
// End session management
//
! if ( !$acl->get_acl($forum_id, 'forum', 'list') || !$acl->get_acl($forum_id, 'forum', 'read') )
{
message_die(GENERAL_MESSAGE, sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']));
***************
*** 155,159 ****
}
! if ( $bbcode_uid != "" )
{
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message);
--- 152,156 ----
}
! if ( $bbcode_uid != '' )
{
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message);
--- auth.php DELETED ---
--- auth_session.php DELETED ---
--- constants.php DELETED ---
--- db.php DELETED ---
--- functions_post.php DELETED ---
--- functions_search.php DELETED ---
--- functions_selects.php DELETED ---
--- prune.php DELETED ---
--- sessions.php DELETED ---
--- sql_parse.php DELETED ---
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:41:59
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv14468/includes
Modified Files:
functions_validate.php page_header.php page_tail.php
Log Message:
Same as last commits, updates for various changes
Index: functions_validate.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions_validate.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** functions_validate.php 20 Apr 2002 00:22:29 -0000 1.7
--- functions_validate.php 14 Jul 2002 14:41:55 -0000 1.8
***************
*** 9,13 ****
* $Id$
*
- *
***************************************************************************/
--- 9,12 ----
***************
*** 19,23 ****
* (at your option) any later version.
*
- *
***************************************************************************/
--- 18,21 ----
***************
*** 36,47 ****
FROM " . USERS_TABLE . "
WHERE LOWER(username) = '" . strtolower($username) . "'";
! if ( $result = $db->sql_query($sql) )
{
! if ( $row = $db->sql_fetchrow($result) )
{
! if ( ( $userdata['session_logged_in'] && $row['username'] != $userdata['username'] ) || !$userdata['session_logged_in'] )
! {
! return array('error' => true, 'error_msg' => $lang['Username_taken']);
! }
}
}
--- 34,44 ----
FROM " . USERS_TABLE . "
WHERE LOWER(username) = '" . strtolower($username) . "'";
! $result = $db->sql_query($sql);
!
! if ( $row = $db->sql_fetchrow($result) )
{
! if ( ( $userdata['session_logged_in'] && $row['username'] != $userdata['username'] ) || !$userdata['session_logged_in'] )
{
! return array('error' => true, 'error_msg' => $lang['Username_taken']);
}
}
***************
*** 50,71 ****
FROM " . GROUPS_TABLE . "
WHERE LOWER(group_name) = '" . strtolower($username) . "'";
! if ( $result = $db->sql_query($sql) )
{
! if ( $row = $db->sql_fetchrow($result) )
! {
! return array('error' => true, 'error_msg' => $lang['Username_taken']);
! }
}
$sql = "SELECT disallow_username
FROM " . DISALLOW_TABLE;
! if ( $result = $db->sql_query($sql) )
{
! while( $row = $db->sql_fetchrow($result) )
{
! if ( preg_match("#\b(" . str_replace("\*", ".*?", preg_quote($row['disallow_username'])) . ")\b#i", $username) )
! {
! return array('error' => true, 'error_msg' => $lang['Username_disallowed']);
! }
}
}
--- 47,66 ----
FROM " . GROUPS_TABLE . "
WHERE LOWER(group_name) = '" . strtolower($username) . "'";
! $result = $db->sql_query($sql);
!
! if ( $row = $db->sql_fetchrow($result) )
{
! return array('error' => true, 'error_msg' => $lang['Username_taken']);
}
$sql = "SELECT disallow_username
FROM " . DISALLOW_TABLE;
! $result = $db->sql_query($sql);
!
! while( $row = $db->sql_fetchrow($result) )
{
! if ( preg_match('#\b(' . str_replace('\*', '.*?', preg_quote($row['disallow_username'])) . ')\b#i', $username) )
{
! return array('error' => true, 'error_msg' => $lang['Username_disallowed']);
}
}
***************
*** 73,84 ****
$sql = "SELECT word
FROM " . WORDS_TABLE;
! if ( $result = $db->sql_query($sql) )
{
! while( $row = $db->sql_fetchrow($result) )
{
! if ( preg_match("#\b(" . str_replace("\*", ".*?", preg_quote($row['word'])) . ")\b#i", $username) )
! {
! return array('error' => true, 'error_msg' => $lang['Username_disallowed']);
! }
}
}
--- 68,78 ----
$sql = "SELECT word
FROM " . WORDS_TABLE;
! $result = $db->sql_query($sql);
!
! while( $row = $db->sql_fetchrow($result) )
{
! if ( preg_match('#\b(' . str_replace('\*', '.*?', preg_quote($row['word'])) . ')\b#i', $username) )
{
! return array('error' => true, 'error_msg' => $lang['Username_disallowed']);
}
}
***************
*** 107,119 ****
$sql = "SELECT ban_email
FROM " . BANLIST_TABLE;
! if ( $result = $db->sql_query($sql) )
{
! while( $row = $db->sql_fetchrow($result) )
{
! $match_email = str_replace('*', '.*?', $row['ban_email']);
! if ( preg_match('/^' . $match_email . '$/is', $email) )
! {
! return array('error' => true, 'error_msg' => $lang['Email_banned']);
! }
}
}
--- 101,112 ----
$sql = "SELECT ban_email
FROM " . BANLIST_TABLE;
! $result = $db->sql_query($sql);
!
! while( $row = $db->sql_fetchrow($result) )
{
! $match_email = str_replace('*', '.*?', $row['ban_email']);
! if ( preg_match('/^' . $match_email . '$/is', $email) )
{
! return array('error' => true, 'error_msg' => $lang['Email_banned']);
}
}
***************
*** 122,129 ****
FROM " . USERS_TABLE . "
WHERE user_email = '" . str_replace("\'", "''", $email) . "'";
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, "Couldn't obtain user email information.", "", __LINE__, __FILE__, $sql);
! }
if ( $row = $db->sql_fetchrow($result) )
--- 115,119 ----
FROM " . USERS_TABLE . "
WHERE user_email = '" . str_replace("\'", "''", $email) . "'";
! $result = $db->sql_query($sql);
if ( $row = $db->sql_fetchrow($result) )
***************
*** 163,167 ****
// website has to start with http://, followed by something with length at least 3 that
// contains at least one dot.
! if ( $website != "" )
{
if ( !preg_match('#^http:\/\/#i', $website) )
--- 153,157 ----
// website has to start with http://, followed by something with length at least 3 that
// contains at least one dot.
! if ( $website != '' )
{
if ( !preg_match('#^http:\/\/#i', $website) )
***************
*** 179,181 ****
}
! ?>
--- 169,171 ----
}
! ?>
\ No newline at end of file
Index: page_header.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_header.php,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -r1.107 -r1.108
*** page_header.php 20 Apr 2002 00:22:29 -0000 1.107
--- page_header.php 14 Jul 2002 14:41:55 -0000 1.108
***************
*** 9,13 ****
* $Id$
*
- *
***************************************************************************/
--- 9,12 ----
***************
*** 23,27 ****
if ( !defined('IN_PHPBB') )
{
! die("Hacking attempt");
}
--- 22,26 ----
if ( !defined('IN_PHPBB') )
{
! die('Hacking attempt');
}
***************
*** 36,40 ****
$phpver = phpversion();
! if ( $phpver >= '4.0.4pl1' )
{
if ( extension_loaded('zlib') )
--- 35,39 ----
$phpver = phpversion();
! if ( $phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible') )
{
if ( extension_loaded('zlib') )
***************
*** 53,57 ****
ob_implicit_flush(0);
! header('Content-Encoding: gzip');
}
}
--- 52,56 ----
ob_implicit_flush(0);
! header("Content-Encoding: gzip");
}
}
***************
*** 60,73 ****
//
- // Parse and show the overall header.
- //
- $template->set_filenames(array(
- 'overall_header' => ( empty($gen_simple_header) ) ? 'overall_header.tpl' : 'simple_header.tpl')
- );
-
- //
// Generate logged in/logged out status
//
! if ( $userdata['session_logged_in'] )
{
$u_login_logout = 'login.'.$phpEx.'?logout=true';
--- 59,65 ----
//
// Generate logged in/logged out status
//
! if ( $userdata['user_id'] != ANONYMOUS )
{
$u_login_logout = 'login.'.$phpEx.'?logout=true';
***************
*** 80,84 ****
}
! $s_last_visit = ( $userdata['session_logged_in'] ) ? create_date($board_config['default_dateformat'], $userdata['user_lastvisit'], $board_config['board_timezone']) : '';
//
--- 72,76 ----
}
! $s_last_visit = ( $userdata['user_id'] != ANONYMOUS ) ? create_date($board_config['default_dateformat'], $userdata['user_lastvisit'], $board_config['board_timezone']) : '';
//
***************
*** 86,100 ****
// situation
//
! $user_forum_sql = ( !empty($forum_id) ) ? "AND s.session_page = $forum_id" : '';
! $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip
! FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
AND s.session_time >= ".( time() - 300 ) . "
$user_forum_sql
ORDER BY u.username ASC, s.session_ip ASC";
! if( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql);
! }
$userlist_ary = array();
--- 78,89 ----
// situation
//
! $user_forum_sql = ( !empty($forum_id) ) ? "AND s.session_page LIKE '%f=$forum_id%'" : '';
! $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_ip
! FROM " . USERS_TABLE . " u, " . SESSIONS_TABLE ." s
WHERE u.user_id = s.session_user_id
AND s.session_time >= ".( time() - 300 ) . "
$user_forum_sql
ORDER BY u.username ASC, s.session_ip ASC";
! $result = $db->sql_query($sql);
$userlist_ary = array();
***************
*** 112,140 ****
{
// User is logged in and therefor not a guest
! if ( $row['session_logged_in'] )
{
// Skip multiple sessions for one user
if ( $row['user_id'] != $prev_user_id )
{
! $style_color = '';
! if ( $row['user_level'] == ADMIN )
{
! $row['username'] = '<b>' . $row['username'] . '</b>';
! $style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
! }
! else if ( $row['user_level'] == MOD )
! {
! $row['username'] = '<b>' . $row['username'] . '</b>';
! $style_color = 'style="color:#' . $theme['fontcolor2'] . '"';
}
if ( $row['user_allow_viewonline'] )
{
! $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
$logged_visible_online++;
}
else
{
! $user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
$logged_hidden_online++;
}
--- 101,122 ----
{
// User is logged in and therefor not a guest
! if ( $row['user_id'] != ANONYMOUS )
{
// Skip multiple sessions for one user
if ( $row['user_id'] != $prev_user_id )
{
! if ( $row['user_colour'] )
{
! $row['username'] = '<b style="color:#' . $row['user_colour'] . '">' . $row['username'] . '</b>';
}
if ( $row['user_allow_viewonline'] )
{
! $user_online_link = '<a href="' . "profile.$phpEx$SID&mode=viewprofile&u=" . $row['user_id'] . '">' . $row['username'] . '</a>';
$logged_visible_online++;
}
else
{
! $user_online_link = '<a href="' . "profile.$phpEx$SID&mode=viewprofile&u=" . $row['user_id'] . '"><i>' . $row['username'] . '</i></a>';
$logged_hidden_online++;
}
***************
*** 176,191 ****
SET config_value = '$total_online_users'
WHERE config_name = 'record_online_users'";
! if ( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not update online user record (nr of users)', '', __LINE__, __FILE__, $sql);
! }
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '" . $board_config['record_online_date'] . "'
WHERE config_name = 'record_online_date'";
! if ( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not update online user record (date)', '', __LINE__, __FILE__, $sql);
! }
}
--- 158,167 ----
SET config_value = '$total_online_users'
WHERE config_name = 'record_online_users'";
! $db->sql_query($sql);
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '" . $board_config['record_online_date'] . "'
WHERE config_name = 'record_online_date'";
! $db->sql_query($sql);
}
***************
*** 251,255 ****
// if user is logged in
//
! if ( $userdata['session_logged_in'] )
{
if ( $userdata['user_new_privmsg'] )
--- 227,231 ----
// if user is logged in
//
! if ( $userdata['user_id'] != ANONYMOUS )
{
if ( $userdata['user_new_privmsg'] )
***************
*** 263,270 ****
SET user_last_privmsg = " . $userdata['user_lastvisit'] . "
WHERE user_id = " . $userdata['user_id'];
! if ( !$db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, 'Could not update private message new/read time for user', '', __LINE__, __FILE__, $sql);
! }
$s_privmsg_new = 1;
--- 239,243 ----
SET user_last_privmsg = " . $userdata['user_lastvisit'] . "
WHERE user_id = " . $userdata['user_id'];
! $db->sql_query($sql);
$s_privmsg_new = 1;
***************
*** 306,312 ****
// Generate HTML required for Mozilla Navigation bar
//
$nav_links_html = '';
$nav_link_proto = '<link rel="%s" href="%s" title="%s" />' . "\n";
! while( list($nav_item, $nav_array) = @each($nav_links) )
{
if ( !empty($nav_array['url']) )
--- 279,286 ----
// Generate HTML required for Mozilla Navigation bar
//
+ /*
$nav_links_html = '';
$nav_link_proto = '<link rel="%s" href="%s" title="%s" />' . "\n";
! foreach ( $nav_links as $nav_item => $nav_array )
{
if ( !empty($nav_array['url']) )
***************
*** 317,321 ****
{
// We have a nested array, used for items like <link rel='chapter'> that can occur more than once.
! while( list(,$nested_array) = each($nav_array) )
{
$nav_links_html .= sprintf($nav_link_proto, $nav_item, $nested_array['url'], $nested_array['title']);
--- 291,295 ----
{
// We have a nested array, used for items like <link rel='chapter'> that can occur more than once.
! foreach ( $nav_array as $key => $nested_array )
{
$nav_links_html .= sprintf($nav_link_proto, $nav_item, $nested_array['url'], $nested_array['title']);
***************
*** 323,327 ****
}
}
!
//
// The following assigns all _common_ variables that may be used at any point
--- 297,301 ----
}
}
! */
//
// The following assigns all _common_ variables that may be used at any point
***************
*** 361,457 ****
'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'],
'L_SEARCH_SELF' => $lang['Search_your_posts'],
- 'L_WHOSONLINE_ADMIN' => sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>'),
- 'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),
- 'L_WHOSONLINE_USER' => sprintf($lang['User_online_color'], '<span style="color:#' . $theme['fontcolor1'] . '">', '</span>'),
- 'L_LEGEND' => $lang['Legend'],
-
- 'U_SEARCH_UNANSWERED' => append_sid('search.'.$phpEx.'?search_id=unanswered'),
- 'U_SEARCH_SELF' => append_sid('search.'.$phpEx.'?search_id=egosearch'),
- 'U_SEARCH_NEW' => append_sid('search.'.$phpEx.'?search_id=newposts'),
- 'U_INDEX' => append_sid('index.'.$phpEx),
- 'U_REGISTER' => append_sid('profile.'.$phpEx.'?mode=register'),
- 'U_PROFILE' => append_sid('profile.'.$phpEx.'?mode=editprofile'),
- 'U_PRIVATEMSGS' => append_sid('privmsg.'.$phpEx.'?folder=inbox'),
- 'U_PRIVATEMSGS_POPUP' => append_sid('privmsg.'.$phpEx.'?mode=newpm'),
- 'U_SEARCH' => append_sid('search.'.$phpEx),
- 'U_MEMBERLIST' => append_sid('memberlist.'.$phpEx),
- 'U_MODCP' => append_sid('modcp.'.$phpEx),
- 'U_FAQ' => append_sid('faq.'.$phpEx),
- 'U_VIEWONLINE' => append_sid('viewonline.'.$phpEx),
- 'U_LOGIN_LOGOUT' => append_sid($u_login_logout),
- 'U_MEMBERSLIST' => append_sid('memberlist.'.$phpEx),
- 'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
'S_CONTENT_DIRECTION' => $lang['DIRECTION'],
'S_CONTENT_ENCODING' => $lang['ENCODING'],
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'],
! 'S_TIMEZONE' => sprintf($lang['All_times'], $lang[number_format($board_config['board_timezone'])]),
! 'S_LOGIN_ACTION' => append_sid('login.'.$phpEx),
- 'T_HEAD_STYLESHEET' => $theme['head_stylesheet'],
- 'T_BODY_BACKGROUND' => $theme['body_background'],
- 'T_BODY_BGCOLOR' => '#'.$theme['body_bgcolor'],
- 'T_BODY_TEXT' => '#'.$theme['body_text'],
- 'T_BODY_LINK' => '#'.$theme['body_link'],
- 'T_BODY_VLINK' => '#'.$theme['body_vlink'],
- 'T_BODY_ALINK' => '#'.$theme['body_alink'],
- 'T_BODY_HLINK' => '#'.$theme['body_hlink'],
- 'T_TR_COLOR1' => '#'.$theme['tr_color1'],
- 'T_TR_COLOR2' => '#'.$theme['tr_color2'],
- 'T_TR_COLOR3' => '#'.$theme['tr_color3'],
- 'T_TR_CLASS1' => $theme['tr_class1'],
- 'T_TR_CLASS2' => $theme['tr_class2'],
- 'T_TR_CLASS3' => $theme['tr_class3'],
- 'T_TH_COLOR1' => '#'.$theme['th_color1'],
- 'T_TH_COLOR2' => '#'.$theme['th_color2'],
- 'T_TH_COLOR3' => '#'.$theme['th_color3'],
- 'T_TH_CLASS1' => $theme['th_class1'],
- 'T_TH_CLASS2' => $theme['th_class2'],
- 'T_TH_CLASS3' => $theme['th_class3'],
- 'T_TD_COLOR1' => '#'.$theme['td_color1'],
- 'T_TD_COLOR2' => '#'.$theme['td_color2'],
- 'T_TD_COLOR3' => '#'.$theme['td_color3'],
- 'T_TD_CLASS1' => $theme['td_class1'],
- 'T_TD_CLASS2' => $theme['td_class2'],
- 'T_TD_CLASS3' => $theme['td_class3'],
- 'T_FONTFACE1' => $theme['fontface1'],
- 'T_FONTFACE2' => $theme['fontface2'],
- 'T_FONTFACE3' => $theme['fontface3'],
- 'T_FONTSIZE1' => $theme['fontsize1'],
- 'T_FONTSIZE2' => $theme['fontsize2'],
- 'T_FONTSIZE3' => $theme['fontsize3'],
- 'T_FONTCOLOR1' => '#'.$theme['fontcolor1'],
- 'T_FONTCOLOR2' => '#'.$theme['fontcolor2'],
- 'T_FONTCOLOR3' => '#'.$theme['fontcolor3'],
- 'T_SPAN_CLASS1' => $theme['span_class1'],
- 'T_SPAN_CLASS2' => $theme['span_class2'],
- 'T_SPAN_CLASS3' => $theme['span_class3'],
-
'NAV_LINKS' => $nav_links_html)
);
- //
- // Login box?
- //
- if ( !$userdata['session_logged_in'] )
- {
- $template->assign_block_vars('switch_user_logged_out', array());
- }
- else
- {
- $template->assign_block_vars('switch_user_logged_in', array());
-
- if ( !empty($userdata['user_popup_pm']) )
- {
- $template->assign_block_vars('switch_enable_pm_popup', array());
- }
- }
-
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
!
! $template->pparse('overall_header');
?>
--- 335,376 ----
'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'],
'L_SEARCH_SELF' => $lang['Search_your_posts'],
+ 'U_SEARCH_UNANSWERED' => 'search.'.$phpEx.$SID.'&search_id=unanswered',
+ 'U_SEARCH_SELF' => 'search.'.$phpEx.$SID.'&search_id=egosearch',
+ 'U_SEARCH_NEW' => 'search.'.$phpEx.$SID.'&search_id=newposts',
+ 'U_INDEX' => 'index.'.$phpEx.$SID,
+ 'U_REGISTER' => 'profile.'.$phpEx.$SID.'&mode=register',
+ 'U_PROFILE' => 'profile.'.$phpEx.$SID.'&mode=editprofile',
+ 'U_PRIVATEMSGS' => 'privmsg.'.$phpEx.$SID.'&folder=inbox',
+ 'U_PRIVATEMSGS_POPUP' => 'privmsg.'.$phpEx.$SID.'&mode=newpm',
+ 'U_SEARCH' => 'search.'.$phpEx.$SID,
+ 'U_MEMBERLIST' => 'memberlist.'.$phpEx.$SID,
+ 'U_MODCP' => 'modcp.'.$phpEx.$SID,
+ 'U_FAQ' => 'faq.'.$phpEx.$SID,
+ 'U_VIEWONLINE' => 'viewonline.'.$phpEx.$SID,
+ 'U_LOGIN_LOGOUT' => $u_login_logout,
+ 'U_MEMBERSLIST' => 'memberlist.'.$phpEx.$SID,
+ 'U_GROUP_CP' => 'groupcp.'.$phpEx.$SID,
+
+ 'S_USER_LOGGED_IN' => ( $userdata['user_id'] == ANONYMOUS ) ? false : true,
+ 'S_USER_PM_POPUP' => ( !empty($userdata['user_popup_pm']) ) ? true : false,
+ 'S_USER_BROWSER' => $userdata['session_browser'],
'S_CONTENT_DIRECTION' => $lang['DIRECTION'],
'S_CONTENT_ENCODING' => $lang['ENCODING'],
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'],
! 'S_TIMEZONE' => sprintf($lang['All_times'], $lang[$board_config['board_timezone']]),
! 'S_LOGIN_ACTION' => 'login.'.$phpEx.$SID,
!
! 'T_STYLESHEET_DATA' => $theme['css_data'],
! 'T_STYLESHEET_LINK' => 'templates/' . $theme['css_external'],
'NAV_LINKS' => $nav_links_html)
);
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
! header ('Pragma: private');
?>
Index: page_tail.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_tail.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** page_tail.php 8 Jun 2002 16:45:41 -0000 1.29
--- page_tail.php 14 Jul 2002 14:41:55 -0000 1.30
***************
*** 9,13 ****
* $Id$
*
- *
***************************************************************************/
--- 9,12 ----
***************
*** 27,57 ****
//
- // Show the overall footer.
- //
- $admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="' . append_sid("admin/index.$phpEx") . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
-
- $template->set_filenames(array(
- 'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl')
- );
-
- //
// Output page creation time
//
! if ( DEBUG )
{
$mtime = microtime();
$mtime = explode(' ', $mtime);
$totaltime = ( $mtime[1] + $mtime[0] ) - $starttime;
! $gzip_text = ( $board_config['gzip_compress'] ) ? 'GZIP compression enabled' : 'GZIP compression disabled';
}
$template->assign_vars(array(
! 'PHPBB_VERSION' => '2' . $board_config['version'],
! 'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : '',
! 'ADMIN_LINK' => $admin_link,
! 'DEBUG_OUTPUT' => ( DEBUG ) ? sprintf('<br /><br />phpBB Created this page in %f seconds : ' . $db->sql_num_queries() . ' queries executed : ' . $gzip_text, $totaltime) : '')
);
! $template->pparse('overall_footer');
//
--- 26,47 ----
//
// Output page creation time
//
! if ( defined('DEBUG') )
{
$mtime = microtime();
$mtime = explode(' ', $mtime);
$totaltime = ( $mtime[1] + $mtime[0] ) - $starttime;
!
! $debug_output = sprintf('<br /><br />[ Time : %.3fs | ' . $db->sql_num_queries() . ' Queries | GZIP : ' . ( ( $board_config['gzip_compress'] ) ? 'On' : 'Off' ) . ' | Load : ' . (( $session->load ) ? $session->load : 'N/A') . ' ]', $totaltime);
}
$template->assign_vars(array(
! 'PHPBB_VERSION' => $board_config['version'],
! 'ADMIN_LINK' => ( $acl->get_acl_admin() ) ? '<a href="' . "admin/index.$phpEx$SID" . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '',
! 'DEBUG_OUTPUT' => ( defined('DEBUG') ) ? $debug_output : '')
);
! $template->display('body');
//
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:41:38
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv14229/includes
Modified Files:
usercp_email.php usercp_register.php usercp_viewprofile.php
Log Message:
Updates for altered permission/sessions/etc.
Index: usercp_email.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/usercp_email.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** usercp_email.php 9 May 2002 14:07:33 -0000 1.9
--- usercp_email.php 14 Jul 2002 14:41:35 -0000 1.10
***************
*** 37,43 ****
}
! if ( !$userdata['session_logged_in'] )
{
! header('Location: ' . append_sid("login.$phpEx?redirect=profile.$phpEx&mode=email&" . POST_USERS_URL . "=$user_id", true));
exit;
}
--- 37,43 ----
}
! if ( $userdata['user_id'] == ANONYMOUS )
{
! header('Location: ' . "login.$phpEx$SID&redirect=profile.$phpEx&mode=email&" . POST_USERS_URL . "=$user_id");
exit;
}
***************
*** 122,126 ****
$template->assign_vars(array(
! 'META' => '<meta http-equiv="refresh" content="5;url=' . append_sid("index.$phpEx") . '">')
);
--- 122,126 ----
$template->assign_vars(array(
! 'META' => '<meta http-equiv="refresh" content="5;url=' . "index.$phpEx$SID" . '">')
);
***************
*** 157,161 ****
'USERNAME' => $username,
! 'S_POST_ACTION' => append_sid("profile.$phpEx?&mode=email&" . POST_USERS_URL . "=$user_id"),
'L_SEND_EMAIL_MSG' => $lang['Send_email_msg'],
--- 157,161 ----
'USERNAME' => $username,
! 'S_POST_ACTION' => "profile.$phpEx$SID&mode=email&" . POST_USERS_URL . "=$user_id",
'L_SEND_EMAIL_MSG' => $lang['Send_email_msg'],
Index: usercp_register.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/usercp_register.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** usercp_register.php 30 Apr 2002 17:56:50 -0000 1.22
--- usercp_register.php 14 Jul 2002 14:41:35 -0000 1.23
***************
*** 24,28 ****
if ( !defined('IN_PHPBB') )
{
! die("Hacking attempt");
exit;
}
--- 24,28 ----
if ( !defined('IN_PHPBB') )
{
! die('Hacking attempt');
exit;
}
***************
*** 37,41 ****
$template->set_filenames(array(
! 'body' => 'agreement.tpl')
);
--- 37,41 ----
$template->set_filenames(array(
! 'body' => 'agreement.html')
);
***************
*** 47,55 ****
'DO_NOT_AGREE' => $lang['Agree_not'],
! "U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&agreed=true"),
! "U_AGREE_UNDER13" => append_sid("profile.$phpEx?mode=register&agreed=true&coppa=true"))
);
! $template->pparse('body');
}
--- 47,57 ----
'DO_NOT_AGREE' => $lang['Agree_not'],
! "U_AGREE_OVER13" => "profile.$phpEx$SID&mode=register&agreed=true",
! "U_AGREE_UNDER13" => "profile.$phpEx$SID&mode=register&agreed=true&coppa=true")
);
+ }
! function update_user($mode)
! {
}
***************
*** 83,87 ****
include($phpbb_root_path . 'includes/functions_validate.'.$phpEx);
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
! include($phpbb_root_path . 'includes/functions_post.'.$phpEx);
if ( $mode == 'editprofile' )
--- 85,89 ----
include($phpbb_root_path . 'includes/functions_validate.'.$phpEx);
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
! include($phpbb_root_path . 'includes/functions_posting.'.$phpEx);
if ( $mode == 'editprofile' )
***************
*** 276,279 ****
--- 278,285 ----
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Password_mismatch'];
}
+ else
+ {
+ $password = $userdata['user_password'];
+ }
//
***************
*** 378,414 ****
$avatar_sql = user_avatar_gallery($mode, $error, $error_msg, $user_avatar_local);
}
if ( !$error )
{
! if ( $avatar_sql == '' )
{
! $avatar_sql = ( $mode == 'editprofile' ) ? '' : "'', " . USER_AVATAR_NONE;
! }
! if ( $mode == 'editprofile' )
! {
! if ( $email != $current_email && ( $board_config['require_activation'] == USER_ACTIVATION_SELF || $board_config['require_activation'] == USER_ACTIVATION_ADMIN ) && $userdata['user_level'] != ADMIN )
! {
! $user_active = 0;
! $user_actkey = gen_rand_string(true);
! $key_len = 54 - (strlen($server_url));
! $key_len = ($key_len > 6) ? $key_len : 6;
! $user_actkey = substr($user_actkey, 0, $key_len);
! if ( $userdata['session_logged_in'] )
! {
! session_end($userdata['session_id'], $userdata['user_id']);
! }
! }
! else
{
! $user_active = 1;
! $user_actkey = '';
}
! $sql = "UPDATE " . USERS_TABLE . "
! SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
! WHERE user_id = $user_id";
! if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
--- 384,453 ----
$avatar_sql = user_avatar_gallery($mode, $error, $error_msg, $user_avatar_local);
}
+ else
+ {
+ $avatar_sql = array('data' => '', 'type' => USER_AVATAR_NONE);
+ }
if ( !$error )
{
! if ( ( ( $mode == 'editprofile' && $userdata['user_level'] != ADMIN && $email != $current_email ) || ( $mode == 'register' || $coppa ) ) && ( $board_config['require_activation'] == USER_ACTIVATION_SELF || $board_config['require_activation'] == USER_ACTIVATION_ADMIN ) )
{
! $user_actkey = gen_rand_string(true);
! $key_len = 54 - (strlen($server_url));
! $key_len = ( $key_len > 6 ) ? $key_len : 6;
! $user_actkey = substr($user_actkey, 0, $key_len);
! $user_active = 0;
! if ( $userdata['user_id'] != ANONYMOUS )
{
! session_end($userdata['session_id'], $userdata['user_id']);
}
+ }
+ else
+ {
+ $user_active = 1;
+ $user_actkey = '';
+ }
! $sql_ary = array(
! 'username' => $username,
! 'user_regdate' => time(),
! 'user_password' => $password,
! 'user_email' => $email,
! 'user_icq' => $icq,
! 'user_aim' => $aim,
! 'user_yim' => $yim,
! 'user_msnm' => $msn,
! 'user_website' => $website,
! 'user_occ' => $occupation,
! 'user_from' => $location,
! 'user_interests' => $interests,
! 'user_sig' => $signature,
! 'user_sig_bbcode_uid' => $signature_bbcode_uid,
! 'user_viewemail' => $viewemail,
! 'user_attachsig' => $attachsig,
! 'user_allowsmile' => $allowsmilies,
! 'user_allowhtml' => $allowhtml,
! 'user_allowbbcode' => $allowbbcode,
! 'user_allow_viewonline' => $allowviewonline,
! 'user_notify' => $notifyreply,
! 'user_notify_pm' => $notifypm,
! 'user_popup_pm' => $popuppm,
! 'user_avatar' => $avatar_sql['data'],
! 'user_avatar_type' => $avatar_sql['type'],
! 'user_timezone' => (float) $user_timezone,
! 'user_dateformat' => $user_dateformat,
! 'user_lang' => $user_lang,
! 'user_style' => $user_style,
! 'user_level' => 0,
! 'user_allow_pm' => 1,
! 'user_active' => $user_active,
! 'user_actkey' => $user_actkey
! );
!
! if ( $mode == 'editprofile' )
! {
! if ( !($result = $db->sql_query_array('UPDATE ' . USERS_TABLE . ' SET WHERE user_id = ' . $user_id, &$sql_ary, BEGIN_TRANSACTION)) )
{
message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
***************
*** 423,427 ****
$emailer = new emailer($board_config['smtp_delivery']);
! $email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
$emailer->use_template('user_activate', stripslashes($user_lang));
--- 462,466 ----
$emailer = new emailer($board_config['smtp_delivery']);
! $email_headers = "From: " . $board_config['board_email'] . "\r\nReturn-Path: " . $board_config['board_email'] . "\r\n";
$emailer->use_template('user_activate', stripslashes($user_lang));
***************
*** 440,452 ****
$emailer->reset();
! $message = $lang['Profile_updated_inactive'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
}
else
{
! $message = $lang['Profile_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
}
$template->assign_vars(array(
! "META" => '<meta http-equiv="refresh" content="5;url=' . append_sid("index.$phpEx") . '">')
);
--- 479,491 ----
$emailer->reset();
! $message = $lang['Profile_updated_inactive'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . "index.$phpEx$SID" . '">', '</a>');
}
else
{
! $message = $lang['Profile_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . "index.$phpEx$SID" . '">', '</a>');
}
$template->assign_vars(array(
! "META" => '<meta http-equiv="refresh" content="5;url=' . "index.$phpEx$SID" . '">')
);
***************
*** 455,509 ****
else
{
! $sql = "SELECT MAX(user_id) AS total
! FROM " . USERS_TABLE;
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
! }
!
! if ( !($row = $db->sql_fetchrow($result)) )
! {
! message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
! }
! $user_id = $row['total'] + 1;
!
! $sql = "SELECT MAX(group_id) AS total
! FROM " . GROUPS_TABLE;
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
! }
!
! if ( !($row = $db->sql_fetchrow($result)) )
! {
! message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
! }
! $group_id = $row['total'] + 1;
!
! //
! // Get current date
! //
! $sql = "INSERT INTO " . USERS_TABLE . " (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey)
! VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ", '" . str_replace("\'", "''", $password) . "', '" . str_replace("\'", "''", $email) . "', '" . str_replace("\'", "''", $icq) . "', '" . str_replace("\'", "''", $website) . "', '" . str_replace("\'", "''", $occupation) . "', '" . str_replace("\'", "''", $location) . "', '" . str_replace("\'", "''", $interests) . "', '" . str_replace("\'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("\'", "''", $yim) . "', '" . str_replace("\'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $popuppm, $user_timezone, '" . str_replace("\'", "''", $user_dateformat) . "', '" . str_replace("\'", "''", $user_lang) . "', $user_style, 0, 1, ";
! if ( $board_config['require_activation'] == USER_ACTIVATION_SELF || $board_config['require_activation'] == USER_ACTIVATION_ADMIN || $coppa )
! {
! $user_actkey = gen_rand_string(true);
! $key_len = 54 - (strlen($server_url));
! $key_len = ( $key_len > 6 ) ? $key_len : 6;
! $user_actkey = substr($user_actkey, 0, $key_len);
! $sql .= "0, '" . str_replace("\'", "''", $user_actkey) . "')";
! }
! else
! {
! $sql .= "1, '')";
! }
!
! if ( !($result = $db->sql_query($sql, BEGIN_TRANSACTION)) )
{
message_die(GENERAL_ERROR, 'Could not insert data into users table', '', __LINE__, __FILE__, $sql);
}
! $sql = "INSERT INTO " . GROUPS_TABLE . " (group_id, group_name, group_description, group_single_user, group_moderator)
! VALUES ($group_id, '', 'Personal User', 1, 0)";
if ( !($result = $db->sql_query($sql)) )
{
--- 494,506 ----
else
{
! if ( !($result = $db->sql_query_array('INSERT INTO ' . USERS_TABLE, &$sql_ary, BEGIN_TRANSACTION)) )
{
message_die(GENERAL_ERROR, 'Could not insert data into users table', '', __LINE__, __FILE__, $sql);
}
! $user_id = $db->sql_nextid();
!
! $sql = "INSERT INTO " . GROUPS_TABLE . " (group_name, group_description, group_single_user, group_moderator)
! VALUES ('', 'Personal User', 1, 0)";
if ( !($result = $db->sql_query($sql)) )
{
***************
*** 511,526 ****
}
$sql = "INSERT INTO " . USER_GROUP_TABLE . " (user_id, group_id, user_pending)
VALUES ($user_id, $group_id, 0)";
! if( !($result = $db->sql_query($sql, END_TRANSACTION)) )
{
message_die(GENERAL_ERROR, 'Could not insert data into user_group table', '', __LINE__, __FILE__, $sql);
}
! $user_update_id = "UPDATE " . CONFIG_TABLE . " SET config_value = $user_id WHERE config_name = 'newest_user_id'";
! $user_update_name = "UPDATE " . CONFIG_TABLE . " SET config_value = '$username' WHERE config_name = 'newest_username'";
! $user_update_count = "UPDATE " . CONFIG_TABLE . " SET config_value = " . ($board_config['num_users'] + 1) . " WHERE config_name = 'num_users'";
!
! if( !$db->sql_query($user_update_id) || !$db->sql_query($user_update_name) || !$db->sql_query($user_update_count) )
{
message_die(GENERAL_ERROR, 'Could not update user count information!', '', __LINE__, __FILE__);
--- 508,532 ----
}
+ $group_id = $db->sql_nextid();
+
$sql = "INSERT INTO " . USER_GROUP_TABLE . " (user_id, group_id, user_pending)
VALUES ($user_id, $group_id, 0)";
! if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not insert data into user_group table', '', __LINE__, __FILE__, $sql);
}
! $user_update_id = "UPDATE " . CONFIG_TABLE . "
! SET config_value = $user_id
! WHERE config_name = 'newest_user_id'";
! $user_update_name = "UPDATE " . CONFIG_TABLE . "
! SET config_value = '$username'
! WHERE config_name = 'newest_username'";
! $user_update_count = "UPDATE " . CONFIG_TABLE . "
! SET config_value = " . ($board_config['num_users'] + 1) . "
! WHERE config_name = 'num_users'";
! if( !$db->sql_query($user_update_id) ||
! !$db->sql_query($user_update_name) ||
! !$db->sql_query($user_update_count, END_TRANSACTION) )
{
message_die(GENERAL_ERROR, 'Could not update user count information!', '', __LINE__, __FILE__);
***************
*** 615,619 ****
}
! $message = $message . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
message_die(GENERAL_MESSAGE, $message);
--- 621,625 ----
}
! $message = $message . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . "index.$phpEx$SID" . '">', '</a>');
message_die(GENERAL_MESSAGE, $message);
***************
*** 710,714 ****
$template->set_filenames(array(
! 'body' => 'profile_avatar_gallery.tpl')
);
--- 716,720 ----
$template->set_filenames(array(
! 'body' => 'profile_avatar_gallery.html')
);
***************
*** 719,724 ****
else
{
- include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
-
if ( !isset($coppa) )
{
--- 725,728 ----
***************
*** 773,777 ****
{
$template->set_filenames(array(
! 'reg_header' => 'error_body.tpl')
);
$template->assign_vars(array(
--- 777,781 ----
{
$template->set_filenames(array(
! 'reg_header' => 'error_body.html')
);
$template->assign_vars(array(
***************
*** 782,799 ****
$template->set_filenames(array(
! 'body' => 'profile_add_body.tpl')
);
- if ( $mode == 'editprofile' )
- {
- $template->assign_block_vars('switch_edit_profile', array());
- }
-
//
// Let's do an overall check for settings/versions which would prevent
// us from doing file uploads....
//
! $ini_val = ( phpversion() >= '4.0.0' ) ? 'ini_get' : 'get_cfg_var';
! $form_enctype = ( @$ini_val('file_uploads') == '0' || strtolower(@$ini_val('file_uploads') == 'off') || phpversion() == '4.0.4pl1' || !$board_config['allow_avatar_upload'] || ( phpversion() < '4.0.3' && @$ini_val('open_basedir') != '' ) ) ? '' : 'enctype="multipart/form-data"';
$template->assign_vars(array(
--- 786,797 ----
$template->set_filenames(array(
! 'body' => 'profile_add_body.html')
);
//
// Let's do an overall check for settings/versions which would prevent
// us from doing file uploads....
//
! $form_enctype = ( @ini_get('file_uploads') == '0' || strtolower(@ini_get('file_uploads') == 'off') || phpversion() == '4.0.4pl1' || !$board_config['allow_avatar_upload'] || ( phpversion() < '4.0.3' && @ini_get('open_basedir') != '' ) ) ? '' : 'enctype="multipart/form-data"';
$template->assign_vars(array(
***************
*** 835,839 ****
'DATE_FORMAT' => $user_dateformat,
'HTML_STATUS' => $html_status,
! 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="' . append_sid("faq.$phpEx?mode=bbcode") . '" target="_phpbbcode">', '</a>'),
'SMILIES_STATUS' => $smilies_status,
--- 833,837 ----
'DATE_FORMAT' => $user_dateformat,
'HTML_STATUS' => $html_status,
! 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="' . "faq.$phpEx$SID&mode=bbcode" . '" target="_phpbbcode">', '</a>'),
'SMILIES_STATUS' => $smilies_status,
***************
*** 894,903 ****
'L_EMAIL_ADDRESS' => $lang['Email_address'],
! 'S_ALLOW_AVATAR_UPLOAD' => $board_config['allow_avatar_upload'],
! 'S_ALLOW_AVATAR_LOCAL' => $board_config['allow_avatar_local'],
! 'S_ALLOW_AVATAR_REMOTE' => $board_config['allow_avatar_remote'],
'S_HIDDEN_FIELDS' => $s_hidden_fields,
'S_FORM_ENCTYPE' => $form_enctype,
! 'S_PROFILE_ACTION' => append_sid("profile.$phpEx"))
);
--- 892,904 ----
'L_EMAIL_ADDRESS' => $lang['Email_address'],
! 'S_PROFILE_EDIT' => ( $mode == 'editprofile' ) ? true : false,
! 'S_DISPLAY_AVATAR_BLOCK' => ( $userdata['user_allowavatar'] && ( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_local'] || $board_config['allow_avatar_remote'] ) ) ? true : false,
! 'S_DISPLAY_AVATAR_UPLOAD' => ( $board_config['allow_avatar_upload'] && file_exists('./' . $board_config['avatar_path']) && $form_enctype != '' ) ? true : false,
! 'S_DISPLAY_AVATAR_URL' => ( $board_config['allow_avatar_upload'] && file_exists('./' . $board_config['avatar_path']) ) ? true : false,
! 'S_DISPLAY_AVATAR_REMOTE' => ( $board_config['allow_avatar_remote'] ) ? true : false,
! 'S_DISPLAY_AVATAR_GALLERY' => ( $board_config['allow_avatar_local'] && file_exists('./' . $board_config['avatar_gallery_path']) ) ? true : false,
'S_HIDDEN_FIELDS' => $s_hidden_fields,
'S_FORM_ENCTYPE' => $form_enctype,
! 'S_PROFILE_ACTION' => "profile.$phpEx$SID")
);
***************
*** 907,938 ****
// it works well :)
//
- if ( $userdata['user_allowavatar'] && ( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_local'] || $board_config['allow_avatar_remote'] ) )
- {
- $template->assign_block_vars('switch_avatar_block', array() );
-
- if ( $board_config['allow_avatar_upload'] && file_exists('./' . $board_config['avatar_path']) )
- {
- if ( $form_enctype != '' )
- {
- $template->assign_block_vars('switch_avatar_block.switch_avatar_local_upload', array() );
- }
- $template->assign_block_vars('switch_avatar_block.switch_avatar_remote_upload', array() );
- }
-
- if ( $board_config['allow_avatar_remote'] )
- {
- $template->assign_block_vars('switch_avatar_block.switch_avatar_remote_link', array() );
- }
-
- if ( $board_config['allow_avatar_local'] && file_exists('./' . $board_config['avatar_gallery_path']) )
- {
- $template->assign_block_vars('switch_avatar_block.switch_avatar_local_gallery', array() );
- }
- }
}
- $template->pparse('body');
-
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
--- 908,914 ----
// it works well :)
//
}
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
Index: usercp_viewprofile.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/usercp_viewprofile.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** usercp_viewprofile.php 31 Mar 2002 00:06:34 -0000 1.5
--- usercp_viewprofile.php 14 Jul 2002 14:41:35 -0000 1.6
***************
*** 24,44 ****
if ( !defined('IN_PHPBB') )
{
! die("Hacking attempt");
exit;
}
! if ( empty($HTTP_GET_VARS[POST_USERS_URL]) || $HTTP_GET_VARS[POST_USERS_URL] == ANONYMOUS )
{
! message_die(GENERAL_MESSAGE, $lang['No_user_id_specified']);
}
! $profiledata = get_userdata(intval($HTTP_GET_VARS[POST_USERS_URL]));
$sql = "SELECT *
FROM " . RANKS_TABLE . "
ORDER BY rank_special, rank_min";
! if ( !($result = $db->sql_query($sql)) )
! {
! message_die(GENERAL_ERROR, 'Could not obtain ranks information', '', __LINE__, __FILE__, $sql);
! }
while ( $row = $db->sql_fetchrow($result) )
--- 24,41 ----
if ( !defined('IN_PHPBB') )
{
! die('Hacking attempt');
exit;
}
! if ( empty($HTTP_GET_VARS['u']) || $HTTP_GET_VARS['u'] == ANONYMOUS )
{
! message_die(MESSAGE, $lang['No_user_id_specified']);
}
! $profiledata = get_userdata(intval($HTTP_GET_VARS['u']));
$sql = "SELECT *
FROM " . RANKS_TABLE . "
ORDER BY rank_special, rank_min";
! $result = $db->sql_query($sql);
while ( $row = $db->sql_fetchrow($result) )
***************
*** 52,56 ****
//
$template->set_filenames(array(
! 'body' => 'profile_view_body.tpl')
);
make_jumpbox('viewforum.'.$phpEx);
--- 49,53 ----
//
$template->set_filenames(array(
! 'body' => 'profile_view_body.html')
);
make_jumpbox('viewforum.'.$phpEx);
***************
*** 117,129 ****
}
! $temp_url = append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=" . $profiledata['user_id']);
! $pm_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
! $pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';
!
! if ( !empty($profiledata['user_viewemail']) || $userdata['user_level'] == ADMIN )
{
! $email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $profiledata['user_id']) : 'mailto:' . $profiledata['user_email'];
! $email_img = '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>';
$email = '<a href="' . $email_uri . '">' . $lang['Send_email'] . '</a>';
}
--- 114,122 ----
}
! if ( $profiledata['user_viewemail'] || $acl->get_acl_admin() )
{
! $email_uri = ( $board_config['board_email_form'] ) ? "profile.$phpEx$SID&mode=email&u=" . $user_id : 'mailto:' . $profiledata['user_email'];
! $email_img = '<a href="' . $email_uri . '">' . create_img($theme['icon_email'], $lang['Send_email']) . '</a>';
$email = '<a href="' . $email_uri . '">' . $lang['Send_email'] . '</a>';
}
***************
*** 134,164 ****
}
! $www_img = ( $profiledata['user_website'] ) ? '<a href="' . $profiledata['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : ' ';
! $www = ( $profiledata['user_website'] ) ? '<a href="' . $profiledata['user_website'] . '" target="_userwww">' . $profiledata['user_website'] . '</a>' : ' ';
if ( !empty($profiledata['user_icq']) )
{
$icq_status_img = '<a href="http://wwp.icq.com/' . $profiledata['user_icq'] . '#pager"><img src="http://web.icq.com/whitepages/online?icq=' . $profiledata['user_icq'] . '&img=5" width="18" height="18" border="0" /></a>';
! $icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $profiledata['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
$icq = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $profiledata['user_icq'] . '">' . $lang['ICQ'] . '</a>';
}
else
{
! $icq_status_img = ' ';
! $icq_img = ' ';
! $icq = ' ';
}
! $aim_img = ( $profiledata['user_aim'] ) ? '<a href="aim:goim?screenname=' . $profiledata['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : ' ';
! $aim = ( $profiledata['user_aim'] ) ? '<a href="aim:goim?screenname=' . $profiledata['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : ' ';
! $msn_img = ( $profiledata['user_msnm'] ) ? $profiledata['user_msnm'] : ' ';
! $msn = $msn_img;
! $yim_img = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$yim = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
! $temp_url = append_sid("search.$phpEx?search_author=" . urlencode($profiledata['username']) . "&showresults=posts");
! $search_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_search'] . '" alt="' . $lang['Search_user_posts'] . '" title="' . $lang['Search_user_posts'] . '" border="0" /></a>';
$search = '<a href="' . $temp_url . '">' . $lang['Search_user_posts'] . '</a>';
--- 127,166 ----
}
! $temp_url = "profile.$phpEx$SID&mode=viewprofile&u=$user_id";
! $profile_img = '<a href="' . $temp_url . '">' . create_img($theme['icon_profile'], $lang['Read_profile']) . '</a>';
! $profile = '<a href="' . $temp_url . '">' . $lang['Read_profile'] . '</a>';
!
! $temp_url = "privmsg.$phpEx$SID&mode=post&u=$user_id";
! $pm_img = '<a href="' . $temp_url . '">' . create_img($theme['icon_pm'], $lang['Send_private_message']) . '</a>';
! $pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';
!
! $www_img = ( $profiledata['user_website'] ) ? '<a href="' . $profiledata['user_website'] . '" target="_userwww">' . create_img($theme['icon_www'], $lang['Visit_website']) . '</a>' : '';
! $www = ( $profiledata['user_website'] ) ? '<a href="' . $profiledata['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';
if ( !empty($profiledata['user_icq']) )
{
$icq_status_img = '<a href="http://wwp.icq.com/' . $profiledata['user_icq'] . '#pager"><img src="http://web.icq.com/whitepages/online?icq=' . $profiledata['user_icq'] . '&img=5" width="18" height="18" border="0" /></a>';
! $icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $profiledata['user_icq'] . '">' . create_img($theme['icon_icq'], $lang['ICQ']) . '</a>';
$icq = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $profiledata['user_icq'] . '">' . $lang['ICQ'] . '</a>';
}
else
{
! $icq_status_img = '';
! $icq_img = '';
! $icq = '';
}
! $aim_img = ( $profiledata['user_aim'] ) ? '<a href="aim:goim?screenname=' . $profiledata['user_aim'] . '&message=Hello+Are+you+there?">' . create_img($theme['icon_aim'], $lang['AIM']) . '</a>' : '';
! $aim = ( $profiledata['user_aim'] ) ? '<a href="aim:goim?screenname=' . $profiledata['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : '';
! $temp_url = "profile.$phpEx$SID&mode=viewprofile&u=$user_id";
! $msn_img = ( $profiledata['user_msnm'] ) ? '<a href="' . $temp_url . '">' . create_img($theme['icon_msnm'], $lang['MSNM']) . '</a>' : '';
! $msn = ( $profiledata['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';
! $yim_img = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&.src=pg">' . create_img($theme['icon_yim'], $lang['YIM']) . '</a>' : '';
$yim = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
! $temp_url = "search.$phpEx$SID&search_author=" . urlencode($profiledata['username']) . "&showresults=posts";
! $search_img = '<a href="' . $temp_url . '">' . create_img($theme['icon_search'], $lang['Search_user_posts']) . '</a>';
$search = '<a href="' . $temp_url . '">' . $lang['Search_user_posts'] . '</a>';
***************
*** 223,232 ****
'L_INTERESTS' => $lang['Interests'],
! 'U_SEARCH_USER' => append_sid("search.$phpEx?search_author=" . urlencode($profiledata['username'])),
! 'S_PROFILE_ACTION' => append_sid("profile.$phpEx"))
);
-
- $template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
--- 225,232 ----
'L_INTERESTS' => $lang['Interests'],
! 'U_SEARCH_USER' => "search.$phpEx$SID&search_author=" . urlencode($profiledata['username']),
! 'S_PROFILE_ACTION' => "profile.$phpEx$SID")
);
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:41:15
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv14027/includes
Modified Files:
bbcode.php
Log Message:
Various updates and alterations
Index: bbcode.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/bbcode.php,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** bbcode.php 10 Jun 2002 01:52:16 -0000 1.39
--- bbcode.php 14 Jul 2002 14:41:12 -0000 1.40
***************
*** 22,29 ****
if ( !defined('IN_PHPBB') )
{
! die("Hacking attempt");
}
! define("BBCODE_UID_LEN", 10);
// global that holds loaded-and-prepared bbcode templates, so we only have to do
--- 22,29 ----
if ( !defined('IN_PHPBB') )
{
! die('Hacking attempt');
}
! define('BBCODE_UID_LEN', 10);
// global that holds loaded-and-prepared bbcode templates, so we only have to do
***************
*** 44,48 ****
{
global $template;
! $tpl_filename = $template->make_filename('bbcode.tpl');
$tpl = fread(fopen($tpl_filename, 'r'), filesize($tpl_filename));
--- 44,48 ----
{
global $template;
! $tpl_filename = $template->make_filename('bbcode.html');
$tpl = fread(fopen($tpl_filename, 'r'), filesize($tpl_filename));
***************
*** 110,114 ****
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
! define("BBCODE_TPL_READY", true);
return $bbcode_tpl;
--- 110,114 ----
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
! define('BBCODE_TPL_READY', true);
return $bbcode_tpl;
***************
*** 121,134 ****
* correct UID as used in first-pass encoding.
*/
! function bbencode_second_pass($text, $uid)
{
! global $lang, $bbcode_tpl;
// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
! $text = " " . $text;
// First: If there isn't a "[" and a "]" in the message, don't bother.
! if (! (strpos($text, "[") && strpos($text, "]")) )
{
// Remove padding, return.
--- 121,134 ----
* correct UID as used in first-pass encoding.
*/
! function bbencode_second_pass($text, $uid, $enable_img = true)
{
! global $acl, $board_config, $lang, $bbcode_tpl;
// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
! $text = ' ' . $text;
// First: If there isn't a "[" and a "]" in the message, don't bother.
! if (! (strpos($text, '[') && strpos($text, ']')) )
{
// Remove padding, return.
***************
*** 138,142 ****
// Only load the templates ONCE..
! if (!defined("BBCODE_TPL_READY"))
{
// load templates from file into array.
--- 138,142 ----
// Only load the templates ONCE..
! if (!defined('BBCODE_TPL_READY'))
{
// load templates from file into array.
***************
*** 195,200 ****
// [img]image_url_here[/img] code..
// This one gets first-passed..
! $patterns[0] = "#\[img:$uid\](.*?)\[/img:$uid\]#si";
! $replacements[0] = $bbcode_tpl['img'];
// [url]xxxx://www.phpbb.com[/url] code..
--- 195,203 ----
// [img]image_url_here[/img] code..
// This one gets first-passed..
! if ( $enable_img )
! {
! $patterns[0] = "#\[img:$uid\](.*?)\[/img:$uid\]#si";
! $replacements[0] = $bbcode_tpl['img'];
! }
// [url]xxxx://www.phpbb.com[/url] code..
***************
*** 227,237 ****
} // bbencode_second_pass()
- // Need to initialize the random numbers only ONCE
- mt_srand( (double) microtime() * 1000000);
function make_bbcode_uid()
{
! // Unique ID for this message..
$uid = md5(mt_rand());
$uid = substr($uid, 0, BBCODE_UID_LEN);
--- 230,240 ----
} // bbencode_second_pass()
function make_bbcode_uid()
{
! // Need to initialize the random numbers only ONCE
! mt_srand( (double) microtime() * 1000000);
+ // Unique ID for this message..
$uid = md5(mt_rand());
$uid = substr($uid, 0, BBCODE_UID_LEN);
***************
*** 244,248 ****
// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
! $text = " " . $text;
// [CODE] and [/CODE] for posting code (HTML, PHP, C etc etc) in your posts.
--- 247,251 ----
// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
! $text = ' ' . $text;
// [CODE] and [/CODE] for posting code (HTML, PHP, C etc etc) in your posts.
***************
*** 256,269 ****
// [list] and [list=x] for (un)ordered lists.
$open_tag = array();
! $open_tag[0] = "[list]";
// unordered..
! $text = bbencode_first_pass_pda($text, $uid, $open_tag, "[/list]", "[/list:u]", false, 'replace_listitems');
! $open_tag[0] = "[list=1]";
! $open_tag[1] = "[list=a]";
// ordered.
! $text = bbencode_first_pass_pda($text, $uid, $open_tag, "[/list]", "[/list:o]", false, 'replace_listitems');
// [color] and [/color] for setting text color
--- 259,272 ----
// [list] and [list=x] for (un)ordered lists.
$open_tag = array();
! $open_tag[0] = '[list]';
// unordered..
! $text = bbencode_first_pass_pda($text, $uid, $open_tag, '[/list]', '[/list:u]', false, 'replace_listitems');
! $open_tag[0] = '[list=1]';
! $open_tag[1] = '[list=a]';
// ordered.
! $text = bbencode_first_pass_pda($text, $uid, $open_tag, '[/list]', '[/list:o]', false, 'replace_listitems');
// [color] and [/color] for setting text color
***************
*** 288,292 ****
$text = substr($text, 1);
-
return $text;
--- 291,294 ----
***************
*** 742,770 ****
static $smilies;
! if( empty($smilies) )
{
$sql = "SELECT code, smile_url
FROM " . SMILIES_TABLE;
! if( !$result = $db->sql_query($sql) )
! {
! message_die(GENERAL_ERROR, "Couldn't obtain smilies data", "", __LINE__, __FILE__, $sql);
! }
! if( !$db->sql_numrows($result) )
{
return $message;
}
! $smilies = $db->sql_fetchrowset($result);
}
- usort($smilies, 'smiley_sort');
for($i = 0; $i < count($smilies); $i++)
{
! $orig[] = "/(?<=.\\W|\\W.|^\\W)" . phpbb_preg_quote($smilies[$i]['code'], "/") . "(?=.\\W|\\W.|\\W$)/";
! $repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" alt="' . $smilies[$i]['smile_url'] . '" border="0" />';
}
! if( $i > 0 )
{
$message = preg_replace($orig, $repl, ' ' . $message . ' ');
--- 744,768 ----
static $smilies;
! if ( empty($smilies) )
{
$sql = "SELECT code, smile_url
FROM " . SMILIES_TABLE;
! $result = $db->sql_query($sql);
! if ( !($smilies = $db->sql_fetchrowset($result)) )
{
return $message;
}
! usort($smilies, 'smiley_sort');
}
for($i = 0; $i < count($smilies); $i++)
{
! $orig[] = '/(?<=.\\W|\\W.|^\\W)' . preg_quote($smilies[$i]['code'], '/') . '(?=.\\W|\\W.|\\W$)/';
! $repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" width="' . $smilies[$i]['smile_width'] . '" height="' . $smilies[$i]['smile_height'] . '" alt="' . $smilies[$i]['smile_url'] . '" title="' . $smilies[$i]['smile_url'] . '" border="0" />';
}
! if ( $i > 0 )
{
$message = preg_replace($orig, $repl, ' ' . $message . ' ');
***************
*** 782,788 ****
}
! return ( strlen($a['code']) > strlen($b['code']) ) ? -1 : 1;
}
!
! ?>
--- 780,785 ----
}
! return ( strlen($a['code']) > strlen($b['code']) ) ? - 1 : 1;
}
! ?>
\ No newline at end of file
|
|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:40:20
|
Update of /cvsroot/phpbb/phpBB2/db/schemas
In directory usw-pr-cvs1:/tmp/cvs-serv13716/db/schemas
Modified Files:
mysql_basic.sql mysql_schema.sql
Log Message:
Latest schema
Index: mysql_basic.sql
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/schemas/mysql_basic.sql,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** mysql_basic.sql 21 Jun 2002 22:40:29 -0000 1.20
--- mysql_basic.sql 14 Jul 2002 14:40:17 -0000 1.21
***************
*** 7,14 ****
INSERT INTO phpbb_config (config_name, config_value) VALUES ('config_id','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_disable','0');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_disable_msg','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('sitename','yourdomain.com');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('site_desc','A _little_ text to describe your forum');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_name','phpbb2mysql');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_path','/');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_domain','');
--- 7,14 ----
INSERT INTO phpbb_config (config_name, config_value) VALUES ('config_id','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_disable','0');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('board_disable_msg','');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('sitename','yourdomain.com');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('site_desc','A _little_ text to describe your forum');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_name','phpbb22');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_path','/');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cookie_domain','');
***************
*** 50,54 ****
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_max_width','80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_max_height','80');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_path','images/avatars');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_gallery_path','images/avatars/gallery');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('smilies_path','images/smiles');
--- 50,54 ----
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_max_width','80');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_max_height','80');
! INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_path','images/avatars/upload');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_gallery_path','images/avatars/gallery');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('smilies_path','images/smiles');
***************
*** 73,121 ****
INSERT INTO phpbb_config (config_name, config_value) VALUES ('limit_load', '1.0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('active_sessions', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '2.1.0 [20020430]');
# -- auth options
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_list');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_read');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_post');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_reply');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_edit');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_delete');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_poll');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_vote');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_announce');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_sticky');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_attach');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_html');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_bbcode');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_smilies');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_img');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_flash');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_sigs');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_download');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_search');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_email');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_print');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_ignoreflood');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('forum_ignorequeue');
!
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('mod_edit');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('mod_delete');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('mod_move');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('mod_lock');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('mod_split');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('mod_merge');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('mod_approve');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('mod_ban');
!
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('admin_config');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('admin_user');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('admin_group');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('admin_forum');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('admin_posts');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('admin_ban');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('admin_email');
! INSERT INTO phpbb_auth_options (auth_option) VALUES ('admin_backup');
--- 73,141 ----
INSERT INTO phpbb_config (config_name, config_value) VALUES ('limit_load', '1.0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('active_sessions', '0');
+ INSERT INTO phpbb_config (config_name, config_value) VALUES ('session_gc', '3600');
+ INSERT INTO phpbb_config (config_name, config_value) VALUES ('session_last_gc', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '2.1.0 [20020430]');
# -- auth options
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'list');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'read');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'post');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'reply');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'edit');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'delete');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'poll');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'vote');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'announce');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'sticky');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'attach');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'download');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'html');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'bbcode');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'smilies');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'img');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'flash');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'sigs');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'search');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'email');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'rate');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'print');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'ignoreflood');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('forum', 'ignorequeue');
!
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('mod', 'edit');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('mod', 'delete');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('mod', 'move');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('mod', 'lock');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('mod', 'split');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('mod', 'merge');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('mod', 'approve');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('mod', 'unrate');
! INSERT INTO phpbb_auth_options auth_type, (auth_option) VALUES ('mod', 'auth');
!
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'general');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'user');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'group');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'forum');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'post');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'ban');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'auth');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'email');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'styles');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'backup');
! INSERT INTO phpbb_auth_options (auth_type, auth_option) VALUES ('admin', 'clearlogs');
!
!
! # -- phpbb_styles
! INSERT INTO phpbb_styles (style_id, template_id, theme_id, imageset_id, style_name, style_default) VALUES (1, 1, 1, 1, 'subSilver', 1);
!
! # -- phpbb_styles_imageset
! INSERT INTO phpbb_styles_imageset (imageset_id, imageset_name, imageset_path, post_new, post_locked, post_pm, reply_new, reply_pm, reply_locked, icon_quote, icon_edit, icon_search, icon_profile, icon_pm, icon_email, icon_www, icon_icq, icon_aim, icon_yim, icon_msnm, icon_no_edit, icon_no_email, icon_no_www, icon_no_icq, icon_no_aim, icon_no_yim, icon_no_msnm, icon_delete, icon_ip, goto_post, goto_post_new, goto_post_latest, goto_post_newest, forum, forum_new, forum_locked, folder, folder_new, folder_hot, folder_hot_new, folder_locked, folder_locked_new, folder_sticky, folder_sticky_new, folder_announce, folder_announce_new, topic_watch, topic_unwatch, poll_left, poll_center, poll_right, rating) VALUES (1, 'subSilver © phpBB Group', 'subSilver', '"imagesets/subSilver/{LANG}/post.gif" width="82" height="25" border="0"', '"imagesets/subSilver/{LANG}/reply-locked.gif" width="82" height="25" border="0"', '"imagesets/subSilver/{LANG}/post.gif" width="82" height="25" border="0"', '"imagesets/subSilver/{LANG}/reply.gif" width="88" height="27" border="0"', '"imagesets/subSilver/{LANG}/reply.gif" width="88" height="27" border="0"', '"imagesets/subSilver/{LANG}/reply-locked.gif" width="82" height="25" border="0"', '"imagesets/subSilver/{LANG}/icon_quote.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_edit.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_search.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_profile.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_pm.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_email.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_www.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_icq_add.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_aim.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_yim.gif" width="59" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_msnm.gif" width="59" height="18" border="0"', '', '', '', '', '', '', '', '"imagesets/subSilver/icon_delete.gif" width="16" height="18" border="0"', '"imagesets/subSilver/{LANG}/icon_ip.gif" width="16" height="18" border="0"', '"imagesets/subSilver/icon_minipost.gif" width="12" height="9" border="0"', '"imagesets/subSilver/icon_minipost_new.gif" width="12" height="9" border="0"', '"imagesets/subSilver/icon_latest_reply.gif" width="18" height="9" border="0"', '"imagesets/subSilver/icon_newest_reply.gif" width="18" height="9" border="0"', '"imagesets/subSilver/folder_big.gif" width="46" height="25" border="0"', '"imagesets/subSilver/folder_new_big.gif" width="46" height="25" border="0"', '"imagesets/subSilver/folder_locked_big.gif" width="46" height="25" border="0"', '"imagesets/subSilver/folder.gif" width="19" height="18" border="0"', '"imagesets/subSilver/folder_new.gif" width="19" height="18" border="0"', '"imagesets/subSilver/folder_hot.gif" width="19" height="18" border="0"', '"imagesets/subSilver/folder_new_hot.gif" width="19" height="18" border="0"', '"imagesets/subSilver/folder_lock.gif" width="19" height="18" border="0"', '"imagesets/subSilver/folder_lock_new.gif" width="19" height="18" border="0"', '"imagesets/subSilver/folder_sticky.gif" width="19" height="18" border="0"', '"imagesets/subSilver/folder_sticky_new.gif" width="19" height="18" border="0"', '"imagesets/subSilver/folder_announce.gif" width="19" height="18" border="0"', '"imagesets/subSilver/folder_announce_new.gif" width="19" height="18" border="0"', '', '', '"imagesets/subSilver/voting_lcap.gif" width="4" height="12" border="0"', '"imagesets/subSilver/voting_rcap.gif" height="12" border="0"', '"imagesets/subSilver/voting_bar.gif" width="4" height="12" border="0"', '"imagesets/subSilver/ratings/{RATE}.gif" width="45" height="17" border="0"');
!
! # -- phpbb_styles_template
! INSERT INTO phpbb_styles_template (template_id, template_name, template_path, poll_length, pm_box_length, compile_crc) VALUES (1, 'subSilver © phpBB Group', 'subSilver', 205, 175, '');
!
! # -- phpbb_styles_theme
! INSERT INTO phpbb_styles_theme (theme_id, css_data, css_external) VALUES (1, 'th { background-image: url(templates/subSilver/images/cellpic3.gif) }\r\ntd.cat { background-image: url(templates/subSilver/images/cellpic1.gif) }\r\ntd.rowpic { background-image: url(templates/subSilver/images/cellpic2.jpg); background-repeat: repeat-y }\r\ntd.icqback { background-image: url(templates/subSilver/images/icon_icq_add.gif); background-repeat: no-repeat }\r\ntd.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { background-image: url(templates/subSilver/images/cellpic1.gif) }\r\nTH.thTop { background-image: url(templates/subSilver/images/cellpic3.gif) }', 'subSilver/subSilver.css');
***************
*** 125,129 ****
# -- Forums
! INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_pollcreate, auth_vote, auth_attachments) VALUES (1, 'Test Forum 1', 'This is just a test forum.', 1, 10, 1, 1, 1, 0, 0, 0, 0, 1, 1, 3, 1, 1, 1, 3);
--- 145,149 ----
# -- Forums
! INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id) VALUES (1, 'Test Forum 1', 'This is just a test forum.', 1, 10, 1, 1, 1);
***************
*** 141,144 ****
--- 161,165 ----
# -- Groups
INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (1, 'REGISTERED', 0);
+ INSERT INTO phpbb_groups (group_id, group_name, group_type) VALUES (1, 'ADMINISTRATOR', 0);
***************
*** 152,208 ****
# -- Demo Post
! INSERT INTO phpbb_posts (post_id, topic_id, forum_id, poster_id, post_time, post_username, poster_ip) VALUES (1, 1, 1, 2, 972086460, NULL, '7F000001');
! INSERT INTO phpbb_posts_text (post_id, post_subject, post_text) VALUES (1, NULL, 'This is an example post in your phpBB 2 installation. You may delete this post, this topic and even this forum if you like since everything seems to be working!');
# -- Topic icons
! INSERT INTO phpbb_icons (icons_id, icons_url, icons_width, icons_height) VALUES (0, '', 0, 0);
# -- Smilies
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 1, ':D', 'icon_biggrin.gif', 'Very Happy');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 2, ':-D', 'icon_biggrin.gif', 'Very Happy');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 3, ':grin:', 'icon_biggrin.gif', 'Very Happy');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 4, ':)', 'icon_smile.gif', 'Smile');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 5, ':-)', 'icon_smile.gif', 'Smile');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 6, ':smile:', 'icon_smile.gif', 'Smile');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 7, ':(', 'icon_sad.gif', 'Sad');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 8, ':-(', 'icon_sad.gif', 'Sad');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 9, ':sad:', 'icon_sad.gif', 'Sad');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 10, ':o', 'icon_surprised.gif', 'Surprised');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 11, ':-o', 'icon_surprised.gif', 'Surprised');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 12, ':eek:', 'icon_surprised.gif', 'Surprised');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 13, '8O', 'icon_eek.gif', 'Shocked');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 14, '8-O', 'icon_eek.gif', 'Shocked');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 15, ':shock:', 'icon_eek.gif', 'Shocked');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 16, ':?', 'icon_confused.gif', 'Confused');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 17, ':-?', 'icon_confused.gif', 'Confused');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 18, ':???:', 'icon_confused.gif', 'Confused');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 19, '8)', 'icon_cool.gif', 'Cool');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 20, '8-)', 'icon_cool.gif', 'Cool');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 21, ':cool:', 'icon_cool.gif', 'Cool');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 22, ':lol:', 'icon_lol.gif', 'Laughing');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 23, ':x', 'icon_mad.gif', 'Mad');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 24, ':-x', 'icon_mad.gif', 'Mad');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 25, ':mad:', 'icon_mad.gif', 'Mad');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 26, ':P', 'icon_razz.gif', 'Razz');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 27, ':-P', 'icon_razz.gif', 'Razz');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 28, ':razz:', 'icon_razz.gif', 'Razz');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 29, ':oops:', 'icon_redface.gif', 'Embarassed');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 30, ':cry:', 'icon_cry.gif', 'Crying or Very sad');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 31, ':evil:', 'icon_evil.gif', 'Evil or Very Mad');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 32, ':twisted:', 'icon_twisted.gif', 'Twisted Evil');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 33, ':roll:', 'icon_rolleyes.gif', 'Rolling Eyes');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 34, ':wink:', 'icon_wink.gif', 'Wink');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 35, ';)', 'icon_wink.gif', 'Wink');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 36, ';-)', 'icon_wink.gif', 'Wink');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 37, ':!:', 'icon_exclaim.gif', 'Exclamation');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 38, ':?:', 'icon_question.gif', 'Question');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 39, ':idea:', 'icon_idea.gif', 'Idea');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 40, ':arrow:', 'icon_arrow.gif', 'Arrow');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 41, ':|', 'icon_neutral.gif', 'Neutral');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 42, ':-|', 'icon_neutral.gif', 'Neutral');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 43, ':neutral:', 'icon_neutral.gif', 'Neutral');
! INSERT INTO phpbb_smilies (smilies_id, code, smile_url, emoticon) VALUES ( 44, ':mrgreen:', 'icon_mrgreen.gif', 'Mr. Green');
--- 173,229 ----
# -- Demo Post
! INSERT INTO phpbb_posts (post_id, topic_id, forum_id, poster_id, post_time, post_username, poster_ip) VALUES (1, 1, 1, 2, 972086460, NULL, '127.0.0.1');
! INSERT INTO phpbb_posts_text (post_id, post_subject, post_text) VALUES (1, NULL, 'This is an example post in your phpBB 2.2 installation. You may delete this post, this topic and even this forum if you like since everything seems to be working!');
# -- Topic icons
! INSERT INTO phpbb_icons (icons_id, icons_url, icons_width, icons_height) VALUES (1, '', 0, 0);
# -- Smilies
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':D', 'icon_biggrin.gif', 'Very Happy');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':-D', 'icon_biggrin.gif', 'Very Happy');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':grin:', 'icon_biggrin.gif', 'Very Happy');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':)', 'icon_smile.gif', 'Smile');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':-)', 'icon_smile.gif', 'Smile');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':smile:', 'icon_smile.gif', 'Smile');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':(', 'icon_sad.gif', 'Sad');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':-(', 'icon_sad.gif', 'Sad');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':sad:', 'icon_sad.gif', 'Sad');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':o', 'icon_surprised.gif', 'Surprised');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':-o', 'icon_surprised.gif', 'Surprised');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':eek:', 'icon_surprised.gif', 'Surprised');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( '8O', 'icon_eek.gif', 'Shocked');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( '8-O', 'icon_eek.gif', 'Shocked');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':shock:', 'icon_eek.gif', 'Shocked');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':?', 'icon_confused.gif', 'Confused');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':-?', 'icon_confused.gif', 'Confused');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':???:', 'icon_confused.gif', 'Confused');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( '8)', 'icon_cool.gif', 'Cool');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( '8-)', 'icon_cool.gif', 'Cool');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':cool:', 'icon_cool.gif', 'Cool');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':lol:', 'icon_lol.gif', 'Laughing');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':x', 'icon_mad.gif', 'Mad');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':-x', 'icon_mad.gif', 'Mad');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':mad:', 'icon_mad.gif', 'Mad');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':P', 'icon_razz.gif', 'Razz');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':-P', 'icon_razz.gif', 'Razz');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':razz:', 'icon_razz.gif', 'Razz');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':oops:', 'icon_redface.gif', 'Embarassed');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':cry:', 'icon_cry.gif', 'Crying or Very sad');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':evil:', 'icon_evil.gif', 'Evil or Very Mad');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':twisted:', 'icon_twisted.gif', 'Twisted Evil');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':roll:', 'icon_rolleyes.gif', 'Rolling Eyes');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':wink:', 'icon_wink.gif', 'Wink');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ';)', 'icon_wink.gif', 'Wink');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ';-)', 'icon_wink.gif', 'Wink');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':!:', 'icon_exclaim.gif', 'Exclamation');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':?:', 'icon_question.gif', 'Question');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':idea:', 'icon_idea.gif', 'Idea');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':arrow:', 'icon_arrow.gif', 'Arrow');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':|', 'icon_neutral.gif', 'Neutral');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':-|', 'icon_neutral.gif', 'Neutral');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':neutral:', 'icon_neutral.gif', 'Neutral');
! INSERT INTO phpbb_smilies (code, smile_url, emoticon) VALUES ( ':mrgreen:', 'icon_mrgreen.gif', 'Mr. Green');
Index: mysql_schema.sql
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/schemas/mysql_schema.sql,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** mysql_schema.sql 27 Jun 2002 19:55:26 -0000 1.25
--- mysql_schema.sql 14 Jul 2002 14:40:17 -0000 1.26
***************
*** 7,13 ****
# --------------------------------------------------------
#
# Table structure for table `phpbb_auth_groups`
#
- DROP TABLE IF EXISTS phpbb_auth_groups;
CREATE TABLE phpbb_auth_groups (
group_id mediumint(8) unsigned NOT NULL default '0',
--- 7,28 ----
# --------------------------------------------------------
#
+ # Table structure for table 'phpbb_attach_desc'
+ #
+ CREATE TABLE phpbb_attach_desc (
+ attach_id mediumint(8) UNSIGNED NOT NULL auto_increment,
+ attach_filename varchar(255) NOT NULL,
+ download_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
+ filename varchar(255) NOT NULL,
+ comment varchar(60),
+ mimetype varchar(60),
+ filesize int(20) NOT NULL,
+ filetime int(11) DEFAULT '0' NOT NULL,
+ PRIMARY KEY (attach_id)
+ );
+
+ # --------------------------------------------------------
+ #
# Table structure for table `phpbb_auth_groups`
#
CREATE TABLE phpbb_auth_groups (
group_id mediumint(8) unsigned NOT NULL default '0',
***************
*** 59,64 ****
ban_id mediumint(8) UNSIGNED NOT NULL auto_increment,
ban_userid mediumint(8) NOT NULL,
! ban_ip char(40) NOT NULL,
! ban_email char(50),
PRIMARY KEY (ban_id),
KEY ban_ip_user_id (ban_ip, ban_userid)
--- 74,81 ----
ban_id mediumint(8) UNSIGNED NOT NULL auto_increment,
ban_userid mediumint(8) NOT NULL,
! ban_ip varchar(40) NOT NULL,
! ban_email varchar(50),
! ban_start int(11),
! ban_length int(11),
PRIMARY KEY (ban_id),
KEY ban_ip_user_id (ban_ip, ban_userid)
***************
*** 72,76 ****
CREATE TABLE phpbb_categories (
cat_id mediumint(8) UNSIGNED NOT NULL auto_increment,
! cat_title char(60),
cat_order mediumint(8) UNSIGNED NOT NULL,
PRIMARY KEY (cat_id),
--- 89,93 ----
CREATE TABLE phpbb_categories (
cat_id mediumint(8) UNSIGNED NOT NULL auto_increment,
! cat_title varchar(60),
cat_order mediumint(8) UNSIGNED NOT NULL,
PRIMARY KEY (cat_id),
***************
*** 92,100 ****
# --------------------------------------------------------
#
# Table structure for table 'phpbb_disallow' <- combine with banlist
#
CREATE TABLE phpbb_disallow (
disallow_id mediumint(8) UNSIGNED NOT NULL auto_increment,
! disallow_username char(30),
PRIMARY KEY (disallow_id)
);
--- 109,127 ----
# --------------------------------------------------------
#
+ # Table structure for table 'phpbb_config_defaults'
+ #
+ CREATE TABLE phpbb_config_defaults (
+ config_name varchar(255) NOT NULL,
+ config_value varchar(255) NOT NULL,
+ PRIMARY KEY (config_name)
+ );
+
+ # --------------------------------------------------------
+ #
# Table structure for table 'phpbb_disallow' <- combine with banlist
#
CREATE TABLE phpbb_disallow (
disallow_id mediumint(8) UNSIGNED NOT NULL auto_increment,
! disallow_username varchar(30),
PRIMARY KEY (disallow_id)
);
***************
*** 179,183 ****
CREATE TABLE phpbb_icons (
icons_id tinyint(4) UNSIGNED NOT NULL auto_increment,
! icons_url char(50),
icons_width tinyint(4) UNSIGNED NOT NULL,
icons_height tinyint(4) UNSIGNED NOT NULL,
--- 206,210 ----
CREATE TABLE phpbb_icons (
icons_id tinyint(4) UNSIGNED NOT NULL auto_increment,
! icons_url varchar(50),
icons_width tinyint(4) UNSIGNED NOT NULL,
icons_height tinyint(4) UNSIGNED NOT NULL,
***************
*** 196,200 ****
log_ip varchar(40) NOT NULL,
log_time int(11) NOT NULL,
! log_operation varchar(255),
PRIMARY KEY (log_id),
KEY forum_id (forum_id),
--- 223,228 ----
log_ip varchar(40) NOT NULL,
log_time int(11) NOT NULL,
! log_operation text,
! log_data text,
PRIMARY KEY (log_id),
KEY forum_id (forum_id),
***************
*** 205,208 ****
--- 233,252 ----
# --------------------------------------------------------
#
+ # Table structure for table 'phpbb_log_admin'
+ #
+ CREATE TABLE phpbb_log_admin (
+ log_id mediumint(5) UNSIGNED NOT NULL DEFAULT '0',
+ user_id mediumint(8) NOT NULL DEFAULT '0',
+ log_ip varchar(40) NOT NULL,
+ log_time int(11) NOT NULL,
+ log_operation text,
+ log_data text,
+ PRIMARY KEY (log_id),
+ KEY user_id (user_id)
+ );
+
+
+ # --------------------------------------------------------
+ #
# Table structure for table 'phpbb_vote_results'
#
***************
*** 224,228 ****
poll_option_id tinyint(4) UNSIGNED NOT NULL DEFAULT '0',
vote_user_id mediumint(8) NOT NULL DEFAULT '0',
! vote_user_ip char(40) NOT NULL,
KEY vote_id (vote_id),
KEY vote_user_id (vote_user_id),
--- 268,272 ----
poll_option_id tinyint(4) UNSIGNED NOT NULL DEFAULT '0',
vote_user_id mediumint(8) NOT NULL DEFAULT '0',
! vote_user_ip varchar(40) NOT NULL,
KEY vote_id (vote_id),
KEY vote_user_id (vote_user_id),
***************
*** 240,250 ****
forum_id smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
poster_id mediumint(8) DEFAULT '0' NOT NULL,
! poster_ip char(40) NOT NULL,
post_time int(11) DEFAULT '0' NOT NULL,
post_approved tinyint(1) DEFAULT '1' NOT NULL,
! post_username char(30),
! enable_bbcode tinyint(1) DEFAULT '1' NOT NULL,
! enable_html tinyint(1) DEFAULT '0' NOT NULL,
! enable_smilies tinyint(1) DEFAULT '1' NOT NULL,
enable_magic_url tinyint(1) DEFAULT '1' NOT NULL,
enable_sig tinyint(1) DEFAULT '1' NOT NULL,
--- 284,295 ----
forum_id smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
poster_id mediumint(8) DEFAULT '0' NOT NULL,
! attach_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
! poster_ip varchar(40) NOT NULL,
post_time int(11) DEFAULT '0' NOT NULL,
post_approved tinyint(1) DEFAULT '1' NOT NULL,
! post_username varchar(30),
! enable_bbcode tinyint(1) DEFAULT '1' NOT NULL,
! enable_html tinyint(1) DEFAULT '0' NOT NULL,
! enable_smilies tinyint(1) DEFAULT '1' NOT NULL,
enable_magic_url tinyint(1) DEFAULT '1' NOT NULL,
enable_sig tinyint(1) DEFAULT '1' NOT NULL,
***************
*** 265,270 ****
CREATE TABLE phpbb_posts_text (
post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
! bbcode_uid char(10) NOT NULL,
! post_subject char(60),
post_text text,
PRIMARY KEY (post_id)
--- 310,315 ----
CREATE TABLE phpbb_posts_text (
post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
! bbcode_uid varchar(10) NOT NULL,
! post_subject varchar(60),
post_text text,
PRIMARY KEY (post_id)
***************
*** 278,287 ****
CREATE TABLE phpbb_privmsgs (
privmsgs_id mediumint(8) UNSIGNED NOT NULL auto_increment,
privmsgs_type tinyint(4) DEFAULT '0' NOT NULL,
! privmsgs_subject char(60) DEFAULT '0' NOT NULL,
privmsgs_from_userid mediumint(8) DEFAULT '0' NOT NULL,
privmsgs_to_userid mediumint(8) DEFAULT '0' NOT NULL,
privmsgs_date int(11) DEFAULT '0' NOT NULL,
! privmsgs_ip char(40) NOT NULL,
privmsgs_enable_bbcode tinyint(1) DEFAULT '1' NOT NULL,
privmsgs_enable_html tinyint(1) DEFAULT '0' NOT NULL,
--- 323,333 ----
CREATE TABLE phpbb_privmsgs (
privmsgs_id mediumint(8) UNSIGNED NOT NULL auto_increment,
+ attach_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
privmsgs_type tinyint(4) DEFAULT '0' NOT NULL,
! privmsgs_subject varchar(60) DEFAULT '0' NOT NULL,
privmsgs_from_userid mediumint(8) DEFAULT '0' NOT NULL,
privmsgs_to_userid mediumint(8) DEFAULT '0' NOT NULL,
privmsgs_date int(11) DEFAULT '0' NOT NULL,
! privmsgs_ip varchar(40) NOT NULL,
privmsgs_enable_bbcode tinyint(1) DEFAULT '1' NOT NULL,
privmsgs_enable_html tinyint(1) DEFAULT '0' NOT NULL,
***************
*** 300,304 ****
CREATE TABLE phpbb_privmsgs_text (
privmsgs_text_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
! privmsgs_bbcode_uid char(10) DEFAULT '0' NOT NULL,
privmsgs_text text,
PRIMARY KEY (privmsgs_text_id)
--- 346,350 ----
CREATE TABLE phpbb_privmsgs_text (
privmsgs_text_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
! privmsgs_bbcode_uid varchar(10) DEFAULT '0' NOT NULL,
privmsgs_text text,
PRIMARY KEY (privmsgs_text_id)
***************
*** 371,377 ****
session_browser varchar(100) DEFAULT '' NULL,
session_page varchar(50) DEFAULT '0' NOT NULL,
! PRIMARY KEY (session_id),
! KEY session_user_id (session_user_id),
! KEY session_id_user_id (session_id, session_user_id)
);
--- 417,421 ----
session_browser varchar(100) DEFAULT '' NULL,
session_page varchar(50) DEFAULT '0' NOT NULL,
! PRIMARY KEY (session_id)
);
***************
*** 398,407 ****
CREATE TABLE phpbb_styles (
style_id tinyint(4) UNSIGNED NOT NULL auto_increment,
theme_id tinyint(4) UNSIGNED NOT NULL,
! template_name char(50) NOT NULL,
style_name char(30) NOT NULL,
- style_default tinyint(1) DEFAULT '1' NOT NULL,
PRIMARY KEY (style_id),
! KEY (theme_id)
);
--- 442,453 ----
CREATE TABLE phpbb_styles (
style_id tinyint(4) UNSIGNED NOT NULL auto_increment,
+ template_id char(50) NOT NULL,
theme_id tinyint(4) UNSIGNED NOT NULL,
! imageset_id tinyint(4) UNSIGNED NOT NULL,
style_name char(30) NOT NULL,
PRIMARY KEY (style_id),
! KEY (template_id),
! KEY (theme_id),
! KEY (imageset_id)
);
***************
*** 409,419 ****
# --------------------------------------------------------
#
! # Table structure for table 'phpbb_styles_css'
#
! CREATE TABLE phpbb_styles_css (
! theme_id mediumint(8) UNSIGNED NOT NULL auto_increment,
! css_data text NOT NULL,
! css_extra_data text NOT NULL,
! KEY (theme_id)
);
--- 455,481 ----
# --------------------------------------------------------
#
! # Table structure for table 'phpbb_styles_template'
! #
! CREATE TABLE phpbb_styles_template (
! template_id tinyint(4) UNSIGNED NOT NULL auto_increment,
! template_name varchar(30) NOT NULL,
! template_path varchar(50) NOT NULL,
! poll_length smallint(5) UNSIGNED NOT NULL,
! pm_box_length smallint(5) UNSIGNED NOT NULL,
! compile_crc text,
! PRIMARY KEY (template_id)
! );
!
!
! # --------------------------------------------------------
#
! # Table structure for table 'phpbb_styles_theme'
! #
! CREATE TABLE phpbb_styles_theme (
! theme_id tinyint(4) UNSIGNED NOT NULL auto_increment,
! theme_name varchar(60),
! css_external varchar(100),
! css_data text,
! PRIMARY KEY (theme_id)
);
***************
*** 421,424 ****
--- 483,546 ----
# --------------------------------------------------------
#
+ # Table structure for table 'phpbb_styles_imageset'
+ #
+ CREATE TABLE phpbb_styles_imageset (
+ imageset_id tinyint(4) UNSIGNED NOT NULL auto_increment,
+ imageset_name varchar(100),
+ imageset_path varchar(30),
+ post_new varchar(200),
+ post_locked varchar(200),
+ post_pm varchar(200),
+ reply_new varchar(200),
+ reply_pm varchar(200),
+ reply_locked varchar(200),
+ icon_profile varchar(200),
+ icon_pm varchar(200),
+ icon_delete varchar(200),
+ icon_ip varchar(200),
+ icon_quote varchar(200),
+ icon_search varchar(200),
+ icon_edit varchar(200),
+ icon_email varchar(200),
+ icon_www varchar(200),
+ icon_icq varchar(200),
+ icon_aim varchar(200),
+ icon_yim varchar(200),
+ icon_msnm varchar(200),
+ icon_no_email varchar(200) DEFAULT '',
+ icon_no_www varchar(200) DEFAULT '',
+ icon_no_icq varchar(200) DEFAULT '',
+ icon_no_aim varchar(200) DEFAULT '',
+ icon_no_yim varchar(200) DEFAULT '',
+ icon_no_msnm varchar(200) DEFAULT '',
+ goto_post varchar(200),
+ goto_post_new varchar(200),
+ goto_post_latest varchar(200),
+ goto_post_newest varchar(200),
+ forum varchar(200),
+ forum_new varchar(200),
+ forum_locked varchar(200),
+ folder varchar(200),
+ folder_new varchar(200),
+ folder_hot varchar(200),
+ folder_hot_new varchar(200),
+ folder_locked varchar(200),
+ folder_locked_new varchar(200),
+ folder_sticky varchar(200),
+ folder_sticky_new varchar(200),
+ folder_announce varchar(200),
+ folder_announce_new varchar(200),
+ topic_watch varchar(200),
+ topic_unwatch varchar(200),
+ poll_left varchar(200),
+ poll_center varchar(200),
+ poll_right varchar(200),
+ rating varchar(200),
+ PRIMARY KEY (imageset_id)
+ );
+
+
+ # --------------------------------------------------------
+ #
# Table structure for table 'phpbb_topics'
#
***************
*** 429,433 ****
topic_poster mediumint(8) DEFAULT '0' NOT NULL,
topic_time int(11) DEFAULT '0' NOT NULL,
! topic_icon tinyint(4) UNSIGNED DEFAULT '0' NOT NULL,
topic_views mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_replies mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
--- 551,556 ----
topic_poster mediumint(8) DEFAULT '0' NOT NULL,
topic_time int(11) DEFAULT '0' NOT NULL,
! topic_icon tinyint(4) UNSIGNED DEFAULT '1' NOT NULL,
! topic_rating tinyint(4) DEFAULT '0' NOT NULL,
topic_views mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_replies mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
***************
*** 445,449 ****
KEY forum_id (forum_id),
KEY topic_moved_id (topic_moved_id),
- KEY topic_status (topic_status),
KEY topic_type (topic_type)
);
--- 568,571 ----
***************
*** 452,455 ****
--- 574,590 ----
# --------------------------------------------------------
#
+ # Table structure for table 'phpbb_topics_rating'
+ #
+ CREATE TABLE phpbb_topics_rating (
+ topic_id mediumint(8) UNSIGNED NOT NULL DEFAULT '0',
+ user_id tinyint(4) UNSIGNED NOT NULL DEFAULT '0',
+ rating tinyint(4) NOT NULL,
+ KEY topic_id (topic_id),
+ KEY user_id (user_id)
+ );
+
+
+ # --------------------------------------------------------
+ #
# Table structure for table 'phpbb_topics_watch'
#
***************
*** 483,509 ****
CREATE TABLE phpbb_users (
user_id mediumint(8) NOT NULL auto_increment,
user_active tinyint(1) DEFAULT '1',
username varchar(30) NOT NULL,
user_password varchar(32) NOT NULL,
user_email varchar(60),
user_session_time int(11) DEFAULT '0' NOT NULL,
user_session_page smallint(5) DEFAULT '0' NOT NULL,
user_lastvisit int(11) DEFAULT '0' NOT NULL,
! user_regdate int(11) DEFAULT '0' NOT NULL,
! user_level tinyint(4) DEFAULT '0',
! user_colourise varchar(6) DEFAULT '' NOT NULL,
user_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
user_lang varchar(50),
user_timezone decimal(4,2) DEFAULT '0' NOT NULL,
user_dateformat varchar(15) DEFAULT 'd M Y H:i' NOT NULL,
user_style tinyint(4),
user_new_privmsg smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
user_unread_privmsg smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
user_last_privmsg int(11) DEFAULT '0' NOT NULL,
user_emailtime int(11),
user_viewemail tinyint(1) DEFAULT '1' NOT NULL,
user_viewsigs tinyint(1) DEFAULT '1' NOT NULL,
user_viewavatars tinyint(1) DEFAULT '1' NOT NULL,
user_viewimg tinyint(1) DEFAULT '1' NOT NULL,
user_attachsig tinyint(1),
user_allowhtml tinyint(1) DEFAULT '1',
--- 618,654 ----
CREATE TABLE phpbb_users (
user_id mediumint(8) NOT NULL auto_increment,
+
user_active tinyint(1) DEFAULT '1',
+ user_ip varchar(40),
+ user_regdate int(11) DEFAULT '0' NOT NULL,
username varchar(30) NOT NULL,
user_password varchar(32) NOT NULL,
user_email varchar(60),
+
user_session_time int(11) DEFAULT '0' NOT NULL,
user_session_page smallint(5) DEFAULT '0' NOT NULL,
user_lastvisit int(11) DEFAULT '0' NOT NULL,
!
! user_colour varchar(6) DEFAULT '' NOT NULL,
user_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
user_lang varchar(50),
user_timezone decimal(4,2) DEFAULT '0' NOT NULL,
+ user_dst tinyint(1) DEFAULT '0' NOT NULL,
user_dateformat varchar(15) DEFAULT 'd M Y H:i' NOT NULL,
user_style tinyint(4),
+
user_new_privmsg smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
user_unread_privmsg smallint(5) UNSIGNED DEFAULT '0' NOT NULL,
user_last_privmsg int(11) DEFAULT '0' NOT NULL,
user_emailtime int(11),
+
+ user_sortby_type varchar(1) DEFAULT 'l' NOT NULL,
+ user_sortby_dir varchar(1) DEFAULT 'd' NOT NULL,
+ user_show_days tinyint(1) DEFAULT '0' NOT NULL,
user_viewemail tinyint(1) DEFAULT '1' NOT NULL,
user_viewsigs tinyint(1) DEFAULT '1' NOT NULL,
user_viewavatars tinyint(1) DEFAULT '1' NOT NULL,
user_viewimg tinyint(1) DEFAULT '1' NOT NULL,
+
user_attachsig tinyint(1),
user_allowhtml tinyint(1) DEFAULT '1',
***************
*** 517,520 ****
--- 662,666 ----
user_notify_pm tinyint(1) DEFAULT '1' NOT NULL,
user_popup_pm tinyint(1) DEFAULT '0' NOT NULL,
+
user_rank int(11) DEFAULT '0',
user_avatar char(100),
***************
*** 522,527 ****
--- 668,675 ----
user_avatar_width tinyint(4) UNSIGNED,
user_avatar_height tinyint(4) UNSIGNED,
+
user_sig text,
user_sig_bbcode_uid varchar(10),
+
user_from varchar(100),
user_icq varchar(15),
***************
*** 530,541 ****
user_msnm varchar(255),
user_website varchar(100),
- user_actkey varchar(32),
- user_newpasswd varchar(32),
user_occ varchar(100),
user_interests varchar(255),
! PRIMARY KEY (user_id),
! KEY user_session_time (user_session_time)
);
--- 678,689 ----
user_msnm varchar(255),
user_website varchar(100),
user_occ varchar(100),
user_interests varchar(255),
! user_actkey varchar(32),
! user_newpasswd varchar(32),
!
! PRIMARY KEY (user_id)
);
|