增加 申请收录后台设置 暂未完善
This commit is contained in:
parent
ed26943a1a
commit
46b969c6ac
|
@ -68,12 +68,13 @@ elseif ($set == 'status') {
|
||||||
$sw = $_GET['sw'];
|
$sw = $_GET['sw'];
|
||||||
$sql = "UPDATE `lylme_apply` SET `apply_status` = '".$sw."' WHERE `lylme_apply`.`apply_id` = ".$id.";";
|
$sql = "UPDATE `lylme_apply` SET `apply_status` = '".$sw."' WHERE `lylme_apply`.`apply_id` = ".$id.";";
|
||||||
|
|
||||||
if ($DB->query($sql)) {echo '<script>window.location.href="./apply.php";</script>';
|
if ($DB->query($sql)) {
|
||||||
if($sw==1){
|
if($sw==1){
|
||||||
echo '<script>alert("功能开发中!");history.go(-1);</script>';
|
echo '<script>alert("功能开发中!");</script>';
|
||||||
// $sql = "INSERT INTO `lylme_links` (`id`, `name`, `group_id`, `url`, `icon`, `PS`,`link_order`) VALUES (NULL, '" . $name . "', '" . $group_id . "', '" . $url . "', '" . $icon . "', '" . $mail ."的提交', '" . $link_order . "');";
|
// $sql = "INSERT INTO `lylme_links` (`id`, `name`, `group_id`, `url`, `icon`, `PS`,`link_order`) VALUES (NULL, '" . $name . "', '" . $group_id . "', '" . $url . "', '" . $icon . "', '" . $mail ."的提交', '" . $link_order . "');";
|
||||||
// $DB->query($sql);
|
// $DB->query($sql);
|
||||||
}
|
}
|
||||||
|
echo '<script>window.location.href="./apply.php";</script>';
|
||||||
}
|
}
|
||||||
else echo '<script>alert("审核失败!");history.go(-1);</script>';
|
else echo '<script>alert("审核失败!");history.go(-1);</script>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue