This is an example.php
文章页示例页面,提供了丰富的接口与引用方法。
重点是满足网站开发的可移植性与可拓展性,尽量使用引用的方法。
网页引用header.php和footer.php。主体内容是mainContent,再此之中以day区分多篇文章。本部分内容为postCon,postCon右上方的dayTitle链接到上一级,左上方的postTitle连接到本页面。右边是sideBar,其中的sideBarMain内,引用news.php。
//HelloWorld.java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
//HelloWorld.cpp
#include <iostream>
using namespace std;
int main(){
cout << "Hello World!";
}