692. File Comparison Report

Produced on Mon May 12 13:06:50 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.

692.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\templates\base\scripts BxBaseConfig.php Wed Mar 5 06:29:10 2008 UTC
2 Dolphin-v.6.1.0\templates\base\scripts BxBaseConfig.php Mon Apr 28 06:54:42 2008 UTC

692.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 14 698
Changed 7 16
Inserted 2 11
Removed 4 7

692.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

692.4 Active regular expressions

No regular expressions were active.

692.5 Comparison detail

1   <?   1   <?
2     2  
3   /********* ********** ********** ********** ********** ********** ********** ******   3   /********* ********** ********** ********** ********** ********** ********** ******
4   *                              D olphin Sma rt Communi ty Builder   4   *                              D olphin Sma rt Communi ty Builder
5   *                                 --------- ----------   5   *                                 --------- ----------
6   *     begi n                 : M on Mar 23  2006   6   *     begi n                 : M on Mar 23  2006
7   *     copy right             : ( C) 2007 Bo onEx Group   7   *     copy right             : ( C) 2007 Bo onEx Group
8   *     webs ite               : h ttp://www. boonex.com   8   *     webs ite               : h ttp://www. boonex.com
9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder   9   * This fil e is part  of Dolphin  - Smart C ommunity B uilder
10   *   10   *
11   * Dolphin  is free so ftware; yo u can redi stribute i t and/or m odify it u nder   11   * Dolphin  is free so ftware; yo u can redi stribute i t and/or m odify it u nder
12   * the term s of the G NU General  Public Li cense as p ublished b y the   12   * the term s of the G NU General  Public Li cense as p ublished b y the
13   * Free Sof tware Foun dation; ei ther versi on 2 of th e   13   * Free Sof tware Foun dation; ei ther versi on 2 of th e
14   * License,  or  any l ater versi on.   14   * License,  or  any l ater versi on.
15   *   15   *
16   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;   16   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;
17   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.   17   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.
18   * See the  GNU Genera l Public L icense for  more deta ils.   18   * See the  GNU Genera l Public L icense for  more deta ils.
19   * You shou ld have re ceived a c opy of the  GNU Gener al Public  License al ong with D olphin,   19   * You shou ld have re ceived a c opy of the  GNU Gener al Public  License al ong with D olphin,
20   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m   20   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m
21   ********** ********** ********** ********** ********** ********** ********** *****/   21   ********** ********** ********** ********** ********** ********** ********** *****/
22     22  
23   require_on ce( BX_DIR ECTORY_PAT H_INC . 'd b.inc.php'  );   23   require_on ce( BX_DIR ECTORY_PAT H_INC . 'd b.inc.php'  );
24     24  
25   class BxBa seConfig   25   class BxBa seConfig
26   {   26   {
27       var $a Site;   27       var $a Site;
28     28  
29       var $m emberMenu_ db_num                        =  1;   29       var $m emberMenu_ db_num                        =  1;
30   /*   30   /*
31       var $c ustomMenu_ db_num                        =  1;   31       var $c ustomMenu_ db_num                        =  1;
32       var $a dminMenu_d b_num                         =  1;   32       var $a dminMenu_d b_num                         =  1;
33       var $a ffMenu_db_ num                           =  1;   33       var $a ffMenu_db_ num                           =  1;
34       var $v isitorMenu _db_num                       =  1;   34       var $v isitorMenu _db_num                       =  1;
35       var $m oderatorMe nu_db_num                     =  1;   35       var $m oderatorMe nu_db_num                     =  1;
36   */   36   */
37     37  
38       /*  in dex.php    */   38       /*  in dex.php    */
39       var $P ageCompTop Members_db _num               =  1;   39       var $P ageCompTop Members_db _num               =  1;
40       var $D esignQuick SearchInde x_db_num           =  1;   40       var $D esignQuick SearchInde x_db_num           =  1;
41       var $P ageCompMem berStat_db _num               =  1;   41       var $P ageCompMem berStat_db _num               =  1;
42       var $P ageCompSur vey_db_num                    =  1;   42       var $P ageCompSur vey_db_num                    =  1;
43       var $P ageCompNew s_db_num                      =  1;   43       var $P ageCompNew s_db_num                      =  1;
44       var $P ageCompTop Rated_db_n um                 =  1;   44       var $P ageCompTop Rated_db_n um                 =  1;
45       var $P ageCompFea tured_db_n um                 =  1;   45       var $P ageCompFea tured_db_n um                 =  1;
46       var $P ageCompSuc cessStory_ db_num             =  1;   46       var $P ageCompSuc cessStory_ db_num             =  1;
47       var $P ageCompNew sLetters_d b_num              =  1;   47       var $P ageCompNew sLetters_d b_num              =  1;
48       /**/   48       /**/
49       var $P ageCompThi rd_db_num                     =  0;   49       var $P ageCompThi rd_db_num                     =  0;
50     50  
51       /*Memb ership.php */   51       /*Memb ership.php */
52       var $P ageCompSta tus_db_num                    =  1;   52       var $P ageCompSta tus_db_num                    =  1;
53       var $P ageCompSub scriptions _db_num            =  1;   53       var $P ageCompSub scriptions _db_num            =  1;
54       var $P ageCompMem berships_d b_num              =  1;   54       var $P ageCompMem berships_d b_num              =  1;
55       var $P ageCompCre dits_db_nu m                  =  1;    
56       /*  cc .php  */   55       /*  cc .php  */
57       var $c ommunicato r_Hot_db_n um                 =  1;   56       var $c ommunicato r_Hot_db_n um                 =  1;
58       var $c ommunicato r_Friend_d b_num              =  1;   57       var $c ommunicato r_Friend_d b_num              =  1;
59       var $c ommunicato r_Block_db _num               =  1;   58       var $c ommunicato r_Block_db _num               =  1;
60       var $c ommunicato r_Kiss_db_ num                =  1;   59       var $c ommunicato r_Kiss_db_ num                =  1;
61       var $c ommunicato r_View_db_ num                =  1;   60       var $c ommunicato r_View_db_ num                =  1;
62       var $c ommunicato r_Contact_ db_num             =  1;   61       var $c ommunicato r_Contact_ db_num             =  1;
63       var $c ommunicato r_PPhotos_ db_num             =  1;   62       var $c ommunicato r_PPhotos_ db_num             =  1;
64           // SpeedDatin g   63           // SpeedDatin g
65       var $P ageSDating ShowEvents _db_num            =  1;   64       var $P ageSDating ShowEvents _db_num            =  1;
66       var $P ageSDating ShowInfo_d b_num              =  1;   65       var $P ageSDating ShowInfo_d b_num              =  1;
67       var $P ageSDating ShowPartic ipants_db_ num     =  1;   66       var $P ageSDating ShowPartic ipants_db_ num     =  1;
68       var $P ageSDating SelectMatc hes_db_num         =  1;   67       var $P ageSDating SelectMatc hes_db_num         =  1;
69       var $P ageSDating ShowForm_d b_num              =  1;   68       var $P ageSDating ShowForm_d b_num              =  1;
70       var $P ageSDating Calendar_d b_num              =  1;   69       var $P ageSDating Calendar_d b_num              =  1;
71       var $P ageSDating NewEvent_d b_num              =  1;   70       var $P ageSDating NewEvent_d b_num              =  1;
72           // Checkout   71           // Checkout
73       var $P ageCompChe ckoutInfo_ db_num             =  1;   72       var $P ageCompChe ckoutInfo_ db_num             =  1;
74       var $P ageCompPro viderList_ db_num             =  1;   73       var $P ageCompPro viderList_ db_num             =  1;
75       var $P ageCompErr orMessage_ db_num             =  1;   74       var $P ageCompErr orMessage_ db_num             =  1;
76           // Video   75           // Video
77       var $P ageCompUpl oadVideo_d b_num              =  1;   76       var $P ageCompUpl oadVideo_d b_num              =  1;
78       var $P ageCompRay Recorder_d b_num              =  1;   77       var $P ageCompRay Recorder_d b_num              =  1;
79     78  
80       var $P ageExplana tion_db_nu m                  =  1;   79       var $P ageExplana tion_db_nu m                  =  1;
81     80  
82           /*   cart-pop .php    */   81           /*   cart-pop .php    */
83       var $P ageCartPop _db_num                       =  1;   82       var $P ageCartPop _db_num                       =  1;
84           /*   sound_po p.php   */   83           /*   sound_po p.php   */
85       var $P ageSoundPo p_db_num                      =  1;   84       var $P ageSoundPo p_db_num                      =  1;
86           /*   freemail .php    */   85           /*   freemail .php    */
87       var $P ageFreeMai lPop_db_nu m                  =  1;   86       var $P ageFreeMai lPop_db_nu m                  =  1;
88           /*   greet.ph p   */   87           /*   greet.ph p   */
89       var $P ageVkiss_d b_num                         =  1;   88       var $P ageVkiss_d b_num                         =  1;
90           /*   compose. php */   89           /*   compose. php */
91       var $P ageCompose _db_num                       =  0;   90       var $P ageCompose _db_num                       =  0;
92           /*   gallery. php */   91           /*   gallery. php */
93       var $P ageGallery ShowObject _db_num            =  1;   92       var $P ageGallery ShowObject _db_num            =  1;
94           /*   inbox.ph p   */   93           /*   inbox.ph p   */
95       var $P ageInbox_d b_num                         =  0;   94       var $P ageInbox_d b_num                         =  0;
96           /*   list-pop .php    */   95           /*   list-pop .php    */
97       var $P ageListPop _db_num                       =  1;   96       var $P ageListPop _db_num                       =  1;
98           /*   messages _inbox.php   */   97           /*   messages _inbox.php   */
99       var $P ageMessage sInboxMess ageDeleted _db_num =  0;   98       var $P ageMessage sInboxMess ageDeleted _db_num =  0;
100       var $P ageMessage sInboxMain Code_db_nu m       =  0;   99       var $P ageMessage sInboxMain Code_db_nu m       =  0;
101           /*   messages _outbox.ph p */   100           /*   messages _outbox.ph p */
102       var $P ageMessage sOutboxMai nCode_db_n um      =  0;   101       var $P ageMessage sOutboxMai nCode_db_n um      =  0;
103           /*   outbox.p hp  */   102           /*   outbox.p hp  */
104       var $P ageOutboxM ainCode_db _num               =  0;   103       var $P ageOutboxM ainCode_db _num               =  0;
105           /*   photos_g allery.php   */   104           /*   photos_g allery.php   */
106       var $P agePhotosG alleryNoPi cs_db_num          =  1;   105       var $P agePhotosG alleryNoPi cs_db_num          =  1;
107           /*   rate.php     */   106           /*   rate.php     */
108       var $P ageRateMai nCode_db_n um                 =  0;   107       var $P ageRateMai nCode_db_n um                 =  0;
109            /*    search _result .php     */   108            /*    search
.php    */
110       var $P ageSearcRe sultGaller y_db_num           =  0;   109       var $P ageSearcRe sultGaller y_db_num           =  0;
111           /*   design.i nc.php  */   110           /*   design.i nc.php  */
112       var $P ageRetIM_d b_num                         =  1;   111       var $P ageRetIM_d b_num                         =  1;
113       var $l oadShoutbo x_db_num                      =  1;   112       var $l oadShoutbo x_db_num                      =  1;
114           /*   profile. php */   113           /*   profile. php */
115       var $g etMemberPr ofileComme nts_db_num         =  1;   114       var $g etMemberPr ofileComme nts_db_num         =  1;
116           /*   index.ph p   */   115           /*   index.ph p   */
117       var $P ageCompPro filePoll_d b_num              =  1;   116       var $P ageCompPro filePoll_d b_num              =  1;
118     117  
119       //Widt h of Votes  scale at  profilr vi ew page   118       //Widt h of Votes  scale at  profilr vi ew page
120       var $i ProfileVie wVotesWidt h                  =  200;   119       var $i ProfileVie wVotesWidt h                  =  200;
121       var $i ProfileVie wProgressB ar                      = 67;   120       var $i ProfileVie wProgressB ar                      = 67;
122     121  
123       // wid th of prog ress bar i n search r esult ( fo r match %  )   122       // wid th of prog ress bar i n search r esult ( fo r match %  )
124       var $s earch_prog ressbar_w                     =  67;   123       var $s earch_prog ressbar_w                     =  67;
125     124  
126           //  width of  progress b ar on home  page   125           //  width of  progress b ar on home  page
127       var $i ndex_progr essbar_w                      =  120;   126       var $i ndex_progr essbar_w                      =  120;
128     127  
129     128  
130           //  show text  link "vie w as photo gallery" i n the page  navigatio n of searc h result p age   129           //  show text  link "vie w as photo gallery" i n the page  navigatio n of searc h result p age
131       var $s how_galler y_link_in_ page_navig ation   =  1;   130       var $s how_galler y_link_in_ page_navig ation   =  1;
132     131  
133       // def ault value  for numbe r of searc h results  per page   132       // def ault value  for numbe r of searc h results  per page
134       var $d ef_p_per_p age                           =  10;   133       var $d ef_p_per_p age                           =  10;
135     134  
136       // Ins tant Messa nger ( Pri vate Messa ges Panel  ) Settings   135       // Ins tant Messa nger ( Pri vate Messa ges Panel  ) Settings
137       var $i m_width                                  =  187; // wi dth of IM   136       var $i m_width                                  =  187; // wi dth of IM
138       var $i m_height                                 =  206; // he ight of IM   137       var $i m_height                                 =  206; // he ight of IM
139       var $i m_input_he ight                          =  25; // Hei ght of inp ut panel   138       var $i m_input_he ight                          =  25; // Hei ght of inp ut panel
140       var $i m_input                                  =  18; // siz e of IM in put text e dit text c ontrol   139       var $i m_input                                  =  18; // siz e of IM in put text e dit text c ontrol
141     140  
142           //  Shout Box  Settings   141           //  Shout Box  Settings
143       var $f ramewidth                                =  197; //wid th of Shou t Box Fram e   142       var $f ramewidth                                =  197; //wid th of Shou t Box Fram e
144       var $f rameheight                               =  250; //Hei ght Of Sho ut Box Fra me   143       var $f rameheight                               =  250; //Hei ght Of Sho ut Box Fra me
145     144  
146       var $m axwordleng th                            =  20; //Max  namber of  charachter s in word   145       var $m axwordleng th                            =  20; //Max  namber of  charachter s in word
147       var $m axtextleng th                            =  60; //Max  namber of  charachter s in line  without wh ite space   146       var $m axtextleng th                            =  60; //Max  namber of  charachter s in line  without wh ite space
148       var $m axrecords                                =  16; //Max  number of  lines   147       var $m axrecords                                =  16; //Max  number of  lines
149       var $c lasses                                   =  2; //Numbe r of class es   148       var $c lasses                                   =  2; //Numbe r of class es
150     149  
151       var $p opUpWindow Width                         =  500;   150       var $p opUpWindow Width                         =  500;
152       var $p opUpWindow Height                        =  200;   151       var $p opUpWindow Height                        =  200;
153     152  
154       var $i MaxNewsOnM emberPanel                    =  2;   153       var $i MaxNewsOnM emberPanel                    =  2;
155       var $i MaxNewsOnI ndex                          =  2;   154       var $i MaxNewsOnI ndex                          =  2;
156       var $i NewsPrevie w                             =  128;   155       var $i NewsPrevie w                             =  128;
157       var $i NewsHeader                               =  27;   156       var $i NewsHeader                               =  27;
158       var $i SearchResu ltGalleryC ols                =  4;   157       var $i SearchResu ltGalleryC ols                =  4;
159          158       
160           //  Groups   159           //  Groups
161        var   $iGroupMem bersPreNum                       =   8 ;   //number   of   random   members   shown   in   main   page   of   group   160        var   $iGroupMem bersPreNum                       =   21 ;   //number   of   random   members   shown   in   main   page   of   group
162        var   $iGroupMem bersResPer Page                   =   8 ;   161        var   $iGroupMem bersResPer Page                   =   14 ;
163          162       
164       var $i GroupsSear chResPerPa ge                 =  10;   163       var $i GroupsSear chResPerPa ge                 =  10;
165       var $i GroupsSear chResults_ dbnum              =  1;   164       var $i GroupsSear chResults_ dbnum              =  1;
166          165       
167       var $i QSearchWin dowWidth                      =  400;   166       var $i QSearchWin dowWidth                      =  400;
168       var $i QSearchWin dowHeight                     =  400;   167       var $i QSearchWin dowHeight                     =  400;
169          168       
170          169       
171       var $p aginationD ifference                     =  2; //look  design.inc .php, func tion genPa gination   170       var $p aginationD ifference                     =  2; //look  design.inc .php, func tion genPa gination
172          171       
173          172       
174       var $i TagsPerPag e                             =  50; //numb er of tags  show on i ndex page   173       var $i TagsPerPag e                             =  50; //numb er of tags  show on i ndex page
175       var $i TagsMinFon tSize                         =  10;  //Min imal font  size of ta g   174       var $i TagsMinFon tSize                         =  10;  //Min imal font  size of ta g
176       var $i TagsMaxFon tSize                         =  30; //Maxi mal font s ize of tag   175       var $i TagsMaxFon tSize                         =  30; //Maxi mal font s ize of tag
177          176       
178       var $i RateBigRat ingBar                        =  350; //wid th of rati ng bar in  rate.php   177       var $i RateBigRat ingBar                        =  350; //wid th of rati ng bar in  rate.php
179       var $i RateBigRat ingBarNum                     =  2;   //num ber of rat ing bar in  rate.php   178       var $i RateBigRat ingBarNum                     =  2;   //num ber of rat ing bar in  rate.php
180          179       
181       var $i RateSmallR atingBar                      =  160; //wid th of smal l rating b ar in rate .php   180       var $i RateSmallR atingBar                      =  160; //wid th of smal l rating b ar in rate .php
182       var $i RateSmallR atingBarNu m                  =  1; //numbe r of small  rating ba r in rate. php   181       var $i RateSmallR atingBarNu m                  =  1; //numbe r of small  rating ba r in rate. php
183          182       
184       var $s TinyMceEdi torJS;   183       var $s TinyMceEdi torJS;
185       var $s CalendarCs s;   184       var $s CalendarCs s;
186     185  
187        var   $bFreeMode ,   $bEnableCu stomizatio n,   $bEnableGa llery,   $bEnablePo ll,   $bEnableIm ,   $bEnableCo mments,   $bEnableGu estbook,   $bEnableBl og,   $b EnableSdat ing,   $bEnableVi deoUpload,   $bEnableAu dioUpload,   $b AnonymousM ode;   186        var   $bFreeMode ,   $bEnableCu stomizatio n,   $bEnableGa llery,   $bEnablePo ll,   $bEnableIm ,   $bEnableCo mments,   $bEnableGu estbook,   $bEnableBl og,   $b
AnonymousM ode;
188          187       
189       var $c ustomize;   188       var $c ustomize;
190          189       
191       functi on BxBaseC onfig($sit e)   190       functi on BxBaseC onfig($sit e)
192       {   191       {
193           gl obal $enab le_guestbo ok, $enabl e_blog, $e n_sdating,  $enable_v ideo_uploa d, $enable _audio_upl oad, $anon _mode;   192           gl obal $enab le_blog, $ anon_mode;
194     193  
195           $t his -> cus tomMenu_db _num                        = $t his -> mem berMenu_db _num;   194           $t his -> cus tomMenu_db _num                        = $t his -> mem berMenu_db _num;
196           $t his -> adm inMenu_db_ num                         = $t his -> mem berMenu_db _num;   195           $t his -> adm inMenu_db_ num                         = $t his -> mem berMenu_db _num;
197           $t his -> aff Menu_db_nu m                           = $t his -> mem berMenu_db _num;   196           $t his -> aff Menu_db_nu m                           = $t his -> mem berMenu_db _num;
198           $t his -> vis itorMenu_d b_num                       = $t his -> mem berMenu_db _num;   197           $t his -> vis itorMenu_d b_num                       = $t his -> mem berMenu_db _num;
199           $t his -> mod eratorMenu _db_num                     = $t his -> mem berMenu_db _num;   198           $t his -> mod eratorMenu _db_num                     = $t his -> mem berMenu_db _num;
200     199  
201           $t his -> aSi te = $site ;   200           $t his -> aSi te = $site ;
202     201  
203           $t his -> bFr eeMode                        =  getParam(" free_mode" ) == 'on'  ? 1 : 0;   202           $t his -> bFr eeMode                        =  getParam(" free_mode" ) == 'on'  ? 1 : 0;
204           $t his -> bEn ableCustom ization            =  getParam(' enable_cus tomization ') == 'on'  ? 1 : 0;   203           $t his -> bEn ableCustom ization            =  getParam(' enable_cus tomization ') == 'on'  ? 1 : 0;
205           $t his -> bEn ableGaller y                  =  getParam(' enable_gal lery') ==  'on' ? 1 :  0;   204           $t his -> bEn ableGaller y                  =  getParam(' enable_gal lery') ==  'on' ? 1 :  0;
206           $t his -> bEn ablePoll                      =  getParam(' enable_pol l') == 'on ' ? 1 : 0;   205           $t his -> bEn ablePoll                      =  getParam(' enable_pol l') == 'on ' ? 1 : 0;
207           $t his -> bEn ableIm                        =  getParam(" enable_im" ) == "on"  ? 1 : 0;   206           $t his -> bEn ableIm                        =  getParam(" enable_im" ) == "on"  ? 1 : 0;
208           $t his -> bEn ableCommen ts                 =  getParam(" enable_pro fileCommen ts") == "o n" ? 1 : 0 ;   207           $t his -> bEn ableCommen ts                 =  getParam(" enable_pro fileCommen ts") == "o n" ? 1 : 0 ;
209           $t his -> bEn ableGuestb ook                =  $enable_gu estbook;    
210           $t his -> bEn ableBlog                      =  $enable_bl og;   208           $t his -> bEn ableBlog                      =  $enable_bl og;
211           $t his -> bEn ableSdatin g                  =  $en_sdatin g;    
212           $t his -> bEn ableVideoU pload              =  $enable_vi deo_upload ;    
213           $t his -> bEn ableAudioU pload              =  $enable_au dio_upload ;    
214           $t his -> bAn onymousMod e                  =  $anon_mode ;   209           $t his -> bAn onymousMod e                  =  $anon_mode ;
215     210  
    211           // theme_adva nced_disab le : "link ,unlink,in sertanchor ,image,sub script,sup erscript,h elp,anchor ,code,styl eselect",
216           $t his -> sTi nyMceEdito rJS = '   212           $t his -> sTi nyMceEdito rJS = '
217       <!-- t inyMCE gz  -->    213       <!-- t inyMCE gz  --> 
218       <scrip t type="te xt/javascr ipt" src=" ' . $site[ 'plugins']  . 'tiny_m ce/tiny_mc e_gzip.js" ></script>   214       <scrip t type="te xt/javascr ipt" src=" ' . $site[ 'plugins']  . 'tiny_m ce/tiny_mc e_gzip.js" ></script>
219       <scrip t type="te xt/javascr ipt">   215       <scrip t type="te xt/javascr ipt">
220       tinyMC E_GZ.init( {   216       tinyMC E_GZ.init( {
221           pl ugins :                     "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,   217           pl ugins :                     "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,
222           th emes : "si mple,advan ced",   218           th emes : "si mple,advan ced",
223           la nguages :  "en",   219           la nguages :  "en",
224           di sk_cache :  true,   220           di sk_cache :  true,
225           de bug : fals e   221           de bug : fals e
226       });   222       });
227       </scri pt>   223       </scri pt>
228       <!-- t inyMCE -->   224       <!-- t inyMCE -->
229       <scrip t language ="javascri pt" type=" text/javas cript">   225       <scrip t language ="javascri pt" type=" text/javas cript">
230       // Not ice: The s imple them e does not  use all o ptions som e of them  are limite d to the a dvanced th eme   226       // Not ice: The s imple them e does not  use all o ptions som e of them  are limite d to the a dvanced th eme
231       tinyMC E.init({   227       tinyMC E.init({
232           mo de : "text areas",   228           mo de : "text areas",
233           th eme : "adv anced",   229           th eme : "adv anced",
234           
content_cs s   :   "'   .   $site['css _dir']   .   'editor.cs s",
  230            // content_cs s   :   "'   .   $site['css _dir']   .   'editor.cs s",
235           ed itor_selec tor : "blo gText|gues tbookTextA rea|story_ edit_area| comment_te xtarea|cla ssfiedsTex tArea",   231           ed itor_selec tor : "blo gText|gues tbookTextA rea|story_ edit_area| comment_te xtarea|cla ssfiedsTex tArea",
236     232  
237     233  
238           pl ugins : "t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,zoom,me dia,search replace,pr int,contex tmenu,past e,directio nality,ful lscreen",   234           pl ugins : "t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,zoom,me dia,search replace,pr int,contex tmenu,past e,directio nality,ful lscreen",
239     235  
240           th eme_advanc ed_buttons 1_add : "f ontselect, fontsizese lect",   236           th eme_advanc ed_buttons 1_add : "f ontselect, fontsizese lect",
241           th eme_advanc ed_buttons 2_add_befo re: "cut,c opy,paste, pastetext, pasteword, image,sepa rator,sear ch,replace ,separator ",   237           th eme_advanc ed_buttons 2_add_befo re: "cut,c opy,paste, pastetext, pasteword, image,sepa rator,sear ch,replace ,separator ",
242           th eme_advanc ed_buttons 2_add : "s eparator,i nsertdate, inserttime ,separator ,forecolor ,backcolor ",   238           th eme_advanc ed_buttons 2_add : "s eparator,i nsertdate, inserttime ,separator ,forecolor ,backcolor ",
243           th eme_advanc ed_buttons 3_add : "e motions",   239           th eme_advanc ed_buttons 3_add : "e motions",
244           th eme_advanc ed_toolbar _location  : "top",   240           th eme_advanc ed_toolbar _location  : "top",
245           th eme_advanc ed_toolbar _align : " left",   241           th eme_advanc ed_toolbar _align : " left",
246           th eme_advanc ed_statusb ar_locatio n : "botto m",   242           th eme_advanc ed_statusb ar_locatio n : "botto m",
247           th eme_advanc ed_disable  : "link,u nlink,inse rtanchor,i mage,subsc ript,super script,hel p,anchor,c ode,styles elect",   243  
248           pl ugi2n_inse rtdate_dat eFormat :  "%Y-%m-%d" ,   244           pl ugi2n_inse rtdate_dat eFormat :  "%Y-%m-%d" ,
249           pl ugi2n_inse rtdate_tim eFormat :  "%H:%M:%S" ,   245           pl ugi2n_inse rtdate_tim eFormat :  "%H:%M:%S" ,
250           pa ste_use_di alog : fal se,   246           pa ste_use_di alog : fal se,
251           th eme_advanc ed_resizin g : false,   247           th eme_advanc ed_resizin g : false,
252           th eme_advanc ed_resize_ horizontal  : false,   248           th eme_advanc ed_resize_ horizontal  : false,
253           th eme_advanc ed_link_ta rgets : "_ something= My somthin g;_somethi ng2=My som thing2;_so mething3=M y somthing 3;",   249           th eme_advanc ed_link_ta rgets : "_ something= My somthin g;_somethi ng2=My som thing2;_so mething3=M y somthing 3;",
254           pa ste_auto_c leanup_on_ paste : tr ue,   250           pa ste_auto_c leanup_on_ paste : tr ue,
255           pa ste_conver t_headers_ to_strong  : false,   251           pa ste_conver t_headers_ to_strong  : false,
256           pa ste_strip_ class_attr ibutes : " all",   252           pa ste_strip_ class_attr ibutes : " all",
257           pa ste_remove _spans : f alse,   253           pa ste_remove _spans : f alse,
258           pa ste_remove _styles :  false   254           pa ste_remove _styles :  false
259     255  
260           }) ;   256           }) ;
261       </scri pt>   257       </scri pt>
262       <!-- / tinyMCE -- >   258       <!-- / tinyMCE -- >
263       ';   259       ';
264          260       
265           $t his -> sTi nyMceEdito rCompactJS  =   261           $t his -> sTi nyMceEdito rCompactJS  =
266   '<!-- tiny MCE gz -->   262   '<!-- tiny MCE gz -->
267   <script ty pe="text/j avascript"  src="' .  $site['plu gins'] . ' tiny_mce/t iny_mce_gz ip.js"></s cript>   263   <script ty pe="text/j avascript"  src="' .  $site['plu gins'] . ' tiny_mce/t iny_mce_gz ip.js"></s cript>
268   <script ty pe="text/j avascript" >   264   <script ty pe="text/j avascript" >
269       tinyMC E_GZ.init( {   265       tinyMC E_GZ.init( {
270           pl ugins :                     "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,   266           pl ugins :                     "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,
271           th emes : "si mple,advan ced",   267           th emes : "si mple,advan ced",
272           la nguages :  "en",   268           la nguages :  "en",
273           di sk_cache :  true,   269           di sk_cache :  true,
274           de bug : fals e   270           de bug : fals e
275       });   271       });
276   </script>   272   </script>
277     273  
278   <script la nguage="ja vascript"  type="text /javascrip t">   274   <script la nguage="ja vascript"  type="text /javascrip t">
279       tinyMC E.init({   275       tinyMC E.init({
280           mo de : "text areas",   276           mo de : "text areas",
281           th eme : "adv anced",   277           th eme : "adv anced",
282              278           
283           ed itor_selec tor : "gro up_edit_ht ml|guestbo okTextArea |story_edi t_area|com ment_texta rea|classf iedsTextAr ea|blogTex t",   279           ed itor_selec tor : "gro up_edit_ht ml|guestbo okTextArea |story_edi t_area|com ment_texta rea|classf iedsTextAr ea|blogTex t",
284              280           
285           pl ugins : "s tyle,layer ,table,sav e,advhr,ad vimage,adv link,emoti ons,iespel l,insertda tetime,pre view,zoom, media,sear chreplace, print,cont extmenu,pa ste,direct ionality,f ullscreen, visualchar s,nonbreak ing,xhtmlx tras",   281           pl ugins : "s tyle,layer ,table,sav e,advhr,ad vimage,adv link,emoti ons,iespel l,insertda tetime,pre view,zoom, media,sear chreplace, print,cont extmenu,pa ste,direct ionality,f ullscreen, visualchar s,nonbreak ing,xhtmlx tras",
286              282           
287           th eme_advanc ed_buttons 1 : "bold, italic,und erline,str ikethrough ,|,justify left,justi fycenter,j ustifyrigh t,justifyf ull,|,font select,fon tsizeselec t",   283           th eme_advanc ed_buttons 1 : "bold, italic,und erline,str ikethrough ,|,justify left,justi fycenter,j ustifyrigh t,justifyf ull,|,font select,fon tsizeselec t",
288           th eme_advanc ed_buttons 2 : "forec olor,backc olor,|,bul list,numli st,|,outde nt,indent, |,link,unl ink,image, hr,|,sub,s up,|,inser tdate,inse rttime,|,s tyleprops" ,   284           th eme_advanc ed_buttons 2 : "forec olor,backc olor,|,bul list,numli st,|,outde nt,indent, |,link,unl ink,image, hr,|,sub,s up,|,inser tdate,inse rttime,|,s tyleprops" ,
289           th eme_advanc ed_buttons 3 : "charm ap,emotion s,|,cite,a bbr,acrony m,attribs, |,preview, removeform at",   285           th eme_advanc ed_buttons 3 : "charm ap,emotion s,|,cite,a bbr,acrony m,attribs, |,preview, removeform at",
290           th eme_advanc ed_toolbar _location  : "top",   286           th eme_advanc ed_toolbar _location  : "top",
291           th eme_advanc ed_toolbar _align : " center",   287           th eme_advanc ed_toolbar _align : " center",
292           ex tended_val id_element s : "a[nam e|href|tit le],img[cl ass|src|bo rder=0|alt |title|hsp ace|vspace |width|hei ght|align| name],hr[c lass|width |size|nosh ade],font[ face|size| color|styl e],span[cl ass|align| style]"   288           ex tended_val id_element s : "a[nam e|href|tit le],img[cl ass|src|bo rder=0|alt |title|hsp ace|vspace |width|hei ght|align| name],hr[c lass|width |size|nosh ade],font[ face|size| color|styl e],span[cl ass|align| style]"
293       });   289       });
294   </script>' ;   290   </script>' ;
295     291  
296           $t his -> sTi nyMceEdito rMiniJS =   292           $t his -> sTi nyMceEdito rMiniJS =
297   '   <!-- t inyMCE gz  -->    293   '   <!-- t inyMCE gz  --> 
298       <scrip t type="te xt/javascr ipt" src=" ' . $site[ 'plugins']  . 'tiny_m ce/tiny_mc e_gzip.js" ></script>   294       <scrip t type="te xt/javascr ipt" src=" ' . $site[ 'plugins']  . 'tiny_m ce/tiny_mc e_gzip.js" ></script>
299       <scrip t type="te xt/javascr ipt">   295       <scrip t type="te xt/javascr ipt">
300       tinyMC E_GZ.init( {   296       tinyMC E_GZ.init( {
301           pl ugins :                     "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,   297           pl ugins :                     "sty le,layer,t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,media,s earchrepla ce,print,c ontextmenu ,paste,dir ectionalit y,fullscre en,nonedit able,visua lchars,non breaking,x htmlxtras" ,
302           th emes : "si mple,advan ced",   298           th emes : "si mple,advan ced",
303           la nguages :  "en",   299           la nguages :  "en",
304           di sk_cache :  true,   300           di sk_cache :  true,
305           de bug : fals e   301           de bug : fals e
306       });   302       });
307       </scri pt>   303       </scri pt>
308       <!-- t inyMCE -->   304       <!-- t inyMCE -->
309       <scrip t language ="javascri pt" type=" text/javas cript">   305       <scrip t language ="javascri pt" type=" text/javas cript">
310       // Not ice: The s imple them e does not  use all o ptions som e of them  are limite d to the a dvanced th eme   306       // Not ice: The s imple them e does not  use all o ptions som e of them  are limite d to the a dvanced th eme
311       tinyMC E.init({   307       tinyMC E.init({
312           mo de : "text areas",   308           mo de : "text areas",
313           th eme : "adv anced",   309           th eme : "adv anced",
314           
content_cs s   :   "'   .   $site['css _dir']   .   'editor.cs s",
  310            // content_cs s   :   "'   .   $site['css _dir']   .   'editor.cs s",
315           ed itor_selec tor : "com ment_texta rea|classf iedsTextAr ea",   311           ed itor_selec tor : "com ment_texta rea|classf iedsTextAr ea",
316     312  
317     313  
318           pl ugins : "t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,zoom,me dia,search replace,pr int,contex tmenu,past e,directio nality,ful lscreen,vi sualchars, nonbreakin g,xhtmlxtr as",   314           pl ugins : "t able,save, advhr,advi mage,advli nk,emotion s,iespell, insertdate time,previ ew,zoom,me dia,search replace,pr int,contex tmenu,past e,directio nality,ful lscreen,vi sualchars, nonbreakin g,xhtmlxtr as",
319     315  
320           th eme_advanc ed_buttons 1 : "bold, italic,und erline,str ikethrough ,|,justify left,justi fycenter,j ustifyrigh t,justifyf ull,|,fore color,back color",   316           th eme_advanc ed_buttons 1 : "bold, italic,und erline,str ikethrough ,|,justify left,justi fycenter,j ustifyrigh t,justifyf ull,|,fore color,back color",
321           th eme_advanc ed_buttons 2 : "link, unlink,ima ge,hr,inse rtdate,ins erttime,|, charmap,em otions,|,c ite,previe w,removefo rmat",   317           th eme_advanc ed_buttons 2 : "link, unlink,ima ge,hr,inse rtdate,ins erttime,|, charmap,em otions,|,c ite,previe w,removefo rmat",
322           th eme_advanc ed_buttons 3 : "",   318           th eme_advanc ed_buttons 3 : "",
323           th eme_advanc ed_toolbar _location  : "top",   319           th eme_advanc ed_toolbar _location  : "top",
324           th eme_advanc ed_toolbar _align : " left",   320           th eme_advanc ed_toolbar _align : " left",
325           th eme_advanc ed_statusb ar_locatio n : "botto m",   321           th eme_advanc ed_statusb ar_locatio n : "botto m",
326           th eme_advanc ed_disable  : "insert anchor,ima ge,help,an chor,code, styleselec t",   322           th eme_advanc ed_disable  : "insert anchor,ima ge,help,an chor,code, styleselec t",
327           pl ugi2n_inse rtdate_dat eFormat :  "%Y-%m-%d" ,   323           pl ugi2n_inse rtdate_dat eFormat :  "%Y-%m-%d" ,
328           pl ugi2n_inse rtdate_tim eFormat :  "%H:%M:%S" ,   324           pl ugi2n_inse rtdate_tim eFormat :  "%H:%M:%S" ,
329           pa ste_use_di alog : fal se,   325           pa ste_use_di alog : fal se,
330           th eme_advanc ed_resizin g : false,   326           th eme_advanc ed_resizin g : false,
331           th eme_advanc ed_resize_ horizontal  : false,   327           th eme_advanc ed_resize_ horizontal  : false,
332           th eme_advanc ed_link_ta rgets : "_ something= My somthin g;_somethi ng2=My som thing2;_so mething3=M y somthing 3;",   328           th eme_advanc ed_link_ta rgets : "_ something= My somthin g;_somethi ng2=My som thing2;_so mething3=M y somthing 3;",
333           pa ste_auto_c leanup_on_ paste : tr ue,   329           pa ste_auto_c leanup_on_ paste : tr ue,
334           pa ste_conver t_headers_ to_strong  : false,   330           pa ste_conver t_headers_ to_strong  : false,
335           pa ste_strip_ class_attr ibutes : " all",   331           pa ste_strip_ class_attr ibutes : " all",
336           pa ste_remove _spans : f alse,   332           pa ste_remove _spans : f alse,
337           pa ste_remove _styles :  false   333           pa ste_remove _styles :  false
338     334  
339           }) ;   335           }) ;
340       </scri pt>   336       </scri pt>
341       <!-- / tinyMCE -- >   337       <!-- / tinyMCE -- >
342       ';   338       ';
343          339       
344           $t his -> sCa lendarCss  = '<link r el="styles heet" href ="' . $sit e['plugins '] . 'cale ndar/calen dar_themes /aqua.css"  type="tex t/css" />' ;   340           $t his -> sCa lendarCss  = '<link r el="styles heet" href ="' . $sit e['plugins '] . 'cale ndar/calen dar_themes /aqua.css"  type="tex t/css" />' ;
345     341  
346     342  
347           $t his -> cus tomize                    = arra y(); //pag es customi zation arr ay   343           $t his -> cus tomize                    = arra y(); //pag es customi zation arr ay
348              344           
349           $t his -> cus tomize['me dia_galler y']['showM ediaTabs']  = true;   345           $t his -> cus tomize['me dia_galler y']['showM ediaTabs']  = true;
350           $t his -> cus tomize['up load_media ']['showMe diaTabs']   = true;   346           $t his -> cus tomize['up load_media ']['showMe diaTabs']   = true;
351           $t his -> cus tomize['up load_media ']['showAd dButton']   = true;   347           $t his -> cus tomize['up load_media ']['showAd dButton']   = true;
352           $t his -> cus tomize['up load_media ']['addNew Block_disp lay'] = 'n one';   348           $t his -> cus tomize['up load_media ']['addNew Block_disp lay'] = 'n one';
353           $t his -> cus tomize['jo in_page'][ 'showPageT ext']       = true;    
354           $t his -> cus tomize['jo in_page'][ 'show_3rd_ col']       = true;    
355           $t his -> cus tomize['ra te']['show SexSelecto r']         = true;   349           $t his -> cus tomize['ra te']['show SexSelecto r']         = true;
356           $t his -> cus tomize['ra te']['show ProfileInf o']         = true;   350           $t his -> cus tomize['ra te']['show ProfileInf o']         = true;
357           $t his -> cus tomize['ev ents']['sh owTopButto ns']        = true;   351           $t his -> cus tomize['ev ents']['sh owTopButto ns']        = true;
358           $t his -> cus tomize['bl og']['show BreadCrumb s']         = true;   352           $t his -> cus tomize['bl og']['show BreadCrumb s']         = true;
359           $t his -> cus tomize['bl og']['show EditLinks' ]           = true;   353           $t his -> cus tomize['bl og']['show EditLinks' ]           = true;
    354           
    355           $t his -> cus tomize['jo in']['date pickerInit ']          = "
    356                $( '.inp ut_date' ) .datepicke r({
    357                    date Format: 'd /m/yy',
    358                    year Range: '{m in_year}:{ max_year}' ,
    359                    mand atory: tru e,
    360                    clos eText: 'X' ,
    361                    defa ultDate: - {dfl_days}
    362                });
    363                ";
360       }   364       }
361     365  
362   }   366   }
363     367  
364   ?>   368   ?>