임시저장 xml 버전

This commit is contained in:
gnuboard
2013-07-08 17:57:58 +09:00
parent d5983f2842
commit 965a73c9dc
5 changed files with 73 additions and 37 deletions

15
bbs/ajax.autosavedel.php Normal file
View File

@ -0,0 +1,15 @@
<?php
include_once("./_common.php");
if (!$is_member) die("0");
$as_id = (int)$_REQUEST['as_id'];
$sql = " delete from {$g4['autosave_table']} where mb_id = '{$member['mb_id']}' and as_id = {$as_id} ";
$result = sql_query($sql);
if (!$result) {
echo "-1";
}
echo autosave_count($member['mb_id']);
?>