[e1a7776] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | $type = content_types('ente_planificador'); |
---|
| 4 | print "<pre>"; |
---|
| 5 | print_r($type); |
---|
| 6 | print "</pre>"; |
---|
| 7 | */ |
---|
| 8 | // $Id: page.tpl.php,v 1.18 2010/12/02 11:42:42 danprobo Exp $ |
---|
| 9 | ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
| 10 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
| 11 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> |
---|
| 12 | <head> |
---|
| 13 | <?php print $head; ?> |
---|
| 14 | <title><?php print $head_title; ?></title> |
---|
| 15 | <meta http-equiv="Content-Style-Type" content="text/css" /> |
---|
| 16 | <?php print $styles; ?> |
---|
| 17 | <!--[if IE 6]><link rel="stylesheet" href="<?php echo $base_path . $directory; ?>/style.ie6.css" type="text/css" /><![endif]--> |
---|
| 18 | <?php print $scripts; ?> |
---|
| 19 | <!--[if IE 6]> |
---|
| 20 | <script type="text/javascript" src="<?php print $base_path . $directory; ?>/scripts/jquery.pngFix.js"></script> |
---|
| 21 | <![endif]--> |
---|
| 22 | <!--[if IE 6]> |
---|
| 23 | <script type="text/javascript"> |
---|
| 24 | jQuery(document).ready(function($) { |
---|
| 25 | $(document).pngFix(); |
---|
| 26 | }); |
---|
| 27 | </script> |
---|
| 28 | <![endif]--> |
---|
| 29 | <script type="text/javascript"> |
---|
| 30 | jQuery(document).ready(function($) { |
---|
| 31 | $("#superfish ul.menu").superfish({ |
---|
| 32 | delay: 100, |
---|
| 33 | animation: {opacity:'show',height:'show'}, |
---|
| 34 | speed: 'fast', |
---|
| 35 | autoArrows: true, |
---|
| 36 | dropShadows: true |
---|
| 37 | }); |
---|
| 38 | }); |
---|
| 39 | </script> |
---|
| 40 | </head> |
---|
| 41 | |
---|
| 42 | <body<?php print phptemplate_body_class($left, $right); ?>> |
---|
| 43 | <div id="header"> |
---|
| 44 | <div id="header-wrapper"> |
---|
| 45 | <div id="header-first"> |
---|
| 46 | <img src="<?php print $base_path . path_to_theme() . '/images/cabecera5.png'; ?>" align="center" width="950px"> |
---|
| 47 | <?php if ($logo): ?> |
---|
| 48 | <div class="logo"> |
---|
| 49 | <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>"/></a> |
---|
| 50 | </div> |
---|
| 51 | <?php endif; ?> |
---|
| 52 | </div><!-- /header-first --> |
---|
| 53 | <div id="header-middle"> |
---|
| 54 | <?php if ($site_name) : ?><h2 class="logo-name"><a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h2><?php endif; ?> |
---|
| 55 | <?php if ($site_slogan) : ?><div class='logo-text'><?php print $site_slogan; ?></div><?php endif; ?> |
---|
| 56 | </div><!-- /header-middle --> |
---|
| 57 | <div id="search-box"> |
---|
| 58 | <?php print $search_box; ?> |
---|
| 59 | </div><!-- /search-box --> |
---|
| 60 | |
---|
| 61 | <div id="authorize"> |
---|
| 62 | <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> |
---|
| 63 | |
---|
| 64 | </div> |
---|
| 65 | |
---|
| 66 | </div><!-- /header-wrapper --> |
---|
| 67 | |
---|
| 68 | </div> <!-- /header --> |
---|
| 69 | <div style="clear:both"></div> |
---|
| 70 | <div id="menu"> |
---|
| 71 | <div id="rounded-menu-left"></div> |
---|
| 72 | <?php if ($primary_links || $superfish_menu): ?> |
---|
| 73 | <!-- PRIMARY --> |
---|
| 74 | <div id="<?php print $primary_links ? 'nav' : 'superfish' ; ?>"> |
---|
| 75 | <?php |
---|
| 76 | if ($primary_links) { |
---|
| 77 | print theme('links', $primary_links); |
---|
| 78 | } |
---|
| 79 | elseif (!empty($superfish_menu)) { |
---|
| 80 | print $superfish_menu; |
---|
| 81 | } |
---|
| 82 | ?> |
---|
| 83 | </div> <!-- /primary --> |
---|
| 84 | <?php endif; ?> |
---|
| 85 | <div id="rounded-menu-right"></div> |
---|
| 86 | </div> <!-- end menu --> |
---|
| 87 | |
---|
| 88 | <?php if($preface_first || $preface_middle || $preface_last) : ?> |
---|
| 89 | <div style="clear:both"></div> |
---|
| 90 | <div id="preface-wrapper" class="in<?php print (bool) $preface_first + (bool) $preface_middle + (bool) $preface_last; ?>"> |
---|
| 91 | <?php if($preface_first) : ?> |
---|
| 92 | <div class="column A"> |
---|
| 93 | <?php print $preface_first; ?> |
---|
| 94 | </div> |
---|
| 95 | <?php endif; ?> |
---|
| 96 | <?php if($preface_middle) : ?> |
---|
| 97 | <div class="column B"> |
---|
| 98 | <?php print $preface_middle; ?> |
---|
| 99 | </div> |
---|
| 100 | <?php endif; ?> |
---|
| 101 | <?php if($preface_last) : ?> |
---|
| 102 | <div class="column C"> |
---|
| 103 | <?php print $preface_last; ?> |
---|
| 104 | </div> |
---|
| 105 | <?php endif; ?> |
---|
| 106 | <div style="clear:both"></div> |
---|
| 107 | </div> |
---|
| 108 | <?php endif; ?> |
---|
| 109 | |
---|
| 110 | <div style="clear:both"></div> |
---|
| 111 | <div id="wrapper"> |
---|
| 112 | <?php if ($left): ?> |
---|
| 113 | <div id="sidebar-left" class="sidebar"> |
---|
| 114 | <?php print $left ?> |
---|
| 115 | </div> |
---|
| 116 | <?php endif; ?> |
---|
| 117 | <div id="content"> |
---|
| 118 | <?php if ($content_top) : ?><div class="content-top"><?php print $content_top; ?></div> |
---|
| 119 | <?php endif; ?> |
---|
| 120 | <?php if (!$is_front) print $breadcrumb; ?> |
---|
| 121 | <?php if ($show_messages) { print $messages; }; ?> |
---|
| 122 | <?php if ($tabs) : ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?> |
---|
| 123 | <?php if ($title) : ?><h1 class="title"><?php print $title; ?></h1><?php endif; ?> |
---|
| 124 | <?php print $help; ?> |
---|
| 125 | <?php if ($content) : ?><div class="content-middle"><?php print $content; ?></div> |
---|
| 126 | <?php endif; ?> |
---|
| 127 | <?php if ($content_bottom) : ?><div class="content-bottom"><?php print $content_bottom; ?></div> |
---|
| 128 | <?php endif; ?> |
---|
| 129 | |
---|
| 130 | </div> <!-- end content --> |
---|
| 131 | |
---|
| 132 | <?php if ($right): ?> |
---|
| 133 | <div id="sidebar-right" class="sidebar"> |
---|
| 134 | <?php print $right; ?> |
---|
| 135 | </div> |
---|
| 136 | <?php endif; ?> |
---|
| 137 | <div style="clear:both"></div> |
---|
| 138 | </div> <!-- end wrapper --> |
---|
| 139 | |
---|
| 140 | <?php if($bottom_first || $bottom_middle || $bottom_last) : ?> |
---|
| 141 | <div style="clear:both"></div> |
---|
| 142 | <div id="bottom-teaser" class="in<?php print (bool) $bottom_first + (bool) $bottom_middle + (bool) $bottom_last; ?>"> |
---|
| 143 | <?php if($bottom_first) : ?> |
---|
| 144 | <div class="column A"> |
---|
| 145 | <?php print $bottom_first; ?> |
---|
| 146 | </div> |
---|
| 147 | <?php endif; ?> |
---|
| 148 | <?php if($bottom_middle) : ?> |
---|
| 149 | <div class="column B"> |
---|
| 150 | <?php print $bottom_middle; ?> |
---|
| 151 | </div> |
---|
| 152 | <?php endif; ?> |
---|
| 153 | <?php if($bottom_last) : ?> |
---|
| 154 | <div class="column C"> |
---|
| 155 | <?php print $bottom_last; ?> |
---|
| 156 | </div> |
---|
| 157 | <?php endif; ?> |
---|
| 158 | <div style="clear:both"></div> |
---|
| 159 | </div> |
---|
| 160 | <?php endif; ?> |
---|
| 161 | |
---|
| 162 | <?php if($bottom_1 || $bottom_2 || $bottom_3 || $bottom_4) : ?> |
---|
| 163 | <div style="clear:both"></div><!-- Do not touch --> |
---|
| 164 | <div id="bottom-wrapper" class="in<?php print (bool) $bottom_1 + (bool) $bottom_2 + (bool) $bottom_3 + (bool) $bottom_4; ?>"> |
---|
| 165 | <?php if($bottom_1) : ?> |
---|
| 166 | <div class="column A"> |
---|
| 167 | <?php print $bottom_1; ?> |
---|
| 168 | </div> |
---|
| 169 | <?php endif; ?> |
---|
| 170 | <?php if($bottom_2) : ?> |
---|
| 171 | <div class="column B"> |
---|
| 172 | <?php print $bottom_2; ?> |
---|
| 173 | </div> |
---|
| 174 | <?php endif; ?> |
---|
| 175 | <?php if($bottom_3) : ?> |
---|
| 176 | <div class="column C"> |
---|
| 177 | <?php print $bottom_3; ?> |
---|
| 178 | </div> |
---|
| 179 | <?php endif; ?> |
---|
| 180 | <?php if($bottom_4) : ?> |
---|
| 181 | <div class="column D"> |
---|
| 182 | <?php print $bottom_4; ?> |
---|
| 183 | </div> |
---|
| 184 | <?php endif; ?> |
---|
| 185 | <div style="clear:both"></div> |
---|
| 186 | </div><!-- Bottom --> |
---|
| 187 | <?php endif; ?> |
---|
| 188 | |
---|
| 189 | <div style="clear:both"></div> |
---|
| 190 | <div id="footer-wrapper"> |
---|
| 191 | <div id="footer"> |
---|
| 192 | <?php print $footer; ?> |
---|
| 193 | </div> |
---|
| 194 | <?php if($footer_message || $secondary_links) : ?> |
---|
| 195 | <div id="subnav-wrapper"> |
---|
| 196 | <ul><li><?php print $footer_message; ?></li> |
---|
| 197 | <li><?php if (isset($secondary_links)) : ?><?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'subnav')); ?><?php endif; ?></li></ul> |
---|
| 198 | </div> |
---|
| 199 | <?php endif; ?> |
---|
| 200 | </div> <!-- end footer wrapper --> |
---|
| 201 | |
---|
| 202 | <div style="clear:both"></div> |
---|
| 203 | <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> |
---|
| 204 | <?php print $closure; ?> |
---|
| 205 | </body> |
---|
| 206 | </html> |
---|