/
home2
/
ajwaeing
/
public_html
/
Upload File
HOME
<?php require_once "dbConnection.php"; $db = new dbConnection(); if(isset($_GET["pg"])) { $pg = $_GET["pg"]; $qry = "SELECT * FROM contents WHERE pgname LIKE '$pg' LIMIT 1"; $res = $db -> query($qry); $row = $db -> fetch($res); $titlex = stripslashes($row["title"]); $category = stripslashes($row["category"]); $keywords = stripslashes($row["keywords"]); $descriptions = stripslashes($row["descriptions"]); $imgtitle = stripslashes($row["imgtitle"]); $imgdesc = stripslashes($row["imgdesc"]); $picture = $row["pimage"]; $page_content = stripslashes($row["contents"]); } else { $qry = "SELECT * FROM contents WHERE pgname LIKE 'about-us' LIMIT 1"; $res = $db -> query($qry); $row = $db -> fetch($res); $titlex = stripslashes($row["title"]); $category = stripslashes($row["category"]); $keywords = stripslashes($row["keywords"]); $descriptions = stripslashes($row["descriptions"]); $imgtitle = stripslashes($row["imgtitle"]); $imgdesc = stripslashes($row["imgdesc"]); $picture = $row["pimage"]; $page_content = stripslashes($row["contents"]); } ?> <!doctype html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?=$titlex?> :. Premier Pain Centers P. A.</title> <meta name="keywords" content="<?=$keywords?>"> <meta name="description" content="<?=$descriptions?>"> <?php require_once "includes.php"; ?> </head> <body> <div class="body-wrapper" id="page-top"> <?php require_once "header.php"; ?> <!-- Page Title --> <section class="page-title"> <div class="container"> <div class="row"> <div class="col-sm-12 col-md-12" id="title"> <div class="page-title-inner"> <h2><?=$titlex?></h2> </div> </div> </div> </div> </section> <!-- /Page Title --> <!-- Main Body --> <section class="main-body symptoms"> <div class="container"> <div class="row"> <div class="col-sm-12 col-md-12"> <?php if(!empty($picture) && file_exists($picture)) { ?> <img src="<?=$picture?>" alt="<?=$imgtitle?>" class="img-responsive" style="float:left; margin:20px; float:left;" > <?php } ?> <?=$page_content?> </div> </div> </div> </section> <!-- /Main Body --> <?php require_once "footer.php"; ?> </div> <?php require_once "fincludes.php"; ?> </body> </html>