当前位置:网站首页>The establishment and introduction of the announcement module of PHP development blog system
The establishment and introduction of the announcement module of PHP development blog system
2022-06-12 01:46:00 【qq_ forty-two million three hundred and seven thousand five hun】
stay admin So let's make a new one head.php
<?php
include_once "init.php";
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8"/>
<title> Background management </title>
<link rel="stylesheet" type="text/css" href="css/common.css"/>
<link rel="stylesheet" type="text/css" href="css/main.css"/>
</head>
<body>
<div class="topbar-wrap white">
<div class="topbar-inner clearfix">
<div class="topbar-logo-wrap clearfix">
<h1 class="topbar-logo none"><a href="index.html" class="navbar-brand"> Background management </a></h1>
<ul class="navbar-list clearfix">
<li><a class="on" href="index.html"> home page </a></li>
<li><a href="#" target="_blank"> homepage </a></li>
</ul>
</div>
<div class="top-info-wrap">
<ul class="top-info-list clearfix">
<li><a href="#"> Administrators </a></li>
<li><a href="#"> Change Password </a></li>
<li><a href="#"> sign out </a></li>
</ul>
</div>
</div>
</div>
<div class="container clearfix">
<div class="sidebar-wrap">
<div class="sidebar-title">
<h1> menu </h1>
</div>
<div class="sidebar-content">
<ul class="sidebar-list">
<li>
<a href="#"><i class="icon-font"></i> Common operations </a>
<ul class="sub-menu">
<li><a href="design.html"><i class="icon-font"></i> Work management </a></li>
<li><a href="design.html"><i class="icon-font"></i> Blog management </a></li>
<li><a href="design.html"><i class="icon-font"></i> Classification management </a></li>
<li><a href="design.html"><i class="icon-font"></i> message management </a></li>
<li><a href="design.html"><i class="icon-font"></i> Comment management </a></li>
<li><a href="design.html"><i class="icon-font"></i> link </a></li>
<li><a href="design.html"><i class="icon-font"></i> Advertising management </a></li>
</ul>
</li>
<li>
<a href="#"><i class="icon-font"></i> System management </a>
<ul class="sub-menu">
<li><a href="system.html"><i class="icon-font"></i> System settings </a></li>
<li><a href="system.html"><i class="icon-font"></i> Clean cache </a></li>
<li><a href="system.html"><i class="icon-font"></i> The data backup </a></li>
<li><a href="system.html"><i class="icon-font"></i> Data restore </a></li>
</ul>
</li>
</ul>
</div>
</div>
stay add,list,editor All reference this file , In the table config Create the following to set up 
establish system.php
<?php
include_once "init.php";
$result = $conn->query("select * from config");
while($row=$result->fetch_assoc()){
$web[$row['name']] = $row['value'];
}
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8"/>
<title>『 Passion 』 Background management </title>
<link rel="stylesheet" type="text/css" href="css/common.css"/>
<link rel="stylesheet" type="text/css" href="css/main.css"/>
</head>
<body>
<div class="topbar-wrap white">
<div class="topbar-inner clearfix">
<div class="topbar-logo-wrap clearfix">
<h1 class="topbar-logo none"><a href="index.html" class="navbar-brand"> Background management </a></h1>
<ul class="navbar-list clearfix">
<li><a class="on" href="index.html"> home page </a></li>
<li><a href="#" target="_blank"> homepage </a></li>
</ul>
</div>
<div class="top-info-wrap">
<ul class="top-info-list clearfix">
<li><a href="#"> Administrators </a></li>
<li><a href="#"> Change Password </a></li>
<li><a href="#"> sign out </a></li>
</ul>
</div>
</div>
</div>
<div class="container clearfix">
<div class="sidebar-wrap">
<div class="sidebar-title">
<h1> menu </h1>
</div>
<div class="sidebar-content">
<ul class="sidebar-list">
<li>
<a href="#"><i class="icon-font"></i> Common operations </a>
<ul class="sub-menu">
<li><a href="design.html"><i class="icon-font"></i> Work management </a></li>
<li><a href="design.html"><i class="icon-font"></i> Blog management </a></li>
<li><a href="design.html"><i class="icon-font"></i> Classification management </a></li>
<li><a href="design.html"><i class="icon-font"></i> message management </a></li>
<li><a href="design.html"><i class="icon-font"></i> Comment management </a></li>
<li><a href="design.html"><i class="icon-font"></i> link </a></li>
<li><a href="design.html"><i class="icon-font"></i> Advertising management </a></li>
</ul>
</li>
<li>
<a href="#"><i class="icon-font"></i> System management </a>
<ul class="sub-menu">
<li><a href="system.html"><i class="icon-font"></i> System settings </a></li>
<li><a href="system.html"><i class="icon-font"></i> Clean cache </a></li>
<li><a href="system.html"><i class="icon-font"></i> The data backup </a></li>
<li><a href="system.html"><i class="icon-font"></i> Data restore </a></li>
</ul>
</li>
</ul>
</div>
</div>
<!--/sidebar-->
<div class="main-wrap">
<div class="crumb-wrap">
<div class="crumb-list"><i class="icon-font"></i><a href="index.html"> home page </a><span class="crumb-step">></span><span class="crumb-name"> System settings </span></div>
</div>
<div class="result-wrap">
<form action="#" method="post" id="myform" name="myform">
<div class="config-items">
<div class="config-title">
<h1><i class="icon-font"></i> Website information settings </h1>
</div>
<div class="result-content">
<table width="100%" class="insert-tab">
<tbody><tr>
<th width="15%"><i class="require-red">*</i> domain name :</th>
<td><input type="text" id="" value="<?php echo $web['website_url']; ?>" size="85" name="keywords" class="common-text"></td>
</tr>
<tr>
<th><i class="require-red">*</i> Site title :</th>
<td><input type="text" id="" value="<?php echo $web['website_title']; ?>" size="85" name="title" class="common-text"></td>
</tr>
<tr>
<th><i class="require-red">*</i> keyword :</th>
<td><input type="text" id="" value="<?php echo $web['website_keywords']; ?>" size="85" name="keywords" class="common-text"></td>
</tr>
<tr>
<th><i class="require-red">*</i> describe :</th>
<td><input type="text" id="" value="<?php echo $web['desc']; ?>" size="85" name="description" class="common-text"></td>
</tr>
<tr>
<th></th>
<td>
<input type="submit" value=" Submit " class="btn btn-primary btn6 mr10">
<input type="button" value=" return " onClick="history.go(-1)" class="btn btn6">
</td>
</tr>
</tbody></table>
</div>
</div>
</form>
</div>
</div>
<!--/main-->
</div>
</body>
</html>
边栏推荐
- Shadow implementation of unity vertex animation
- 2022年金属非金属矿山(小型露天采石场)安全管理人员考试模拟100题及模拟考试
- Watermelon video synchronization Tiktok also has benefits ~ the official "China Video Partner Program"
- Introduction to SVM
- Google 搜索广告系列设置前有哪些准备工作?
- Basic use of MATLAB
- Prism框架初识-模块化介绍
- C language programming classic games - minesweeping
- Point cloud perception algorithm interview knowledge points (I)
- Why should a redis cluster use a reverse proxy? Just read this one
猜你喜欢

