Ejemplo n.º 1
0
function showColumnstructure($columnid, $classindex = 0)
{
    $query = "select childcolumn from I_column where id={$columnid}";
    $result = getresult($query);
    $count = getresultNumrows($result);
    if ($count > 0) {
        $childColumnId = getresultData($result, 0, "childcolumn");
        //没有子栏目即返回
        //echo $childColumnId."<br>";
        if ($childColumnId == NULL || $childColumnId == 0 || $childColumnId == "") {
            if ($classindex == 0) {
                echo "<tr style=\"height:24px;\">\n";
                echo "<td align='center' colspan='3'>" . gettext_r("haveNot") . gettext_r("column") . "</td>";
                echo "</tr>\n";
            }
            return false;
        }
        $childId = explode("|", $childColumnId);
        foreach ($childId as $id) {
            echo "<tr class='list'>\n";
            $getchildcolumnQuery = "select columnname,childcount from I_column where id={$id}";
            $childColumn = getresult($getchildcolumnQuery);
            $childColumnname = getresultData($childColumn, 0, "columnname");
            $childCount = getresultData($childColumn, 0, "childcount");
            echo "<td> " . $id . "</td>\n";
            echo "<td> " . space($classindex) . $childColumnname . "</td>\n";
            echo "<td align='center'>";
            echo " ";
            //如果为大栏目调整,不出现添子栏目菜单
            if ($columnid != 0) {
                echo "<a href=\"admin_column.php?action=add&columnid=" . $id . "\">" . gettext_r("add") . gettext_r("child") . gettext_r("column") . "</a>";
                echo " | ";
            }
            echo "<a href=\"javascript:jump('admin_column.php','modify'," . $id . ")\">" . gettext_r("update") . gettext_r("column") . gettext_r("attribute") . "</a>";
            echo " | ";
            if ($columnid != 0) {
                echo "<a href=\"admin_article.php?action=add&columnid=" . $id . "\">" . gettext_r("add") . gettext_r("article") . "</a>";
                echo " | ";
            }
            echo "<a href=\"javascript:if(confirm('" . gettext_r("deleteColumnTip") . "'))jump('admin_column.php','delete'," . $id . ")\">" . gettext_r("delete") . "</a>";
            //echo " | ";
            //如果有子栏目则显示管理子栏目
            /*					if($childCount > 0)
            						echo "<a href=\"admin_column.php?columnid=".$id."\">管理子栏目($childCount)</a>\n";
            					else
            						echo "<a href=\"#\">管理子栏目($childCount)</a>\n";*/
            echo "</tr>\n";
            //如果为大栏目调整,则不递归显示子栏目
            if ($columnid != 0) {
                showColumnstructure($id, $classindex + 1);
            }
        }
    } else {
        return false;
    }
}
Ejemplo n.º 2
0
function showpowerlist($adminid = 0)
{
    if ($adminid != 0) {
        $tempresult = getresult("select * from I_admin where id={$adminid}");
        $functioncode = getresultData($tempresult, 0, "functioncode");
        $functionarray = translatefunctioncode($functioncode);
        $result = getresult("select * from I_column where parentid=0");
        while ($row = getresultArray($result)) {
            if ($functionarray[$row["id"]] === "1") {
                echo "<tr>\n";
                echo "<td><input checked=\"true\" type=\"checkbox\" name=\"columnid\" value=\"" . $row["id"] . "\" />" . $row["columnname"] . "</td>";
                echo "<td><input checked=\"checked\" type=\"radio\" name=\"" . $row["id"] . "\" value=\"1\" />" . gettext_r("editer") . "<input type=\"radio\" name=\"" . $row["id"] . "\" value=\"2\" />" . gettext_r("column") . gettext_r("manager") . "</td>";
                echo "</tr>";
                echo "<tr class='segmentline'><td colspan='2'></td></tr>";
            } elseif ($functionarray[$row["id"]] === "2") {
                echo "<tr>\n";
                echo "<td><input checked=\"true\" type=\"checkbox\" name=\"columnid\" value=\"" . $row["id"] . "\" />" . $row["columnname"] . "</td>";
                echo "<td><input type=\"radio\" name=\"" . $row["id"] . "\" value=\"1\" />" . gettext_r("editer") . "<input checked=\"checked\" type=\"radio\" name=\"" . $row["id"] . "\" value=\"2\" />" . gettext_r("column") . gettext_r("manager") . "</td>";
                echo "</tr>";
                echo "<tr class='segmentline'><td colspan='2'></td></tr>";
            } else {
                echo "<tr>\n";
                echo "<td><input type=\"checkbox\" name=\"columnid\" value=\"" . $row["id"] . "\" />" . $row["columnname"] . "</td>";
                echo "<td><input type=\"radio\" name=\"" . $row["id"] . "\" value=\"1\" />" . gettext_r("editer") . "<input type=\"radio\" name=\"" . $row["id"] . "\" value=\"2\" />" . gettext_r("column") . gettext_r("manager") . "</td>";
                echo "</tr>";
                echo "<tr class='segmentline'><td colspan='2'></td></tr>";
            }
        }
        if ($functionarray["vote"] === "1") {
            echo " <tr>";
            echo " <td colspan=\"2\"><input type=\"checkbox\" checked=\"true\" name=\"voteadmin\" value=\"1\" />" . gettext_r("vote") . gettext_r("manage") . "</td>";
            echo "  </tr>";
        } else {
            echo " <tr>";
            echo " <td colspan=\"2\"><input type=\"checkbox\" name=\"voteadmin\" value=\"1\" />" . gettext_r("vote") . gettext_r("manage") . "</td>";
            echo "  </tr>";
        }
        return;
    }
    $result = getresult("select * from I_column where parentid=0");
    while ($row = getresultArray($result)) {
        echo "<tr>\n";
        echo "<td><input type=\"checkbox\" name=\"columnid\" value=\"" . $row["id"] . "\" />" . $row["columnnamezh"] . "</td>";
        echo "<td><input type=\"radio\" name=\"" . $row["id"] . "\" value=\"1\" />" . gettext_r("editer") . "<input type=\"radio\" name=\"" . $row["id"] . "\" value=\"2\" />" . gettext_r("column") . gettext_r("manager") . "</td>";
        echo "</tr>";
        echo "<tr class='segmentline'><td colspan='2'></td></tr>";
    }
    echo " <tr>";
    echo " <td colspan=\"2\"><input type=\"checkbox\" name=\"voteadmin\" value=\"1\" />" . gettext_r("vote") . gettext_r("manage") . "</td>";
    echo "  </tr>";
}
Ejemplo n.º 3
0
function showfield($columnid)
{
    $result = getresult("select * from I_field where columnid={$columnid}");
    if (getresultnumrows($result) < 1) {
        echo "<tr>";
        echo "<td colspan='6' height='25' align='center'>" . gettext_r("haveNot") . gettext_r("field") . "</td>";
        echo "<tr>";
        return;
    }
    while ($row = getresultarray($result)) {
        echo "<tr class='list'>";
        echo "<td align='center'>" . $row["id"] . "</td>\n";
        echo "<td align='center'>" . $row["fieldname"] . "</td>";
        echo "<td align='center'>" . $row["info"] . "</td>";
        echo "<td align='center' width='100'>";
        echo "<a href=\"admin_field.php?action=modify&fieldid=" . $row["id"] . "&columnid={$columnid}\">" . gettext_r("update") . "</a>";
        echo " | ";
        echo "<a href=\"javascript:if(confirm('" . gettext_r("ifDelete") . "'))jump('admin_field.php','delete'," . $row["id"] . ")\">" . gettext_r("delete") . "</a>";
        echo "</td>\n";
        echo "</tr>";
    }
}
Ejemplo n.º 4
0
function showtemplatelist($type)
{
    $tempresult = getresult("select count(*) as countoftemplate from I_template where templatetype={$type}");
    $countoftemplate = getresultData($tempresult, 0, "countoftemplate");
    if ($countoftemplate < 1) {
        echo "<tr class='list'>\n";
        echo "<td colspan='4' align='center'>" . gettext_r("haveNot") . gettext_r("template") . "</td>\n";
        echo "</tr>";
        return;
    }
    $query = "select * from I_template where templatetype={$type}";
    $result = getresult($query);
    while ($row = getresultArray($result)) {
        echo "<tr class='list'>\n";
        echo "<td> " . $row["id"] . "</td>";
        echo "<td> " . $row["templatename"] . "</td>";
        echo "<td> " . $row["path"] . "</td>";
        echo "<td align='center'>";
        echo "<a href=\"admin_template.php?type={$type}&action=modify&id=" . $row["id"] . "\">" . gettext_r("update") . "</a> | <a href=\"javascript:if(confirm('" . gettext_r("ifDelete") . "'))jump('admin_template.php','delete'," . $row["id"] . ")\">" . gettext_r("delete") . "</a>";
        echo "</td>";
        echo "</tr>\n";
    }
}
Ejemplo n.º 5
0
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理员管理</title>
<link rel="stylesheet" type="text/css" href="css/functionstyle.css">
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/adminmainFunction.js"></script>
<script type="text/javascript">
        $(document).ready(
		function() 
			{ 
				liststyle_mousechange();
				lockeachother();
			}
		);
