2022-09-17 20:50:50 +09:00
|
|
|
<?php
|
|
|
|
|
include_once("./_common.php");
|
|
|
|
|
|
2024-09-19 20:57:39 +09:00
|
|
|
if (!$is_member)
|
|
|
|
|
die("0");
|
2022-09-17 20:50:50 +09:00
|
|
|
|
2024-09-19 20:57:39 +09:00
|
|
|
$as_id = (int) $_REQUEST['as_id'];
|
2022-09-17 20:50:50 +09:00
|
|
|
|
|
|
|
|
$sql = " delete from {$g5['autosave_table']} where mb_id = '{$member['mb_id']}' and as_id = {$as_id} ";
|
|
|
|
|
$result = sql_query($sql);
|
|
|
|
|
if (!$result) {
|
2024-09-19 20:57:39 +09:00
|
|
|
echo "-1";
|
2022-09-17 20:50:50 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
echo autosave_count($member['mb_id']);
|