| @@ -158,7 +158,7 @@ html{background:#f6f6f6} | |||||
| <td class="biz-td" colspan="4">点击图片预览,点击图片名选择图片,显示图片后点击该图片关闭预览</td> | <td class="biz-td" colspan="4">点击图片预览,点击图片名选择图片,显示图片后点击该图片关闭预览</td> | ||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td width="8%" class="biz-td">预览</td> | |||||
| <td width="6%" class="biz-td">预览</td> | |||||
| <td width="42%" class="biz-td">选择图片</td> | <td width="42%" class="biz-td">选择图片</td> | ||||
| <td width="20%" class="biz-td">文件大小</td> | <td width="20%" class="biz-td">文件大小</td> | ||||
| <td class="biz-td">修改时间</td> | <td class="biz-td">修改时间</td> | ||||
| @@ -26,15 +26,13 @@ if (empty($keyword)) | |||||
| $addsql = " where title like '%$keyword%' "; | $addsql = " where title like '%$keyword%' "; | ||||
| } | } | ||||
| //重载列表 | //重载列表 | ||||
| if ($dopost=='getlist') | |||||
| { | |||||
| if ($dopost=='getlist') { | |||||
| AjaxHead(); | AjaxHead(); | ||||
| GetTagList($dsql,$pageno,$pagesize,$orderby); | GetTagList($dsql,$pageno,$pagesize,$orderby); | ||||
| exit(); | exit(); | ||||
| } | } | ||||
| //删除字段 | //删除字段 | ||||
| else if ($dopost=='del') | |||||
| { | |||||
| else if ($dopost=='del') { | |||||
| $aid = preg_replace("#[^0-9]#", "", $aid); | $aid = preg_replace("#[^0-9]#", "", $aid); | ||||
| $dsql->ExecuteNoneQuery("DELETE FROM `#@__freelist` WHERE aid='$aid'; "); | $dsql->ExecuteNoneQuery("DELETE FROM `#@__freelist` WHERE aid='$aid'; "); | ||||
| AjaxHead(); | AjaxHead(); | ||||
| @@ -42,8 +40,7 @@ else if ($dopost=='del') | |||||
| exit(); | exit(); | ||||
| } | } | ||||
| //第一次进入这个页面 | //第一次进入这个页面 | ||||
| if ($dopost=='') | |||||
| { | |||||
| if ($dopost=='') { | |||||
| $row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__freelist` $addsql "); | $row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__freelist` $addsql "); | ||||
| $totalRow = $row['dd']; | $totalRow = $row['dd']; | ||||
| include(DEDEADMIN."/templets/freelist_main.htm"); | include(DEDEADMIN."/templets/freelist_main.htm"); | ||||
| @@ -60,15 +57,15 @@ function GetTagList($dsql,$pageno,$pagesize,$orderby='aid') | |||||
| { | { | ||||
| global $cfg_phpurl,$addsql; | global $cfg_phpurl,$addsql; | ||||
| $start = ($pageno-1) * $pagesize; | $start = ($pageno-1) * $pagesize; | ||||
| $printhead =" | |||||
| $printhead ="<table width='98%' cellpadding='1' cellspacing='1' align='center' class='table maintable'> | |||||
| <tr align='center' bgcolor='#fbfce2'> | <tr align='center' bgcolor='#fbfce2'> | ||||
| <td width='5%'><a href='javascript:;' onclick=\"ReloadPage('aid')\">id</a></td> | |||||
| <td width='6%'><a href='javascript:;' onclick=\"ReloadPage('aid')\">id</a></td> | |||||
| <td width='20%'>列表名称</td> | <td width='20%'>列表名称</td> | ||||
| <td width='20%'>模板文件</td> | <td width='20%'>模板文件</td> | ||||
| <td width='5%'><a href='javascript:;' onclick=\"ReloadPage('click')\">点击</a></td> | |||||
| <td width='15%'>创建时间</td> | |||||
| <td width='6%'><a href='javascript:;' onclick=\"ReloadPage('click')\">点击</a></td> | |||||
| <td width='12%'>创建时间</td> | |||||
| <td>管理</td> | <td>管理</td> | ||||
| </tr>\r\n"; | |||||
| </tr>"; | |||||
| echo $printhead; | echo $printhead; | ||||
| $dsql->SetQuery("SELECT aid,title,templet,click,edtime,namerule,listdir,defaultpage,nodefault FROM `#@__freelist` $addsql ORDER BY $orderby DESC LIMIT $start,$pagesize"); | $dsql->SetQuery("SELECT aid,title,templet,click,edtime,namerule,listdir,defaultpage,nodefault FROM `#@__freelist` $addsql ORDER BY $orderby DESC LIMIT $start,$pagesize"); | ||||
| $dsql->Execute(); | $dsql->Execute(); | ||||
| @@ -77,17 +74,17 @@ function GetTagList($dsql,$pageno,$pagesize,$orderby='aid') | |||||
| $listurl = GetFreeListUrl($row['aid'],$row['namerule'],$row['listdir'],$row['defaultpage'],$row['nodefault']); | $listurl = GetFreeListUrl($row['aid'],$row['namerule'],$row['listdir'],$row['defaultpage'],$row['nodefault']); | ||||
| $line = "<tr align='center' onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | $line = "<tr align='center' onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | ||||
| <td>{$row['aid']}</td> | <td>{$row['aid']}</td> | ||||
| <td> <a href='$listurl' target='_blank'>{$row['title']}</a> </td> | |||||
| <td> {$row['templet']} </td> | |||||
| <td> {$row['click']} </td> | |||||
| <td><a href='$listurl' target='_blank'>{$row['title']}</a></td> | |||||
| <td>{$row['templet']}</td> | |||||
| <td>{$row['click']}</td> | |||||
| <td>".MyDate("y-m-d",$row['edtime'])."</td> | <td>".MyDate("y-m-d",$row['edtime'])."</td> | ||||
| <td> | <td> | ||||
| <a href='javascript:;' onclick='EditNote({$row['aid']})' class='btn btn-success btn-sm'><i class=\"fa fa-pencil-square-o\" aria-hidden=\"true\"></i> 修改</a> | <a href='javascript:;' onclick='EditNote({$row['aid']})' class='btn btn-success btn-sm'><i class=\"fa fa-pencil-square-o\" aria-hidden=\"true\"></i> 修改</a> | ||||
| <a href='javascript:;' onclick='CreateNote({$row['aid']})' class='btn btn-success btn-sm'><i class=\"fa fa-refresh\" aria-hidden=\"true\"></i> 更新</a> | <a href='javascript:;' onclick='CreateNote({$row['aid']})' class='btn btn-success btn-sm'><i class=\"fa fa-refresh\" aria-hidden=\"true\"></i> 更新</a> | ||||
| <a href='javascript:;' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'><i class=\"fa fa-trash\" aria-hidden=\"true\"></i> 删除</a> | <a href='javascript:;' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'><i class=\"fa fa-trash\" aria-hidden=\"true\"></i> 删除</a> | ||||
| </td> | </td> | ||||
| </tr>"; | |||||
| </tr>"; | |||||
| echo $line; | echo $line; | ||||
| } | } | ||||
| } | |||||
| ?> | |||||
| echo "</table>"; | |||||
| } | |||||
| @@ -60,25 +60,24 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||||
| $start = ($pageno - 1) * $pagesize; | $start = ($pageno - 1) * $pagesize; | ||||
| $printhead = "<form name='form3' action=\"search_keywords_main.php\" method=\"post\"> | $printhead = "<form name='form3' action=\"search_keywords_main.php\" method=\"post\"> | ||||
| <input name=\"dopost\" type=\"hidden\" value=\"\"> | <input name=\"dopost\" type=\"hidden\" value=\"\"> | ||||
| <table width='98%' align='center' cellpadding='1' cellspacing='1' class='table maintable'> | |||||
| <tr align='center' bgcolor='#fbfce2'> | <tr align='center' bgcolor='#fbfce2'> | ||||
| <td width='5%'>选择</td> | |||||
| <td width='6%'>选择</td> | |||||
| <td width='6%'><a href='javascript:;' onclick=\"ReloadPage('aid')\">id</a></td> | <td width='6%'><a href='javascript:;' onclick=\"ReloadPage('aid')\">id</a></td> | ||||
| <td width='20%'>关键词</td> | <td width='20%'>关键词</td> | ||||
| <td width='30%'>分词结果</td> | <td width='30%'>分词结果</td> | ||||
| <td width='6%'><a href='javascript:;' onclick=\"ReloadPage('count')\">频率</a></td> | <td width='6%'><a href='javascript:;' onclick=\"ReloadPage('count')\">频率</a></td> | ||||
| <td width='6%'><a href='javascript:;' onclick=\"ReloadPage('result')\">结果</a></td> | <td width='6%'><a href='javascript:;' onclick=\"ReloadPage('result')\">结果</a></td> | ||||
| <td width='15%'><a href='javascript:;' onclick=\"ReloadPage('lasttime')\">最后搜索时间</a></td> | |||||
| <td width='12%'><a href='javascript:;' onclick=\"ReloadPage('lasttime')\">最后搜索时间</a></td> | |||||
| <td>管理</td> | <td>管理</td> | ||||
| </tr>\r\n | |||||
| "; | |||||
| </tr>"; | |||||
| echo $printhead; | echo $printhead; | ||||
| if ($orderby == 'result') $orderby = $orderby." ASC"; | if ($orderby == 'result') $orderby = $orderby." ASC"; | ||||
| else $orderby = $orderby." DESC"; | else $orderby = $orderby." DESC"; | ||||
| $dsql->SetQuery("SELECT * FROM `#@__search_keywords` ORDER BY $orderby LIMIT $start,$pagesize "); | $dsql->SetQuery("SELECT * FROM `#@__search_keywords` ORDER BY $orderby LIMIT $start,$pagesize "); | ||||
| $dsql->Execute(); | $dsql->Execute(); | ||||
| while ($row = $dsql->GetArray()) { | while ($row = $dsql->GetArray()) { | ||||
| $line = " | |||||
| <tr align='center' onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||||
| $line = "<tr align='center' onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||||
| <td><input name=\"aids[]\" type=\"checkbox\" class=\"np\" value=\"{$row['aid']}\" /></td> | <td><input name=\"aids[]\" type=\"checkbox\" class=\"np\" value=\"{$row['aid']}\" /></td> | ||||
| <td>{$row['aid']}</td> | <td>{$row['aid']}</td> | ||||
| <td><input name='keyword' type='text' id='keyword{$row['aid']}' value='{$row['keyword']}' style='width:93%;'></td> | <td><input name='keyword' type='text' id='keyword{$row['aid']}' value='{$row['keyword']}' style='width:93%;'></td> | ||||
| @@ -90,17 +89,15 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||||
| <a href='javascript:;' onclick='UpdateNote({$row['aid']})' class='btn btn-success btn-sm'>更新</a> | <a href='javascript:;' onclick='UpdateNote({$row['aid']})' class='btn btn-success btn-sm'>更新</a> | ||||
| <a href='javascript:;' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'>删除</a> | <a href='javascript:;' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'>删除</a> | ||||
| </td> | </td> | ||||
| </tr> | |||||
| "; | |||||
| </tr>"; | |||||
| echo $line; | echo $line; | ||||
| } | } | ||||
| echo "<tr align='left'> | |||||
| echo "<tr> | |||||
| <td colspan='8'> | <td colspan='8'> | ||||
| <a href='javascript:selAll()' class='btn btn-success btn-sm'>反选</a> | <a href='javascript:selAll()' class='btn btn-success btn-sm'>反选</a> | ||||
| <a href='javascript:noselAll()' class='btn btn-success btn-sm'>取消</a> | <a href='javascript:noselAll()' class='btn btn-success btn-sm'>取消</a> | ||||
| <a href='javascript:delall()' class='btn btn-success btn-sm'>删除</a> | <a href='javascript:delall()' class='btn btn-success btn-sm'>删除</a> | ||||
| </td> | </td> | ||||
| </tr>\r\n"; | |||||
| echo "</form>\r\n"; | |||||
| } | |||||
| ?> | |||||
| </tr>"; | |||||
| echo "</table></form>"; | |||||
| } | |||||
| @@ -34,13 +34,13 @@ | |||||
| <td bgcolor="#f8f8f8" colspan="7">广告管理</td> | <td bgcolor="#f8f8f8" colspan="7">广告管理</td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="8%">id</td> | |||||
| <td width="6%">id</td> | |||||
| <td width="20%">分类</td> | <td width="20%">分类</td> | ||||
| <td width="20%">广告名称</td> | <td width="20%">广告名称</td> | ||||
| <td width="12%">投放范围</td> | <td width="12%">投放范围</td> | ||||
| <td width="11%">是否限时</td> | <td width="11%">是否限时</td> | ||||
| <td width="11%">结束时间</td> | <td width="11%">结束时间</td> | ||||
| <td width="18%">管理</td> | |||||
| <td>管理</td> | |||||
| </tr> | </tr> | ||||
| {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | ||||
| <tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | <tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | ||||
| @@ -77,12 +77,12 @@ | |||||
| </tr> | </tr> | ||||
| <form name="form2"> | <form name="form2"> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="8%">id</td> | |||||
| <td width="8%">选择</td> | |||||
| <td width="6%">id</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="20%">网址</td> | <td width="20%">网址</td> | ||||
| <td width="12%">编码</td> | <td width="12%">编码</td> | ||||
| <td width="20%">网站名称</td> | <td width="20%">网站名称</td> | ||||
| <td width="12%">操作</td> | |||||
| <td>操作</td> | |||||
| </tr> | </tr> | ||||
| {dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'} | ||||
| <tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';"> | <tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';"> | ||||
| @@ -35,11 +35,11 @@ | |||||
| <td bgcolor="#f8f8f8" colspan="5">文档关键词维护</td> | <td bgcolor="#f8f8f8" colspan="5">文档关键词维护</td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="8%">选择</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="25%">关键词</td> | <td width="25%">关键词</td> | ||||
| <td width="35%">链接网址</td> | <td width="35%">链接网址</td> | ||||
| <td width="10%">频率</td> | <td width="10%">频率</td> | ||||
| <td width="22%">管理</td> | |||||
| <td>管理</td> | |||||
| </tr> | </tr> | ||||
| <form name="form3" action="article_keywords_main.php" method="post"> | <form name="form3" action="article_keywords_main.php" method="post"> | ||||
| <input type="hidden" name="dopost" value="saveall"> | <input type="hidden" name="dopost" value="saveall"> | ||||
| @@ -49,9 +49,9 @@ | |||||
| <td><input type="hidden" value="{dede:field.keyword/}" name="keyword_{dede:field.aid/}"> {dede:field.keyword/}</td> | <td><input type="hidden" value="{dede:field.keyword/}" name="keyword_{dede:field.aid/}"> {dede:field.keyword/}</td> | ||||
| <td> | <td> | ||||
| <input type="hidden" value="{dede:field.rpurl/}" name="rpurlold_{dede:field.aid/}"> | <input type="hidden" value="{dede:field.rpurl/}" name="rpurlold_{dede:field.aid/}"> | ||||
| <input type="text" style="width:90%" class="nnpp" value="{dede:field.rpurl/}" name="rpurl_{dede:field.aid/}"> | |||||
| <input type="text" class="nnpp" value="{dede:field.rpurl/}" name="rpurl_{dede:field.aid/}"> | |||||
| </td> | </td> | ||||
| <td><input type="text" size="6" class="nnpp" value="{dede:field.rank/}" name="rank_{dede:field.aid/}"></td> | |||||
| <td><input type="text" class="nnpp" value="{dede:field.rank/}" name="rank_{dede:field.aid/}"></td> | |||||
| <td> | <td> | ||||
| <input type="hidden" name="staold_{dede:field.aid/}" value="{dede:field.sta/}"> | <input type="hidden" name="staold_{dede:field.aid/}" value="{dede:field.sta/}"> | ||||
| <label><input type="checkbox" name="isnouse_{dede:field.aid/}" value="1" {dede:field.sta function="GetSta(@me)"/}> 禁用</label> | <label><input type="checkbox" name="isnouse_{dede:field.aid/}" value="1" {dede:field.sta function="GetSta(@me)"/}> 禁用</label> | ||||
| @@ -58,13 +58,13 @@ | |||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="8%">选择</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="28%">卡号</td> | <td width="28%">卡号</td> | ||||
| <td width="18%">点卡类型</td> | <td width="18%">点卡类型</td> | ||||
| <td width="12%">生成日期</td> | <td width="12%">生成日期</td> | ||||
| <td width="12%">使用日期</td> | <td width="12%">使用日期</td> | ||||
| <td width="8%">状态</td> | |||||
| <td width="14%">使用会员</td> | |||||
| <td width="6%">状态</td> | |||||
| <td>使用会员</td> | |||||
| </tr> | </tr> | ||||
| <form name="form1"> | <form name="form1"> | ||||
| {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | ||||
| @@ -67,7 +67,7 @@ | |||||
| <td width="16%">类目</td> | <td width="16%">类目</td> | ||||
| <td width="10%">权限</td> | <td width="10%">权限</td> | ||||
| <td width="10%">发布人</td> | <td width="10%">发布人</td> | ||||
| <td width="10%">HTML</td> | |||||
| <td width="10%">网页</td> | |||||
| <td width="10%">点击</td> | <td width="10%">点击</td> | ||||
| </tr> | </tr> | ||||
| </table> | </table> | ||||
| @@ -75,7 +75,7 @@ | |||||
| <td width="10%">更新时间</td> | <td width="10%">更新时间</td> | ||||
| <td width="14%">类目</td> | <td width="14%">类目</td> | ||||
| <td width="6%">点击</td> | <td width="6%">点击</td> | ||||
| <td width="6%">HTML</td> | |||||
| <td width="6%">网页</td> | |||||
| <td width="6%">权限</td> | <td width="6%">权限</td> | ||||
| <td width="6%">发布人</td> | <td width="6%">发布人</td> | ||||
| <td width="10%">操作</td> | <td width="10%">操作</td> | ||||
| @@ -117,12 +117,12 @@ | |||||
| <form name="form2"> | <form name="form2"> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="6%">id</td> | <td width="6%">id</td> | ||||
| <td width="4%">选择</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="30%">文档标题</td> | <td width="30%">文档标题</td> | ||||
| <td width="10%">更新时间</td> | <td width="10%">更新时间</td> | ||||
| <td width="10%">类目</td> | <td width="10%">类目</td> | ||||
| <td width="10%">点击</td> | <td width="10%">点击</td> | ||||
| <td width="10%">HTML</td> | |||||
| <td width="10%">网页</td> | |||||
| <td width="10%">权限</td> | <td width="10%">权限</td> | ||||
| <td width="10%">属性</td> | <td width="10%">属性</td> | ||||
| </tr> | </tr> | ||||
| @@ -55,14 +55,14 @@ | |||||
| <form name="form2"> | <form name="form2"> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="6%">id</td> | <td width="6%">id</td> | ||||
| <td width="4%">选择</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="30%">文档标题</td> | <td width="30%">文档标题</td> | ||||
| <td width="10%">更新时间</td> | <td width="10%">更新时间</td> | ||||
| <td width="11%">类目</td> | |||||
| <td width="8%">点击</td> | |||||
| <td width="7%">HTML</td> | |||||
| <td width="12%">类目</td> | |||||
| <td width="6%">点击</td> | |||||
| <td width="6%">网页</td> | |||||
| <td width="10%">权限</td> | <td width="10%">权限</td> | ||||
| <td width="13%">属性</td> | |||||
| <td>属性</td> | |||||
| </tr> | </tr> | ||||
| {dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | ||||
| <tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';"> | <tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';"> | ||||
| @@ -88,7 +88,7 @@ | |||||
| </tr> | </tr> | ||||
| {dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'} | ||||
| <tr> | <tr> | ||||
| <td width="8%">选择 <input type="checkbox" name="fid" id="fid" value="{dede:field.id/}"></td> | |||||
| <td width="6%">选择 <input type="checkbox" name="fid" id="fid" value="{dede:field.id/}"></td> | |||||
| <td width="10%">用户:{dede:field.username/} {dede:field.ischeck function="IsCheck(@me)"/}</td> | <td width="10%">用户:{dede:field.username/} {dede:field.ischeck function="IsCheck(@me)"/}</td> | ||||
| <td width="30%"> | <td width="30%"> | ||||
| <span>文档:<a href='feedback_main.php?aid={dede:field.aid/}'>{dede:field.arctitle function="RemoveXSS(@me)"/}</a></span> | <span>文档:<a href='feedback_main.php?aid={dede:field.aid/}'>{dede:field.arctitle function="RemoveXSS(@me)"/}</a></span> | ||||
| @@ -66,39 +66,38 @@ | |||||
| function ReloadPageNum(startnum) { | function ReloadPageNum(startnum) { | ||||
| var ListArea = $Obj('pagelist'); | var ListArea = $Obj('pagelist'); | ||||
| var pagenum = Math.ceil(totalrow / pagesize); | var pagenum = Math.ceil(totalrow / pagesize); | ||||
| var listsize = 3; | |||||
| var listsize = 6; | |||||
| var ahtml = "<ul class='pagination justify-content-center'>"; | var ahtml = "<ul class='pagination justify-content-center'>"; | ||||
| var startloop = 1; | var startloop = 1; | ||||
| var endnum = 0; | var endnum = 0; | ||||
| ahtml += "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>" + pagenum + "页" + totalrow + "篇</span></li>"; | |||||
| if (pageno > 1 && pageno != 1) ahtml += "<li class='page-item d-none d-sm-block disabled'><a href='javascript:;' class='page-link' onclick='LoadPage(1)'>首页</a></li>"; | |||||
| if (pageno > 1) ahtml += "<li class='page-item d-none d-sm-block'><a href='javascript:;' class='page-link' onclick='LoadPage(" + (pageno - 1) + ")'>上页</a></li> "; | |||||
| ahtml += "<li class='page-item disabled'><span class='page-link'>" + pagenum + "页" + totalrow + "篇</span></li>"; | |||||
| if (pageno > 1 && pageno != 1) ahtml += "<li class='page-item disabled'><a href='javascript:;' class='page-link' onclick='LoadPage(1)'>首页</a></li>"; | |||||
| if (pageno > 1) ahtml += "<li class='page-item'><a href='javascript:;' class='page-link' onclick='LoadPage(" + (pageno - 1) + ")'>上页</a></li>"; | |||||
| if (startnum >= pagenum - listsize) { | if (startnum >= pagenum - listsize) { | ||||
| startloop = pagenum - (listsize * 2); | startloop = pagenum - (listsize * 2); | ||||
| if (startloop < 1) startloop = 1; | if (startloop < 1) startloop = 1; | ||||
| for (i = startloop; i <= pagenum; i++) { | for (i = startloop; i <= pagenum; i++) { | ||||
| if (i == pageno) ahtml += "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>" + i + "</span></li>"; | |||||
| else ahtml += "<li class='page-item d-none d-sm-block'><a class='page-link' href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a></li>"; | |||||
| if (i == pageno) ahtml += "<li class='page-item disabled'><span class='page-link'>" + i + "</span></li>"; | |||||
| else ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + i + ")'>" + i + "</a></li>"; | |||||
| } | } | ||||
| } | } | ||||
| else if (pagenum < listsize) { | else if (pagenum < listsize) { | ||||
| for (i = 1; i <= pagenum; i++) { | for (i = 1; i <= pagenum; i++) { | ||||
| if (i == pageno) ahtml += i + " "; | |||||
| else ahtml += "<li class='page-item d-none d-sm-block'><a class='page-link' href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a></li>"; | |||||
| if (i == pageno) ahtml += "<li class='page-item disabled'><span class='page-link'>" + i + "</span></li>"; | |||||
| else ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + i + ")'>" + i + "</a></li>"; | |||||
| } | } | ||||
| } | |||||
| else { | |||||
| } else { | |||||
| startloop = startnum - listsize; | startloop = startnum - listsize; | ||||
| if (startloop < 1) { startloop = 1; endnum = startloop + (listsize * 2); } | if (startloop < 1) { startloop = 1; endnum = startloop + (listsize * 2); } | ||||
| else { endnum = startnum + listsize; } | else { endnum = startnum + listsize; } | ||||
| if (endnum >= pagenum) endnum = pagenum; | if (endnum >= pagenum) endnum = pagenum; | ||||
| for (i = startloop; i <= endnum; i++) { | for (i = startloop; i <= endnum; i++) { | ||||
| if (i == pageno) ahtml += i + " "; | |||||
| else ahtml += "<li class='page-item d-none d-sm-block'><a class='page-link' href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a></li>"; | |||||
| if (i == pageno) ahtml += "<li class='page-item disabled'><span class='page-link'>" + i + "</span></li>"; | |||||
| else ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + i + ")'>" + i + "</a></li>"; | |||||
| } | } | ||||
| } | } | ||||
| if (pageno < pagenum) ahtml += "<li class='page-item d-none d-sm-block'><a class='page-link' href='javascript:;' onclick='LoadPage(" + (pageno + 1) + ")'>下页</a></li>"; | |||||
| if (pageno != pagenum && pagenum > 1) ahtml += "<li class='page-item d-none d-sm-block'><a class='page-link' href='javascript:;' onclick='LoadPage(" + pagenum + ")'>末页</a></li>"; | |||||
| if (pageno < pagenum) ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + (pageno + 1) + ")'>下页</a></li>"; | |||||
| if (pageno != pagenum && pagenum > 1) ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + pagenum + ")'>末页</a></li>"; | |||||
| ListArea.innerHTML = ahtml+"</ul>"; | ListArea.innerHTML = ahtml+"</ul>"; | ||||
| } | } | ||||
| </script> | </script> | ||||
| @@ -107,7 +106,7 @@ | |||||
| <table width="98%" cellpadding="5" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | <table width="98%" cellpadding="5" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | ||||
| <tr bgcolor="#f8f8f8"> | <tr bgcolor="#f8f8f8"> | ||||
| <td width="170" align="center"> | <td width="170" align="center"> | ||||
| <input type="text" name="keyword" id="keyword" value="<?php echo $keyword?>" class="biz-input-sm"> | |||||
| <input type="text" name="keyword" id="keyword" value="<?php echo $keyword?>" class="biz-input-md"> | |||||
| </td> | </td> | ||||
| <td> | <td> | ||||
| <button type="submit" name="Submit2" class="btn btn-success btn-sm">搜索</button> | <button type="submit" name="Submit2" class="btn btn-success btn-sm">搜索</button> | ||||
| @@ -118,11 +117,13 @@ | |||||
| </table> | </table> | ||||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable"> | <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable"> | ||||
| <tr> | <tr> | ||||
| <td colspan="6" bgcolor="#f8f8f8">自由列表管理<span></td> | |||||
| <td colspan="6" bgcolor="#f8f8f8">自由列表管理</td> | |||||
| </tr> | </tr> | ||||
| <div id="rslist"><?php GetTagList($dsql,$pageno,$pagesize,$orderby);?></div> | |||||
| </table> | |||||
| <div id="rslist"><?php GetTagList($dsql,$pageno,$pagesize,$orderby);?></div> | |||||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable"> | |||||
| <tr> | <tr> | ||||
| <td colspan="6" bgcolor="#f8f8f8" class="py-2"> | |||||
| <td bgcolor="#f8f8f8" class="py-2"> | |||||
| <div id="pagelist"> | <div id="pagelist"> | ||||
| <script>ReloadPageNum(1);</script> | <script>ReloadPageNum(1);</script> | ||||
| </div> | </div> | ||||
| @@ -69,13 +69,13 @@ | |||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="6%">选择</td> | <td width="6%">选择</td> | ||||
| <td width="23%">网站名称</td> | |||||
| <td width="25%">网站名称</td> | |||||
| <td width="12%">网站Logo</td> | <td width="12%">网站Logo</td> | ||||
| <td width="15%">站长Email</td> | <td width="15%">站长Email</td> | ||||
| <td width="15%">时间</td> | <td width="15%">时间</td> | ||||
| <td width="8%">状态</td> | |||||
| <td width="8%">顺序</td> | |||||
| <td width="15%">管理</td> | |||||
| <td width="6%">状态</td> | |||||
| <td width="6%">顺序</td> | |||||
| <td>管理</td> | |||||
| </tr> | </tr> | ||||
| {dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | ||||
| <tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | <tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | ||||
| @@ -70,13 +70,13 @@ | |||||
| <td bgcolor="#f8f8f8" colspan="7">管理系统日志</td> | <td bgcolor="#f8f8f8" colspan="7">管理系统日志</td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="8%">选择</td> | |||||
| <td width="11%">管理员</td> | |||||
| <td width="15%">访问文件</td> | |||||
| <td width="8%">方式</td> | |||||
| <td width="14%">访问IP</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="10%">管理员</td> | |||||
| <td width="16%">访问文件</td> | |||||
| <td width="6%">方式</td> | |||||
| <td width="14%">访问ip</td> | |||||
| <td width="16%">时间</td> | <td width="16%">时间</td> | ||||
| <td width="28%">Query参数</td> | |||||
| <td>Query参数</td> | |||||
| </tr> | </tr> | ||||
| <form name="form1"> | <form name="form1"> | ||||
| {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | ||||
| @@ -78,13 +78,13 @@ | |||||
| <td bgcolor="#f8f8f8" colspan="7">附件数据管理</td> | <td bgcolor="#f8f8f8" colspan="7">附件数据管理</td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="8%">选择</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="28%">文件标题</td> | <td width="28%">文件标题</td> | ||||
| <td width="10%">文件大小</td> | <td width="10%">文件大小</td> | ||||
| <td width="15%">上传会员</td> | <td width="15%">上传会员</td> | ||||
| <td width="15%">上传时间</td> | <td width="15%">上传时间</td> | ||||
| <td width="9%">文件类型</td> | |||||
| <td width="15%">管理</td> | |||||
| <td width="10%">文件类型</td> | |||||
| <td>管理</td> | |||||
| </tr> | </tr> | ||||
| <form name="form1"> | <form name="form1"> | ||||
| {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | ||||
| @@ -74,14 +74,14 @@ | |||||
| <td bgcolor="f8f8f8" colspan="8">会员消费管理</td> | <td bgcolor="f8f8f8" colspan="8">会员消费管理</td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2"> | <tr bgcolor="#fbfce2"> | ||||
| <td width="8%" align="center">选择</td> | |||||
| <td width="6%" align="center">选择</td> | |||||
| <td width="20%" align="center">订单号</td> | <td width="20%" align="center">订单号</td> | ||||
| <td align="center">产品名称</td> | <td align="center">产品名称</td> | ||||
| <td width="10%" align="center">产品类型</td> | <td width="10%" align="center">产品类型</td> | ||||
| <td width="22%" align="center">生成日期</td> | <td width="22%" align="center">生成日期</td> | ||||
| <td width="8%" align="center">金额</td> | |||||
| <td width="8%" align="center">状态</td> | |||||
| <td width="10%" align="center">会员</td> | |||||
| <td width="6%" align="center">金额</td> | |||||
| <td width="6%" align="center">状态</td> | |||||
| <td align="center">会员</td> | |||||
| </tr> | </tr> | ||||
| <form name="form1"> | <form name="form1"> | ||||
| {dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | ||||
| @@ -97,7 +97,7 @@ | |||||
| <table width="100%" cellpadding="5" cellspacing="1"> | <table width="100%" cellpadding="5" cellspacing="1"> | ||||
| <tr> | <tr> | ||||
| <td bgcolor="#fbfce2">使用协议或说明:<br> | <td bgcolor="#fbfce2">使用协议或说明:<br> | ||||
| 如果需要带HTML格式,请编译后点击修改时使用HTML</td> | |||||
| 如果需要带网页格式,请编译后点击修改时使用网页</td> | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td><textarea name="readmetxt" id="readmetxt" class="biz-textarea"><?php echo $readmetxt;?></textarea></td> | <td><textarea name="readmetxt" id="readmetxt" class="biz-textarea"><?php echo $readmetxt;?></textarea></td> | ||||
| @@ -96,7 +96,7 @@ | |||||
| <tr> | <tr> | ||||
| <td bgcolor="#fbfce2"> | <td bgcolor="#fbfce2"> | ||||
| 填写使用协议或说明:<br> | 填写使用协议或说明:<br> | ||||
| 如果需要带HTML格式,请编译后点击修改时使用HTML</td> | |||||
| 如果需要带网页格式,请编译后点击修改时使用网页</td> | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td><textarea name="readmetxt" id="readmetxt" class="biz-textarea"></textarea></td> | <td><textarea name="readmetxt" id="readmetxt" class="biz-textarea"></textarea></td> | ||||
| @@ -31,7 +31,7 @@ | |||||
| <td width="12%">识别id</td> | <td width="12%">识别id</td> | ||||
| <td width="20%">附加表</td> | <td width="20%">附加表</td> | ||||
| <td width="12%">状态</td> | <td width="12%">状态</td> | ||||
| <td width="8%">模型</td> | |||||
| <td width="6%">模型</td> | |||||
| <td>管理</td> | <td>管理</td> | ||||
| </tr> | </tr> | ||||
| {dede:datalist empty='<tr> | {dede:datalist empty='<tr> | ||||
| @@ -74,12 +74,12 @@ | |||||
| <form name="form2"> | <form name="form2"> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="6%">id</td> | <td width="6%">id</td> | ||||
| <td width="4%">选择</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="28%">文档标题</td> | <td width="28%">文档标题</td> | ||||
| <td width="10%">更新时间</td> | <td width="10%">更新时间</td> | ||||
| <td width="10%">类目</td> | <td width="10%">类目</td> | ||||
| <td width="8%">点击</td> | |||||
| <td width="10%">操作</td> | |||||
| <td width="6%">点击</td> | |||||
| <td>操作</td> | |||||
| </tr> | </tr> | ||||
| {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | ||||
| <tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';"> | <tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';"> | ||||
| @@ -1,17 +1,17 @@ | |||||
| <!DOCTYPE html> | <!DOCTYPE html> | ||||
| <html> | <html> | ||||
| <head> | <head> | ||||
| <meta charset="<?php echo $cfg_soft_lang;?>"> | |||||
| <meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
| <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | ||||
| <title>搜索关键词管理</title> | <title>搜索关键词管理</title> | ||||
| <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||||
| <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | ||||
| <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
| <script src="../static/web/js/jquery.min.js"></script> | <script src="../static/web/js/jquery.min.js"></script> | ||||
| <script src="../static/web/js/bootstrap.bundle.min.js"></script> | <script src="../static/web/js/bootstrap.bundle.min.js"></script> | ||||
| <script src="js/key.js"></script> | <script src="js/key.js"></script> | ||||
| <script src="../static/web/js/webajax.js"></script> | <script src="../static/web/js/webajax.js"></script> | ||||
| <script src="js/main.js"></script> | |||||
| <script src='js/main.js'></script> | |||||
| <script> | <script> | ||||
| var pageno = 1; | var pageno = 1; | ||||
| var totalrow = <?php echo $totalRow?>; | var totalrow = <?php echo $totalRow?>; | ||||
| @@ -72,7 +72,9 @@ | |||||
| }).catch((error) => { | }).catch((error) => { | ||||
| $DE('edsta').innerHTML = errMsg; | $DE('edsta').innerHTML = errMsg; | ||||
| }); | }); | ||||
| <?php }?> | |||||
| <?php | |||||
| } | |||||
| ?> | |||||
| ShowMsg('成功更新关键词'); | ShowMsg('成功更新关键词'); | ||||
| //myajax.SendGet("search_keywords_main.php?dopost=update&aid="+nid+"&keyword="+kw+"&spwords="+kws+"&count="+ct+"&pageno="+pageno); | //myajax.SendGet("search_keywords_main.php?dopost=update&aid="+nid+"&keyword="+kw+"&spwords="+kws+"&count="+ct+"&pageno="+pageno); | ||||
| } | } | ||||
| @@ -95,28 +97,28 @@ | |||||
| }); | }); | ||||
| ReloadPageNum(pageno); | ReloadPageNum(pageno); | ||||
| } | } | ||||
| //重新加载分页列表 | |||||
| function ReloadPageNum(startnum) { | function ReloadPageNum(startnum) { | ||||
| var ListArea = $Obj('pagelist'); | var ListArea = $Obj('pagelist'); | ||||
| var pagenum = Math.ceil(totalrow / pagesize); | var pagenum = Math.ceil(totalrow / pagesize); | ||||
| var listsize = 3; | |||||
| var ahtml = ""; | |||||
| var listsize = 6; | |||||
| var ahtml = "<ul class='pagination justify-content-center'>"; | |||||
| var startloop = 1; | var startloop = 1; | ||||
| var endnum = 0; | var endnum = 0; | ||||
| ahtml += "共" + totalrow + "条" + pagenum + "页"; | |||||
| if (pageno > 1) ahtml += "<a href='javascript:;' onclick='LoadPage(" + (pageno - 1) + ")'>上页</a> "; | |||||
| ahtml += "<li class='page-item disabled'><span class='page-link'>" + pagenum + "页" + totalrow + "篇</span></li>"; | |||||
| if (pageno > 1 && pageno != 1) ahtml += "<li class='page-item disabled'><a href='javascript:;' class='page-link' onclick='LoadPage(1)'>首页</a></li>"; | |||||
| if (pageno > 1) ahtml += "<li class='page-item'><a href='javascript:;' class='page-link' onclick='LoadPage(" + (pageno - 1) + ")'>上页</a></li>"; | |||||
| if (startnum >= pagenum - listsize) { | if (startnum >= pagenum - listsize) { | ||||
| startloop = pagenum - (listsize * 2); | startloop = pagenum - (listsize * 2); | ||||
| if (startloop < 1) startloop = 1; | if (startloop < 1) startloop = 1; | ||||
| for (i = startloop; i <= pagenum; i++) { | for (i = startloop; i <= pagenum; i++) { | ||||
| if (i == pageno) ahtml += i + " "; | |||||
| else ahtml += "<a href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a> "; | |||||
| if (i == pageno) ahtml += "<li class='page-item disabled'><span class='page-link'>" + i + "</span></li>"; | |||||
| else ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + i + ")'>" + i + "</a></li>"; | |||||
| } | } | ||||
| } | } | ||||
| else if (pagenum < listsize) { | else if (pagenum < listsize) { | ||||
| for (i = 1; i <= pagenum; i++) { | for (i = 1; i <= pagenum; i++) { | ||||
| if (i == pageno) ahtml += i + " "; | |||||
| else ahtml += "<a href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a> "; | |||||
| if (i == pageno) ahtml += "<li class='page-item disabled'><span class='page-link'>" + i + "</span></li>"; | |||||
| else ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + i + ")'>" + i + "</a></li>"; | |||||
| } | } | ||||
| } else { | } else { | ||||
| startloop = startnum - listsize; | startloop = startnum - listsize; | ||||
| @@ -124,23 +126,26 @@ | |||||
| else { endnum = startnum + listsize; } | else { endnum = startnum + listsize; } | ||||
| if (endnum >= pagenum) endnum = pagenum; | if (endnum >= pagenum) endnum = pagenum; | ||||
| for (i = startloop; i <= endnum; i++) { | for (i = startloop; i <= endnum; i++) { | ||||
| if (i == pageno) ahtml += i + " "; | |||||
| else ahtml += "<a href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a> "; | |||||
| if (i == pageno) ahtml += "<li class='page-item disabled'><span class='page-link'>" + i + "</span></li>"; | |||||
| else ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + i + ")'>" + i + "</a></li>"; | |||||
| } | } | ||||
| } | } | ||||
| if (pageno < pagenum) ahtml += "<a href='javascript:;' onclick='LoadPage(" + (pageno + 1) + ")'>下页</a> "; | |||||
| ListArea.innerHTML = ahtml; | |||||
| if (pageno < pagenum) ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + (pageno + 1) + ")'>下页</a></li>"; | |||||
| if (pageno != pagenum && pagenum > 1) ahtml += "<li class='page-item'><a class='page-link' href='javascript:;' onclick='LoadPage(" + pagenum + ")'>末页</a></li>"; | |||||
| ListArea.innerHTML = ahtml+"</ul>"; | |||||
| } | } | ||||
| </script> | </script> | ||||
| </head> | </head> | ||||
| <body> | |||||
| <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||||
| <body> | |||||
| <table width="98%" align="center" cellpadding="1" cellspacing="1" class="table maintable mt-3"> | |||||
| <tr> | <tr> | ||||
| <td colspan="8" bgcolor="#f8f8f8">搜索关键词维护</td> | |||||
| <td bgcolor="#f8f8f8">搜索关键词维护</td> | |||||
| </tr> | </tr> | ||||
| <div id="rslist"><?php GetKeywordList($dsql,$pageno,$pagesize,$orderby);?></div> | |||||
| </table> | |||||
| <div id="rslist"><?php GetKeywordList($dsql,$pageno,$pagesize,$orderby);?></div> | |||||
| <table width="98%" align="center" cellpadding="1" cellspacing="1" class="table maintable mb-3"> | |||||
| <tr> | <tr> | ||||
| <td colspan="8" bgcolor="#f8f8f8" align="center" class="py-2"> | |||||
| <td bgcolor="#f8f8f8" align="center" class="py-2"> | |||||
| <span id="pagelist"></span> | <span id="pagelist"></span> | ||||
| <script>ReloadPageNum(1);</script> | <script>ReloadPageNum(1);</script> | ||||
| </td> | </td> | ||||
| @@ -89,7 +89,7 @@ | |||||
| <td bgcolor="#f8f8f8" colspan="11">商店订单记录</td> | <td bgcolor="#f8f8f8" colspan="11">商店订单记录</td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2"> | <tr bgcolor="#fbfce2"> | ||||
| <td width="8%" align="center">选择</td> | |||||
| <td width="6%" align="center">选择</td> | |||||
| <td width="25%" align="center">订单号</td> | <td width="25%" align="center">订单号</td> | ||||
| <td align="center">收货人</td> | <td align="center">收货人</td> | ||||
| <td align="center">数量</td> | <td align="center">数量</td> | ||||
| @@ -29,7 +29,7 @@ | |||||
| <td colspan="5"><div class="alert alert-info mb-0">为了防止错误操作,系统不允许在管理界面删除超级管理员,如果确定要删除,请自行在数据表biz_admin中删除</div></td> | <td colspan="5"><div class="alert alert-info mb-0">为了防止错误操作,系统不允许在管理界面删除超级管理员,如果确定要删除,请自行在数据表biz_admin中删除</div></td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2"> | <tr bgcolor="#fbfce2"> | ||||
| <td width="8%" align="center">id</td> | |||||
| <td width="6%" align="center">id</td> | |||||
| <td width="20%" align="center">名称</td> | <td width="20%" align="center">名称</td> | ||||
| <td width="30%" align="center">时间</td> | <td width="30%" align="center">时间</td> | ||||
| <td width="20%" align="center">频道</td> | <td width="20%" align="center">频道</td> | ||||
| @@ -95,11 +95,11 @@ | |||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="5%">选择</td> | <td width="5%">选择</td> | ||||
| <td width="20%">表名</td> | <td width="20%">表名</td> | ||||
| <td width="8%">记录数</td> | |||||
| <td width="6%">记录数</td> | |||||
| <td width="17%">操作</td> | <td width="17%">操作</td> | ||||
| <td width="5%">选择</td> | <td width="5%">选择</td> | ||||
| <td width="20%">表名</td> | <td width="20%">表名</td> | ||||
| <td width="8%">记录数</td> | |||||
| <td width="6%">记录数</td> | |||||
| <td width="17%">操作</td> | <td width="17%">操作</td> | ||||
| </tr> | </tr> | ||||
| <?php | <?php | ||||
| @@ -140,14 +140,14 @@ | |||||
| <td colspan="8">其它数据表:</td> | <td colspan="8">其它数据表:</td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="5%">选择</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="20%">表名</td> | <td width="20%">表名</td> | ||||
| <td width="8%">记录数</td> | |||||
| <td width="17%">操作</td> | |||||
| <td width="5%">选择</td> | |||||
| <td width="6%">记录数</td> | |||||
| <td width="18%">操作</td> | |||||
| <td width="6%">选择</td> | |||||
| <td width="20%">表名</td> | <td width="20%">表名</td> | ||||
| <td width="8%">记录数</td> | |||||
| <td width="17%">操作</td> | |||||
| <td width="6%">记录数</td> | |||||
| <td>操作</td> | |||||
| </tr> | </tr> | ||||
| <?php | <?php | ||||
| for($i=0; isset($otherTables[$i]); $i++) | for($i=0; isset($otherTables[$i]); $i++) | ||||
| @@ -15,13 +15,13 @@ | |||||
| <td bgcolor="#f8f8f8" colspan="7">投票管理</td> | <td bgcolor="#f8f8f8" colspan="7">投票管理</td> | ||||
| </tr> | </tr> | ||||
| <tr bgcolor="#fbfce2" align="center"> | <tr bgcolor="#fbfce2" align="center"> | ||||
| <td width="8%">id</td> | |||||
| <td width="6%">id</td> | |||||
| <td width="22%">投票名称</td> | <td width="22%">投票名称</td> | ||||
| <td width="15%">开始时间</td> | <td width="15%">开始时间</td> | ||||
| <td width="15%">结束时间</td> | <td width="15%">结束时间</td> | ||||
| <td width="10%">投票总数</td> | <td width="10%">投票总数</td> | ||||
| <td width="10%">状态</td> | <td width="10%">状态</td> | ||||
| <td width="20%">管理</td> | |||||
| <td>管理</td> | |||||
| </tr> | </tr> | ||||
| {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | ||||
| <tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | <tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | ||||
| @@ -775,11 +775,11 @@ class Archives | |||||
| if ($totalPage == 1) { | if ($totalPage == 1) { | ||||
| return ""; | return ""; | ||||
| } | } | ||||
| $PageList = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>".$totalPage."页</span></li>"; | |||||
| $PageList = "<li class='page-item disabled'><span class='page-link'>".$totalPage."页</span></li>"; | |||||
| $nPage = $nowPage - 1; | $nPage = $nowPage - 1; | ||||
| $lPage = $nowPage + 1; | $lPage = $nowPage + 1; | ||||
| if ($nowPage == 1) { | if ($nowPage == 1) { | ||||
| $PageList .= "<li class='page-item d-none d-sm-block disabled'><a class='page-link' href='javascript:;'>上一页</a></li>"; | |||||
| $PageList .= "<li class='page-item disabled'><a class='page-link' href='javascript:;'>上一页</a></li>"; | |||||
| } else { | } else { | ||||
| if ($nPage == 1) { | if ($nPage == 1) { | ||||
| $PageList .= "<li class='page-item'><a class='page-link' href='view.php?aid=$aid'>上一页</a></li>"; | $PageList .= "<li class='page-item'><a class='page-link' href='view.php?aid=$aid'>上一页</a></li>"; | ||||
| @@ -842,11 +842,11 @@ class Archives | |||||
| if ($totalPage == 1) { | if ($totalPage == 1) { | ||||
| return ""; | return ""; | ||||
| } | } | ||||
| $PageList = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>".$totalPage."页:</span></li>"; | |||||
| $PageList = "<li class='page-item disabled'><span class='page-link'>".$totalPage."页:</span></li>"; | |||||
| $nPage = $nowPage - 1; | $nPage = $nowPage - 1; | ||||
| $lPage = $nowPage + 1; | $lPage = $nowPage + 1; | ||||
| if ($nowPage == 1) { | if ($nowPage == 1) { | ||||
| $PageList .= "<li class='page-item d-none d-sm-block disabled'><a class='page-link' href='javascript:;'>上一页</a></li>"; | |||||
| $PageList .= "<li class='page-item disabled'><a class='page-link' href='javascript:;'>上一页</a></li>"; | |||||
| } else { | } else { | ||||
| if ($nPage == 1) { | if ($nPage == 1) { | ||||
| $PageList .= "<li class='page-item'><a class='page-link' href='".$this->NameFirst.".".$this->ShortName."'>上一页</a></li>"; | $PageList .= "<li class='page-item'><a class='page-link' href='".$this->NameFirst.".".$this->ShortName."'>上一页</a></li>"; | ||||
| @@ -640,12 +640,12 @@ class FreeList | |||||
| } | } | ||||
| $totalpage = ceil($this->TotalResult / $this->pagesize); | $totalpage = ceil($this->TotalResult / $this->pagesize); | ||||
| if ($totalpage <= 1 && $this->TotalResult > 0) { | if ($totalpage <= 1 && $this->TotalResult > 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| if ($this->TotalResult == 0) { | if ($this->TotalResult == 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| $maininfo = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>"; | |||||
| $maininfo = "<li class='page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>"; | |||||
| $purl = $this->GetCurUrl(); | $purl = $this->GetCurUrl(); | ||||
| $tnamerule = $this->GetMakeFileRule(); | $tnamerule = $this->GetMakeFileRule(); | ||||
| $tnamerule = preg_replace("#^(.*)\/#", '', $tnamerule); | $tnamerule = preg_replace("#^(.*)\/#", '', $tnamerule); | ||||
| @@ -742,12 +742,12 @@ class FreeList | |||||
| } | } | ||||
| $totalpage = ceil($this->TotalResult / $this->pagesize); | $totalpage = ceil($this->TotalResult / $this->pagesize); | ||||
| if ($totalpage <= 1 && $this->TotalResult > 0) { | if ($totalpage <= 1 && $this->TotalResult > 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| if ($this->TotalResult == 0) { | if ($this->TotalResult == 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| $maininfo = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>"; | |||||
| $maininfo = "<li class='page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>"; | |||||
| $purl = $this->GetCurUrl(); | $purl = $this->GetCurUrl(); | ||||
| $geturl = "lid=".$this->FreeID."&TotalResult=".$this->TotalResult."&"; | $geturl = "lid=".$this->FreeID."&TotalResult=".$this->TotalResult."&"; | ||||
| $hidenform = "<input type='hidden' name='lid' value='".$this->FreeID."' />\r\n"; | $hidenform = "<input type='hidden' name='lid' value='".$this->FreeID."' />\r\n"; | ||||
| @@ -806,13 +806,13 @@ class ListView | |||||
| } | } | ||||
| $totalpage = ceil($this->TotalResult / $this->pagesize); | $totalpage = ceil($this->TotalResult / $this->pagesize); | ||||
| if ($totalpage <= 1 && $this->TotalResult > 0) { | if ($totalpage <= 1 && $this->TotalResult > 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>\r\n"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>\r\n"; | |||||
| } | } | ||||
| if ($this->TotalResult == 0) { | if ($this->TotalResult == 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>\r\n"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>\r\n"; | |||||
| } | } | ||||
| $purl = $this->GetCurUrl(); | $purl = $this->GetCurUrl(); | ||||
| $maininfo = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
| $maininfo = "<li class='page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
| $tnamerule = $this->GetMakeFileRule($this->Fields['id'], "list", $this->Fields['typedir'], $this->Fields['defaultname'], $this->Fields['namerule2']); | $tnamerule = $this->GetMakeFileRule($this->Fields['id'], "list", $this->Fields['typedir'], $this->Fields['defaultname'], $this->Fields['namerule2']); | ||||
| //获得上一页和主页的链接 | //获得上一页和主页的链接 | ||||
| if ($this->PageNo != 1) { | if ($this->PageNo != 1) { | ||||
| @@ -648,10 +648,10 @@ class SearchView | |||||
| } | } | ||||
| $totalpage = ceil($this->TotalResult / $this->pagesize); | $totalpage = ceil($this->TotalResult / $this->pagesize); | ||||
| if ($totalpage <= 1 && $this->TotalResult > 0) { | if ($totalpage <= 1 && $this->TotalResult > 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| if ($this->TotalResult == 0) { | if ($this->TotalResult == 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| $purl = $this->GetCurUrl(); | $purl = $this->GetCurUrl(); | ||||
| $oldkeyword = (empty($oldkeyword) ? $this->Keyword : $oldkeyword); | $oldkeyword = (empty($oldkeyword) ? $this->Keyword : $oldkeyword); | ||||
| @@ -659,7 +659,7 @@ class SearchView | |||||
| if ($this->TotalResult > $this->SearchMaxRc) { | if ($this->TotalResult > $this->SearchMaxRc) { | ||||
| $totalpage = ceil($this->SearchMaxRc / $this->pagesize); | $totalpage = ceil($this->SearchMaxRc / $this->pagesize); | ||||
| } | } | ||||
| $infos = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
| $infos = "<li class='page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
| $geturl = "keyword=".urlencode($oldkeyword)."&searchtype=".$this->SearchType; | $geturl = "keyword=".urlencode($oldkeyword)."&searchtype=".$this->SearchType; | ||||
| $hidenform = "<input type='hidden' name='keyword' value='".rawurldecode($oldkeyword)."'>\r\n"; | $hidenform = "<input type='hidden' name='keyword' value='".rawurldecode($oldkeyword)."'>\r\n"; | ||||
| $geturl .= "&channeltype=".$this->ChannelType."&orderby=".$this->OrderBy; | $geturl .= "&channeltype=".$this->ChannelType."&orderby=".$this->OrderBy; | ||||
| @@ -686,13 +686,13 @@ class SgListView | |||||
| } | } | ||||
| $totalpage = ceil($this->TotalResult / $this->pagesize); | $totalpage = ceil($this->TotalResult / $this->pagesize); | ||||
| if ($totalpage <= 1 && $this->TotalResult > 0) { | if ($totalpage <= 1 && $this->TotalResult > 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| if ($this->TotalResult == 0) { | if ($this->TotalResult == 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| $purl = $this->GetCurUrl(); | $purl = $this->GetCurUrl(); | ||||
| $maininfo = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>"; | |||||
| $maininfo = "<li class='page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>"; | |||||
| $tnamerule = $this->GetMakeFileRule($this->Fields['id'], "list", $this->Fields['typedir'], $this->Fields['defaultname'], $this->Fields['namerule2']); | $tnamerule = $this->GetMakeFileRule($this->Fields['id'], "list", $this->Fields['typedir'], $this->Fields['defaultname'], $this->Fields['namerule2']); | ||||
| $tnamerule = preg_replace("/^(.*)\//", '', $tnamerule); | $tnamerule = preg_replace("/^(.*)\//", '', $tnamerule); | ||||
| //获得上一页和主页的链接 | //获得上一页和主页的链接 | ||||
| @@ -794,10 +794,10 @@ class SgListView | |||||
| } | } | ||||
| $totalpage = ceil($this->TotalResult / $this->pagesize); | $totalpage = ceil($this->TotalResult / $this->pagesize); | ||||
| if ($totalpage <= 1 && $this->TotalResult > 0) { | if ($totalpage <= 1 && $this->TotalResult > 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| if ($this->TotalResult == 0) { | if ($this->TotalResult == 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| $purl = $this->GetCurUrl(); | $purl = $this->GetCurUrl(); | ||||
| $geturl = "tid=".$this->TypeID."&TotalResult=".$this->TotalResult."&nativeplace=$nativeplace&infotype=$infotype&keyword=".urlencode($keyword)."&"; | $geturl = "tid=".$this->TypeID."&TotalResult=".$this->TotalResult."&nativeplace=$nativeplace&infotype=$infotype&keyword=".urlencode($keyword)."&"; | ||||
| @@ -416,12 +416,12 @@ class TagList | |||||
| } | } | ||||
| $totalpage = $this->TotalPage; | $totalpage = $this->TotalPage; | ||||
| if ($totalpage <= 1 && $this->TotalResult > 0) { | if ($totalpage <= 1 && $this->TotalResult > 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| if ($this->TotalResult == 0) { | if ($this->TotalResult == 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| $maininfo = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
| $maininfo = "<li class='page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
| $purl = $this->GetCurUrl(); | $purl = $this->GetCurUrl(); | ||||
| $purl .= "?/".urlencode($this->Tag); | $purl .= "?/".urlencode($this->Tag); | ||||
| //获得上一页和下一页的链接 | //获得上一页和下一页的链接 | ||||
| @@ -491,12 +491,12 @@ class TagList | |||||
| } | } | ||||
| $totalpage = $this->TotalPage; | $totalpage = $this->TotalPage; | ||||
| if ($totalpage <= 1 && $this->TotalResult > 0) { | if ($totalpage <= 1 && $this->TotalResult > 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| if ($this->TotalResult == 0) { | if ($this->TotalResult == 0) { | ||||
| return "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>"; | |||||
| } | } | ||||
| $maininfo = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
| $maininfo = "<li class='page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
| $purl = $this->tagsDir.'/'.$this->TagInfos['id']; | $purl = $this->tagsDir.'/'.$this->TagInfos['id']; | ||||
| //获得上一页和下一页的链接 | //获得上一页和下一页的链接 | ||||
| if ($this->PageNo != 1) { | if ($this->PageNo != 1) { | ||||
| @@ -237,12 +237,12 @@ class DataListCP | |||||
| //echo " {$totalpage}=={$this->totalResult}=={$this->pagesize}"; | //echo " {$totalpage}=={$this->totalResult}=={$this->pagesize}"; | ||||
| //无结果或只有一页的情况 | //无结果或只有一页的情况 | ||||
| if ($totalpage <= 1 && $this->totalResult > 0) { | if ($totalpage <= 1 && $this->totalResult > 0) { | ||||
| return "<ul class='pagination justify-content-center'><li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$lang_total}1{$lang_page}".$this->totalResult.$lang_record_number."</span></li></ul>"; | |||||
| return "<ul class='pagination justify-content-center'><li class='page-item disabled'><span class='page-link'>{$lang_total}1{$lang_page}".$this->totalResult.$lang_record_number."</span></li></ul>"; | |||||
| } | } | ||||
| if ($this->totalResult == 0) { | if ($this->totalResult == 0) { | ||||
| return "<ul class='pagination justify-content-center'><li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$lang_total}0{$lang_page}".$this->totalResult.$lang_record_number."</span></li></ul>"; | |||||
| return "<ul class='pagination justify-content-center'><li class='page-item disabled'><span class='page-link'>{$lang_total}0{$lang_page}".$this->totalResult.$lang_record_number."</span></li></ul>"; | |||||
| } | } | ||||
| $infos = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>{$lang_total}{$totalpage}{$lang_page}/{$this->totalResult}{$lang_record_number}</span></li>"; | |||||
| $infos = "<li class='page-item disabled'><span class='page-link'>{$lang_total}{$totalpage}{$lang_page}/{$this->totalResult}{$lang_record_number}</span></li>"; | |||||
| if ($this->totalResult != 0) { | if ($this->totalResult != 0) { | ||||
| $this->getValues['totalresult'] = $this->totalResult; | $this->getValues['totalresult'] = $this->totalResult; | ||||
| } | } | ||||
| @@ -259,13 +259,13 @@ class DataListCP | |||||
| $prepage .= "<li class='page-item'><a class='page-link' href='".$purl."pageno=$prepagenum'>$lang_pre_page</a></li> \n"; | $prepage .= "<li class='page-item'><a class='page-link' href='".$purl."pageno=$prepagenum'>$lang_pre_page</a></li> \n"; | ||||
| $indexpage = "<li class='page-item'><a class='page-link' href='".$purl."pageno=1'>$lang_index_page</a></li> \n"; | $indexpage = "<li class='page-item'><a class='page-link' href='".$purl."pageno=1'>$lang_index_page</a></li> \n"; | ||||
| } else { | } else { | ||||
| $indexpage = "<li class='page-item d-none d-sm-block disabled'><span class='page-link'>"."$lang_index_page \n"."</span></li>"; | |||||
| $indexpage = "<li class='page-item disabled'><span class='page-link'>"."$lang_index_page \n"."</span></li>"; | |||||
| } | } | ||||
| if ($this->pageNO != $totalpage && $totalpage > 1) { | if ($this->pageNO != $totalpage && $totalpage > 1) { | ||||
| $nextpage .= "<li class='page-item'><a class='page-link' href='".$purl."pageno=$nextpagenum'>$lang_next_page</a></li> \n"; | $nextpage .= "<li class='page-item'><a class='page-link' href='".$purl."pageno=$nextpagenum'>$lang_next_page</a></li> \n"; | ||||
| $endpage = "<li class='page-item'><a class='page-link' href='".$purl."pageno=$totalpage'>$lang_end_page</a></li> \n"; | $endpage = "<li class='page-item'><a class='page-link' href='".$purl."pageno=$totalpage'>$lang_end_page</a></li> \n"; | ||||
| } else { | } else { | ||||
| $endpage = " <li class='page-item d-none d-sm-block disabled'><span class='page-link'>$lang_end_page</span></li> \n"; | |||||
| $endpage = " <li class='page-item disabled'><span class='page-link'>$lang_end_page</span></li> \n"; | |||||
| } | } | ||||
| //获得数字链接 | //获得数字链接 | ||||
| $listdd = ""; | $listdd = ""; | ||||