欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
建站教程>CMS建站>帝國cms刪除分類(lèi)信息密碼
帝國cms刪除分類(lèi)信息密碼
-
<?php
if($navinfor['password'])
{
echo "<a href='/e/delnews/fwxx.php?classid=[!--self.classid--]&id=22' target='_blank'>刪除信息</a>(需密碼)";
}
?>
這個(gè)文件下的內容
<?php
require("../class/connect.php");
include("../class/db_sql.php");
include("../class/config.php");
$link=db_connect();
$empire=new mysqlquery();
$id=(int)$_GET['id'];
$classid=(int)$_GET['classid'];
//檢查參數
if(!$classid || !$id)
{
echo"<script>alert('Error!');history.go(-1);</script>";
exit();
}
if ($_POST['enews']=='DelNews')
{
$key=$_POST['key'];
$password=$_POST['password'];
//驗證碼
$checkplkey = getcvar ('checkplkey');
if (($key != $checkplkey OR empty ($checkplkey)))
{
printerror ('FailKey', 'history.go(-1)', 1);
}
$query="select password,id,title from {$dbtbpre}ecms_fwxx where id='$id' and classid='$classid'";
$r=$empire->fetch1($query);
if(!$r[id] or !$r[password])
{
echo"<script>alert('此信息密碼為空或不存在,不能刪除!');history.go(-1);</script>";
exit();
}
//驗證信息密碼
if ($password==$r[password])
{
$r=$empire->query("update {$dbtbpre}ecms_fwxx set checked='0' where classid='$classid' and id='$id'");
echo"<script>alert('您的刪除請求已提交,該信息將在12小時(shí)內刪除!');window.location='/';</script>";
}
else
{
echo"<script>alert('信息密碼錯誤,請核對密碼后再試!');window.location='fwxx.php?classid=$classid&id=$id';</script>";
}
}
else
{
?>
<script language="javascript" type="text/javascript">
function checkForm()
{
var frm;
frm = document.getElementById("form1");
if(frm.password.value == ""){
alert("密碼不能為空!");
frm.password.focus();
return false;
}
if(frm.key.value.length < 4){
alert("請填寫(xiě)驗證碼");
frm.key.focus();
return false;
}
return true;
}
</script>
<?
include("../data/template/cp_1.php");
?>
<body onLoad="document.form1.password.focus()">
<form action="fwxx.php?classid=<?=$classid?>&id=<?=$id?>" method="post" name="form1" id="form1" onSubmit="return checkForm()">
<input name="enews" type="hidden" value="DelNews">
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#A3E7AD">
<tr>
<td height="30" colspan="2" bgcolor="#EBF8E1">&nbsp;&nbsp;<img src="../../265nn_images/icon_w.gif" width="10" height="13" align="absmiddle" /> <span class="000000_s">憑密碼刪除信息</span></td>
</tr>
<tr>
<td width="46%" align="right" bgcolor="#FFFFFF">請輸入您發(fā)布信息時(shí)設定的管理密碼:</td>
<td width="54%" bgcolor="#FFFFFF"><input type="password" id="password" name="password" /></td>
</tr>
<tr>
<td align="right" bgcolor="#FFFFFF">請輸入驗證碼:</td>
<td bgcolor="#FFFFFF"><input name="key" type="text" id="key" size="4" />
<img src="/e/ShowKey?ecms" alt="驗證碼" align="absmiddle"> <span class="notes">請輸入圖中的4位數字</span></td>
</tr>
<tr>
<td height="50" colspan="2" bgcolor="#FFFFFF" align="center"><input name="Submit" type="image" id="Submit" value="確 定" src="../../265nn_images/banner_tj.gif"></td>
</tr>
</table></td>
</tr>
</table>
</form>
<?
include("../data/template/cp_2.php");
?>
<?
}
?>
本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
帝國cms 經(jīng)常會(huì )常用變量總結
【教程】帝國CMS實(shí)現提交評論后自動(dòng)重新生成內容頁(yè)的方法
表單中有三個(gè)提交按鈕,想實(shí)現點(diǎn)擊不同的按鈕,實(shí)現不同的操作
帝國cms文章內容tags關(guān)鍵詞設置調用方法以及tags靜態(tài)化
人人學(xué)建站 教你選擇適合自己的建站程序
詳細介紹如何使用kindEditor編輯器
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久