// Common functions
require_once 'plc_functions.php';
-require_once 'plc_sorts.php';
// Print header
require_once 'plc_drupal.php';
// if no id redirect
-if( !$_GET['id'] ) {
- header( "location: index.php" );
- exit();
- }
+if( !$_GET['id'] )
+ plc_redirect (l_sites());
// set the site_id
$site_id= $_GET['id'];