ListTagInfo.php ( 文件浏览 )
文件源自:
帝国cms7.0_TAG静态化插件_简体GBK版
源码简介:
帝国cms7.0_TAG静态化插件_简体GBK版
- keepall 发布于 2016-12-09 21:17
- 浏览次数:1176
- 下载次数: 3
- 下载需 100 积分
-
- 侵权举报
<?php define('EmpireCMSAdmin','1'); require("../../class/connect.php"); require("../../class/db_sql.php"); require("../../class/functions.php"); require("../../class/delpath.php"); require("../../class/t_functions.php"); require("../../data/dbcache/class.php"); require "../".LoadLang('pub/fun.php'); $link=db_connect(); $empire=new mysqlquery(); //验证用户 $lur=is_login(); $logininid=$lur['userid']; $loginin=$lur['username']; $loginrnd=$lur['rnd']; $loginlevel=$lur['groupid']; $loginadminstyleid=$lur['adminstyleid']; require("class/dp_config.php"); require("setconfig.php"); if($dp_r['isok']==0){ exit('请先配置当前插件目录下setconfig.php文件'); } $tagid=$_GET['tagid']; if(!$tagid){ printerror("数据库错误","ListTags.php",1,0,1); } $t=$empire->fetch1("select * from {$dbtbpre}enewstags where tagid=$tagid limit 1"); if($t[tagid]!=$tagid){ printerror("数据库错误","ListTags.php",1,0,1); } $search='&tagid='.$tagid; $start=0; $page=(int)$_GET['page']; $line=20;//每页显示 $page_line=12; $offset=$page*$line; $num=$empire->gettotal("select count(*) as total from {$dbtbpre}enewstagsdata where tagid=$tagid");//取得总条数 $query="select * from {$dbtbpre}enewstagsdata where tagid=$tagid order by tid desc limit $offset,$line"; $returnpage=page2($num,$line,$page_line,$start,$page,$search); //页面标题 $thispage='信息管理'; //导航 $url='<a href="ListTags.php">TAGS管理</a> -> <a href="ListTagInfo.php?tagid='.$t[tagid].'">TAG:<b>'.$t[tagname].'</b></a> -> '.$thispage; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=$pagechar?>"> <link href="../../data/images/qcss.css" rel="stylesheet" type="text/css"> <title><?=$thispage?></title> <script> function CheckAll(form) { for (var i=0;i<form.elements.length;i++) { var e = form.elements[i]; if (e.name != 'chkall') e.checked = form.chkall.checked; } } </script> </head> <body> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1"> <tr> <td width="52%">当前位置: <?=$url?> </td> <td width="48%"><div align="right" class="emenubutton"> <input type="button" name="Submit" value="搜索批量推送" onclick="self.location.href='AddListInfo.php?enews=pilistadd&tagid=<?=$tagid?>';"> </div> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder"> <form name="listform" method="post" action="do.php" onsubmit="return confirm('确认要执行此操作?');"> <input type=hidden name=enews value=EditMoreInfoTime> <tr class="header"> <td width="5%" height="25"> <div align="center"></div></td> <td width="8%" height="25"><div align="center">ID</div></td> <td height="25"> <div align="center">标题</div></td> <td width="15%" height="25"> <div align="center">栏目</div></td> <td width="20%" heig[!==More==!]
...
展开> <收缩
Sponsored links
源码文件列表
温馨提示: 点击源码文件名可预览文件内容哦 ^_^ Sponsored links