query("UPDATE ".$table_prefix.'ink'." SET ".urldecode($_GET["definition"])." = '".urldecode($_GET["value"])."' WHERE element = '".urldecode($_GET["element"])."' AND theme = '".get_option('template')."'"); write_ink_definitions(); } if(isset($_GET["option"]) && isset($_GET["value"])) { update_option($_GET["option"], $_GET["value"]); } if(isset($_GET["restore"]) && $_GET["restore"] == 'true') { ink_clean_install(); canvas_check_theme(); } } ?>