Blame | Letzte Änderung | Log anzeigen | RSS feed
<?php/*** @package Content-management* @author Lars Tiefland <tiefland@weban.de>* @copyright 2009 Webagentur Niewerth* @license propietary http://www.weban.de* @version $Rev: 3361 $* @filesource**//**** @package Content-management* @author Lars Tiefland <tiefland@weban.de>* @copyright 2009 Webagentur Niewerth*/// SVN: $Id: save_profile.php 3361 2011-02-24 15:34:41Z tiefland $require_once "connect2.php";if ( $mode == "del" ){$sql = "DELETE FROMcontent_management.user_profilesWHEREu_id=" . $_SESSION["U_ID"] . "ANDid=" . $_GET["id"] . "ANDw_id=" . $webs["ID"] . "ANDtype='" . $_GET["type"] . "'";}else{$sql = "REPLACE INTOcontent_management.user_profiles(u_id,name,type,w_id,`values`)VALUES(" . $_SESSION["U_ID"] . ",'" . $_GET["name"] . "','" . $_GET["type"] . "'," . $webs["ID"] . ",'" . serialize( $_SESSION["quick_edit_config.php"] ) . "')";}mysql_query( $sql, $localhost_dbh );header( "Location: quick_edit_config.php" );?>