- Timestamp:
- Mar 9, 2006, 11:46:28 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/about.php
r1004 r1072 29 29 define('PHPWG_ROOT_PATH','./'); 30 30 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 31 32 // +-----------------------------------------------------------------------+ 33 // | Check Access and exit when user status is not ok | 34 // +-----------------------------------------------------------------------+ 35 check_status(ACCESS_GUEST); 36 31 37 //----------------------------------------------------- template initialization 32 38 // -
trunk/admin.php
r1071 r1072 30 30 define('IN_ADMIN', true); 31 31 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 32 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' ); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/cat_list.php
r1066 r1072 30 30 die('Hacking attempt!'); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/cat_modify.php
r1064 r1072 30 30 die('Hacking attempt!'); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 39 33 40 //---------------------------------------------------------------- verification 34 41 if ( !isset( $_GET['cat_id'] ) || !is_numeric( $_GET['cat_id'] ) ) -
trunk/admin/cat_move.php
r1004 r1072 30 30 die('Hacking attempt!'); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/cat_options.php
r1004 r1072 30 30 die ("Hacking attempt!"); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/cat_perm.php
r1004 r1072 30 30 die ("Hacking attempt!"); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/comments.php
r1004 r1072 30 30 die ("Hacking attempt!"); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/configuration.php
r1071 r1072 28 28 if( !defined("PHPWG_ROOT_PATH") ) 29 29 { 30 die ("Hacking attempt!"); 31 } 32 33 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' ); 30 die ("Hacking attempt!"); 31 } 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 39 34 40 //-------------------------------------------------------- sections definitions 35 41 if (!isset($_GET['section'])) -
trunk/admin/element_set.php
r1017 r1072 36 36 die('Hacking attempt!'); 37 37 } 38 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 38 39 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 40 41 // +-----------------------------------------------------------------------+ 42 // | Check Access and exit when user status is not ok | 43 // +-----------------------------------------------------------------------+ 44 check_status(ACCESS_ADMINISTRATOR); 39 45 40 46 // +-----------------------------------------------------------------------+ -
trunk/admin/element_set_global.php
r1065 r1072 36 36 die('Hacking attempt!'); 37 37 } 38 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 38 39 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 40 41 // +-----------------------------------------------------------------------+ 42 // | Check Access and exit when user status is not ok | 43 // +-----------------------------------------------------------------------+ 44 check_status(ACCESS_ADMINISTRATOR); 39 45 40 46 // +-----------------------------------------------------------------------+ -
trunk/admin/element_set_unit.php
r1004 r1072 36 36 die('Hacking attempt!'); 37 37 } 38 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 38 39 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 40 41 // +-----------------------------------------------------------------------+ 42 // | Check Access and exit when user status is not ok | 43 // +-----------------------------------------------------------------------+ 44 check_status(ACCESS_ADMINISTRATOR); 39 45 40 46 // +-----------------------------------------------------------------------+ -
trunk/admin/group_list.php
r1004 r1072 30 30 die ("Hacking attempt!"); 31 31 } 32 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' ); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/group_perm.php
r1004 r1072 30 30 die ("Hacking attempt!"); 31 31 } 32 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' ); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/help.php
r879 r1072 26 26 // +-----------------------------------------------------------------------+ 27 27 28 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' ); 28 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 29 30 // +-----------------------------------------------------------------------+ 31 // | Check Access and exit when user status is not ok | 32 // +-----------------------------------------------------------------------+ 33 check_status(ACCESS_ADMINISTRATOR); 29 34 30 35 $template->set_filenames( -
trunk/admin/images/daily_stats.img.php
r918 r1072 29 29 define('IN_ADMIN', true); 30 30 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 31 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php');31 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 32 32 include_once( 'phpBarGraph.php' ); 33 34 // +-----------------------------------------------------------------------+ 35 // | Check Access and exit when user status is not ok | 36 // +-----------------------------------------------------------------------+ 37 check_status(ACCESS_ADMINISTRATOR); 33 38 34 39 //------------------------------------------------ variable definition -
trunk/admin/images/global_stats.img.php
r685 r1072 29 29 define('IN_ADMIN', true); 30 30 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 31 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php');31 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 32 32 include_once( 'phpBarGraph.php' ); 33 34 // +-----------------------------------------------------------------------+ 35 // | Check Access and exit when user status is not ok | 36 // +-----------------------------------------------------------------------+ 37 check_status(ACCESS_ADMINISTRATOR); 33 38 34 39 //------------------------------------------------ variable definition -
trunk/admin/images/monthly_stats.img.php
r918 r1072 29 29 define('IN_ADMIN', true); 30 30 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 31 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php');31 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 32 32 include_once( 'phpBarGraph.php' ); 33 34 // +-----------------------------------------------------------------------+ 35 // | Check Access and exit when user status is not ok | 36 // +-----------------------------------------------------------------------+ 37 check_status(ACCESS_ADMINISTRATOR); 33 38 34 39 //------------------------------------------------ variable definition -
trunk/admin/include/isadmin.inc.php
r1070 r1072 26 26 // +-----------------------------------------------------------------------+ 27 27 28 include ( PHPWG_ROOT_PATH.'admin/include/functions.php');28 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 29 29 30 if (!is_admin()) 30 // +-----------------------------------------------------------------------+ 31 // | Check Access and exit when user status is not ok | 32 // +-----------------------------------------------------------------------+ 33 check_status(ACCESS_ADMINISTRATOR); 34 35 /*if (!is_admin()) 31 36 { 32 37 echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />'; 33 38 echo '<a href="'.PHPWG_ROOT_PATH.'identification.php">'.$lang['identification'].'</a></div>'; 34 39 exit(); 35 } 40 }*/ 41 36 42 ?> -
trunk/admin/intro.php
r1004 r1072 30 30 die ("Hacking attempt!"); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/mailtousers.php
r1070 r1072 35 35 die ("Hacking attempt!"); 36 36 } 37 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 37 38 38 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 39 39 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 40 40 include_once(PHPWG_ROOT_PATH.'include/common.inc.php'); 41 41 include_once(PHPWG_ROOT_PATH.'include/functions_notification.inc.php'); 42 42 include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); 43 44 // +-----------------------------------------------------------------------+ 45 // | Check Access and exit when user status is not ok | 46 // +-----------------------------------------------------------------------+ 47 check_status(ACCESS_ADMINISTRATOR); 43 48 44 49 // +-----------------------------------------------------------------------+ -
trunk/admin/maintenance.php
r1064 r1072 30 30 die ("Hacking attempt!"); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/picture_modify.php
r1065 r1072 30 30 die('Hacking attempt!'); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/rating.php
r1064 r1072 30 30 die ("Hacking attempt!"); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 33 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 34 39 35 40 // +-----------------------------------------------------------------------+ -
trunk/admin/site_manager.php
r1058 r1072 30 30 die ("Hacking attempt!"); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 /** -
trunk/admin/site_update.php
r1064 r1072 30 30 die('Hacking attempt!'); 31 31 } 32 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 if (!is_numeric($_GET['site'])) -
trunk/admin/stats.php
r1038 r1072 29 29 die ("Hacking attempt!"); 30 30 } 31 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' ); 31 32 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 33 34 // +-----------------------------------------------------------------------+ 35 // | Check Access and exit when user status is not ok | 36 // +-----------------------------------------------------------------------+ 37 check_status(ACCESS_ADMINISTRATOR); 32 38 33 39 $url_img = PHPWG_ROOT_PATH.'admin/images/'; -
trunk/admin/thumbnail.php
r1004 r1072 25 25 // | USA. | 26 26 // +-----------------------------------------------------------------------+ 27 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' ); 27 28 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 29 30 // +-----------------------------------------------------------------------+ 31 // | Check Access and exit when user status is not ok | 32 // +-----------------------------------------------------------------------+ 33 check_status(ACCESS_ADMINISTRATOR); 34 28 35 //------------------------------------------------------------------- functions 29 36 // RatioResizeImg creates a new picture (a thumbnail since it is supposed to -
trunk/admin/user_list.php
r1070 r1072 168 168 die('Hacking attempt!'); 169 169 } 170 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 170 171 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 172 173 // +-----------------------------------------------------------------------+ 174 // | Check Access and exit when user status is not ok | 175 // +-----------------------------------------------------------------------+ 176 check_status(ACCESS_ADMINISTRATOR); 171 177 172 178 $page['order_by_items'] = array( -
trunk/admin/user_perm.php
r1004 r1072 30 30 die('Hacking attempt!'); 31 31 } 32 include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 32 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_ADMINISTRATOR); 33 39 34 40 // +-----------------------------------------------------------------------+ -
trunk/admin/waiting.php
r1004 r1072 29 29 die ("Hacking attempt!"); 30 30 } 31 include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); 31 32 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 33 34 // +-----------------------------------------------------------------------+ 35 // | Check Access and exit when user status is not ok | 36 // +-----------------------------------------------------------------------+ 37 check_status(ACCESS_ADMINISTRATOR); 38 32 39 //--------------------------------------------------------------------- updates 33 40 -
trunk/category.php
r1070 r1072 29 29 define('PHPWG_ROOT_PATH','./'); 30 30 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 31 32 // +-----------------------------------------------------------------------+ 33 // | Check Access and exit when user status is not ok | 34 // +-----------------------------------------------------------------------+ 35 check_status(ACCESS_GUEST); 36 31 37 //---------------------------------------------------------------------- logout 32 38 if ( isset( $_GET['act'] ) … … 360 366 { 361 367 $template->assign_block_vars('hello', array()); 362 $template->assign_block_vars('profile', array()); 368 369 if (is_autorize_status(ACCESS_CLASSIC)) 370 { 371 $template->assign_block_vars('profile', array()); 372 } 363 373 364 374 // the logout link has no meaning with Apache authentication : it is not -
trunk/comments.php
r1004 r1072 34 34 include_once(PHPWG_ROOT_PATH.'include/common.inc.php'); 35 35 } 36 37 // +-----------------------------------------------------------------------+ 38 // | Check Access and exit when user status is not ok | 39 // +-----------------------------------------------------------------------+ 40 check_status(ACCESS_GUEST); 36 41 37 42 $sort_order = array( -
trunk/include/constants.php
r1064 r1072 38 38 define('CRITICAL_ERROR', 204); 39 39 40 // Access codes 41 define('ACCESS_NONE', 0); 42 define('ACCESS_GUEST', 1); 43 define('ACCESS_CLASSIC', 2); 44 define('ACCESS_ADMINISTRATOR', 3); 45 define('ACCESS_WEBMASTER', 4); 46 40 47 // Table names 41 48 define('CATEGORIES_TABLE', $prefixeTable.'categories'); -
trunk/include/functions_user.inc.php
r1070 r1072 538 538 539 539 /* 540 * Return if current is an administrator 540 * Return if current user have access to access_type definition 541 * Test does with user status 542 * @return bool 543 */ 544 function is_autorize_status($access_type) 545 { 546 global $user; 547 548 $access_type_status = ACCESS_NONE; 549 if (isset($user['status'])) 550 { 551 switch ($user['status']) 552 { 553 case 'guest': 554 case 'generic': 555 { 556 $access_type_status = ACCESS_GUEST; 557 break; 558 } 559 case 'normal': 560 { 561 $access_type_status = ACCESS_CLASSIC; 562 break; 563 } 564 case 'admin': 565 { 566 $access_type_status = ACCESS_ADMINISTRATOR; 567 break; 568 } 569 case 'webmaster': 570 { 571 $access_type_status = ACCESS_WEBMASTER; 572 break; 573 } 574 } 575 } 576 577 return ($access_type_status >= $access_type); 578 } 579 580 /* 581 * Check if current user have access to access_type definition 582 * Stop action if there are not access 583 * Test does with user status 584 * @return none 585 */ 586 function check_status($access_type) 587 { 588 global $lang; 589 590 if (!is_autorize_status($access_type)) 591 { 592 echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />'; 593 echo '<a href="'.PHPWG_ROOT_PATH.'identification.php">'.$lang['identification'].'</a></div>'; 594 exit(); 595 } 596 } 597 598 /* 599 * Return if current user is an administrator 541 600 * @return bool 542 601 */ 543 602 function is_admin() 544 603 { 545 global $user; 546 547 return ($user['status'] == 'webmaster' or $user['status'] == 'admin') ? true : false; 604 return is_autorize_status(ACCESS_ADMINISTRATOR); 548 605 } 549 606 -
trunk/notification.php
r1004 r1072 32 32 define('PHPWG_ROOT_PATH','./'); 33 33 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_GUEST); 34 39 35 40 // +-----------------------------------------------------------------------+ -
trunk/picture.php
r1070 r1072 31 31 include_once(PHPWG_ROOT_PATH.'include/common.inc.php'); 32 32 33 // +-----------------------------------------------------------------------+ 34 // | Check Access and exit when user status is not ok | 35 // +-----------------------------------------------------------------------+ 36 check_status(ACCESS_GUEST); 37 33 38 include(PHPWG_ROOT_PATH.'include/section_init.inc.php'); 34 39 //-------------------------------------------------- access authorization check -
trunk/popuphelp.php
r1071 r1072 33 33 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 34 34 35 // +-----------------------------------------------------------------------+ 36 // | Check Access and exit when user status is not ok | 37 // +-----------------------------------------------------------------------+ 38 check_status(ACCESS_GUEST); 39 35 40 $page['body_id'] = 'thePopuphelpPage'; 36 41 $title = l10n('PhpWebGallery Help'); -
trunk/profile.php
r1050 r1072 33 33 define('PHPWG_ROOT_PATH','./'); 34 34 include_once(PHPWG_ROOT_PATH.'include/common.inc.php'); 35 36 // +-----------------------------------------------------------------------+ 37 // | Check Access and exit when user status is not ok | 38 // +-----------------------------------------------------------------------+ 39 check_status(ACCESS_CLASSIC); 35 40 36 41 if ($user['is_the_guest'] and !$guest_allowed) -
trunk/random.php
r1004 r1072 31 31 define('PHPWG_ROOT_PATH','./'); 32 32 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 33 34 // +-----------------------------------------------------------------------+ 35 // | Check Access and exit when user status is not ok | 36 // +-----------------------------------------------------------------------+ 37 check_status(ACCESS_GUEST); 38 33 39 // +-----------------------------------------------------------------------+ 34 40 // | generate random element list | -
trunk/search.php
r1059 r1072 29 29 define('PHPWG_ROOT_PATH','./'); 30 30 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 31 32 // +-----------------------------------------------------------------------+ 33 // | Check Access and exit when user status is not ok | 34 // +-----------------------------------------------------------------------+ 35 check_status(ACCESS_GUEST); 36 31 37 //------------------------------------------------------------------ form check 32 38 $errors = array();
Note: See TracChangeset
for help on using the changeset viewer.