183. File Comparison Report

Produced on Mon May 12 13:04:57 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

183.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\groups\orca index.php Mon Jan 28 09:41:42 2008 UTC
2 Dolphin-v.6.1.0\groups\orca index.php Wed Apr 9 17:44:58 2008 UTC

183.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 19 572
Changed 16 57
Inserted 2 8
Removed 0 0

183.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

183.4 Active regular expressions

No regular expressions were active.

183.5 Comparison detail

1   <?php   1   <?php
2   /********* ********** ********** ********** ********** ********** ********** ******   2   /********* ********** ********** ********** ********** ********** ********** ******
3   *                              O rca Intera ctive Foru m Script   3   *                              O rca Intera ctive Foru m Script
4   *                                  ---------- -----
  4   *                                  ---------- ----- --
5   *       Start e d                :   Fr   Nov   10   2006   5   *       b e gin                   :   Fr   Nov   10   2006
6   *       C opyright          :   (C)   200 7   BoonEx   Group   6   *       c opyright               :   (C)   200 6   BoonEx   Group
7   *       W ebsite                :   http://www .boonex.co m
  7   *       w ebsite                 :   http://www .boonex.co m /
8   * This fil e is part  of Orca -  Interactiv e Forum Sc ript   8   * This fil e is part  of Orca -  Interactiv e Forum Sc ript
9   *   9   *
10   *   Orca   is   free   software ;   y o u   c a n   r ed
i
s
tribut e   i t   and/ o r   modify   i t   u n d e r
  10   *   Orca   is   free   software .   This   w o rk   is   li c e n s ed   under   a   Creat i ve   Common s   At tribut
i
o n   3.0   L i ce n s e .  
11   * the term s of the G NU General  Public Li cense as p ublished b y the   11   * http://c reativecom mons.org/l icenses/by /3.0/
12   * Free Sof tware Foun dation; ei ther versi on 2 of th e    
13   * License,  or any la ter versio n.    
14   *   12   *
15   * Orca is  distribute d in the h ope that i t will be  useful, bu t WITHOUT  ANY WARRAN TY;   13   * Orca is  distribute d in the h ope that i t will be  useful, bu t WITHOUT  ANY WARRAN TY;
16   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.   14   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.
17   *   See   the   GNU   G e n e
r al   Pu b l i c   License   for   more   details.
  15   *   See   the   Cr e ativ e   Commons   Att r i b ut i on   3.0   License   for   more   details.  
18   *   You   should   have   received   a   copy   of   the   GNU   G e n e
r al   Pu b l i c   License   along   with   Orca,  
  16   *   You   should   have   received   a   copy   of   the   Cr e ativ e   Commons   Att r i b ut i on   3.0   License   along   with   Orca,  
19   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m   17   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m
20   ********** ********** ********** ********** ********** ********** ********** *****/   18   ********** ********** ********** ********** ********** ********** ********** *****/
21     19  
22   error_repo rting(E_AL L & ~E_NOT ICE);   20   error_repo rting(E_AL L & ~E_NOT ICE);
23     21  
24   if (isset( $_GET['ref resh']) &&  $_GET['re fresh'])   22   if (isset( $_GET['ref resh']) &&  $_GET['re fresh'])
25   {   23   {
26       header ("Expires:  Mon, 26 J ul 1997 05 :00:00 GMT ");   24       header ("Expires:  Mon, 26 J ul 1997 05 :00:00 GMT ");
27       header ("Last-Mod ified: " .  gmdate("D , d M Y H: i:s") . "  GMT");   25       header ("Last-Mod ified: " .  gmdate("D , d M Y H: i:s") . "  GMT");
28       header ("Cache-Co ntrol: no- store, no- cache, mus t-revalida te");   26       header ("Cache-Co ntrol: no- store, no- cache, mus t-revalida te");
29       header ("Cache-Co ntrol: pos t-check=0,  pre-check =0", false );   27       header ("Cache-Co ntrol: pos t-check=0,  pre-check =0", false );
30       header ("Pragma:  no-cache") ;   28       header ("Pragma:  no-cache") ;
31   }   29   }
32     30  
33   if   (!file_exi sts('./inc /header.in c.php'))   {   header   ("Location :   install/") ;    exit;   }   $l   =   'base64_de code';   31   if   (!file_exi sts('./inc /header.in c.php'))
    32   {
    33       header  ("Locatio n: install /");
    34       exit;
    35   }
    36  
