source: tags/build-Alligator02/admin/user_list.php @ 6299

Last change on this file since 6299 was 1763, checked in by vdigital, 17 years ago

Issue 0000614: Display hits under thumbnails like comments counter

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 21.9 KB
Line 
1<?php
2// +-----------------------------------------------------------------------+
3// | PhpWebGallery - a PHP based picture gallery                           |
4// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
5// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
6// +-----------------------------------------------------------------------+
7// | branch        : BSF (Best So Far)
8// | file          : $RCSfile$
9// | last update   : $Date: 2007-01-28 20:56:10 +0000 (Sun, 28 Jan 2007) $
10// | last modifier : $Author: vdigital $
11// | revision      : $Revision: 1763 $
12// +-----------------------------------------------------------------------+
13// | This program is free software; you can redistribute it and/or modify  |
14// | it under the terms of the GNU General Public License as published by  |
15// | the Free Software Foundation                                          |
16// |                                                                       |
17// | This program is distributed in the hope that it will be useful, but   |
18// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
19// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
20// | General Public License for more details.                              |
21// |                                                                       |
22// | You should have received a copy of the GNU General Public License     |
23// | along with this program; if not, write to the Free Software           |
24// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
25// | USA.                                                                  |
26// +-----------------------------------------------------------------------+
27
28/**
29 * Add users and manage users list
30 */
31
32// +-----------------------------------------------------------------------+
33// |                              functions                                |
34// +-----------------------------------------------------------------------+
35
36/**
37 * returns a list of users depending on page filters (in $_GET)
38 *
39 * Each user comes with his related informations : id, username, mail
40 * address, list of groups.
41 *
42 * @return array
43 */
44function get_filtered_user_list()
45{
46  global $conf, $page;
47
48  $users = array();
49
50  // filter
51  $filter = array();
52
53  if (isset($_GET['username']) and !empty($_GET['username']))
54  {
55    $username = str_replace('*', '%', $_GET['username']);
56    if (function_exists('mysql_real_escape_string'))
57    {
58      $filter['username'] = mysql_real_escape_string($username);
59    }
60    else
61    {
62      $filter['username'] = mysql_escape_string($username);
63    }
64  }
65
66  if (isset($_GET['group'])
67      and -1 != $_GET['group']
68      and is_numeric($_GET['group']))
69  {
70    $filter['group'] = $_GET['group'];
71  }
72
73  if (isset($_GET['status'])
74      and in_array($_GET['status'], get_enums(USER_INFOS_TABLE, 'status')))
75  {
76    $filter['status'] = $_GET['status'];
77  }
78
79  // how to order the list?
80  $order_by = 'id';
81  if (isset($_GET['order_by'])
82      and in_array($_GET['order_by'], array_keys($page['order_by_items'])))
83  {
84    $order_by = $_GET['order_by'];
85  }
86
87  $direction = 'ASC';
88  if (isset($_GET['direction'])
89      and in_array($_GET['direction'], array_keys($page['direction_items'])))
90  {
91    $direction = strtoupper($_GET['direction']);
92  }
93
94  // search users depending on filters and order
95  $query = '
96SELECT DISTINCT u.'.$conf['user_fields']['id'].' AS id,
97                u.'.$conf['user_fields']['username'].' AS username,
98                u.'.$conf['user_fields']['email'].' AS email,
99                ui.status,
100                ui.adviser,
101                ui.enabled_high
102  FROM '.USERS_TABLE.' AS u
103    INNER JOIN '.USER_INFOS_TABLE.' AS ui
104      ON u.'.$conf['user_fields']['id'].' = ui.user_id
105    LEFT JOIN '.USER_GROUP_TABLE.' AS ug
106      ON u.'.$conf['user_fields']['id'].' = ug.user_id
107  WHERE u.'.$conf['user_fields']['id'].' != '.$conf['guest_id'];
108  if (isset($filter['username']))
109  {
110    $query.= '
111  AND u.'.$conf['user_fields']['username'].' LIKE \''.$filter['username'].'\'';
112  }
113  if (isset($filter['group']))
114  {
115    $query.= '
116    AND ug.group_id = '.$filter['group'];
117  }
118  if (isset($filter['status']))
119  {
120    $query.= '
121    AND ui.status = \''.$filter['status']."'";
122  }
123  $query.= '
124  ORDER BY '.$order_by.' '.$direction.'
125;';
126
127  $result = pwg_query($query);
128  while ($row = mysql_fetch_array($result))
129  {
130    $user = $row;
131    $user['groups'] = array();
132
133    array_push($users, $user);
134  }
135
136  // add group lists
137  $user_ids = array();
138  foreach ($users as $i => $user)
139  {
140    $user_ids[$i] = $user['id'];
141  }
142  $user_nums = array_flip($user_ids);
143
144  if (count($user_ids) > 0)
145  {
146    $query = '
147SELECT user_id, group_id
148  FROM '.USER_GROUP_TABLE.'
149  WHERE user_id IN ('.implode(',', $user_ids).')
150;';
151    $result = pwg_query($query);
152    while ($row = mysql_fetch_array($result))
153    {
154      array_push(
155        $users[$user_nums[$row['user_id']]]['groups'],
156        $row['group_id']
157        );
158    }
159  }
160
161  return $users;
162}
163
164// +-----------------------------------------------------------------------+
165// |                           initialization                              |
166// +-----------------------------------------------------------------------+
167
168if (!defined('PHPWG_ROOT_PATH'))
169{
170  die('Hacking attempt!');
171}
172
173include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
174
175// +-----------------------------------------------------------------------+
176// | Check Access and exit when user status is not ok                      |
177// +-----------------------------------------------------------------------+
178check_status(ACCESS_ADMINISTRATOR);
179
180$page['order_by_items'] = array(
181  'id' => $lang['registration_date'],
182  'username' => $lang['Username']
183  );
184
185$page['direction_items'] = array(
186  'asc' => $lang['ascending'],
187  'desc' => $lang['descending']
188  );
189
190// +-----------------------------------------------------------------------+
191// |                              add a user                               |
192// +-----------------------------------------------------------------------+
193
194if (isset($_POST['submit_add']))
195{
196  $page['errors'] = register_user(
197    $_POST['login'], $_POST['password'], $_POST['email']);
198
199  if (count($page['errors']) == 0)
200  {
201    array_push(
202      $page['infos'],
203      sprintf(
204        l10n('user "%s" added'),
205        $_POST['login']
206        )
207      );
208  }
209}
210
211// +-----------------------------------------------------------------------+
212// |                               user list                               |
213// +-----------------------------------------------------------------------+
214
215$page['filtered_users'] = get_filtered_user_list();
216
217// +-----------------------------------------------------------------------+
218// |                            selected users                             |
219// +-----------------------------------------------------------------------+
220
221if (isset($_POST['delete']) or isset($_POST['pref_submit']))
222{
223  $collection = array();
224
225  switch ($_POST['target'])
226  {
227    case 'all' :
228    {
229      foreach($page['filtered_users'] as $local_user)
230      {
231        array_push($collection, $local_user['id']);
232      }
233      break;
234    }
235    case 'selection' :
236    {
237      if (isset($_POST['selection']))
238      {
239        $collection = $_POST['selection'];
240      }
241      break;
242    }
243  }
244
245  if (count($collection) == 0)
246  {
247    array_push($page['errors'], l10n('Select at least one user'));
248  }
249}
250
251// +-----------------------------------------------------------------------+
252// |                             delete users                              |
253// +-----------------------------------------------------------------------+
254if (isset($_POST['delete']) and count($collection) > 0)
255{
256  if (in_array($conf['webmaster_id'], $collection))
257  {
258    array_push($page['errors'], l10n('Webmaster cannot be deleted'));
259  }
260  elseif (in_array($user['id'], $collection))
261  {
262    array_push($page['errors'], l10n('You cannot delete your account'));
263  }
264  else
265  {
266    if (isset($_POST['confirm_deletion']) and 1 == $_POST['confirm_deletion'])
267    {
268      foreach ($collection as $user_id)
269      {
270        delete_user($user_id);
271      }
272      array_push(
273        $page['infos'],
274        sprintf(
275          l10n('%d users deleted'),
276          count($collection)
277          )
278        );
279      foreach ($page['filtered_users'] as $filter_key => $filter_user)
280      {
281        if (in_array($filter_user['id'], $collection))
282        {
283          unset($page['filtered_users'][$filter_key]);
284        }
285      }
286    }
287    else
288    {
289      array_push($page['errors'], l10n('You need to confirm deletion'));
290    }
291  }
292}
293
294// +-----------------------------------------------------------------------+
295// |                       preferences form submission                     |
296// +-----------------------------------------------------------------------+
297
298if (isset($_POST['pref_submit']) and count($collection) > 0)
299{
300  if (-1 != $_POST['associate'])
301  {
302    $datas = array();
303
304    $query = '
305SELECT user_id
306  FROM '.USER_GROUP_TABLE.'
307  WHERE group_id = '.$_POST['associate'].'
308;';
309    $associated = array_from_query($query, 'user_id');
310
311    $associable = array_diff($collection, $associated);
312
313    if (count($associable) > 0)
314    {
315      foreach ($associable as $item)
316      {
317        array_push($datas,
318                   array('group_id'=>$_POST['associate'],
319                         'user_id'=>$item));
320      }
321
322      mass_inserts(USER_GROUP_TABLE,
323                   array('group_id', 'user_id'),
324                   $datas);
325    }
326  }
327
328  if (-1 != $_POST['dissociate'])
329  {
330    $query = '
331DELETE FROM '.USER_GROUP_TABLE.'
332  WHERE group_id = '.$_POST['dissociate'].'
333  AND user_id IN ('.implode(',', $collection).')
334';
335    pwg_query($query);
336  }
337
338  // properties to set for the collection (a user list)
339  $datas = array();
340  $dbfields = array('primary' => array('user_id'), 'update' => array());
341
342  $formfields =
343    array('nb_image_line', 'nb_line_page', 'template', 'language',
344          'recent_period', 'maxwidth', 'expand', 'show_nb_comments',
345          'show_nb_hits', 'maxheight', 'status', 'enabled_high');
346
347  $true_false_fields = array('expand', 'show_nb_comments', 
348                       'show_nb_hits', 'enabled_high');
349  if ($conf['allow_adviser'])
350  {
351    array_push($formfields, 'adviser');
352    array_push($true_false_fields, 'adviser');
353  }
354
355  foreach ($formfields as $formfield)
356  {
357    // special for true/false fields
358    if (in_array($formfield, $true_false_fields))
359    {
360      $test = $formfield;
361    }
362    else
363    {
364      $test = $formfield.'_action';
365    }
366
367    if ($_POST[$test] != 'leave')
368    {
369      array_push($dbfields['update'], $formfield);
370    }
371  }
372
373  // updating elements is useful only if needed...
374  if (count($dbfields['update']) > 0)
375  {
376    $datas = array();
377
378    foreach ($collection as $user_id)
379    {
380      $data = array();
381      $data['user_id'] = $user_id;
382
383      // TODO : verify if submited values are semanticaly correct
384      foreach ($dbfields['update'] as $dbfield)
385      {
386        // if the action is 'unset', the key won't be in row and
387        // mass_updates function will set this field to NULL
388        if (in_array($dbfield, $true_false_fields)
389            or 'set' == $_POST[$dbfield.'_action'])
390        {
391          $data[$dbfield] = $_POST[$dbfield];
392        }
393      }
394
395      // Webmaster status must not be changed
396      if ($conf['webmaster_id'] == $user_id and isset($data['status']))
397      {
398        $data['status'] = 'webmaster';
399      }
400
401      // Webmaster and guest adviser must not be changed
402      if ((($conf['webmaster_id'] == $user_id) or ($conf['guest_id'] == $user_id)) and isset($data['adviser']))
403      {
404        $data['adviser'] = 'false';
405      }
406
407      array_push($datas, $data);
408    }
409
410    mass_updates(USER_INFOS_TABLE, $dbfields, $datas);
411  }
412
413  redirect(
414    PHPWG_ROOT_PATH.
415    'admin.php'.
416    get_query_string_diff(
417      array(
418        'start'
419        )
420      )
421    );
422}
423
424// +-----------------------------------------------------------------------+
425// |                              groups list                              |
426// +-----------------------------------------------------------------------+
427
428$groups = array();
429
430$query = '
431SELECT id, name
432  FROM '.GROUPS_TABLE.'
433;';
434$result = pwg_query($query);
435
436while ($row = mysql_fetch_array($result))
437{
438  $groups[$row['id']] = $row['name'];
439}
440
441// +-----------------------------------------------------------------------+
442// |                             template init                             |
443// +-----------------------------------------------------------------------+
444
445$template->set_filenames(array('user_list'=>'admin/user_list.tpl'));
446
447$base_url = PHPWG_ROOT_PATH.'admin.php?page=user_list';
448
449if (isset($_GET['start']) and is_numeric($_GET['start']))
450{
451  $start = $_GET['start'];
452}
453else
454{
455  $start = 0;
456}
457
458$template->assign_vars(
459  array(
460    'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=user_list',
461
462    'F_ADD_ACTION' => $base_url,
463    'F_USERNAME' => @htmlentities($_GET['username']),
464    'F_FILTER_ACTION' => PHPWG_ROOT_PATH.'admin.php'
465    ));
466
467if (isset($_GET['id']))
468{
469  $template->assign_block_vars('session', array('ID' => $_GET['id']));
470}
471
472// Hide radio-button if not allow to assign adviser
473if ($conf['allow_adviser'])
474{
475  $template->assign_block_vars('adviser', array());
476}
477
478foreach ($page['order_by_items'] as $item => $label)
479{
480  $selected = (isset($_GET['order_by']) and $_GET['order_by'] == $item) ?
481    'selected="selected"' : '';
482  $template->assign_block_vars(
483    'order_by',
484    array(
485      'VALUE' => $item,
486      'CONTENT' => $label,
487      'SELECTED' => $selected
488      ));
489}
490
491foreach ($page['direction_items'] as $item => $label)
492{
493  $selected = (isset($_GET['direction']) and $_GET['direction'] == $item) ?
494    'selected="selected"' : '';
495  $template->assign_block_vars(
496    'direction',
497    array(
498      'VALUE' => $item,
499      'CONTENT' => $label,
500      'SELECTED' => $selected
501      ));
502}
503
504$blockname = 'group_option';
505
506$template->assign_block_vars(
507  $blockname,
508  array(
509    'VALUE'=> -1,
510    'CONTENT' => '------------',
511    'SELECTED' => ''
512    ));
513
514foreach ($groups as $group_id => $group_name)
515{
516  $selected = (isset($_GET['group']) and $_GET['group'] == $group_id) ?
517    'selected="selected"' : '';
518  $template->assign_block_vars(
519    $blockname,
520    array(
521      'VALUE' => $group_id,
522      'CONTENT' => $group_name,
523      'SELECTED' => $selected
524      ));
525}
526
527$blockname = 'status_option';
528
529$template->assign_block_vars(
530  $blockname,
531  array(
532    'VALUE'=> -1,
533    'CONTENT' => '------------',
534    'SELECTED' => ''
535    ));
536
537foreach (get_enums(USER_INFOS_TABLE, 'status') as $status)
538{
539  $selected = (isset($_GET['status']) and $_GET['status'] == $status) ?
540    'selected="selected"' : '';
541  $template->assign_block_vars(
542    $blockname,
543    array(
544      'VALUE' => $status,
545      'CONTENT' => $lang['user_status_'.$status],
546      'SELECTED' => $selected
547      ));
548}
549
550// ---
551//   $user['template'] = $conf['default_template'];
552//   $user['nb_image_line'] = $conf['nb_image_line'];
553//   $user['nb_line_page'] = $conf['nb_line_page'];
554//   $user['language'] = $conf['default_language'];
555//   $user['maxwidth'] = $conf['default_maxwidth'];
556//   $user['maxheight'] = $conf['default_maxheight'];
557//   $user['recent_period'] = $conf['recent_period'];
558//   $user['expand'] = $conf['auto_expand'];
559//   $user['show_nb_comments'] = $conf['show_nb_comments'];
560//   $user['show_nb_hits'] = $conf['show_nb_hits'];
561// ---
562
563if (isset($_POST['pref_submit']))
564{
565//  echo '<pre>'; print_r($_POST); echo '</pre>';
566  $template->assign_vars(
567    array(
568      'ADVISER_YES' => 'true' == (isset($_POST['adviser']) and $_POST['adviser']) ? 'checked="checked"' : '',
569      'ADVISER_NO' => 'false' == (isset($_POST['adviser']) and $_POST['adviser']) ? 'checked="checked"' : '',
570      'NB_IMAGE_LINE' => $_POST['nb_image_line'],
571      'NB_LINE_PAGE' => $_POST['nb_line_page'],
572      'MAXWIDTH' => $_POST['maxwidth'],
573      'MAXHEIGHT' => $_POST['maxheight'],
574      'RECENT_PERIOD' => $_POST['recent_period'],
575      'EXPAND_YES' => 'true' == $_POST['expand'] ? 'checked="checked"' : '',
576      'EXPAND_NO' => 'false' == $_POST['expand'] ? 'checked="checked"' : '',
577      'SHOW_NB_COMMENTS_YES' =>
578        'true' == $_POST['show_nb_comments'] ? 'checked="checked"' : '',
579      'SHOW_NB_COMMENTS_NO' =>
580        'false' == $_POST['show_nb_comments'] ? 'checked="checked"' : '',
581      'SHOW_NB_HITS_YES' =>
582        'true' == $_POST['show_nb_hits'] ? 'checked="checked"' : '',
583      'SHOW_NB_HITS_NO' =>
584        'false' == $_POST['show_nb_hits'] ? 'checked="checked"' : '',
585      'ENABLED_HIGH_YES' => 'true' == $_POST['enabled_high'] ? 'checked="checked"' : '',
586      'ENABLED_HIGH_NO' => 'false' == $_POST['enabled_high'] ? 'checked="checked"' : '',
587      ));
588}
589else
590{
591  $template->assign_vars(
592    array(
593      'NB_IMAGE_LINE' => $conf['nb_image_line'],
594      'NB_LINE_PAGE' => $conf['nb_line_page'],
595      'MAXWIDTH' => @$conf['default_maxwidth'],
596      'MAXHEIGHT' => @$conf['default_maxheight'],
597      'RECENT_PERIOD' => $conf['recent_period'],
598      ));
599}
600
601$blockname = 'template_option';
602
603foreach (get_pwg_themes() as $pwg_template)
604{
605  if (isset($_POST['pref_submit']))
606  {
607    $selected = $_POST['template']==$pwg_template ? 'selected="selected"' : '';
608  }
609  else if ($conf['default_template'] == $pwg_template)
610  {
611    $selected = 'selected="selected"';
612  }
613  else
614  {
615    $selected = '';
616  }
617
618  $template->assign_block_vars(
619    $blockname,
620    array(
621      'VALUE'=> $pwg_template,
622      'CONTENT' => $pwg_template,
623      'SELECTED' => $selected
624      ));
625}
626
627$blockname = 'language_option';
628
629foreach (get_languages() as $language_code => $language_name)
630{
631  if (isset($_POST['pref_submit']))
632  {
633    $selected = $_POST['language']==$language_code ? 'selected="selected"':'';
634  }
635  else if ($conf['default_language'] == $language_code)
636  {
637    $selected = 'selected="selected"';
638  }
639  else
640  {
641    $selected = '';
642  }
643
644  $template->assign_block_vars(
645    $blockname,
646    array(
647      'VALUE'=> $language_code,
648      'CONTENT' => $language_name,
649      'SELECTED' => $selected
650      ));
651}
652
653$blockname = 'pref_status_option';
654
655foreach (get_enums(USER_INFOS_TABLE, 'status') as $status)
656{
657  if (isset($_POST['pref_submit']))
658  {
659    $selected = $_POST['status'] == $status ? 'selected="selected"' : '';
660  }
661  else if ('normal' == $status)
662  {
663    $selected = 'selected="selected"';
664  }
665  else
666  {
667    $selected = '';
668  }
669
670  // Only status <= can be assign
671  if (is_autorize_status(get_access_type_status($status)))
672  {
673    $template->assign_block_vars(
674      $blockname,
675      array(
676        'VALUE' => $status,
677        'CONTENT' => $lang['user_status_'.$status],
678        'SELECTED' => $selected
679        ));
680  }
681}
682
683// associate
684$blockname = 'associate_option';
685
686$template->assign_block_vars(
687  $blockname,
688  array(
689    'VALUE'=> -1,
690    'CONTENT' => '------------',
691    'SELECTED' => ''
692    ));
693
694foreach ($groups as $group_id => $group_name)
695{
696  if (isset($_POST['pref_submit']))
697  {
698    $selected = $_POST['associate'] == $group_id ? 'selected="selected"' : '';
699  }
700  else
701  {
702    $selected = '';
703  }
704
705  $template->assign_block_vars(
706    $blockname,
707    array(
708      'VALUE' => $group_id,
709      'CONTENT' => $group_name,
710      'SELECTED' => $selected
711      ));
712}
713
714// dissociate
715$blockname = 'dissociate_option';
716
717$template->assign_block_vars(
718  $blockname,
719  array(
720    'VALUE'=> -1,
721    'CONTENT' => '------------',
722    'SELECTED' => ''
723    ));
724
725foreach ($groups as $group_id => $group_name)
726{
727  if (isset($_POST['pref_submit']))
728  {
729    $selected = $_POST['dissociate'] == $group_id ? 'selected="selected"' : '';
730  }
731  else
732  {
733    $selected = '';
734  }
735
736  $template->assign_block_vars(
737    $blockname,
738    array(
739      'VALUE' => $group_id,
740      'CONTENT' => $group_name,
741      'SELECTED' => $selected
742      ));
743}
744
745// +-----------------------------------------------------------------------+
746// |                            navigation bar                             |
747// +-----------------------------------------------------------------------+
748
749$url = PHPWG_ROOT_PATH.'admin.php'.get_query_string_diff(array('start'));
750
751$navbar = create_navigation_bar(
752  $url,
753  count($page['filtered_users']),
754  $start,
755  $conf['users_page']
756  );
757
758$template->assign_vars(array('NAVBAR' => $navbar));
759
760// +-----------------------------------------------------------------------+
761// |                               user list                               |
762// +-----------------------------------------------------------------------+
763
764$profile_url = get_root_url().'admin.php?page=profile&amp;user_id=';
765$perm_url = get_root_url().'admin.php?page=user_perm&amp;user_id=';
766
767foreach ($page['filtered_users'] as $num => $local_user)
768{
769  // simulate LIMIT $start, $conf['users_page']
770  if ($num < $start)
771  {
772    continue;
773  }
774  if ($num >= $start + $conf['users_page'])
775  {
776    break;
777  }
778
779  $groups_string = preg_replace(
780    '/(\d+)/e',
781    "\$groups['$1']",
782    implode(
783      ', ',
784      $local_user['groups']
785      )
786    );
787
788  if (isset($_POST['pref_submit'])
789      and isset($_POST['selection'])
790      and in_array($local_user['id'], $_POST['selection']))
791  {
792    $checked = 'checked="checked"';
793  }
794  else
795  {
796    $checked = '';
797  }
798
799  $template->assign_block_vars(
800    'user',
801    array(
802      'CLASS' => ($num % 2 == 1) ? 'row2' : 'row1',
803      'ID' => $local_user['id'],
804      'CHECKED' => $checked,
805      'U_PROFILE' => $profile_url.$local_user['id'],
806      'U_PERM' => $perm_url.$local_user['id'],
807      'USERNAME' => $local_user['username'],
808      'STATUS' => $lang['user_status_'.$local_user['status']].(($local_user['adviser'] == 'true') ? ' ['.$lang['adviser'].']' : ''),
809      'EMAIL' => get_email_address_as_display_text($local_user['email']),
810      'GROUPS' => $groups_string,
811      'PROPERTIES' => (isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true')) ? $lang['is_high_enabled'] : $lang['is_high_disabled']
812      )
813    );
814}
815
816// +-----------------------------------------------------------------------+
817// |                           html code display                           |
818// +-----------------------------------------------------------------------+
819
820$template->assign_var_from_handle('ADMIN_CONTENT', 'user_list');
821?>
Note: See TracBrowser for help on using the repository browser.