-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
133 lines (110 loc) · 3.56 KB
/
header.php
File metadata and controls
133 lines (110 loc) · 3.56 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?php // Error reporting:
error_reporting(0);
date_default_timezone_set('Europe/Madrid');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(); ?> <?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress.com" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/i/favicon.ico" type="image/x-icon" />
<script type='text/javascript' src='http://interno.mecus.es/wp-admin/js/post.js'></script>
<script type='text/javascript' src='http://interno.mecus.es/wp-content/themes/bach/bach.js'></script>
<script type='text/javascript' src='http://interno.mecus.es/wp-includes/js/l10n.js?ver=20101110'></script>
<script type='text/javascript' src='http://interno.mecus.es/wp-admin/load-scripts.php?c=1&load=jquery,utils&ver=fb5c271ac01e8186b23ece33d5ce4961'></script>
<link rel='stylesheet' id='datepicker-css-css' href='http://interno.mecus.es/wp-content/plugins/refactord-datepicker/css/jquery-ui-1.8.13.custom.css?ver=3.2.1' type='text/css' media='all' />
<script type='text/javascript' src='http://interno.mecus.es/wp-content/plugins/refactord-datepicker/js/jquery-ui-1.8.13.custom.min.js?ver=3.2.1'></script>
<script type="text/javascript">
$(function() {
$('li.activo').animatedBorder({size : 6, color : '#FFCC66'});
});
</script>
<?php wp_head(); ?>
<?php if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'iPhone' ) ) { ?>
<meta name="viewport" content="width=320" />
<style type="text/css">
#header_img, #sidebar, #postbox .avatar {
display: none;
}
#wrapper, #main {
width: 320px;
padding: 0;
float: none;
margin-left: 3px;
}
h1 {
font-size: 2em;
font-family: Georgia, "Times New Roman", serif;
margin-left: 0;
margin-top: 5px;
margin-bottom: 10px;
}
h2 {
font-size: 1.2em;
font-weight: bold;
color: #555;
}
#postbox form {
padding: 5px;
}
#postbox textarea#posttext {
width: 300px;
height: 50px;
border: 1px solid #c6d9e9;
margin-bottom: 10px;
padding: 2px;
font: 1.4em/1.2em "Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif;
}
#postbox input#tags, #commentform #comment {
font-size: 1.2em;
padding: 2px;
border: 1px solid #c6d9e9;
width: 300px;
margin-left: 0;
}
#postbox label {
color: #333;
display: block;
font-size: 1.2em;
margin-bottom: 4px;
margin-left: 0;
font-weight: bold;
}
#postbox input#submit {
font-size: 1.2em;
margin-left: 250px;
margin-top: 5px;
}
#main ul {
list-style: none;
margin-top: 16px;
margin-left: 0;
}
#wpcombar {
display: none;
}
body {
padding-top: 0;
}
</style>
<?php } ?>
</head>
<body>
<div id="wrapper">
<div style="float:left;"><a href="<?php bloginfo( 'url' ); ?>/listado-natural/"><img src="<?php echo get_option('bach_logo'); ?>" /></a></div>
<?php if (is_home()) echo '<br style="clear:both;" />'; ?>
<?php
$image = get_header_image( );
if( preg_match( '|there-is-no-image.jpg$|', $image ) !== 1 ) {
?>
<div id="header_img">
<img src="<?php echo $image; ?>" width="726" height="150" alt="" />
</div>
<?php
} // if header image
?>