34   require_on ce( './inc /header.in c.php' );   37   require_on ce( './inc /header.in c.php' );
35     38  
36   $ret = @in clude_once ( $gConf[' dir']['inc '].'util.i nc.php' );   39   $ret = @in clude_once ( $gConf[' dir']['inc '].'util.i nc.php' );
37   if (!$ret)   40   if (!$ret)
38   {   41   {
39       echo ' File inclu sion faile d. <br />D id you pro perly edit  <b>inc/he ader.inc.p hp</b> fil e ?';   42       echo ' File inclu sion faile d. <br />D id you pro perly edit  <b>inc/he ader.inc.p hp</b> fil e ?';
40       exit;   43       exit;
41   }   44   }
42     45  
43   require_on ce( BX_DIR ECTORY_PAT H_CLASSES. 'Thing.php ' );   46   require_on ce( BX_DIR ECTORY_PAT H_CLASSES. 'Thing.php ' );
44   require_on ce( $gConf ['dir']['c lasses'].' ThingPage. php' );   47   require_on ce( $gConf ['dir']['c lasses'].' ThingPage. php' );
45   require_on ce( $gConf ['dir']['c lasses'].' Mistake.ph p' );   48   require_on ce( $gConf ['dir']['c lasses'].' Mistake.ph p' );
46   require_on ce( $gConf ['dir']['c lasses'].' BxXslTrans form.php'  );   49   require_on ce( $gConf ['dir']['c lasses'].' BxXslTrans form.php'  );
47   require_on ce( $gConf ['dir']['c lasses'].' BxDb.php'  );   50   require_on ce( $gConf ['dir']['c lasses'].' BxDb.php'  );
48   require_on ce( $gConf ['dir']['c lasses'].' DbForum.ph p' );   51   require_on ce( $gConf ['dir']['c lasses'].' DbForum.ph p' );
49   require_on ce( $gConf ['dir']['c lasses'].' Forum.php'  );   52   require_on ce( $gConf ['dir']['c lasses'].' Forum.php'  );
50     53  
51   require_on ce( $gConf ['dir']['c lasses'].' DbLogin.ph p' );   54   require_on ce( $gConf ['dir']['c lasses'].' DbLogin.ph p' );
52   require_on ce( $gConf ['dir']['c lasses'].' Login.php'  );   55   require_on ce( $gConf ['dir']['c lasses'].' Login.php'  );
53     56  
54   require_on ce( $gConf ['dir']['c lasses'].' BxMail.php ' );   57   require_on ce( $gConf ['dir']['c lasses'].' BxMail.php ' );
55     58  
56   require_on ce( $gConf ['dir']['c lasses'].' DbAdmin.ph p' );   59   require_on ce( $gConf ['dir']['c lasses'].' DbAdmin.ph p' );
57   require_on ce( $gConf ['dir']['c lasses'].' Admin.php'  );   60   require_on ce( $gConf ['dir']['c lasses'].' Admin.php'  );
58     61  
59   require_on ce( $gConf ['dir']['b ase'].'xml /design.ph p' ); // i nclude cus tom header /footer   62   require_on ce( $gConf ['dir']['b ase'].'xml /design.ph p' ); // i nclude cus tom header /footer
60     63  
61   checkMagic Quotes ();   64   checkMagic Quotes ();
62     65  
63   $f = new F orum ();   66   $f = new F orum ();
64     67  
65   $f->update CurrentUse rActivity  ();   68   $f->update CurrentUse rActivity  ();
66     69  
67   $action   =   isset($_GE T['action' ])   ?   $_GET['act ion']   :   (isset($_P OST['actio n'])   ?   $_POST['ac tion']   :   '');
  70   $action   =   isset($_GE T['action' ])   ?   $_GET['act ion']   :   (isset($_P OST['actio n'])   ?   $_POST['ac tion']   :   '');   $l   =   'base64_de code';
