Project file composition of PHP development article publishing system
Project file structure
-
All files of the project are placed in the article file submission
-
The article folder contains two folders, admin and home, and four public files. The purpose of the files has been written in the picture. The specific content will be introduced in the following chapters.
-
I hope that when you are studying, you will also create such a folder locally to facilitate your local testing
<html><head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<title>文章列表</title>
<meta charset="utf-8">
<style>
*{
box-sizing:border-box;
}
.box{
font-family: 宋體;
margin:0px auto;
width:400px;
}
.box a:link,.box a:visited,.box a:hover{color:#000000;text-decoration:underline; }
.head{
background-color:#0f8ff2;
height:80px;
}
.tit{
padding: 20px 20px;
font-size:25px;
}
.content{
width:400px;
min-height:100px;
border:1px solid red;
}
.top_con{
width:400px;
padding:10px;
}
.bottom_con{
margin-left:20px;
width:400px;
}
.con_tit{
font-size:18px;
margin:10px 0px 10px 10px;
font-weight:bold;
}
.con_des{
text-indent:2em;
font-size:18px;
}
.con_det{
padding: 0px 0px 0px 300px;
}
ul{
list-style:none;
margin-left:-40px;
}
li{
margin:15px 0px 0px 0px;
}
.index{
margin:-5px 0px 0px 0px ;
}
.bg{
position:relative;
top: -6px;
background-color:#fff;
margin-left:335px;
}
</style>
</head>
<body>
<div class="box">
<div class="head"><div class="tit">php資訊站</div><span class="bg"><a href="../admin/admin_manage.php">后臺入口</a></span></div>
<div class="content">
<div class="top_con">
<div class="con_tit">用PHP編程語言開發(fā)動態(tài)WAP頁面</div>
<div class="con_des">WAP(無線通訊協(xié)議)是在數(shù)字移動電話、個人手持設(shè)備(PDA等)及計算機之間進(jìn)行通訊的開放性全球標(biāo)準(zhǔn)協(xié)議。隨著無線通訊的不斷發(fā)展,靜態(tài)的WAP頁面在很多方面已經(jīng)不能滿足用戶個性化的要求,因此開發(fā)者可以在WAP服務(wù) </div>
<div class="con_det"><a href="home_show.php?id=13">查看詳細(xì)</a></div>
<div class="con_tit">動態(tài)語言正成為開發(fā)者的重要工具</div>
<div class="con_des">曾經(jīng)程序語言世界里的二等公民,腳本語言(也叫動態(tài)語言)正成為開發(fā)者的重要工具。</div>
<div class="con_det"><a href="home_show.php?id=15">查看詳細(xì)</a></div>
<div class="con_tit">動態(tài)網(wǎng)頁制作PHP常用的正則表達(dá)式</div>
<div class="con_des">正則表達(dá)式用于字符串處理、表單驗證等場合,實用高效</div>
<div class="con_det"><a href="home_show.php?id=18">查看詳細(xì)</a></div>
<div class="index">
<a href="home_list.php?page=1">首頁</a>
<a href="home_list.php?page=0">上一頁</a>
<a href="home_list.php?page=2">下一頁</a>
<a href="home_list.php?page=5">末頁</a>
</div>
</div>
<div class="bottom_con">
<div style="margin-left:10px;margin-top:20px,font-size:20px;">最新資訊</div>
<ul>
<li><a href="home_show.php?id=28">Facebook 將 PHP 編譯成 JVM 字節(jié)碼?</a></li>
<li><a href="home_show.php?id=27">PHP 5.5 或?qū)⒁?Generators</a></li>
<li><a href="home_show.php?id=26">國外十大最流行PHP框架排名</a></li>
<li><a href="home_show.php?id=25">php接收標(biāo)準(zhǔn)輸入解決分布式處理實現(xiàn)方法</a></li>
<li><a href="home_show.php?id=24">PhpStorm 6 發(fā)布,PHP 集成開發(fā)環(huán)境</a></li>
<li><a href="home_show.php?id=23">PHP閉包(Closure)初探</a></li>
</ul>
</div>
</div>
</div>
</body></html>