-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProNews
65 lines (63 loc) · 1.66 KB
/
ProNews
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
ob_start();
session_start();
include("config.php");
include("lib/connect_db.php");
include("lib/function.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Vnexpress - Khoa Phạm</title>
<!-- Style CSS -->
<link type="text/css" rel="stylesheet" href="template/css/style.css" />
</head>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/vi_VN/sdk.js#xfbml=1&version=v2.3";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<body>
<?php include("blocks/header.php"); ?>
<div class="clear"></div>
<div id="wrapper">
<div id="wrapper_index">
<?php include("blocks/logo.php"); ?>
<div class="clear"></div>
<?php include("blocks/menu.php"); ?>
<div class="clear"></div>
<?php include("blocks/breadcurmb.php"); ?>
<div class="clear"></div>
<!-- Start Pages -->
<?php
if (isset($_GET["p"])) {
$p = $_GET["p"];
if ($p == "trang-chu") {
include ("pages/trangchu.php");
} elseif ($p == "chi-tiet-tin") {
include("pages/chitiettin.php");
} elseif ($p == "loai-tin") {
include("pages/loaitin.php");
} elseif ($p == "dang-ky-thanh-vien") {
include("pages/dangkythanhvien.php");
} elseif ($p == "login") {
include("pages/login.php");
} else {
include ("pages/trangchu.php");
}
} else {
include ("pages/trangchu.php");
}
?>
<!-- End Pages -->
<div class="clear"></div>
<?php include("blocks/footer.php"); ?>
</div>
</div>
</body>
</html>