OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / templates / magic3_demo3 / 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
12 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
13 <head>
14  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
15  <jdoc:include type="head" />
16  <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
17  <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
18  <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" />
19  <!--[if IE 6]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie6.css" type="text/css" media="screen" /><![endif]-->
20  <!--[if IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" type="text/css" media="screen" /><![endif]-->
21  <script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script>
22 </head>
23 <body>
24     <div id="art-page-background-gradient"></div>
25 <div id="art-page-background-glare">
26     <div id="art-page-background-glare-image"></div>
27 </div>
28 <div id="art-main">
29 <div class="art-sheet">
30     <div class="art-sheet-tl"></div>
31     <div class="art-sheet-tr"></div>
32     <div class="art-sheet-bl"></div>
33     <div class="art-sheet-br"></div>
34     <div class="art-sheet-tc"></div>
35     <div class="art-sheet-bc"></div>
36     <div class="art-sheet-cl"></div>
37     <div class="art-sheet-cr"></div>
38     <div class="art-sheet-cc"></div>
39     <div class="art-sheet-body">
40 <div class="art-header">
41     <div class="art-header-png"></div>
42     <div class="art-header-jpeg"></div>
43 <div class="art-logo">
44  <h1 id="name-text" class="art-logo-name"><a href="<?php echo $baseUrl; ?>/">サンプル</a></h1>
45 </div>
46
47
48 </div>
49 <jdoc:include type="modules" name="user3" />
50 <jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />
51 <?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?>
52 <div class="art-content-layout">
53     <div class="art-content-layout-row">
54 <div class="art-layout-cell art-<?php echo artxGetContentCellStyle($document); ?>">
55
56 <?php
57   echo artxModules($document, 'banner2', 'art-nostyle');
58   if (artxCountModules($document, 'breadcrumb'))
59     echo artxPost(null, artxModules($document, 'breadcrumb'));
60   echo artxPositions($document, array('user1', 'user2'), 'art-article');
61   echo artxModules($document, 'banner3', 'art-nostyle');
62 ?>
63 <?php if (artxHasMessages()) : ?><div class="art-post">
64     <div class="art-post-body">
65 <div class="art-post-inner">
66 <div class="art-postcontent">
67     <!-- article-content -->
68
69 <jdoc:include type="message" />
70
71     <!-- /article-content -->
72 </div>
73 <div class="cleared"></div>
74
75 </div>
76
77                 <div class="cleared"></div>
78     </div>
79 </div>
80 <?php endif; ?>
81 <jdoc:include type="component" />
82 <?php echo artxModules($document, 'banner4', 'art-nostyle'); ?>
83 <?php echo artxPositions($document, array('user4', 'user5'), 'art-article'); ?>
84 <?php echo artxModules($document, 'banner5', 'art-nostyle'); ?>
85 </div>
86 <?php if (artxCountModules($document, 'left')) : ?>
87 <div class="art-layout-cell art-sidebar1"><?php echo artxModules($document, 'left', 'art-block'); ?>
88 </div>
89 <?php endif; ?>
90 <?php if (artxCountModules($document, 'right')) : ?>
91 <div class="art-layout-cell art-sidebar2"><?php echo artxModules($document, 'right', 'art-block'); ?>
92 </div>
93 <?php endif; ?>
94
95     </div>
96 </div>
97 <div class="cleared"></div>
98
99 <?php echo artxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'art-block'); ?>
100 <jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" />
101 <div class="art-footer">
102     <div class="art-footer-t"></div>
103     <div class="art-footer-l"></div>
104     <div class="art-footer-b"></div>
105     <div class="art-footer-r"></div>
106     <div class="art-footer-body">
107          <?php echo artxModules($document, 'syndicate'); ?>
108         <div class="art-footer-text">
109           <?php if (artxCountModules($document, 'copyright') == 0): ?>
110 <p>Copyright &copy; 2010 <a href="http://www.magic3.org/">Magic3.org</a>.<br />
111 All Rights Reserved.</p>
112
113           <?php else: ?>
114           <?php echo artxModules($document, 'copyright', 'art-nostyle'); ?>
115           <?php endif; ?>
116         </div>
117                 <div class="cleared"></div>
118     </div>
119 </div>
120                 <div class="cleared"></div>
121     </div>
122 </div>
123 <div class="cleared"></div>
124 <p class="art-page-footer"><a href="http://www.artisteer.com/?p=magic3_templates">Magic3 template</a> created with Artisteer.</p>
125
126 </div>
127
128 </body> 
129 </html>