-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnewphp.php
59 lines (57 loc) · 2.06 KB
/
newphp.php
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
<?php include("admin/config.php");
$pagename= basename($_SERVER['PHP_SELF']);
$PageInfo=mysql_fetch_assoc(mysql_query("select * from new_page where pagename='".$pagename."'"));
?><!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html class="not-ie" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title><?php echo stripslashes($PageInfo['metatitle']); ?></title>
<meta name="description" content="<?php echo stripslashes($PageInfo['metadescription']); ?>">
<meta name="keywords" content="<?php echo stripslashes($PageInfo['metakeyword']); ?>">
<?php include("includes/head.php");?>
</head>
<body>
<?php include_once("analyticstracking.php") ?>
<header>
<?php include("includes/header.php");?>
</header>
<div class="breadcrumb-container">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1><?php echo stripslashes($PageInfo['pagetitle']); ?></h1>
<ol class="breadcrumb"><li class="active"><a href="<?php echo stripslashes($PageInfo['url']); ?>"><?php echo stripslashes($PageInfo['smallcontent']); ?></a></li>
</ol>
</div>
</div>
</div>
</div>
<div class="space20"></div>
<div class="container">
<div class="row">
<div class="col-md-8">
<p><b><?php echo stripslashes($PageInfo['pagesubtitle']); ?></b></p>
<?php echo stripslashes($PageInfo['content']); ?>
</div>
<div class="col-md-4">
<?php if($PageInfo['rightcontent']!=''){
echo stripslashes($PageInfo['rightcontent']);
} else {
$DefaultContent=mysql_fetch_assoc(mysql_query("select * from default_right_cont where status='1'"));
echo stripslashes($DefaultContent['content']);
}?>
</div>
</div>
</div>
<div class="space40"></div>
<div class="space60"></div>
<footer class="footer">
<?php include("includes/topfooter.php");?>
<?php include("includes/footer.php");?>
</footer>
<?php include("includes/javascript.php");?>
</body>
</html>