그누보드5

This commit is contained in:
gnuboard
2013-09-13 11:03:33 +09:00
parent 04c3efa279
commit 41d21074b5
974 changed files with 147770 additions and 0 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 {$g5['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']);
?>