-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpage-node-35492.tpl.php
197 lines (181 loc) · 9.3 KB
/
page-node-35492.tpl.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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<?php
// $Id: page.tpl.php,v 1.18 2008/01/24 09:42:53 goba Exp $
// És page-front.tpl.php portada nova del theme_guifinet2011
?>
<!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" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>
<title><?php print $head_title ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?php echo base_path().$directory; ?>/css/portada.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_path().$directory; ?>/css/guifi.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_path().$directory; ?>/css/barra_guifi.css" />
<?php
// UGLY HACK: allow chat and translor in FrontPage.
$result = db_query("SELECT s.status FROM {system} s WHERE s.name = '%s' AND s.type = '%s'", 'drupalchat', 'module');
while ($row = db_fetch_object($result)) {
if ($row->status == 1 ) {
?>
<link rel="stylesheet" type="text/css" href="<?php echo base_path().drupal_get_path('module', 'drupalchat'); ?>/themes/light/light.css" />
<?php
}
}
?>
<?php $result = db_query("SELECT s.status FROM {system} s WHERE s.name = '%s' AND s.type = '%s'", 'l10n_client', 'module');
while ($row = db_fetch_object($result)) {
if ($row->status == 1 ) {
?>
<link rel="stylesheet" type="text/css" href="<?php echo base_path().drupal_get_path('module', 'l10n_client'); ?>/l10n_client.css" />
<?php
}
}
// end HACK
?>
<?php print $scripts ?>
<script type="text/javascript" src="<?php echo base_path().$directory; ?>/js/jquery.scrollShow.js"></script>
<script type="text/javascript" src="<?php echo base_path().$directory; ?>/js/jquery.scrollTo-min.js"></script>
<script type="text/javascript">
jQuery(function( $ ){
//borrowed from jQuery easing plugin
//http://gsgd.co.uk/sandbox/jquery.easing.php
$.easing.backout = function(x, t, b, c, d){
var s=1.70158;
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
};
});
</script>
<script type="text/javascript" src="<?php echo base_path().$directory; ?>/js/portada-guifi.js"></script>
</head>
<body>
<!-- BARRA SUPERIOR -->
<div id="guifi-sites">
<ul id="topnav" class="topnav">
<li class="leftnav"><a href="<?php print base_path() ?>" class="home" title="Inici"><img src="<?php echo base_path().$directory; ?>/img/guifi_favicon.jpg" height="16" width="16" border="0" alt="Guifi.net" align="middle"/></a></li>
<li class="leftnav"><a href="/portada"><?php echo t('Old Homepage'); ?></a></li>
<?php
global $user;
if ($user->uid) {
?>
<li class="leftnav expanded"><a href="#"><?php echo t('My account'); ?></a>
<ul>
<li><a href="/user/<?php print $user->uid; ?>"><?php echo t('My profile'); ?></a></li>
<li><a href="/meus-nodes/<?php print $user->uid; ?>"><?php echo t('My nodes'); ?></a></li>
<li><a href="/blog/<?php print $user->uid; ?>"><?php echo t('My blog'); ?></a></li>
<li><a href="/user/<?php print $user->uid; ?>/track"><?php echo t('My content'); ?></a></li>
</ul>
</li>
</ul>
<ul class="topnav">
<?php print i18nmenu_translated_tree('menu-crear-continguts'); ?>
<?php
}
?>
</ul>
<?php print i18nmenu_translated_tree('menu-barra-guifi'); ?>
<?php
global $user;
if (!$user->uid) {
?>
<ul>
<li><a href="#" class="signin" title="Entra"><span><?php echo t('Login'); ?> / <?php echo t('Register'); ?></span></a></li>
</ul>
<fieldset id="signin_menu">
<?php print drupal_get_form('user_login');?>
<p class="forgot"><a href="/user/register" class="vincle"><?php echo t('Register'); ?></a></p>
<p class="forgot"><a href="/user/password" id="resend_password_link" class="vincle"><?php echo t('Request new password'); ?></a></p>
</fieldset>
<?php
}
?>
</div>
<!-- FI BARRA SUPERIOR -->
<!-- CONTINGUT -->
<div id="pagina">
<!-- PRINCIPAL -->
<div id="principal">
<!-- HEADER -->
<div id="header">
<h1><a href="<?php print base_path() ?>" title="Guifi.net" id="logo"><img src="<?php echo base_path().$directory; ?>/img/guifi-logo.png" alt="Guifi.net" title="Guifi.net" /></a></h1>
<?php
if ($mission) {
print '<h2><a href="'.base_path().'" title="Guifi.net" id="slogan">';
print $mission;
print '</a></h2>';
}
?>
<div id="eines">
<?php if ($search_box): ?><?php print $search_box ?><?php endif; ?>
<form name="llengua" id="llengua" action="">
<label for="language-select-list"><?php echo t('Languages'); ?></label>
<?php draw_language_selection(); ?>
</form>
</div>
</div>
<!-- FI HEADER -->
<!-- SLIDESHOW -->
<div id="cos">
<!-- FI SLIDESHOW -->
<!-- CENTRAL -->
<div class="capsa" id="central">
<?php
if (arg(2) == 'edit' || arg(2) == 'translate'){
print $content;
} else {
print $node->content['body']['#value'];
}
?>
<!-- <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
<?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?> -->
<?php
$destacat = module_invoke('views', 'block', 'view', 'destacataHome-block_1');
$destacatok = 0;
if ($destacat) {
$destacatok = 1;
$tabcontent1 = "";
} else {
$tabcontent1 = " active";
}
?>
</div> <!-- FI CENTRAL -->
<!-- PATROCINADORS -->
<div class="capsa" id="patrocinadors">
<!--<h3>Hi donen suport</h3>-->
<ul class="slider" id="slider1">
<li><a class="left slider-arrow" id="left1" href="#"></a></li>
<li class="view">
<?php
//$block = module_invoke('views', 'block', 'view', 'logoshome-block_1');
//print $block['content'];
?>
<ul class="images">
<li><img src="<?php echo base_path().$directory; ?>/img/patrocinadors/RIPE.jpg" width="135" height="43" alt="Membres de RIPE NCC member" /></li>
<li><img src="<?php echo base_path().$directory; ?>/img/patrocinadors/EULivingLabs.png" width="50" height="50" alt="European Network of Living Labs" /></li>
<li><img src="<?php echo base_path().$directory; ?>/img/patrocinadors/openspectrum.png" width="141" height="45" alt="Openspectrum.eu" /></li>
<li><img src="<?php echo base_path().$directory; ?>/img/patrocinadors/CATNIX_mini.gif" width="75" height="45" alt="Membres del Catnix" /></li>
<li><img src="<?php echo base_path().$directory; ?>/img/patrocinadors/premis_nacionals.gif" width="135" height="39" alt="Premi Nacional de Telecomunicacions 2007 concedit a Guifi.net" /></li>
<li><img src="<?php echo base_path().$directory; ?>/img/patrocinadors/citilab.jpg" width="62" height="47" alt="Citilab Cornella" /></li>
<li><img src="<?php echo base_path().$directory; ?>/img/patrocinadors/fundacio_punt_cat.gif" width="90" height="44" alt="Fundacio Punt.cat" /></li>
<li><img src="<?php echo base_path().$directory; ?>/img/patrocinadors/hangar_org.gif" width="102" height="43" alt="Fundacio AAVC Hangar.org" /></li>
<li><img src="<?php echo base_path().$directory; ?>/img/patrocinadors/sant_bartomeu_del_grau.gif" width="31" height="45" alt="Ajuntament de Sant Bartomeu del Grau" /></li>
</ul>
</li>
<li><a class="right slider-arrow" id="right1" href="#"></a></li>
</ul>
<!--<p><a href="#" class="vincle">Suports i padrins</a></p>-->
</div>
<!-- FI PATROCINADORS -->
</div>
<!-- 4 COLUMNES -->
<div id="peu" class="quatre columnes" style="margin-top: -40px; z-index: 10">
<?php print $sitemap; ?>
</div>
<div id="sotapeu">
<?php print $footer_message . $footer ?>
</div>
</div>
<!-- FI 4 COLUMNES -->
</div>
<!-- FI CONTINGUT -->
<?php print $closure ?>
</body>
</html>