OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / templates / s / default / index.php
1 <?php
2 defined('_JEXEC') or die('Restricted access'); // no direct access
3 require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.php';
4 $document = null;
5 if (isset($this))
6   $document = & $this;
7 $baseUrl = $this->baseurl;
8 $templateUrl = $this->baseurl . '/templates/' . $this->template;
9 artxComponentWrapper($document);
10 ?>
11 <!DOCTYPE html>
12 <html lang="<?php echo $this->language; ?>" >
13 <head>
14  <jdoc:include type="head" />
15  <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
16  <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
17  <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" />
18  <!--[if IE 6]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie6.css" type="text/css" media="screen" /><![endif]-->
19  <!--[if IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" type="text/css" media="screen" /><![endif]-->
20  <script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script>
21 </head>
22 <body>
23 <div id="art-main">
24 <div class="art-sheet">
25     <div class="art-sheet-tl"></div>
26     <div class="art-sheet-tr"></div>
27     <div class="art-sheet-bl"></div>
28     <div class="art-sheet-br"></div>
29     <div class="art-sheet-tc"></div>
30     <div class="art-sheet-bc"></div>
31     <div class="art-sheet-cl"></div>
32     <div class="art-sheet-cr"></div>
33     <div class="art-sheet-cc"></div>
34     <div class="art-sheet-body">
35 <jdoc:include type="modules" name="user3" />
36 <jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />
37 <?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?>
38 <div class="art-content-layout">
39     <div class="art-content-layout-row">
40 <div class="art-layout-cell art-content">
41
42 <?php
43   echo artxModules($document, 'banner2', 'art-nostyle');
44   if (artxCountModules($document, 'breadcrumb'))
45     echo artxPost(null, artxModules($document, 'breadcrumb'));
46   echo artxPositions($document, array('user1', 'user2'), 'art-article');
47   echo artxModules($document, 'banner3', 'art-nostyle');
48 ?>
49 <?php if (artxHasMessages()) : ?><div class="art-post">
50     <div class="art-post-body">
51 <div class="art-post-inner">
52 <div class="art-postcontent">
53     <!-- article-content -->
54
55 <jdoc:include type="message" />
56
57     <!-- /article-content -->
58 </div>
59 <div class="cleared"></div>
60
61 </div>
62
63                 <div class="cleared"></div>
64     </div>
65 </div>
66 <?php endif; ?>
67 <jdoc:include type="component" />
68 <?php echo artxModules($document, 'banner4', 'art-nostyle'); ?>
69 <?php echo artxPositions($document, array('user4', 'user5'), 'art-article'); ?>
70 <?php echo artxModules($document, 'banner5', 'art-nostyle'); ?>
71 </div>
72
73     </div>
74 </div>
75 <div class="cleared"></div>
76
77 <?php echo artxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'art-block'); ?>
78 <jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" />
79 <div class="art-footer">
80  <div class="art-footer-inner">
81   <?php echo artxModules($document, 'syndicate'); ?>
82   <div class="art-footer-text">
83   <?php if (artxCountModules($document, 'copyright') == 0): ?>
84 <p>Copyright &copy; 2010 ---.<br />
85 All Rights Reserved.</p>
86
87   <?php else: ?>
88   <?php echo artxModules($document, 'copyright', 'art-nostyle'); ?>
89   <?php endif; ?>
90   </div>
91  </div>
92  <div class="art-footer-background"></div>
93 </div>
94
95                 <div class="cleared"></div>
96     </div>
97 </div>
98 <div class="cleared"></div>
99 <p class="art-page-footer"><a href="http://www.artisteer.com/?p=joomla_templates">Joomla template</a> created with Artisteer.</p>
100
101 </div>
102
103 </body> 
104 </html>