Design practice of rongyun Im on electron platform

How to access the traifik proxy dashboard using the rancher desktop

Spiral matrix (skill)

联调这夜,我把同事打了...

华为,这也太强了吧..

华为联运游戏或应用审核驳回:应用检测到支付serviceCatalog:X6

竞价广告每次点击出价多少钱是固定的吗?

"Xilin chain" of Southwest Forestry University passed the functional test of Electronic Standards Institute of the Ministry of industry and information technology | FISCO bcos case
![[project training] verification notes](/img/bd/fa6111d967da6258bc53d6755cc3a2.png)
[project training] verification notes

Unit tests in golang
随机推荐
UoE UG3 Inf Course Research
On the night of the joint commissioning, I beat up my colleagues
实体类DTO转VO通过插件转化
Google 搜索广告系列设置前有哪些准备工作?
Redis集群更换节点IP后如何恢复集群并保留完整集群数据
Unit tests in golang
PCA from 0 to 1
PyGame alien invasion
LeetCode Algorithm 1791. 找出星型图的中心节点
lua 函数
西南林业大学“西林链”通过工信部电子标准院功能测试 | FISCO BCOS案例
Fatal error in launcher: unable to create process using
[从零开始学习FPGA编程-20]:快速入门篇 - 操作步骤4-2-Altera Quartus II工具的快速使用(modelSim联合仿真、程序下载到Altera开发板)
Linux(CentOS7)安装MySQL-5.7版本
“還是學一門技術更保險!”杭州校區小哥哥轉行軟件測試,喜提10K+雙休!
Data system provider Jidao technology joins dragon lizard community
小程序111111
Go language learning summary (7) -- Dachang go programming specification summary
[project training] JWT
How to improve the advertising rating of advertising, that is, the quality score?