Beispiel #1
0
    }
    $where = substr($where, 5);
    $sql = $empire->query("delete from {$dbtbpre}enewsgbook where " . $where);
    insert_dolog("");
    //操作日志
    printerror("DelGbookSuccess", "DelMoreGbook.php" . hReturnEcmsHashStrHref2(1));
}
$enews = $_POST['enews'];
if ($enews) {
    hCheckEcmsRHash();
}
if ($enews == 'DelMoreGbook') {
    @set_time_limit(0);
    DelMoreGbook($_POST, $logininid, $loginin);
}
$gbclass = ReturnGbookClass(0, 0);
db_close();
$empire = null;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>批量删除留言</title>
<link href="../adminstyle/<?php 
echo $loginadminstyleid;
?>
/adminstyle.css" rel="stylesheet" type="text/css">
<script src="../ecmseditor/fieldfile/setday.js"></script>
</head>
Beispiel #2
0
        } else {
            $add .= $and . "ip like '%{$keyboard}%'";
        }
        $and = ' and ';
        $search .= "&show={$show}&keyboard={$keyboard}";
    }
}
$query = "select lyid,name,email,`mycall`,lytime,lytext,retext,bid,ip,checked,userid,username,eipport from {$dbtbpre}enewsgbook" . $add;
$totalquery = "select count(*) as total from {$dbtbpre}enewsgbook" . $add;
$num = $empire->gettotal($totalquery);
//取得总条数
$query = $query . " order by lyid desc limit {$offset},{$line}";
$sql = $empire->query($query);
$returnpage = page2($num, $line, $page_line, $start, $page, $search);
$url = "<a href=gbook.php" . $ecms_hashur['whehref'] . ">管理留言</a>";
$gbclass = ReturnGbookClass($bid, 0);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>留言管理</title>
<link href="../adminstyle/<?php 
echo $loginadminstyleid;
?>
/adminstyle.css" rel="stylesheet" type="text/css">
<script>
function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {