Location: PHPKode > projects > Aratix > aratix/admin/inc/config.inc.php
<?php
/*
** Aratix
** Version 0.1.0beta8 (Anubis)
**
** Autor: Manuel Burghammer
** E-Mail: hide@address.com
** Homepage: http://www.xitara.net
**
** File: config.inc.php - Version 0.1.0 build 31
** Position: /admin/inc/
** Last Modified: 10.06.2006 - 19:42:41
*/

if(get('submit')){
	$var = array();
	$data = array();
	$var_array = "author;;cgi_path;;description;;keywords;;language;;layout;;path;;perl_path;;admin_folder;;cgi_folder;;folder;;rewrite;;session_length;;session_timeout;;title;;update_check;;reply_mail;;from_mail";

	$var = explode(";;", $var_array);

	foreach($var as $item){
		$db->update(TB_CONFIG, "text", get($item), "var='" . $item . "'");
	}
}
$layout_list = $db->read_array(TB_LAYOUTS, "id, name, description", "", "name, id ASC");
$language_list = $db->read_array(TB_LANG, "id, language", "", "language ASC");
$content->assign("layout_list", $layout_list);
$content->assign("language_list", $language_list);
$content->assign("url", $url)
?>
Return current item: Aratix