</script>
</head>
<body>
<?php 
include "../conn.php";
include_once "../library/basefunction.php";
include_once "../lang/envinit.php";
include "../library/admin.ads.php";
$adminid = $_GET["adminid"];
$action = $_GET["action"];
$preurl = $_GET["url"];
//检查权限超管权限,不是超管不能进行此项管理
if (getlogininfo("adminrole") == NULL || getlogininfo("adminrole") != "0") {
    die(gettext_r("noRight"));
}
?>
</body>
</html>
Ejemplo n.º 6
0
function showcommentpage($columnid, $currentpage, $pagesize = 10)
{
    $tempresult = getresult("select count(*) as countofcomment from I_comment where articleid in (" . getarticleidlist($columnid) . ")");
    $countofcomment = getresultData($tempresult, 0, "countofcomment");
    if ($countofcomment % $pagesize == 0) {
        $allpage = $countofcomment / $pagesize;
    } else {
        $allpage = floor($countofcomment / $pagesize) + 1;
    }
    //消除文章数为零时显示下一页链接的bug
    if ($countofcomment == 0) {
        $allpage += 1;
    }
    //echo $countofcomment%$pagesize." ".$currentpage;
    echo gettext_r("total") . "<b> " . $allpage . " </b>" . gettext_r("page") . "(" . $pagesize . " " . gettext_r("piece") . gettext_r("comment") . gettext_r("per") . gettext_r("page") . ") ";
    if ($currentpage == 1) {
        echo gettext_r("firstPage") . " | " . gettext_r("prePage") . " | ";
    } else {
        echo "<a href='admin_comment.php?columnid={$columnid}&currentpage=1'>" . gettext_r("firstPage") . "</a> | <a href='admin_comment.php?columnid={$columnid}&currentpage=" . ($currentpage - 1) . "'>" . gettext_r("prePage") . "</a> | ";
    }
    $temppage = 1;
    /*while($temppage <= $allpage)
    	{
    		if($currentpage==$temppage)
    			echo "<b>".$temppage."</b> ";
    		else
    			echo "<a href='admin_comment.php?columnid=$columnid&currentpage=$temppage'>".$temppage."</a> ";
    		if(($currentpage-1)<5)	
    			echo "<a href='admin_comment.php?columnid=$columnid&currentpage=$temppage'>".$temppage."</a> "
    		if(($currentpage-1)>=5)
    		$temppage++;
    	}*/
    if ($currentpage - 1 < 5) {
        while ($temppage <= $currentpage) {
            if ($currentpage == $temppage) {
                echo "<b>" . $temppage . "</b> ";
                $temppage++;
                continue;
            }
            echo "<a href='admin_comment.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    } else {
        while ($temppage <= $currentpage) {
            if ($currentpage == $temppage) {
                echo "<b>" . $temppage . "</b> ";
                $temppage++;
                continue;
            }
            if ($temppage == 1) {
                echo "<a href='admin_comment.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> … ";
                $temppage++;
                continue;
            }
            if ($currentpage - $temppage > 3) {
                $temppage++;
                continue;
            }
            echo "<a href='admin_comment.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    }
    if ($allpage - $currentpage < 5) {
        while ($temppage <= $allpage) {
            if ($temppage == 1) {
                echo "<a href='admin_comment.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
                $temppage++;
                continue;
            }
            echo "<a href='admin_comment.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    } else {
        while ($temppage <= $allpage) {
            if ($temppage == $allpage) {
                echo " … <a href='admin_comment.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
                $temppage++;
                continue;
            }
            if ($temppage - $currentpage > 3) {
                $temppage++;
                continue;
            }
            echo "<a href='admin_comment.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    }
    if ($currentpage == $allpage) {
        echo "| " . gettext_r("nextPage") . " | " . gettext_r("lastPage");
    } else {
        echo "| <a href='admin_comment.php?columnid={$columnid}&currentpage=" . ($currentpage + 1) . "'>" . gettext_r("nextPage") . "</a> | <a href='admin_comment.php?columnid={$columnid}&currentpage={$allpage}'>" . gettext_r("lastPage") . "</a>";
    }
}
Ejemplo n.º 7
0
function getPath()
{
    $siteconfig = getresult("select * from I_siteconfig limit 0,1");
    $path = "";
    $articleid = $_GET["articleid"];
    $columnid = $_GET["columnid"];
    if ($articleid != NULL && $articleid != "") {
        //文章页
        //得到栏目串再加上”-正文“
        $tempcolumnid = getcolumnformation($articleid, "id");
        //文章所在栏目
        for (;;) {
            if ($tempcolumnid != "0") {
                //echo $tempcolumnid."|";
                //如果有父栏目,则将其加到当前$path的前面
                if ($path == "") {
                    $path = "<a href='showcolumn.php?columnid=" . $tempcolumnid . "'>" . getcolumnformationBycolumnid($tempcolumnid, "columnname") . "</a>" . $path;
                } else {
                    $path = "<a href='showcolumn.php?columnid=" . $tempcolumnid . "'>" . getcolumnformationBycolumnid($tempcolumnid, "columnname") . "</a>&gt;&gt;" . $path;
                }
            } else {
                break;
            }
            $tempcolumnid = getcolumnformationBycolumnid($tempcolumnid, "parentid");
        }
        return "<a href=\"" . getresultData($siteconfig, 0, "domain") . "\">" . gettext_r("home") . "</a>&gt;&gt;" . $path;
    } elseif ($columnid != NULL && $columnid != "") {
        //栏目页
        //得到栏目串的链接
        $tempcolumnid = $columnid;
        //当前栏目id
        $path = getcolumnformationBycolumnid($tempcolumnid, "columnname");
        for (;;) {
            $tempcolumnid = getcolumnformationBycolumnid($tempcolumnid, "parentid");
            if ($tempcolumnid != "0") {
                //如果有父栏目,则将其加到当前$path的前面
                $path = "<a href='showcolumn.php?columnid=" . $tempcolumnid . "'>" . getcolumnformationBycolumnid($tempcolumnid, "columnname") . "</a>&gt;&gt;" . $path;
            } else {
                break;
            }
        }
        return "<a href=\"" . getresultData($siteconfig, 0, "domain") . "\">" . gettext_r("home") . "</a>&gt;&gt;" . $path;
    } else {
        //未知页面
        return gettext_r("home");
    }
}
Ejemplo n.º 8
0
        ?>
" /><input type="button" onclick="history.back(-1)" value="<?php 
        echo gettext_r("back");
        ?>
" /></td>
  </tr>
</table>
</form>
<?php 
        break;
    default:
        echo "<div id='navigation'>" . gettext_r("quickLink") . ":  ";
        echo "<a href=\"admin_mylabel.php?action=add\">" . gettext_r("add") . gettext_r("selfDefineTip") . "</a>\n";
        echo "</div>";
        echo "<table width='100%' border='0' cellpadding='0' cellspacing='1' class='function'>\n";
        echo "<tr class='header'>\n";
        echo "<td align='center' width='40'>" . gettext_r("serialNumber") . "</td>\n";
        echo "<td align='center' width='300'>" . gettext_r("selfDefineTip") . gettext_r("name") . "</td>\n";
        echo "<td align='center'>" . gettext_r("operate") . "</td>\n";
        echo "</tr>\n";
        showmylabel($currentpage);
        echo "</table>\n";
        echo "<div style='height:5px;'></div>";
        echo "<div id='showpage'>";
        showpage($currentpage);
        echo "</div>";
}
?>
</body>
</html>
Ejemplo n.º 9
0
      <img title="<?php 
echo gettext_r("confirmCodeTips");
?>
" id="confirmimage" onclick="changeconfirmimage()" style="cursor: pointer;" src="../library/confirmimage.php"/></div>
      </td>
    </tr>
    <tr>
      <td id="m2_button">
      <input name="action" value="login" style="display: none;" />
        <input id="m2_bt_out" type="submit" name="enter" value="<?php 
echo gettext_r("login");
?>
" onmouseover="this.id='m2_bt_over'" onmouseout="this.id='m2_bt_out'"/>
        &nbsp;&nbsp;
        <input id="m2_bt_out" type="reset" name="reset" value="<?php 
echo gettext_r("cancle");
?>
" onmouseover="this.id='m2_bt_over'" onmouseout="this.id='m2_bt_out'"/>
      </td>
    </tr>
  </table>
</div>
<!--第登录表单结束-->
<div id="logo">
  <table align="center">
    <tr>
      <td></td>
    </tr>
  </table>
</div>
</form>
Ejemplo n.º 10
0
        echo gettext_r("cancle");
        ?>
" />
</form>
<?php 
        break;
    default:
        echo "<div id='navigation'>" . gettext_r("quickLink") . ":";
        echo "<a href=\"admin_admin.php?action=add\">" . gettext_r("add") . gettext_r("manager") . "</a>\n";
        echo "</div>";
        echo "<table width='100%' border='0' cellpadding='0' cellspacing='1' class='function'>\n";
        echo "<tr class='header'>\n";
        echo "<td align='center' width='40'>" . gettext_r("checkIn") . "</td>\n";
        echo "<td align='center' width='40'>" . gettext_r("serialNumber") . "</td>\n";
        echo "<td align='center' width='150'>" . gettext_r("manager") . gettext_r("name") . "</td>\n";
        echo "<td align='center'>" . gettext_r("power") . "</td>\n";
        echo "<td align='center' width='120'>" . gettext_r("last") . gettext_r("login") . " IP</td>\n";
        echo "<td align='center' width='150'>" . gettext_r("last") . gettext_r("login") . gettext_r("time") . "</td>\n";
        echo "<td align='center' width='80'>" . gettext_r("login") . gettext_r("times") . "</td>\n";
        echo "<td align='center' width='100'>" . gettext_r("operate") . "</td>\n";
        echo "</tr>\n";
        showadminlist();
        echo "</table>\n";
        echo "<div style='height:5px;'></div>";
        echo "<input type='checkbox' id='checkall' onclick='checkall()' value='全选' /><span>" . gettext_r("checkAll") . "  </span> ";
        echo "<input type='button' onclick=\"deleteall('admin_admin.php')\" value='" . gettext_r("deleteAll") . "' />";
}
?>
</body>
</html>
Ejemplo n.º 11
0
    $countOfAll += getresultData($result, 0, "count" . $i);
}
echo "<tr><td height='46px' style='background:url(images/vote_fg2.png) repeat-y' valign='top' id='vote_title'>" . gettext_r("title") . ":" . getresultData($result, 0, "title") . "</td></tr>";
echo "<tr>";
echo "<td height='19px' style='background:url(images/vote_fg3.png) no-repeat'></td>";
echo "</tr>";
echo "<tr>";
echo "<td style='background:url(images/vote_fg4.png) repeat-y'>";
echo "<table width='820px' border='0' cellspacing='0' cellpadding='0' style='margin-left:70px'>";
for ($i = 1; $i < $countOfOption; $i++) {
    //echo $countOfAll;
    $percent = round($countOfAll > 0 ? getresultData($result, 0, "count" . $i) * 100 / $countOfAll : 0, 2);
    echo "<tr>";
    echo "    <td class='vote_main_td1'>" . getresultData($result, 0, "option" . $i) . ":</td>";
    echo "    <td class='vote_main_td2'><div style='width:{$percent}%'>{$percent}%</div></td>";
    echo "    <td class='vote_main_td3'><span>" . getresultData($result, 0, "count" . $i) . "</span>/" . $countOfAll . gettext_r("ticket") . "</td>";
    echo "</tr>";
}
echo "</table>\n";
?>
</td>
  </tr>
  <tr>
    <td height="20px" style="background:url(images/vote_fg5.png) no-repeat"></td>
  </tr>
  <tr>
    <td height="30px" style="background:url(images/vote_fg2.png) repeat-y" align="center" valign="bottom" id="vote_a"><a href="javascript:window.close()">关闭窗口</a> | <a href="/cms">返回首页</a></td>
  </tr>
  <tr>
    <td height="30px" style="background:url(images/vote_fg6.png) no-repeat"></td>
  </tr>
Ejemplo n.º 12
0
    }
}
echo "  </select>\n";
?>
    </td>
  </tr>
  <tr>
    <td class='label'><?php 
echo gettext_r("copyRight");
?>
:</td>
    <td class='attributeinput'><textarea name="copyright"><?php 
echo $copyright;
?>
</textarea></td>
  </tr>
  <tr>
    <td style="border-width:0px;"></td>
    <td height="60px;" style="border-width:0px;"><input type="submit" value="<?php 
echo gettext_r("submit");
?>
" name="submit"/>&nbsp;&nbsp;<input type="button" onclick="history.back(-1)" value="<?php 
echo gettext_r("back");
?>
" /></td>
  </tr>
</table>
</form>
</body>
</html>
Ejemplo n.º 13
0
if ($functionarray["vote"] === "1" || getlogininfo("adminrole") === "0") {
    echo "<div>\n";
    echo "   <span><strong>" . gettext_r("vote") . gettext_r("manage") . "</strong></span>\n";
    echo "   <div>\n";
    echo "      <a target=\"main\" href=\"admin_vote.php?columnid=0\">" . gettext_r("vote") . gettext_r("manage") . "</a>\n";
    echo "   </div>\n";
    echo "</div>\n";
}
//系统管理
if (getlogininfo("adminrole") === "0") {
    echo "<div>\n";
    echo "   <span><strong>" . gettext_r("site") . gettext_r("manage") . "</strong></span>\n";
    echo "   <div>\n";
    echo "      <a target=\"main\" href=\"admin_sysconfig.php\">" . gettext_r("siteInfo") . gettext_r("manage") . "</a>\n";
    echo "      <a target=\"main\" href=\"admin_column.php?columnid=0\">" . gettext_r("channel") . gettext_r("manage") . "</a>\n";
    echo "      <a target=\"main\" href=\"admin_template.php?type=3\">" . gettext_r("siteIndex") . gettext_r("template") . gettext_r("manage") . "</a>\n";
    echo "      <a target=\"main\" href=\"admin_template.php?type=4\">" . gettext_r("search") . gettext_r("template") . gettext_r("manage") . "</a>\n";
    echo "      <a target=\"main\" href=\"admin_template.php?type=1\">" . gettext_r("column") . gettext_r("page") . gettext_r("template") . gettext_r("manage") . "</a>\n";
    echo "      <a target=\"main\" href=\"admin_template.php?type=2\">" . gettext_r("article") . gettext_r("page") . gettext_r("template") . gettext_r("manage") . "</a>\n";
    echo "      <a target=\"main\" href=\"admin_mylabel.php\">" . gettext_r("selfDefineTip") . gettext_r("manage") . "</a>\n";
    echo "      <a target=\"main\" href=\"admin_log.php\">" . gettext_r("log") . gettext_r("manage") . "</a>\n";
    echo "      <a target=\"main\" href=\"admin_clearimg.php\">" . gettext_r("clear") . gettext_r("image") . "</a>\n";
    echo "   </div>\n";
    echo "</div>\n";
}
//系统信息
echo "<div>\n";
echo "   <span><strong>" . gettext_r("systemInfo") . "</strong></span>\n";
echo "</div>\n";
echo "<span id='copyright'>" . gettext_r("copyRight") . ":GOW团队<br>" . gettext_r("technicSupport") . ":GOW团队</span>\n";
echo "</div>\n";
Ejemplo n.º 14
0
function showpage($columnid, $currentpage, $pagesize = 10)
{
    global $childcolumnString, $functionarray;
    getchildcolumnid_improveed($columnid, $childcolumnString);
    //echo $childcolumnString;
    if ($functionarray[$columnid] === "2" || getlogininfo("adminrole") === "0") {
        $tempresult = getresult("select count(*) as countofarticle from I_article where columnid in (" . $childcolumnString . ")");
    } else {
        $tempresult = getresult("select count(*) as countofarticle from I_article where columnid in (" . $childcolumnString . ") and ifpass=0 and adminid=" . getlogininfo("adminid"));
    }
    $countofarticle = getresultData($tempresult, 0, "countofarticle");
    if ($countofarticle % $pagesize == 0) {
        $allpage = $countofarticle / $pagesize;
    } else {
        $allpage = floor($countofarticle / $pagesize) + 1;
    }
    //消除文章数为零时显示下一页链接的bug
    if ($countofarticle == 0) {
        $allpage += 1;
    }
    echo gettext_r("total") . "<b> " . $allpage . " </b>" . gettext_r("page") . "(" . $pagesize . " " . gettext_r("piece") . gettext_r("article") . gettext_r("per") . gettext_r("page") . ") ";
    if ($currentpage == 1) {
        echo gettext_r("firstPage") . " | " . gettext_r("prePage") . " | ";
    } else {
        echo "<a href='admin_article.php?columnid={$columnid}&currentpage=1'>" . gettext_r("firstPage") . "</a> | <a href='admin_article.php?columnid={$columnid}&currentpage=" . ($currentpage - 1) . "'>" . gettext_r("prePage") . "</a> | ";
    }
    $temppage = 1;
    if ($currentpage - 1 < 5) {
        while ($temppage <= $currentpage) {
            if ($currentpage == $temppage) {
                echo "<b>" . $temppage . "</b> ";
                $temppage++;
                continue;
            }
            echo "<a href='admin_article.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    } else {
        while ($temppage <= $currentpage) {
            if ($currentpage == $temppage) {
                echo "<b>" . $temppage . "</b> ";
                $temppage++;
                continue;
            }
            if ($temppage == 1) {
                echo "<a href='admin_article.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> … ";
                $temppage++;
                continue;
            }
            if ($currentpage - $temppage > 3) {
                $temppage++;
                continue;
            }
            echo "<a href='admin_article.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    }
    if ($allpage - $currentpage < 5) {
        while ($temppage <= $allpage) {
            if ($temppage == 1) {
                echo "<a href='admin_article.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
                $temppage++;
                continue;
            }
            echo "<a href='admin_article.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    } else {
        while ($temppage <= $allpage) {
            if ($temppage == $allpage) {
                echo " … <a href='admin_article.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
                $temppage++;
                continue;
            }
            if ($temppage - $currentpage > 3) {
                $temppage++;
                continue;
            }
            echo "<a href='admin_article.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    }
    if ($currentpage == $allpage) {
        echo "| " . gettext_r("nextPage") . " | " . gettext_r("lastPage");
    } else {
        echo "| <a href='admin_article.php?columnid={$columnid}&currentpage=" . ($currentpage + 1) . "'>" . gettext_r("nextPage") . "</a> | <a href='admin_article.php?columnid={$columnid}&currentpage={$allpage}'>" . gettext_r("lastPage") . "</a>";
    }
}
Ejemplo n.º 15
0
function translateSearchlist($template)
{
    global $pagesize;
    //如果指定页大小,则用用户参数填充$pagesize
    //匹配自定义文章列表标签正则
    $flag = "/【searchlist(\\(\\d*,\\d*,\\d*,\\d*\\))】([\\s\\S]*?)【\\/searchlist】/";
    preg_match_all($flag, $template, $matches, PREG_SET_ORDER);
    //替换所有articlelist标签
    $html = $template;
    //echo $template;
    foreach ($matches as $matche) {
        //得到需要循环的部分
        $str = $matche[2];
        //得到标签参数参数
        $parameter = substr($matche[1], 1, strlen($matche[1]) - 2);
        $parameter = split(',', $parameter);
        $articlenum = $parameter[0];
        $titlelen = $parameter[1];
        $timetype = $parameter[2];
        $sorttype = $parameter[3];
        //定义排序方式的字串
        if ($sorttype == "0") {
            //id降序
            $sortstr = "order by id desc";
        } else {
            $sortstr = "order by id asc";
        }
        //得到url参数
        $pagesize = $articlenum;
        //($_GET["pagesize"]==NULL || $_GET["pagesize"]<=0)?10:$_GET["pagesize"];
        $currentpage = $_GET["currentpage"] == NULL || $_GET["currentpage"] <= 0 ? 1 : $_GET["currentpage"];
        //根据参数从数据库取得数据
        $searchSql = "select *,left(title,{$titlelen}) as title from I_article where ifpass=1";
        if ($_GET["title"] != NULL && $_GET["title"] != "") {
            $searchSql .= " and title like '%" . $_GET["title"] . "%'";
        }
        if ($_GET["columnid"] != NULL && $_GET["columnid"] > 0) {
            $sdef_fields = getresult("select * from I_field where columnid=" . getChanelidByColumnid($_GET["columnid"]));
            while ($row = getresultarray($sdef_fields)) {
                if ($_GET[$row["fieldname"]] == NULL || $_GET[$row["fieldname"]] == "") {
                    continue;
                }
                if ($row["datatype"] == "double") {
                    $searchSql .= " and " . $row["fieldname"] . " " . $_GET[$row["fieldname"] . "ctype"] . $_GET[$row["fieldname"]];
                    //echo $_GET[$row["fieldname"]."ctype"]."测试";
                } else {
                    $searchSql .= " and " . $row["fieldname"] . " like '" . $_GET[$row["fieldname"]] . "'";
                }
            }
            //在所有子栏目中搜索
            $childcolumnStr = "";
            getchildcolumnid($_GET["columnid"], $childcolumnStr);
            $searchSql .= " and columnid in (" . $childcolumnStr . ")";
            //echo "Iron".$searchSql;
        }
        $searchSql .= " " . $sortstr . " limit " . ($currentpage - 1) * $pagesize . ",{$pagesize}";
        //echo $searchSql;
        $result = getresult($searchSql);
        //匹配循环部分的标签
        $tag_flag = "/【#[\\s\\S]*?】/";
        preg_match_all($tag_flag, $str, $data_tag, PREG_SET_ORDER);
        $tag_index = null;
        //记录标签循环部分每中标签出现的次数,如果出现第二次,则视为要显示两列数据,依次类推...
        //将要输出的html代码;
        $temphtml = "";
        while ($row = getresultArray($result)) {
            $str = $matche[2];
            foreach ($data_tag as $temp) {
                //$tempindex = 0;
                for (;;) {
                    if ($tag_index[$temp[0]] < 1) {
                        //初始化一篇文章数据
                        initarticledata($row);
                        //替换标签
                        $str = replace_once($temp[0], $str, getvalue($temp[0], $timetype));
                        //当前匹配标签计数器加1
                        if (isset($tag_index[$temp[0]])) {
                            $tag_index[$temp[0]]++;
                        } else {
                            $tag_index[$temp[0]] = 1;
                        }
                        break;
                    } else {
                        //取新文章数据
                        $row = getresultArray($result);
                        //第二次出现的标签都会引发取得新数据,故产生错误
                        //初始化数据
                        initarticledata($row);
                        //当前匹配标签计数器加1
                        $tag_index = NULL;
                    }
                }
            }
            $tag_index = NULL;
            $temphtml .= $str;
        }
        //echo $matche[0]."<br>";//.$temphtml;
        if (trim($temphtml) == "") {
            $html = str_replace($matche[0], gettext_r("haveNot") . gettext_r("search") . gettext_r("result"), $html);
        } else {
            $html = str_replace($matche[0], $temphtml, $html);
        }
    }
    //显示搜索表单
    $html = str_replace("【#searchform】", getsearchform(), $html);
    //显示分页
    $html = str_replace("【#showpage】", getsearchPage($pagesize), $html);
    return $html;
}
Ejemplo n.º 16
0
    default:
        echo "<div id='navigation'>" . gettext_r("quickLink") . ":";
        showchildcolumncomment($columnid);
        //echo "<a href=\"admin_comment.php?columnid=".$columnid."\">添加文章</a>\n";
        echo "";
        echo "</div>";
        echo "<table width='100%' border='0' cellpadding='0' cellspacing='1' class='function'>\n";
        echo "<tr class='header'>\n";
        echo "<td align='center' width='40'>" . gettext_r("checkIn") . "</td>\n";
        echo "<td align='center' width='50'>" . gettext_r("serialNumber") . "</td>\n";
        echo "<td align='center' width='140'>" . gettext_r("article") . "</td>\n";
        echo "<td align='center' width='600'>" . gettext_r("contents") . "</td>\n";
        echo "<td align='center' width='100'>" . gettext_r("author") . "</td>\n";
        echo "<td align='center' width='100'>" . gettext_r("ifPass") . "</td>\n";
        echo "<td align='center' width='100'>" . gettext_r("operate") . "</td>\n";
        echo "</tr>\n";
        showcomment($columnid, $currentpage);
        echo "</table>\n";
        echo "<div style='height:5px;'></div>";
        echo "<input type='checkbox' id='checkall' onclick='checkall()' value='全选' /><span>" . gettext_r("checkAll") . "  </span> ";
        echo "<input type='button' onclick=\"deleteall('admin_comment.php')\" value='" . gettext_r("deleteAll") . "' />";
        echo "<input type='button' onclick='passcomment(1)' value='" . gettext_r("pass") . "' />";
        echo "<input type='button' onclick='passcomment(0)' value='" . gettext_r("canclePass") . "' />";
        echo "<div id='showpage'>";
        showcommentpage($columnid, $currentpage);
        echo "</div>";
}
?>
</body>
</html>
Ejemplo n.º 17
0
	<script type="text/javascript" src="../js/jquery.js"></script>
	<script type="text/javascript" src="../js/adminmainFunction.js"></script>
    <script type="text/javascript">
        $(document).ready(
		function() 
			{ 
				initMenu();
			}
		);
    </script>
</head>

<body>
    <div id="MN_pic"></div>
    <div id="MN_line"></div>
    <div id="MN_href"><a href="admin_index_main.html" target="main"><?php 
echo gettext_r("adminIndex");
?>
</a>&nbsp;|&nbsp;<a href="../" target="_blank"><?php 
echo gettext_r("siteIndex");
?>
</a></div>
    <div id="MN_line"></div>
    <div id="MN_menu">
	  <?php 
include "left.php";
?>
	</div>
</body>
</html>
Ejemplo n.º 18
0
                $filename = basename($path);
                $ifused = getresultNumrows(getresult("select * from I_article where contents like '%" . $filename . "%'"));
                if ($ifused <= 0) {
                    echo "删除:" . $path . "<br>";
                    unlink($path);
                }
            }
        }
    }
    closedir($dir);
    //呵呵,这个函数只能删除空文件夹,有文件的文件夹会失败
    if ($index != 0) {
        if (rmdir($imgdir)) {
            echo "删除" . $imgdir . "<br>";
        }
    }
}
echo "<table width='100%' border='0' cellpadding='0' cellspacing='1' class='function'>\n";
echo "<tr class='header'>\n";
echo "<td align='center'>" . gettext_r("processing") . "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td align='left'>";
checkimg(getroot() . "/userfiles");
echo "清理完毕";
echo "</td>\n";
echo "</tr>\n";
?>
</div>
</body>
</html>
Ejemplo n.º 19
0
 function showLogpage($currentpage, $pagesize = 10, $logtype = 0)
 {
     $tempresult = getresult("select count(*) as countoflog from I_log where logtype={$logtype}");
     $countoflog = getresultData($tempresult, 0, "countoflog");
     if ($countoflog % $pagesize == 0) {
         $allpage = $countoflog / $pagesize;
     } else {
         $allpage = floor($countoflog / $pagesize) + 1;
     }
     //消除文章数为零时显示下一页链接的bug
     if ($countoflog == 0) {
         $allpage += 1;
     }
     //echo $countofcomment%$pagesize." ".$currentpage;
     echo gettext_r("total") . "<b> " . $allpage . " </b>" . gettext_r("page") . "(" . $pagesize . " " . gettext_r("piece") . gettext_r("article") . gettext_r("per") . gettext_r("page") . ") ";
     if ($currentpage == 1) {
         echo gettext_r("firstPage") . " | " . gettext_r("prePage") . " | ";
     } else {
         echo "<a href='admin_log.php?logtype={$logtype}&currentpage=1'>" . gettext_r("firstPage") . "</a> | <a href='admin_log.php?logtype={$logtype}&currentpage=" . ($currentpage - 1) . "'>" . gettext_r("prePage") . "</a> | ";
     }
     $temppage = 1;
     if ($currentpage - 1 < 5) {
         while ($temppage <= $currentpage) {
             if ($currentpage == $temppage) {
                 echo "<b>" . $temppage . "</b> ";
                 $temppage++;
                 continue;
             }
             echo "<a href='admin_log.php?logtype={$logtype}&currentpage={$temppage}'>" . $temppage . "</a> ";
             $temppage++;
         }
     } else {
         while ($temppage <= $currentpage) {
             if ($currentpage == $temppage) {
                 echo "<b>" . $temppage . "</b> ";
                 $temppage++;
                 continue;
             }
             if ($temppage == 1) {
                 echo "<a href='admin_log.php?logtype={$logtype}&currentpage={$temppage}'>" . $temppage . "</a> … ";
                 $temppage++;
                 continue;
             }
             if ($currentpage - $temppage > 3) {
                 $temppage++;
                 continue;
             }
             echo "<a href='admin_log.php?logtype={$logtype}&currentpage={$temppage}'>" . $temppage . "</a> ";
             $temppage++;
         }
     }
     if ($allpage - $currentpage < 5) {
         while ($temppage <= $allpage) {
             if ($temppage == 1) {
                 echo "<a href='admin_log.php?logtype={$logtype}&currentpage={$temppage}'>" . $temppage . "</a> ";
                 $temppage++;
                 continue;
             }
             echo "<a href='admin_log.php?logtype={$logtype}&currentpage={$temppage}'>" . $temppage . "</a> ";
             $temppage++;
         }
     } else {
         while ($temppage <= $allpage) {
             if ($temppage == $allpage) {
                 echo " … <a href='admin_log.php?logtype={$logtype}&currentpage={$temppage}'>" . $temppage . "</a> ";
                 $temppage++;
                 continue;
             }
             if ($temppage - $currentpage > 3) {
                 $temppage++;
                 continue;
             }
             echo "<a href='admin_log.php?logtype={$logtype}&currentpage={$temppage}'>" . $temppage . "</a> ";
             $temppage++;
         }
     }
     if ($currentpage == $allpage) {
         echo "| " . gettext_r("nextPage") . " | " . gettext_r("lastPage");
     } else {
         echo "| <a href='admin_log.php?logtype={$logtype}&currentpage=" . ($currentpage + 1) . "'>" . gettext_r("nextPage") . "</a> | <a href='admin_log.php?logtype={$logtype}&currentpage={$allpage}'>" . gettext_r("lastPage") . "</a>";
     }
 }
Ejemplo n.º 20
0
function translateArticlelist($template)
{
    global $pagesize, $picwidth, $picheight;
    //如果指定页大小,则用用户参数填充$pagesize
    //匹配自定义文章列表标签正则
    $flag = "/【articlelist(\\([\\d\\w]*,\\d*,\\d*,\\d*,\\d*,\\d*,\\d*,\\d*\\))】([\\s\\S]*?)【\\/articlelist】/";
    preg_match_all($flag, $template, $matches, PREG_SET_ORDER);
    //替换所有articlelist标签
    $html = $template;
    //echo $template;
    foreach ($matches as $matche) {
        //得到需要循环的部分
        $str = $matche[2];
        //得到标签参数参数
        $parameter = substr($matche[1], 1, strlen($matche[1]) - 2);
        $parameter = split(',', $parameter);
        $columnid = $parameter[0];
        $articlenum = $parameter[1];
        $titlelen = $parameter[2];
        $ifpage = $parameter[3];
        $timetype = $parameter[4];
        //echo $timetype;
        $sorttype = $parameter[5];
        //缩略图的宽和高
        $picwidth = $parameter[6];
        $picheight = $parameter[7];
        $ifshowpic = "";
        if ($picwidth != null && $picheight != null && $picheight != 0 && $picheight != 0) {
            $ifshowpic = "picurl<>'' and picurl is not NULL and";
        }
        //定义排序方式的字串
        if ($sorttype == "0") {
            //id降序
            $sortstr = "order by id desc";
        } else {
            $sortstr = "order by id asc";
        }
        //如果参数columnid的值为thiscolumn则替换为当前栏目id
        if ($columnid == "columnid" || $columnid == "") {
            $columnid = $_GET["columnid"];
        }
        //栏目子栏目串
        $childColumnString = "";
        getchildcolumnid($columnid, $childColumnString);
        //得到url参数
        $oldpagesize = $pagesize;
        $pagesize = $articlenum;
        $currentpage = $_GET["currentpage"] == NULL || $_GET["currentpage"] <= 0 ? 1 : $_GET["currentpage"];
        //根据参数从数据库取得数据
        if ($ifpage == "1") {
            $articlesql = "select *,left(title,{$titlelen}) as title from I_article where " . $ifshowpic . " columnid in ({$childColumnString}) and ifpass=1 " . $sortstr . " limit " . ($currentpage - 1) * $pagesize . ",{$pagesize}";
        } else {
            $articlesql = "select *,left(title,{$titlelen}) as title from I_article where " . $ifshowpic . " columnid in ({$childColumnString}) and ifpass=1  " . $sortstr . " limit 0,{$articlenum}";
        }
        //echo $articlesql;
        $result = getresult($articlesql);
        //匹配循环部分的标签
        $tag_flag = "/【#[\\s\\S]*?】/";
        preg_match_all($tag_flag, $str, $data_tag, PREG_SET_ORDER);
        $tag_index = null;
        //记录标签循环部分每中标签出现的次数,如果出现第二次,则视为要显示两列数据,依次类推...
        //将要输出的html代码;
        $temphtml = "";
        while ($row = getresultArray($result)) {
            $str = $matche[2];
            foreach ($data_tag as $temp) {
                //$tempindex = 0;
                for (;;) {
                    if ($tag_index[$temp[0]] < 1) {
                        //初始化一篇文章数据
                        initarticledata($row);
                        //替换标签
                        $str = replace_once($temp[0], $str, getvalue($temp[0], $timetype));
                        //当前匹配标签计数器加1
                        if (isset($tag_index[$temp[0]])) {
                            $tag_index[$temp[0]]++;
                        } else {
                            $tag_index[$temp[0]] = 1;
                        }
                        break;
                    } else {
                        //取新文章数据
                        $row = getresultArray($result);
                        //第二次出现的标签都会引发取得新数据,故产生错误
                        //初始化数据
                        initarticledata($row);
                        //当前匹配标签计数器加1
                        $tag_index = NULL;
                    }
                }
            }
            $tag_index = NULL;
            $temphtml .= $str;
        }
        if (trim($temphtml) == "") {
            $html = str_replace($matche[0], gettext_r("haveNot") . gettext_r("article"), $html);
        } else {
            $html = str_replace($matche[0], $temphtml, $html);
        }
        //echo "||".$ifpage;
        if ($ifpage == 0) {
            $pagesize = $oldpagesize;
        }
    }
    return $html;
}
Ejemplo n.º 21
0
function showpage($currentpage, $pagesize = 10)
{
    $tempresult = getresult("select count(*) as countofuser from I_user");
    $countofuser = getresultData($tempresult, 0, "countofuser");
    if ($countofuser % $pagesize == 0) {
        $allpage = $countofuser / $pagesize;
    } else {
        $allpage = floor($countofuser / $pagesize) + 1;
    }
    //消除文章数为零时显示下一页链接的bug
    if ($countofuser == 0) {
        $allpage += 1;
    }
    echo gettext_r("total") . "<b> " . $allpage . " </b>" . gettext_r("page") . "(" . $pagesize . " " . gettext_r("piece") . gettext_r("user") . gettext_r("per") . gettext_r("page") . ") ";
    if ($currentpage == 1) {
        echo gettext_r("firstPage") . " | " . gettext_r("prePage") . " | ";
    } else {
        echo "<a href='admin_user.php?columnid={$columnid}&currentpage=1'>" . gettext_r("firstPage") . "</a> | <a href='admin_user.php?columnid={$columnid}&currentpage=" . ($currentpage - 1) . "'>" . gettext_r("prePage") . "</a> | ";
    }
    $temppage = 1;
    if ($currentpage - 1 < 5) {
        while ($temppage <= $currentpage) {
            if ($currentpage == $temppage) {
                echo "<b>" . $temppage . "</b> ";
                $temppage++;
                continue;
            }
            echo "<a href='admin_user.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    } else {
        while ($temppage <= $currentpage) {
            if ($currentpage == $temppage) {
                echo "<b>" . $temppage . "</b> ";
                $temppage++;
                continue;
            }
            if ($temppage == 1) {
                echo "<a href='admin_user.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> … ";
                $temppage++;
                continue;
            }
            if ($currentpage - $temppage > 3) {
                $temppage++;
                continue;
            }
            echo "<a href='admin_user.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    }
    if ($allpage - $currentpage < 5) {
        while ($temppage <= $allpage) {
            if ($temppage == 1) {
                echo "<a href='admin_user.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
                $temppage++;
                continue;
            }
            echo "<a href='admin_user.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    } else {
        while ($temppage <= $allpage) {
            if ($temppage == $allpage) {
                echo " … <a href='admin_user.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
                $temppage++;
                continue;
            }
            if ($temppage - $currentpage > 3) {
                $temppage++;
                continue;
            }
            echo "<a href='admin_user.php?columnid={$columnid}&currentpage={$temppage}'>" . $temppage . "</a> ";
            $temppage++;
        }
    }
    if ($currentpage == $allpage) {
        echo "| " . gettext_r("nextPage") . " | " . gettext_r("lastPage");
    } else {
        echo "| <a href='admin_user.php?columnid={$columnid}&currentpage=" . ($currentpage + 1) . "'>" . gettext_r("nextPage") . "</a> | <a href='admin_user.php?columnid={$columnid}&currentpage={$allpage}'>" . gettext_r("lastPage") . "</a>";
    }
}
Ejemplo n.º 22
0
  <div id="topbg3"></div>
  <div style="float:right">
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td id="search">
          <table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><input name="IEsearch" type="text" value="<?php 
echo gettext_r("searchThisPage");
?>
" size="35" maxlength="50" onfocus="javascript:this.select()" 
                   style="height:16px; font-family:'微软雅黑','宋体'; font-size:12px; color:#666666;" onkeydown="if(event.keyCode==13){javascript:findIt()}"/>
              </td>
              <td width="5px"></td>
              <td><input name="search" type="button" value="<?php 
echo gettext_r("search");
?>
" style="height:25px"/ onClick="javascript:findIt();"></td>
            </tr>
          </table>
        </td>
      </tr>
      <tr>
        <td id="time" valign="middle"><span></span></td>
      </tr>
    </table>
  </div>
</div>
<!--第二条背结束景-->
</body>
</html>