-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
107 lines (94 loc) · 4.8 KB
/
Copy pathheader.php
File metadata and controls
107 lines (94 loc) · 4.8 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html lang="es">
<?php
$title="Deporte sano";
$description="Una pincelada al deporte competitivo y su repercusión en la salud chilena";
$url="http://acalovoyadejardefinitivamente.cl";
$image="http://www.disgroupusa.com/images/deporte-salud.jpg";
$author="Marisol Jarpa";
?>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Search Engine -->
<title><?php echo $title;?></title>
<meta name="description" content="<?php echo $description;?>">
<meta name="image" content="<?php echo $image;?>">
<meta name="author" content="<?php echo $author;?>">
<!-- Schema.org for Google -->
<meta itemprop="name" content="<?php echo $title;?>">
<meta itemprop="description" content="<?php echo $description;?>">
<meta itemprop="image" content="<?php echo $image;?>">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<?php echo $title;?>">
<meta name="twitter:description" content="<?php echo $description;?>">
<!-- Open Graph general (Facebook, Pinterest & Google+) -->
<meta name="og:title" content="<?php echo $title;?>">
<meta name="og:description" content="<?php echo $description;?>">
<meta name="og:image" content="<?php echo $image;?>">
<meta name="og:url" content="<?php echo $url;?>">
<meta name="og:site_name" content="<?php echo $title;?>">
<meta name="og:locale" content="es_CL">
<meta name="og:type" content="website">
<!--eso fue lo que copie-->
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Theme CSS -->
<link href="css/clean-blog.min.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only"><?php echo $title;?></span>
Menu <i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="index.php"><?php echo ($title);?></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li<?php if((basename($_SERVER['PHP_SELF']))=='index.php'){?> class="active" <?php };?>><a href="index.php">Artículos</a></li>
<li<?php if((basename($_SERVER['PHP_SELF']))=='biblio.php'){?> class="active" <?php };?>><a href="biblio.php">Bibliografía</a></li>
<li<?php if((basename($_SERVER['PHP_SELF']))=='viz.php'){?> class="active" <?php };?>><a href="viz.php">Visualizaciones</a></li>
<li<?php if((basename($_SERVER['PHP_SELF']))=='refs.php'){?> class="active" <?php };?>><a href="refs.php">Antecedentes</a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<?php if((basename($_SERVER['PHP_SELF']))=='index.php'){?>
<header class="intro-header" style="background-image: url('img/articulos.jpg')">
<?php }else{ ?>
<header class="intro-header" style="background-image: url('img/home-bg.jpg')">
<?php };?>
<?php if((basename($_SERVER['PHP_SELF']))!='single.php'){?>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading">
<h1><?php echo ($title);?></h1>
<hr class="small">
<span class="subheading"><?php echo ($description);?></span>
</div>
</div>
</div>
</div>
</header>
<?php };?>