PageRenderTime 47ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/baser/views/layouts/smartphone/default.php

https://github.com/hashing/basercms
PHP | 60 lines | 51 code | 6 blank | 3 comment | 1 complexity | 1154fd3678921579b8770431dd14dfa1 MD5 | raw file
Possible License(s): MIT
  1. <?php
  2. /**
  3. * デフォルトレイアウト
  4. */
  5. ?>
  6. <?php $bcBaser->docType('html5') ?>
  7. <html lang="ja">
  8. <head>
  9. <meta charset="utf-8" />
  10. <meta name="viewport" content="width=320, user-scalable=no">
  11. <?php $bcBaser->title() ?>
  12. <?php $bcBaser->metaDescription() ?>
  13. <?php $bcBaser->metaKeywords() ?>
  14. <?php $bcBaser->css('smartphone/import') ?>
  15. <?php $bcBaser->js(array(
  16. 'jquery-1.6.4.min',
  17. 'smartphone/startup.js'
  18. )) ?>
  19. <?php $bcBaser->scripts() ?>
  20. <?php $bcBaser->element('google_analytics', null, false, false) ?>
  21. </head>
  22. <body id="<?php $bcBaser->contentsName() ?>">
  23. <div id="Page">
  24. <header>
  25. <div class="clearfix" id="BoxLogo">
  26. <div id="Logo"><?php echo $bcBaser->siteConfig['name'] ?></div>
  27. </div>
  28. <?php $bcBaser->element('global_menu') ?>
  29. </header>
  30. <div id="ContentsBody" class="contents-body clearfix">
  31. <?php $bcBaser->flash() ?>
  32. <?php $bcBaser->content() ?>
  33. <?php $bcBaser->element('contents_navi') ?>
  34. </div>
  35. <div>
  36. <?php if(!empty($widgetArea)): ?>
  37. <?php $bcBaser->element('widget_area',array('no'=>$widgetArea)) ?>
  38. <?php endif ?>
  39. </div>
  40. <section id="ToTop">
  41. <a href="#Page">PAGE TOP</a>
  42. </section>
  43. <footer>
  44. <?php $bcBaser->element('global_menu') ?>
  45. <address>Copyright(C) 2008 - 2011 <br />baserCMS All rights Reserved.</address>
  46. <div class="banner">
  47. <?php $bcBaser->link($bcBaser->getImg('baser.power.gif', array('alt'=> 'baserCMS : Based Website Development Project', 'border'=> "0")),'http://basercms.net') ?>
  48. <?php $bcBaser->link($bcBaser->getImg('cake.power.gif', array('alt'=> 'CakePHP(tm) : Rapid Development Framework', 'border'=> "0")),'http://cakephp.jp') ?>
  49. </div>
  50. </footer>
  51. </div>
  52. <?php echo $cakeDebug; ?>
  53. </body>
  54. </html>