$str = <<<str
<script>
alert('删除成功');
// 删除完成后跳转到首页
location.href='./index.php';
</script>
str;
echo $str;
  [gallery ids="25"]