Location: PHPKode > projects > O - OpenSource GroupWare > osgw/users/edit_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)
***************************************************************************/
/*$Id: edit_service.php,v 1.5 2003/12/10 04:53:28 rthomp Exp $*/
include("./data.php");
$service['add_header'] = TRUE;
include("../config.inc.php");
include($here. "/class.preferences.php");
$prefs = new preferences;

echo $layout->page_header;
echo $layout->service_header($text['service_name'], $prefs->nav_buttons(), $lang->get_msg('service_name', $_GET['s']));

echo "<br />";

$db->query("SELECT location FROM o_services WHERE code='{$_GET['s']}'");
$db->fetch_results();


include("{$O->dir}/{$db->record['location']}/data.php");
include("{$O->dir}/{$db->record['location']}/preferences.php");

echo "<br />";


echo $layout->create_footer();
?>

Return current item: O - OpenSource GroupWare