Backend templat...LOGIN

Backend template and website configuration

Novel site says it’s not difficult, but it’s not that easy either. It is quite suitable for practice. Overall, the novel website is a little more difficult than the corporate website. The classification is the highlight. There are too many types of novels and they need to be divided into many categories. I will talk about the classification here later.

Here I will talk about my first step in writing a website. I first found a beautiful backend template. My backend template is very beautiful. It took me a long time to find it. Let me show you

微信截图_20170707131719.png

微信截图_20170707131734.png

As shown in the picture above: This template can also be used for other websites, and I have changed a lot of the content inside.

After the template is completed, place it in the configured development environment. I use phpstudy and place it in its root directory. I am writing this site to use native PHP, so it does not involve a framework, and I have not downloaded it. Just put it directly in the www directory, which is simple and convenient.

What you need to pay attention to here is the packaging of css, js, and images files to prevent the template from being loaded. There is nothing else to pay attention to.

After all the templates are loaded, we will start to formally write related functions...

Introduction to website configuration: I have written the website configuration to death, and it does not need to be modified. Yes, of course you can modify it if you want, at least that’s what I think. Website configuration is usually placed at the bottom of the entire web page, which introduces the information of the entire website. Here I will just write a few titles casually, personal, qq, Email and address are not important.

Okay, that’s all for today. The article will continue to be updated. Next, I will talk about how to change the password in the background of the novel site, how to manage a single page, column management, content, chapter and category management. I hope you all Pay more attention to me and I am willing to make progress together with everyone.

Next Section
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="renderer" content="webkit"> <title>网站信息</title> <link rel="stylesheet" href="style/css/pintuer.css"> <link rel="stylesheet" href="style/css/admin.css"> <script src="style/js/jquery.js"></script> <script src="style/js/pintuer.js"></script> </head> <body> <div class="panel admin-panel"> <div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 网站信息</strong></div> <div class="body-content"> <form method="post" class="form-x" action="info.php"> <div class="form-group"> <div class="label"> <label>网站标题:</label> </div> <div class="field"> <input type="text" class="input" name="stitle" value="小说之家" /> <div class="tips"></div> </div> </div> <div class="form-group"> <div class="label"> <label>个人:</label> </div> <div class="field"> <input type="text" class="input" name="people" value="刘家乐" /> <div class="tips"></div> </div> </div> <div class="form-group"> <div class="label"> <label>QQ:</label> </div> <div class="field"> <input type="text" class="input" name="QQ" value="2337040780" /> <div class="tips"></div> </div> </div> <div class="form-group"> <div class="label"> <label>Email:</label> </div> <div class="field"> <input type="text" class="input" name="s_email" value="2337040780@qq.com" /> <div class="tips"></div> </div> </div> <div class="form-group"> <div class="label"> <label>地址:</label> </div> <div class="field"> <input type="text" class="input" name="s_address" value="合肥市望江西路555号" /> <div class="tips"></div> </div> </div> <div class="form-group"> <div class="label"> <label></label> </div> <div class="field"> <button class="button bg-main icon-check-square-o" type="submit"> 提交</button> </div> </div> </form> </div> </div> </body></html>
submitReset Code
ChapterCourseware