<?php require_once('includes/requirecompere.inc.php'); $o_id=TGET('o_id'); if (!$o_id) { redirect("./"); return; } $DBConn->connect(); $DBConn->begin(true); $option=db_load_option_by_id($DBConn,$o_id,false,false,true); if ($option['mb_id_owner']==current_mb_id()) db_delete_option($DBConn,$o_id); $DBConn->commit(); redirect("qx-cmd-option.delete.done-o_id-".$o_id.".html"); ?>