source: sipei/themes/danland/page-front.tpl.php @ e1a7776

drupal-6.x
Last change on this file since e1a7776 was e1a7776, checked in by Luis Peña <lpena@…>, 12 años ago

Agregando el themes

  • Propiedad mode establecida a 100755
File size: 8.8 KB
Línea 
1<?php
2// $Id: page-front.tpl.php,v 1.20 2010/10/12 00:07:37 danprobo Exp $
3?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
6 <head>
7  <?php print $head; ?>
8  <title><?php print $head_title; ?></title>
9    <meta http-equiv="Content-Style-Type" content="text/css" />
10  <?php print $styles; ?>
11   <!--[if IE 6]><link rel="stylesheet" href="<?php echo $base_path . $directory; ?>/style.ie6.css" type="text/css" /><![endif]-->
12  <?php print $scripts; ?>
13  <script type="text/javascript">
14jQuery(document).ready(function($) {
15    $('.slideshow').cycle({
16                fx: 'fade' , timeout: 8000, delay: 2000});
17});</script>
18<!--[if IE 6]>
19        <script type="text/javascript" src="<?php print $base_path . $directory; ?>/scripts/jquery.pngFix.js"></script>
20<![endif]-->
21<!--[if IE 6]>
22<script type="text/javascript">
23    jQuery(document).ready(function($)  {
24        $(document).pngFix();
25    });
26</script>
27<![endif]-->
28<script type="text/javascript">
29  jQuery(document).ready(function($) {
30    $("#superfish ul.menu").superfish({
31            delay:       100,                           
32            animation:   {opacity:'show',height:'show'}, 
33            speed:       'fast',                         
34            autoArrows:  true,                           
35            dropShadows: true                   
36        });
37  });
38</script>
39 </head>
40
41<body<?php print phptemplate_body_class($left, $right); ?>>
42<div id="header">
43<div id="header-wrapper">
44        <div id="header-first">
45<img src="<?php print $base_path . path_to_theme() . '/images/cabecera5.png'; ?>" align="center" width="950px">
46          <?php if ($logo): ?> 
47          <div class="logo">
48            <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>
49          </div>
50          <?php endif; ?>
51        </div><!-- /header-first -->
52        <div id="header-middle">
53          <?php if ($site_name) : ?><h1 class="logo-name"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1><?php endif; ?>
54                                <?php if ($site_slogan) : ?><div class='logo-text'><?php print $site_slogan; ?></div><?php endif; ?>
55        </div><!-- /header-middle -->
56        <div id="search-box">
57          <?php print $search_box; ?>
58        </div><!-- /search-box -->
59
60        <div id="authorize">
61      <ul><?php global $user; if ($user->uid != 0) { print '<li class="first">' .t('Logged in as '). '<a href="' .url('user/'.$user->uid). '">' .$user->name. '</a></li>'; print '<li><a href="' .url('logout'). '">' .t('Logout'). '</a></li>'; } else { print '<li class="first"><a href="' .url('user'). '">' .t('Login'). '</a></li>';  } ?></ul>
62
63  </div>
64
65      </div><!-- /header-wrapper -->
66
67</div> <!-- /header -->
68<div style="clear:both"></div>
69<div id="menu">
70<div id="rounded-menu-left"></div>
71 <?php if ($primary_links || $superfish_menu): ?>
72      <!-- PRIMARY -->
73      <div id="<?php print $primary_links ? 'nav' : 'superfish' ; ?>">
74        <?php 
75                                             if ($primary_links) {
76                          print theme('links', $primary_links); 
77                                      }
78                                      elseif (!empty($superfish_menu)) {
79                                        print $superfish_menu;
80                                      }
81        ?>
82      </div> <!-- /primary -->
83    <?php endif; ?>
84<div id="rounded-menu-right"></div>
85</div> <!-- end menu -->
86<div style="clear:both"></div>
87
88<div id="slideshow-wrapper">
89<div class="slideshow-inner">
90<div id="slideshow-preface">
91 <?php if ($preface): ?>
92          <div id="preface">
93            <?php print $preface; ?>
94          </div><!-- /preface -->
95 <?php endif; ?>
96</div>
97<?php if ($mission) : ?><div id="slideshow-bottom">
98<div id="mission"><?php print $mission; ?></div></div><?php endif; ?>
99<div class="slideshow">
100<img src="<?php print $base_path . $directory; ?>/images/slideshows/merida.jpg" width="950" height="355" alt="slideshow 1"/>
101<img src="<?php print $base_path . $directory; ?>/images/slideshows/med1.jpg" width="950" height="355" alt="slideshow 2"/>
102<img src="<?php print $base_path . $directory; ?>/images/slideshows/caracas.jpg" width="950" height="355" alt="slideshow 3"/>
103<img src="<?php print $base_path . $directory; ?>/images/slideshows/marga.jpg" width="950" height="355" alt="slideshow 4"/>
104<img src="<?php print $base_path . $directory; ?>/images/slideshows/gran.jpg" width="950" height="355" alt="slideshow 5"/>
105<img src="<?php print $base_path . $directory; ?>/images/slideshows/puentea.jpg" width="950" height="355" alt="slideshow 6"/>
106</div>
107</div>
108</div>
109
110 <?php if($preface_first || $preface_middle || $preface_last) : ?>
111    <div style="clear:both"></div>
112    <div id="preface-wrapper" class="in<?php print (bool) $preface_first + (bool) $preface_middle + (bool) $preface_last; ?>">
113          <?php if($preface_first) : ?>
114          <div class="column A">
115            <?php print $preface_first; ?>
116          </div>
117          <?php endif; ?>
118          <?php if($preface_middle) : ?>
119          <div class="column B">
120            <?php print $preface_middle; ?>
121          </div>
122          <?php endif; ?>
123          <?php if($preface_last) : ?>
124          <div class="column C">
125            <?php print $preface_last; ?>
126          </div>
127          <?php endif; ?>
128      <div style="clear:both"></div>
129    </div>
130    <?php endif; ?>
131
132<div style="clear:both"></div>
133<div id="wrapper">
134<?php if ($left): ?>
135                        <div id="sidebar-left" class="sidebar">
136                                <?php print $left ?>
137                        </div>
138                <?php endif; ?>
139<div id="content">
140                        <?php if ($content_top) : ?><div class="content-top"><?php print $content_top; ?></div>
141                        <?php endif; ?>
142                        <?php if (!$is_front) print $breadcrumb; ?>
143                        <?php if ($show_messages) { print $messages; }; ?>
144                        <?php if ($tabs) : ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?>
145                        <?php if ($title) : ?><h1 class="title"><?php print $title; ?></h1><?php endif; ?>
146                        <?php print $help; ?>
147                      <?php if ($content) : ?><div class="content-middle"><?php print $content; ?></div>
148                        <?php endif; ?>
149                        <?php if ($content_bottom) : ?><div class="content-bottom"><?php print $content_bottom; ?></div>
150                        <?php endif; ?>
151
152</div> <!-- end content -->
153
154<?php if ($right): ?>
155                        <div id="sidebar-right" class="sidebar">
156                                <?php print $right; ?>
157                        </div>
158                <?php endif; ?>
159<div style="clear:both"></div>
160</div> <!-- end wrapper -->
161
162
163<?php if($bottom_first || $bottom_middle || $bottom_last) : ?>
164    <div style="clear:both"></div>
165    <div id="bottom-teaser" class="in<?php print (bool) $bottom_first + (bool) $bottom_middle + (bool) $bottom_last; ?>">
166          <?php if($bottom_first) : ?>
167          <div class="column A">
168            <?php print $bottom_first; ?>
169          </div>
170          <?php endif; ?>
171          <?php if($bottom_middle) : ?>
172          <div class="column B">
173            <?php print $bottom_middle; ?>
174          </div>
175          <?php endif; ?>
176          <?php if($bottom_last) : ?>
177          <div class="column C">
178            <?php print $bottom_last; ?>
179          </div>
180          <?php endif; ?>
181      <div style="clear:both"></div>
182    </div>
183    <?php endif; ?>
184
185
186 <?php if($bottom_1 || $bottom_2 || $bottom_3 || $bottom_4) : ?>
187    <div style="clear:both"></div><!-- Do not touch -->
188    <div id="bottom-wrapper" class="in<?php print (bool) $bottom_1 + (bool) $bottom_2 + (bool) $bottom_3 + (bool) $bottom_4; ?>">
189          <?php if($bottom_1) : ?>
190          <div class="column A">
191            <?php print $bottom_1; ?>
192          </div>
193          <?php endif; ?>
194          <?php if($bottom_2) : ?>
195          <div class="column B">
196            <?php print $bottom_2; ?>
197          </div>
198          <?php endif; ?>
199          <?php if($bottom_3) : ?>
200          <div class="column C">
201            <?php print $bottom_3; ?>
202          </div>
203          <?php endif; ?>
204          <?php if($bottom_4) : ?>
205          <div class="column D">
206            <?php print $bottom_4; ?>
207          </div>
208          <?php endif; ?>
209      <div style="clear:both"></div>
210    </div><!-- Bottom -->
211    <?php endif; ?>
212
213<div style="clear:both"></div>
214<div id="footer-wrapper">
215<div id="footer">
216 <?php print $footer; ?>
217</div>
218<?php if($footer_message || $secondary_links) : ?>
219<div id="subnav-wrapper">
220 <ul><li><?php print $footer_message; ?></li>
221<li><?php if (isset($secondary_links)) : ?><?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'subnav')); ?><?php endif; ?></li></ul>
222</div>
223<?php endif; ?>
224</div> <!-- end footer wrapper -->
225
226<div style="clear:both"></div>
227<div id="notice"><p>Theme by <a href="http://www.danetsoft.com">Danetsoft</a> and <a href="http://www.danpros.com">Danang Probo Sayekti</a> inspired by <a href="http://www.maksimer.no">Maksimer</a></p></div>
228<?php print $closure; ?>
229</body>
230</html>
231
232
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.