Backend management page homepage display

1, Create a new admin.php

, the code is as follows:

<frameset cols="10%,*" frameborder="1" framespacing="0" border="1">
    <frame src="left.php" >
    <frame src="main.php" name="main">
</frameset>

2. Create a new left.php

, the code is as follows:

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加类别</title>
    <link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<ul class="type">
    <li><a href="typelist.php" target="main">类别管理</a></li>
    <li><a href="typeadd.php" target="main">添加分类</a></li>
</ul>
<ul class="type">
    <li><a href="newlist.php" target="main">新闻列表</a></li>
    <li><a href="newadd.php" target="main">添加新闻</a></li>
</ul>
</body>
</html>

3, Create a new main.php

The code is as follows:

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加类别</title>
</head>
<body>
<h1>欢迎进入后台管理</h1>
</body>
</html>

4, the page is displayed as follows:

微信图片_20180306182858.png

Continuing Learning
||
<?php echo "后台管理页面首页显示";
submitReset Code