-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.tpl.php
executable file
·201 lines (177 loc) · 7.45 KB
/
page.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<?php // $Id: page.tpl.php,v 1.15.4.7 2008/12/23 03:40:02 designerbrent Exp $ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>">
<head>
<title><?php print $head_title ?></title>
<meta http-equiv="content-language" content="<?php print $language->language ?>" />
<?php print $meta; ?>
<?php print $head; ?>
<?php print $styles; ?>
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php print $path; ?>blueprint/blueprint/ie.css" type="text/css" media="screen, projection">
<link href="<?php print $path; ?>css/ie.css" rel="stylesheet" type="text/css" media="screen, projection" />
<![endif]-->
<!--[if lte IE 6]>
<link href="<?php print $path; ?>css/ie6.css" rel="stylesheet" type="text/css" media="screen, projection" />
<![endif]-->
</head>
<body class="<?php print $body_classes; ?>">
<?php if (!empty($admin)) print $admin; ?>
<a id="feedback-tab" href='<?php print base_path(); ?>contact' class="popups-form-reload" title="Hubungi Kami">Feedback</a>
<div id="container" class="container">
<div id="header" class="floatleft">
<div id="top-bar" class="floatleft">
<div id="user-info" class="span-8">
<?php if($user->uid){ ?>
Logged in as: <?php print l($user->name,'user/'.$user->uid); ?> |
<?php print l("logout","logout"); ?>
<?php } else { ?>
<a href='<?php print base_path(); ?>user' class="popups-form-reload" title="Klik untuk login">Login</a> |
<a href='<?php print base_path(); ?>user/register' class="popups-form-reload" title="Klik untuk daftar">Register</a>
<?php } ?>
</div>
<div id="networks" class="floatright">
</div>
<div id="feedbox" class="floatright">
<a href="http://www.facebook.com/pages/majalahversicom/42137374830"><img src="/<?php print drupal_get_path('theme', 'majalahversi');?>/images/facebook.png" alt="majalahversi.com page on facebook" title="majalahversi.com page on facebook" height="16" width="16"></a>
<a href="http://twitter.com/majalahversi"><img src="/<?php print drupal_get_path('theme', 'majalahversi');?>/images/twitter.png" alt="follow us on twitter" title="follow us on twitter" height="16" width="16"></a>
<?php if($feed_icons): ?>
<?php print $feed_icons; ?>
<?php else: ?>
<a href="/feed" class="feed-icon"><img src="/misc/feed.png" alt="Syndicate content" title="subscribe to our feed" height="16" width="16"></a>
<?php endif ;?>
</div>
<?php if (isset($secondary_links)) : ?>
<div id="top-menu" class="span-16 last"><?php print theme('links', $secondary_links, array('id' => 'subnav', 'class' => 'links')) ?></div>
<?php endif; ?>
</div>
<div id="logo-title" class="floatleft">
<?php if ($logo): ?>
<div id="logo" class="span-16">
<!--<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><img src=" <?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="logo-image" /></a>-->
<a href="<?php print $front_page; ?>" title="<?php print $site_name; ?>" alt="<?php print $site_name; ?>"><h1><?php print $site_name; ?></h1></a>
</div>
<?php endif; ?>
<?php if ($search_box): ?>
<div id="search-box" class="span-8 last">
<?php print $search_box; ?>
</div> <!-- /#search-box -->
<?php endif; ?>
</div>
<div id="header-image" class="floatleft"></div>
<?php if ($suckerfishmenu): ?>
<div id="suckerfishmenu" class="floatleft">
<?php print $suckerfishmenu; ?>
</div> <!-- /#suckerfishmenu -->
<?php endif; ?>
<?php if ($breadcrumb): ?>
<div id="breadcrumb" class="floatleft">
<?php print $breadcrumb; ?>
</div> <!-- /#breadcrumb -->
<?php endif; ?>
</div>
<?php if ($featured): ?>
<div id="featured" class="floatleft">
<?php print $featured; ?>
</div> <!-- /#featured -->
<?php endif; ?>
<?php if(!$title == ''): ?>
<div id="section" class="floatleft"><?php print '<h2>'. $title .'</h2>'; ?></div>
<?php endif ?>
<?php if ($left): ?>
<div class="<?php print $left_classes; ?>"><?php print $left; ?></div>
<?php endif ?>
<div id="center" class="<?php print $center_classes; ?>">
<?php
if ($tabs != '') {
print '<div class="tabs">'. $tabs .'</div>';
}
if ($messages != '') {
print '<div id="messages">'. $messages .'</div>';
}
/*
if ($title != '') {
print '<h2>'. $title .'</h2>';
} */
print $help; // Drupal already wraps this one in a class
?>
<?php if ($content): ?>
<div id="content-content">
<?php print $content; ?>
</div> <!-- /content-content -->
<?php endif ?>
<?php if ($subcontent): ?>
<div id="sub-content">
<?php print $subcontent; ?>
</div> <!-- /sub-content -->
<?php endif ?>
</div>
<?php if ($right): ?>
<div id="right" class="<?php print $right_classes; ?>"><?php print $right; ?></div>
<?php endif ?>
<?php if ($hori_adv_one): ?>
<div id="hori-adv-one" class="floatleft<?php if(!$is_front) { print " no-bottom-margin"; } ?>">
<?php print $hori_adv_one; ?>
</div> <!-- /#horizontal advertisement one -->
<?php endif; ?>
<?php if ($content_top): ?>
<div id="content-top" class="span-16">
<?php print $content_top; ?>
</div> <!-- /#content top -->
<?php endif; ?>
<?php if ($right_top): ?>
<div id="right-top" class="span-8 last">
<?php print $right_top; ?>
</div> <!-- /#right top -->
<?php endif; ?>
<?php if ($hori_adv_two): ?>
<div id="hori-adv-two" class="floatleft">
<?php print $hori_adv_two; ?>
</div> <!-- /#horizontal advertisement two -->
<?php endif; ?>
<?php if ($content_middle_one): ?>
<div id="content-middle-one" class="span-8">
<?php print $content_middle_one; ?>
</div> <!-- /#content middle -->
<?php endif; ?>
<?php if ($content_middle_two): ?>
<div id="content-middle-two" class="span-8">
<?php print $content_middle_two; ?>
</div> <!-- /#content middle -->
<?php endif; ?>
<?php if ($right_middle): ?>
<div id="right-middle" class="span-8 last">
<?php print $right_middle; ?>
</div> <!-- /#right middle -->
<?php endif; ?>
<?php if ($hori_adv_three): ?>
<div id="hori-adv-three" class="floatleft<?php if($is_front) { print " no-bottom-margin"; } ?>">
<?php print $hori_adv_three; ?>
</div> <!-- /#horizontal advertisement three -->
<?php endif; ?>
<?php if ($content_bottom): ?>
<div id="content-bottom" class="floatleft">
<?php print $content_bottom; ?>
</div> <!-- /#content bottom -->
<?php endif; ?>
<?php if ($hori_adv_four): ?>
<div id="hori-adv-four" class="floatleft<?php if($is_front) { print " no-bottom-margin"; } ?>">
<?php print $hori_adv_four; ?>
</div> <!-- /#horizontal advertisement four -->
<?php endif; ?>
<?php if ($footer_message | $footer): ?>
<div id="footer" class="floatleft">
<?php if ($footer): ?>
<?php print $footer; ?>
<?php endif; ?>
<?php if ($footer_message): ?>
<div id="footer-message"><?php print $footer_message; ?></div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php print $scripts ?>
<?php print $closure; ?>
</div>
</body>
</html>