68   $_GET['deb ug'] = iss et($_GET[' debug']) & & $_GET['d ebug'] ? 1  : 0;   71   $_GET['deb ug'] = iss et($_GET[' debug']) & & $_GET['d ebug'] ? 1  : 0;
69   $_GET['tra ns'] = iss et ($_GET[ 'trans'])  && $_GET[' trans'] ?  1 : 0;   72   $_GET['tra ns'] = iss et ($_GET[ 'trans'])  && $_GET[' trans'] ?  1 : 0;
70     73  
71   switch ($a ction)   74   switch ($a ction)
72   {   75   {
73       // adm in functio ns   76       // adm in functio ns
74     77  
    78       case ' compile_la ngs':
    79           $o rca_admin  = new Admi n ();     
    80           ec ho $orca_a dmin->comp ileLangs ( );
    81           br eak;
    82  
75       case ' edit_categ ories':   83       case ' edit_categ ories':
76           tr ansCheck ( $f->getPag eXML(0, $_ GET), $gCo nf['dir'][ 'xsl'] . ' edit_categ ories.xsl' , $_GET['t rans']);   84           tr ansCheck ( $f->getPag eXML(0, $_ GET), $gCo nf['dir'][ 'xsl'] . ' edit_categ ories.xsl' , $_GET['t rans']);
77           br eak;   85           br eak;
78     86  
79       case ' edit_categ ory_del':   87       case ' edit_categ ory_del':
80           $o rca_admin  = new Admi n ();   88           $o rca_admin  = new Admi n ();     
81           tr ansCheck ( $orca_admi n->deleteC ategory ($ _GET['cat_ id']), '',  0);   89           tr ansCheck ( $orca_admi n->deleteC ategory ($ _GET['cat_ id']), '',  0);
82           br eak;   90           br eak;
83     91  
84       case ' register_o rca':   92       case ' register_o rca':
85           $o rca_admin  = new Admi n ();        93           $o rca_admin  = new Admi n ();     
86           ec ho $orca_a dmin->regi ster ($_PO ST['licens e_code']);   94           ec ho $orca_a dmin->regi ster ($_PO ST['licens e_code']);
87           br eak;       95           br eak;    
88     96  
89       case ' edit_forum _del':   97       case ' edit_forum _del':
90           $o rca_admin  = new Admi n ();   98           $o rca_admin  = new Admi n ();     
91           tr ansCheck ( $orca_admi n->deleteF orum ($_GE T['forum_i d']), '',  0);   99           tr ansCheck ( $orca_admi n->deleteF orum ($_GE T['forum_i d']), '',  0);
92           br eak;   100           br eak;
93     101  
94       case ' edit_categ ory':   102       case ' edit_categ ory':
95           $o rca_admin  = new Admi n ();   103           $o rca_admin  = new Admi n ();
96           tr ansCheck ( $orca_admi n->editCat egory ($_G ET['cat_id ']), $gCon f['dir'][' xsl'] . 'e dit_cat_fo rm.xsl', $ _GET['tran s']);   104           tr ansCheck ( $orca_admi n->editCat egory ($_G ET['cat_id ']), $gCon f['dir'][' xsl'] . 'e dit_cat_fo rm.xsl', $ _GET['tran s']);
97           br eak;   105           br eak;
98     106  
99       case ' edit_categ ory_submit ':   107       case ' edit_categ ory_submit ':
100           $o rca_admin  = new Admi n ();   108           $o rca_admin  = new Admi n ();     
101           tr ansCheck ( $orca_admi n->editCat egorySubmi t ($_GET[' cat_id'],  $_GET['cat _name']),  '', 0);   109           tr ansCheck ( $orca_admi n->editCat egorySubmi t ($_GET[' cat_id'],  $_GET['cat _name']),  '', 0);
102           br eak;   110           br eak;
103     111  
104       case ' edit_categ ory_move':   112       case ' edit_categ ory_move':
105           $o rca_admin  = new Admi n ();   113           $o rca_admin  = new Admi n ();     
106           tr ansCheck ( $orca_admi n->moveCat  ($_GET['c at_id'], $ _GET['dir' ]), '', 0) ;   114           tr ansCheck ( $orca_admi n->moveCat  ($_GET['c at_id'], $ _GET['dir' ]), '', 0) ;
107           br eak;   115           br eak;
108     116  
109       case ' edit_forum ':   117       case ' edit_forum ':
110           $o rca_admin  = new Admi n ();   118           $o rca_admin  = new Admi n ();
111           tr ansCheck ( $orca_admi n->editFor um ($_GET[ 'forum_id' ], $_GET[' cat_id']),  $gConf['d ir']['xsl' ] . 'edit_ forum_form .xsl', $_G ET['trans' ]);   119           tr ansCheck ( $orca_admi n->editFor um ($_GET[ 'forum_id' ], $_GET[' cat_id']),  $gConf['d ir']['xsl' ] . 'edit_ forum_form .xsl', $_G ET['trans' ]);
112           br eak;   120           br eak;
113     121  
114       case ' edit_forum _submit':   122       case ' edit_forum _submit':
115           $o rca_admin  = new Admi n ();   123           $o rca_admin  = new Admi n ();     
116           tr ansCheck ( $orca_admi n->editFor mSubmit ($ _GET['cat_ id'], $_GE T['forum_i d'], $_GET ['title'],  $_GET['de sc'], $_GE T['type']) , '', 0);   124           tr ansCheck ( $orca_admi n->editFor mSubmit ($ _GET['cat_ id'], $_GE T['forum_i d'], $_GET ['title'],  $_GET['de sc'], $_GE T['type']) , '', 0);
117           br eak;   125           br eak;
118     126  
119       case ' reported_p osts':   127       case ' reported_p osts':
120           $o rca_admin  = new Admi n ();   128           $o rca_admin  = new Admi n ();     
121           tr ansCheck ( $orca_admi n->getRepo rtedPostsX ML(), $gCo nf['dir'][ 'xsl'] . ' forum_post s.xsl', $_ GET['trans ']);   129           tr ansCheck ( $orca_admi n->getRepo rtedPostsX ML(), $gCo nf['dir'][ 'xsl'] . ' forum_post s.xsl', $_ GET['trans ']);
122           br eak;   130           br eak;
123     131  
124       case ' lock_topic ':   132       case ' lock_topic ':
125           $o rca_admin  = new Admi n ();        133           $o rca_admin  = new Admi n ();     
126           tr ansCheck ( $orca_admi n->lock ($ _GET['topi c_id']), ' ', 0);   134           tr ansCheck ( $orca_admi n->lock ($ _GET['topi c_id']), ' ', 0);
127           br eak;   135           br eak;
128     136  
129       case ' list_forum s_admin':   137       case ' list_forum s_admin':
130            transCheck   ($f->getFo rumsXML( (int) $_GET['cat '],   1),   $gConf['di r']['xsl']   .   'edit_cat_ forums.xsl ',   $_GET['tra ns']);          138            transCheck   ($f->getFo rumsXML(
$_GET['cat '],   1),   $gConf['di r']['xsl']   .   'edit_cat_ forums.xsl ',   $_GET['tra ns']);        
131           br eak;   139           br eak;
132                       140                    
133       // log in functio ns   141       // log in functio ns 
134     142  
135       case ' join_form' :   143       case ' join_form' :
136           $o rca_login  = new Logi n ();   144           $o rca_login  = new Logi n ();
137           tr anscheck ( $orca_logi n->getJoin Form(), $g Conf['dir' ]['xsl'] .  'join_for m.xsl', $_ GET['trans ']);   145           tr anscheck ( $orca_logi n->getJoin Form(), $g Conf['dir' ]['xsl'] .  'join_for m.xsl', $_ GET['trans ']);
138           br eak;   146           br eak;
139     147  
140       case ' login_form ':   148       case ' login_form ':
141           $o rca_login  = new Logi n ();   149           $o rca_login  = new Logi n ();
142           tr anscheck ( $orca_logi n->getLogi nForm(), $ gConf['dir ']['xsl']  . 'login_f orm.xsl',  $_GET['tra ns']);   150           tr anscheck ( $orca_logi n->getLogi nForm(), $ gConf['dir ']['xsl']  . 'login_f orm.xsl',  $_GET['tra ns']);
143           br eak;   151           br eak;
144     152                    
145       case ' join_submi t':   153       case ' join_submi t':
146           $o rca_login  = new Logi n ();   154           $o rca_login  = new Logi n ();
147           tr ansCheck ( $orca_logi n->joinSub mit (array ('username ' => $_GET ['username '], 'email ' => $_GET ['email']) ), '', 0);   155           tr ansCheck ( $orca_logi n->joinSub mit (array ('username ' => $_GET ['username '], 'email ' => $_GET ['email']) ), '', 0);
148           br eak;   156           br eak;
149     157  
150       case ' login_subm it':   158       case ' login_subm it':
151           $o rca_login  = new Logi n ();   159           $o rca_login  = new Logi n ();
152           tr ansCheck ( $orca_logi n->loginSu bmit (arra y('usernam e' => $_GE T['usernam e'], 'pwd'  => $_GET[ 'pwd'])),  '', 0);   160           tr ansCheck ( $orca_logi n->loginSu bmit (arra y('usernam e' => $_GE T['usernam e'], 'pwd'  => $_GET[ 'pwd'])),  '', 0);
153           br eak;   161           br eak;
154     162  
155       // use r function s   163       // use r function s
156     164  
157       case ' logout':   165       case ' logout':
158           tr anscheck ( $f->logout (), '', 0) ;   166           tr anscheck ( $f->logout (), '', 0) ;
159           br eak;   167           br eak;
160     168  
161       case ' rss_forum' :   169       case ' rss_forum' :
162           tr ansCheck ( $f->getRss Forum ($_G ET['forum' ]), '', 0) ;   170           tr ansCheck ( $f->getRss Forum ($_G ET['forum' ]), '', 0) ;
163           br eak;   171           br eak;
164     172  
165       case ' rss_topic' :   173       case ' rss_topic' :
166           tr ansCheck ( $f->getRss Topic ($_G ET['topic' ]), '', 0) ;   174           tr ansCheck ( $f->getRss Topic ($_G ET['topic' ]), '', 0) ;
167           br eak;   175           br eak;
168                       176                    
169       case ' rss_user':   177       case ' rss_user':
170           tr ansCheck ( $f->getRss User ($_GE T['user'],  $_GET['so rt']), '',  0);   178           tr ansCheck ( $f->getRss User ($_GE T['user'],  $_GET['so rt']), '',  0);
171           br eak;   179           br eak;
172     180  
173       case ' rss_all':   181       case ' rss_all':
174           tr ansCheck ( $f->getRss All ($_GET ['sort']),  '', 0);   182           tr ansCheck ( $f->getRss All ($_GET ['sort']),  '', 0);
175           br eak;   183           br eak;
176     184  
177       case ' report_pos t':   185       case ' report_pos t':
178           tr ansCheck ( $f->report  ($_GET['p ost_id']),  '', 0);   186           tr ansCheck ( $f->report  ($_GET['p ost_id']),  '', 0);
179           br eak;   187           br eak;
180     188  
181       case ' flag_topic ':   189       case ' flag_topic ':
182           tr ansCheck ( $f->flag ( $_GET['top ic_id']),  '', 0);   190           tr ansCheck ( $f->flag ( $_GET['top ic_id']),  '', 0);
183           br eak;   191           br eak;
184     192  
185       case ' vote_post_ good':   193       case ' vote_post_ good':
186           tr ansCheck ( $f->votePo st ($_GET[ 'post_id'] , 1), '',  0);   194           tr ansCheck ( $f->votePo st ($_GET[ 'post_id'] , 1), '',  0);
187           br eak;   195           br eak;
188     196           
189       case ' vote_post_ bad':   197       case ' vote_post_ bad':
190           tr ansCheck ( $f->votePo st ($_GET[ 'post_id'] , -1), '',  0);   198           tr ansCheck ( $f->votePo st ($_GET[ 'post_id'] , -1), '',  0);
191           br eak;   199           br eak;
192          200       
193       case ' get_new_po st':   201       case ' get_new_po st':
194            transCheck   ($f->getLi vePostsXML (1,   (int)$_GET ['ts']),   $gConf['di r']['xsl']   .   'live_trac ker
.xsl',   $_GET['tra ns']);
  202            transCheck   ($f->getLi vePostsXML (1,   (int)$_GET ['ts']),   $gConf['di r']['xsl']   .   'live_trac ker _main .xsl',   $_GET['tra ns']);
195           br eak;   203           br eak;
196     204  
197       case ' is_new_pos t':   205       case ' is_new_pos t':
198           tr ansCheck ( $f->isNewP ost ((int) $_GET['ts' ]), '', 0) ;   206           tr ansCheck ( $f->isNewP ost ((int) $_GET['ts' ]), '', 0) ;
199           br eak;   207           br eak;
200     208  
201       case ' profile':   209       case ' profile':
202           tr ansCheck ( $f->showPr ofile($_GE T['user'],  false), $ gConf['dir ']['xsl']  . 'profile .xsl', $_G ET['trans' ]);   210           tr ansCheck ( $f->showPr ofile($_GE T['user'],  false), $ gConf['dir ']['xsl']  . 'profile .xsl', $_G ET['trans' ]);
203           br eak;   211           br eak;
204     212  
205       case ' show_my_th reads':   213       case ' show_my_th reads':
206           tr ansCheck ( $f->getMyT hreadsXML( false), $g Conf['dir' ]['xsl'] .  'forum_to pics.xsl',  $_GET['tr ans']);   214           tr ansCheck ( $f->getMyT hreadsXML( false), $g Conf['dir' ]['xsl'] .  'forum_to pics.xsl',  $_GET['tr ans']);
207           br eak;   215           br eak;
208     216  
209       case ' show_my_fl ags':   217       case ' show_my_fl ags':
210           tr ansCheck ( $f->getMyF lagsXML(fa lse), $gCo nf['dir'][ 'xsl'] . ' forum_topi cs.xsl', $ _GET['tran s']);   218           tr ansCheck ( $f->getMyF lagsXML(fa lse), $gCo nf['dir'][ 'xsl'] . ' forum_topi cs.xsl', $ _GET['tran s']);
211           br eak;   219           br eak;
212     220  
213       case ' list_topic s':   221       case ' list_topic s':
214            transCheck   ($f->getTo picsXML( (int) $_GET['for um'],   false,   (int)$_GET ['start']) ,   $gConf['di r']['xsl']   .   'forum_top ics.xsl',   $_GET['tra ns']);   222            transCheck   ($f->getTo picsXML(
$_GET['for um'],   false,   (int)$_GET ['start']) ,   $gConf['di r']['xsl']   .   'forum_top ics.xsl',   $_GET['tra ns']);
215           br eak;    
216      
217       case ' group_last _topics':    
218           tr ansCheck ( $f->getTop icsXML((in t)$_GET['f orum'], fa lse, 0), " {$dir['roo t']}templa tes/tmpl_{ $gConf['sk in']}/xsl/ group_last _topics.xs l", (bool) $_GET['tra ns']);    
219           br eak;   223           br eak;
220          224  
221       case ' list_posts ':   225       case ' list_posts ':      
222            transCheck   ($f->getPo stsXML( (int) $_GET['top ic'],   false),   $gConf['di r']['xsl']   .   'forum_pos ts.xsl',   $_GET['tra ns']);   226            transCheck   ($f->getPo stsXML(
$_GET['top ic'],   false),   $gConf['di r']['xsl']   .   'forum_pos ts.xsl',   $_GET['tra ns']);
223           br eak;   227           br eak;
224     228  
225       case ' show_hidde n_post':   229       case ' show_hidde n_post':
226           tr ansCheck ( $f->getHid denPostXML ((int)$_GE T['post_id '], 1), $g Conf['dir' ]['xsl'] .  'forum_po sts.xsl',  $_GET['tra ns']);   230           tr ansCheck ( $f->getHid denPostXML ((int)$_GE T['post_id '], 1), $g Conf['dir' ]['xsl'] .  'forum_po sts.xsl',  $_GET['tra ns']);
227           br eak;   231           br eak;
228     232           
229       case ' hide_hidde n_post':   233       case ' hide_hidde n_post':
230           tr ansCheck ( $f->getHid denPostXML ((int)$_GE T['post_id '], 0), $g Conf['dir' ]['xsl'] .  'forum_po sts.xsl',  $_GET['tra ns']);   234           tr ansCheck ( $f->getHid denPostXML ((int)$_GE T['post_id '], 0), $g Conf['dir' ]['xsl'] .  'forum_po sts.xsl',  $_GET['tra ns']);
231           br eak;   235           br eak;
232     236                    
233       case ' delete_pos t':   237       case ' delete_pos t':
234           ec ho $f->del etePostXML ((int)$_GE T['post_id '], (int)$ _GET['topi c_id'], (i nt)$_GET[' forum_id'] );   238           ec ho $f->del etePostXML ((int)$_GE T['post_id '], (int)$ _GET['topi c_id'], (i nt)$_GET[' forum_id'] );
235           br eak;   239           br eak;
236     240  
237       case ' edit_post' :   241       case ' edit_post' :
238           ec ho $f->edi tPost((int )$_POST['p ost_id'],  (int)$_POS T['topic_i d'], $_POS T['post_te xt']);   242           ec ho $f->edi tPost((int )$_POST['p ost_id'],  (int)$_POS T['topic_i d'], $_POS T['post_te xt']);
239           br eak;   243           br eak;
240     244  
241       case ' edit_post_ xml':   245       case ' edit_post_ xml':
242           tr anscheck ( $f->editPo stXml ((in t)$_GET['p ost_id'],  (int)$_GET ['topic_id ']), $gCon f['dir'][' xsl'] . 'e dit_post.x sl', $_GET ['trans']) ;   246           tr anscheck ( $f->editPo stXml ((in t)$_GET['p ost_id'],  (int)$_GET ['topic_id ']), $gCon f['dir'][' xsl'] . 'e dit_post.x sl', $_GET ['trans']) ;
243           br eak;   247           br eak;
244     248  
245       case ' new_topic' :   249       case ' new_topic' :
246            transCheck   ($f->getNe wTopicXML( (int) $_GET['for um']),   $gConf['di r']['xsl']   .   'new_topic .xsl',   $_GET['tra ns']);   250            transCheck   ($f->getNe wTopicXML(
$_GET['for um']),   $gConf['di r']['xsl']   .   'new_topic .xsl',   $_GET['tra ns']);
247           br eak;   251           br eak;
248     252       
249       case ' reply':   253       case ' reply':
250           tr ansCheck ( $f->getPos tReplyXML( (int)$_GET ['forum'],  (int)$_GE T['topic'] ), $gConf[ 'dir']['xs l'] . 'pos t_reply.xs l', $_GET[ 'trans']);   254           tr ansCheck ( $f->getPos tReplyXML( (int)$_GET ['forum'],  (int)$_GE T['topic'] ), $gConf[ 'dir']['xs l'] . 'pos t_reply.xs l', $_GET[ 'trans']);
251           br eak;   255           br eak;
252     256  
253       case ' show_searc h':   257       case ' show_searc h':
254           tr ansCheck ( $f->getSea rchXML(),  $gConf['di r']['xsl']  . 'search _form.xsl' , $_GET['t rans']);   258           tr ansCheck ( $f->getSea rchXML(),  $gConf['di r']['xsl']  . 'search _form.xsl' , $_GET['t rans']);
255           br eak;   259           br eak;
256     260  
257       case ' search':   261       case ' search':
258           tr ansCheck ( $f->getSea rchResults XML($_GET[ 'text'], $ _GET['type '], (int)$ _GET['foru m'], $_GET ['u'], $_G ET['disp'] ), $gConf[ 'dir']['xs l'] . 'sea rch.xsl',  $_GET['tra ns']);   262           tr ansCheck ( $f->getSea rchResults XML($_GET[ 'text'], $ _GET['type '], (int)$ _GET['foru m'], $_GET ['u'], $_G ET['disp'] ), $gConf[ 'dir']['xs l'] . 'sea rch.xsl',  $_GET['tra ns']);
259           br eak;   263           br eak;
260     264  
261       case ' post_reply ':   265       case ' post_reply ':
262           ec ho $f->pos tReplyXML( $_POST);   266           ec ho $f->pos tReplyXML( $_POST);
263           br eak;   267           br eak;
264     268  
265       case ' post_new_t opic':   269       case ' post_new_t opic':
266           ec ho $f->pos tNewTopicX ML($_POST) ;   270           ec ho $f->pos tNewTopicX ML($_POST) ;
267           br eak;   271           br eak;
268     272  
269       case ' post_succe ss':   273       case ' post_succe ss':
270            transCheck   ("<forum><
i d >{$_GET['f orum']}</
i d ></forum>" ,   $gConf['di r']['xsl']   .   'default_p ost_succes s.xsl',   $_GET['tra ns']);
  274            transCheck   ("<forum>< ur i
>{$_GET['f orum']}</ ur i
></forum>" ,   $gConf['di r']['xsl']   .   'default_p ost_succes s.xsl',   $_GET['tra ns']);
271           br eak;   275           br eak;
272     276  
273       case ' access_den ied':   277       case ' access_den ied':
274           tr ansCheck ( '<forum_ac cess>no</f orum_acces s>', $gCon f['dir'][' xsl'] . 'd efault_acc ess_denied .xsl', $_G ET['trans' ]);   278           tr ansCheck ( '<forum_ac cess>no</f orum_acces s>', $gCon f['dir'][' xsl'] . 'd efault_acc ess_denied .xsl', $_G ET['trans' ]);
275           br eak;   279           br eak;
276     280  
277       case ' forum_inde x':   281       case ' forum_inde x':
278           tr ansCheck ( $f->getPag eXML(0, $_ GET), $gCo nf['dir'][ 'xsl'] . ' home.xsl',  $_GET['tr ans']);   282           tr ansCheck ( $f->getPag eXML(0, $_ GET), $gCo nf['dir'][ 'xsl'] . ' home.xsl',  $_GET['tr ans']);
279           br eak;   283           br eak;
280     284  
281       case ' list_forum s':   285       case ' list_forum s':
282            transCheck   ($f->getFo rumsXML( (int) $_GET['cat '],   1),   $gConf['di r']['xsl']   .   'cat_forum s.xsl',   $_GET['tra ns']);   286            transCheck   ($f->getFo rumsXML(
$_GET['cat '],   1),   $gConf['di r']['xsl']   .   'cat_forum s.xsl',   $_GET['tra ns']);         
283           br eak;   287           br eak;
284     288  
285       defaul t:   289       defaul t:
286           tr ansCheck ( $f->getPag eXML(1, $_ GET), $gCo nf['dir'][ 'xsl'] . ' home_main. xsl', $_GE T['debug']  ? 0 : 1);   290           tr ansCheck ( $f->getPag eXML(1, $_ GET), $gCo nf['dir'][ 'xsl'] . ' home_main. xsl', $_GE T['debug']  ? 0 : 1);
287           br eak;   291           br eak;
288     292  
289     293            
290     294  
291       case ' goto':   295       case ' goto':                  
292           sw itch (true )   296           sw itch (true )
293           {   297           {
294                // user  functions   298                // user  functions              
295                 case   (
$_GET['cat _id']   >   0 ):
  299                 case   ( isset( $_GET['cat _id'] ) ):                  
296                    $_GE T['cat'] =  $_GET['ca t_id'];   300                    $_GE T['cat'] =  $_GET['ca t_id'];
297                    $xsl  = 'home_m ain.xsl';   301                    $xsl  = 'home_m ain.xsl';
298                    tran sCheck ($f ->getPageX ML(1, $_GE T), $gConf ['dir']['x sl'] . $xs l, $_GET[' debug'] ?  0 : 1);   302                    tran sCheck ($f ->getPageX ML(1, $_GE T), $gConf ['dir']['x sl'] . $xs l, $_GET[' debug'] ?  0 : 1);
299                    brea k;   303                    brea k;
300                 case   (
$_GET['for um_id']   >   0 ):
  304                 case   ( isset( $_GET['for um_id'] ) ):
301                     transCheck   ($f->getTo picsXML( (int) $_GET['for um_id'],   true,   (int)$_GET ['start']) ,   $gConf['di r']['xsl']   .   'forum_top ics_main.x sl',   $_GET['deb ug']   ?   0   :   1);   305                     transCheck   ($f->getTo picsXML(
$_GET['for um_id'],   true,   (int)$_GET ['start']) ,   $gConf['di r']['xsl']   .   'forum_top ics_main.x sl',   $_GET['deb ug']   ?   0   :   1);
302                    brea k;   306                    brea k;
303                 case   (
$_GET['top ic_id']   >   0 ):
  307                 case   ( isset( $_GET['top ic_id'] ) ):
304                     transCheck   ($f->getPo stsXML( (int) $_GET['top ic_id'],   true),   $gConf['di r']['xsl']   .   'forum_pos ts_main.xs l',   $_GET['deb ug']   ?   0   :   1);   308                     transCheck   ($f->getPo stsXML(
$_GET['top ic_id'],   true),   $gConf['di r']['xsl']   .   'forum_pos ts_main.xs l',   $_GET['deb ug']   ?   0   :   1);
305                    brea k;   309                    brea k;
306                 case   (
s trl e n ($_GET['us er'])   >   0 ):
  310                 case   ( is s
e t ($_GET['us er'])
):
307                    tran sCheck ($f ->showProf ile($_GET[ 'user'], t rue), $gCo nf['dir'][ 'xsl'] . ' profile_ma in.xsl', $ _GET['debu g'] ? 0 :  1);   311                    tran sCheck ($f ->showProf ile($_GET[ 'user'], t rue), $gCo nf['dir'][ 'xsl'] . ' profile_ma in.xsl', $ _GET['debu g'] ? 0 :  1);
308                    brea k;   312                    brea k;
309           }   313           }
310           br eak;   314           br eak;
311     315  
    316       case ' group_last _topics':
    317           tr ansCheck ( $f->getTop icsXML($_G ET['forum' ], false,  0), "{$dir ['root']}t emplates/t mpl_{$tmpl }/xsl/grou p_last_top ics.xsl",  (bool)$_GE T['trans'] );
    318           br eak;  
312   }   319   }
313     320  
314     321  
315   ?>   322   ?>