-
Notifications
You must be signed in to change notification settings - Fork 0
/
jumpage.phtml
176 lines (165 loc) · 7.22 KB
/
jumpage.phtml
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
<?php
/**
* jumpage Your web concept Framework
* Copyright (C) 2012 Bureau BLEEN Design Development
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses.
*
* @author Ralf Langebrake
* @link jumpage.net
*
* Install the jumpage Facebook App and get your strong Page Access
* Token on jumpage.net/app
*
*/
?><!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"><!--<![endif]-->
<head prefix="og: http://ogp.me/ns#">
<meta charset="UTF-8" />
<title><?= $this->getField('name', 'New jumpage at work') ?></title>
<?= $this->getField('about', '', '<meta name="description" content="', '" />') ?>
<meta name="generator" content="<?= $this->version ?>" />
<meta property="og:title" content="<?= $this->getField('name') ?>" />
<meta property="og:type" content="website" />
<meta property="og:url" content="<?= 'http://' . $this->baseurl . '/' ?>" />
<meta property="og:image" content="<?= 'http://' . $this->baseurl . '/open-graph-icon.jpg' ?>" />
<?= $this->getField('about', '', '<meta property="og:description" content="', '" />') ?>
<link rel="apple-touch-icon" href="<?= 'http://' . $this->baseurl . '/apple-touch-icon.png' ?>" />
<link rel="image_src" href="<?= 'http://' . $this->baseurl . '/open-graph-icon.jpg' ?>" />
<link rel="shortcut icon" href="<?= 'http://' . $this->baseurl . '/favicon.ico' ?>" />
<link rel="stylesheet" href="common/jumpage.css" />
<script src="common/modernizr-2.6.2.min.js"></script>
</head>
<body>
<!--[if lt IE 7]><p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p><![endif]-->
<header>
<div class="pdg">
<?= $this->getField('name', '', '<h1 class="t-large">', '</h1>') ?>
<?= $this->getField('categories', '', '<h2 class="t-large c-dark">', '</h2>') ?>
<?php if($cover = $this->getImage($this->profile['cover']->cover_id)) { ?>
</div>
<figure class="cover"><img
class="ir fit" src="<?= $cover->src
?>" width="<?= $cover->width
?>" height="<?= $cover->height
?>" alt="<?= $cover->alt
?>" />
<?= $this->getField('about', '', '<figcaption class="pdg"><p class="t-medium">', '</p></figcaption>') ?>
</figure>
<?php } else { ?>
<?= $this->getField('about', '', '<div class="pdg"><p class="t-medium">', '</p></div>') ?>
<?php } ?>
</header>
<?php if(count($this->posts) > 0) { ?>
<section class="wall">
<div class="tbl">
<div class="row">
<div class="col">
<?php foreach($this->posts as $post) { if($post->colnum == 0) { ?>
<div class="spacer mgr">
<?php if($post->image !== false) { ?>
<div class="postimg">
<a href="<?= htmlentities($post->href)
?>"><img class="fit" src="<?= $post->image->src
?>" width="<?= $post->image->width
?>" height="<?= $post->image->height
?>" alt="" /></a></div>
<?php } ?>
<?php if($post->message !== '') { ?>
<div class="pdg"><p class=" t-small">
<?= $post->message ?> <a href="<?= htmlentities($post->href)
?>">Mehr auf Facebook...</a></p></div><?php } ?>
</div>
<?php }} ?>
</div>
<div class="col pdl">
<?php foreach($this->posts as $post) { if($post->colnum == 1) { ?>
<div class="spacer mgl">
<?php if($post->image !== false) { ?>
<div class="postimg">
<a href="<?= htmlentities($post->href)
?>"><img class="fit" src="<?= $post->image->src
?>" width="<?= $post->image->width
?>" height="<?= $post->image->height
?>" alt="" /></a></div>
<?php } ?>
<?php if($post->message !== '') { ?>
<div class="pdg"><p class=" t-small">
<?= $post->message ?> <a href="<?= htmlentities($post->href)
?>">Mehr auf Facebook...</a></p></div><?php } ?>
</div>
<?php }} ?>
</div>
</div>
</div>
<div class="clr noprint pdb"><a title="Folge <?= $this->getField('name')
?> auf Facebook" href="<?= $this->getField('link')
?>" class="btn t-medium c-light">Folge <?= $this->getField('name')
?> auf Facebook</a></div>
</section>
<?php } ?>
<?= $this->getField('description', '', '<section><div class="pdg"><p class="t-medium">', '</p></div></section>') ?>
<footer>
<div class="cntr">
<div class="tbl">
<div class="row">
<div class="col vcard" id="hcard">
<div class="pdg t-small c-light"><a title="<?= $this->getField('name')
?>" class="url org t-small c-light bold" href="<?= $this->getField('website', '', 'http://', '/')
?>" rel="bookmark"><?= $this->getField('name') ?></a>
<div class="adr">
<?= $this->getField('street', '', '<span class="street-address">', '</span><br />')
?> <?= $this->getField('zip', '', '<span class="postal-code">', '</span>')
?> <?= $this->getField('city', '', '<span class="locality">', '</span>')
?> <?= $this->getField('country', '', '<span class="country-name">', '</span>')
?>
</div>
<div class="pdt">
<?= $this->getField('phone', '', '<span class="tel"><span class="type">Work</span> <span class="type">Voice</span> T <span class="value" title="', '">')
?><?= $this->getField('phone', '', '', '</span></span>') ?>
</div>
</div></div>
<div class="col"><!--div class="t-small mrg cnt"></div--></div>
</div>
</div>
<div class="buttons noprint"><a title="Folge <?= $this->getField('name')
?> auf Facebook" href="<?= $this->getField('link')
?>"><img class="ir" src="common/facebook.png" width="48" height="48" alt="Facebook" /></a><a
title="Hi! I am a jumpage" href="http://jumpage.net/"><img class="ir"
src="common/jumpage.png" width="48" height="48" alt="jumpage" /></a></div>
<div class="clr noprint"><a href="#top" class="btn t-medium">Nach Oben</a></div>
</div>
</footer>
<!--
This website was built with jumpage Your web concept - A Bureau BLEEN project
For more information and how to use it, visit jumpage.net
-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<!--script src="//maps.google.com/maps/api/js?sensor=false"></script-->
<script>!window.jQuery && document.write(unescape('%3Cscript '
+ 'src="common/jquery-1.8.2.min.js"%3E%3C/script%3E'))</script>
<script src="common/jumpage.js"></script>
<?php if(!empty($this->_cfg->googleAnalyticsWebpropertyId)) { ?>
<script>
var _gaq = [['_setAccount', '<?= $this->_cfg->googleAnalyticsWebpropertyId ?>'], ['_gat._anonymizeIp'], ['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<?php } ?>
</body>
</html>