Location: PHPKode > projects > O - OpenSource GroupWare > osgw/admin/update_service.php
<?php
/**************************************************************************
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   @Authors:	Ryan Thompson(hide@address.com)
***************************************************************************/

include("./data.php");
$service['add_header'] = TRUE;
include("../config.inc.php");

include($here. "/class.admin.php");
$admin = new admin;
echo $layout->page_header;

$sql = "SELECT location FROM o_services WHERE code='{$_GET['s']}'";
$db->query($sql);
$db->fetch_results();
$location = $db->record['location'];
include($O->dir ."/{$db->record['location']}/data.php");

echo $layout->service_header($text['service_name'] . ' - '. $text['manage'] .' '. $service['name'], $admin->nav_buttons());


include($O->dir ."/$location/admin.php");

echo $layout->create_footer();
?>
Return current item: O - OpenSource GroupWare