You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.1 KiB
75 lines
2.1 KiB
8 years ago
|
<?php
|
||
|
|
||
|
session_start();
|
||
|
|
||
|
@include 'cgi-bin/conn.conn';
|
||
|
@include 'cgi-bin/functions.inc';
|
||
|
@include 'cgi-bin/params.inc';
|
||
|
|
||
|
$GLOBALS['getQ'][0]="home";
|
||
|
$GLOBALS['conn'];
|
||
|
|
||
|
$conn=@mysqli_connect($DATAhst,$DATAusr,$DATApwd,$DATAdtb)or die("CONNECTION ERROR");
|
||
|
|
||
|
if(@$_GET['q']){
|
||
|
$GLOBALS['getQ']=explode("/",$_GET['q']);
|
||
|
}
|
||
|
|
||
|
$description = " ";
|
||
|
/*
|
||
|
if($getQ[1]){
|
||
|
$q=mysqli_query($conn,"SELECT * FROM `contents` WHERE id=".$getQ[1]."");
|
||
|
$r=mysqli_fetch_array($q);
|
||
|
}
|
||
|
|
||
|
if(!$r['title']){$r['title']="New Media Arts";}
|
||
|
*/
|
||
|
?>
|
||
|
|
||
|
|
||
|
|
||
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title><?php echo conv_url($r['title']);?> | Ordine dei Farmacisti della Provincia di Salerno</title>
|
||
|
|
||
|
<meta name="description" content="<?php echo $description;?> | Ordine dei Farmacisti della Provincia di Salerno">
|
||
|
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||
|
|
||
|
|
||
|
<meta property="og:url" content="<?php echo $BASE_URL;?>" />
|
||
|
<meta property="og:description" content="<?php echo $description;?> | Ordine dei Farmacisti della Provincia di Salerno" />
|
||
|
<meta property="og:image" content="<?php echo $BASE_URL."/images/logo.png";?>">
|
||
|
<meta property="og:title" content="<?php echo $description;?> | Ordine dei Farmacisti della Provincia di Salerno" />
|
||
|
|
||
|
|
||
|
<base href="<?php echo $BASE_URL;?>/">
|
||
|
|
||
|
<link href="<?php echo $BASE_URL;?>/css/styles.css" rel="stylesheet" type="text/css"/>
|
||
|
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
|
||
|
<link rel="shortcut icon" type="image/png" href="<?php echo $BASE_URL;?>/images/favicon.png"/>
|
||
|
|
||
|
</head>
|
||
|
<body itemscope itemtype="http://schema.org/WebPage">
|
||
|
|
||
|
<?php
|
||
|
|
||
|
@include 'header.php';
|
||
|
@include $getQ[0].'.php';
|
||
|
|
||
|
?>
|
||
|
|
||
|
|
||
|
<script type="text/javascript" src="<?php echo $BASE_URL;?>/node_modules/jquery/dist/jquery.min.js"></script>
|
||
|
<script type="text/javascript" src="<?php echo $BASE_URL;?>/js/scripts.js"></script>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
|
||
|
|
||
|
<?php
|
||
|
mysqli_close($conn);
|
||
|
?>
|