1<?php
2/**
3 * Launch Starter Template
4 * Based on the starter template
5 *
6 * @link     http://dokuwiki.org/template:launch
7 * @author   desbest <afaninthehouse@gmail.com>
8 * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
9 */
10
11if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
12@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
13header('X-UA-Compatible: IE=edge,chrome=1');
14
15$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) );
16$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
17?><!DOCTYPE html>
18<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
19  lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
20<head>
21    <meta charset="UTF-8" />
22    <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
23    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
24    <?php tpl_metaheaders() ?>
25    <meta name="viewport" content="width=device-width,initial-scale=1" />
26    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
27    <?php tpl_includeFile('meta.html') ?>
28
29    <meta http-equiv="X-UA-Compatible" content="IE=edge">
30    <!--Fonts-->
31    <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
32    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'>
33
34    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
35    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
36    <!--[if lt IE 9]>
37      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
38      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
39    <![endif]-->
40    <script type="text/javascript">
41        jQuery(window).load(function() { // web page has finished
42
43    function isMobile() {
44    var index = navigator.appVersion.indexOf("Mobile"); // detect chrome for android and ios safari
45    var index2 = navigator.appVersion.indexOf("Android"); // detect firefox for android
46    if (index2) { return (index2 > -1); }
47    return (index > -1);
48    }
49
50    usingmobile = isMobile();
51    if (usingmobile){
52        jQuery('input').filter(function(){
53        return !jQuery(this).attr('size');
54        }).attr('size',''); // change to a number if desired
55        jQuery('textarea').filter(function(){
56        return !jQuery(this).attr('size');
57        }).attr('cols',''); // change to a number if desired
58
59        jQuery("#edit__summary").attr('size', '');
60    }
61
62});
63</script>
64</head>
65
66<body class="site <?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>">
67
68    <?php tpl_includeFile('header.html') ?>
69    <!--header-->
70    <header id="dokuwiki__top" class="header">
71        <div class="container">
72            <div class="row">
73                <div class="goal-summary pull-left">
74                    <div class="backers">
75                        <h3><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h3>
76                        <?php /* how to insert logo instead (if no CSS image replacement technique is used):
77                        upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly:
78                        tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?>
79                        <!-- <span>backers</span> -->
80
81                        <?php if ($conf['tagline']): ?>
82                            <span class="claim"><?php echo $conf['tagline'] ?></span>
83                        <?php endif ?>
84
85                        <ul class="a11y skip">
86                            <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li>
87                        </ul>
88                    </div>
89                    <!-- <div class="funded">
90                        <h3>$10,350</h3>
91                        <span>raised out of $23,000</span>
92                    </div>
93                    <div class="time-left">
94                        <h3>27</h3>
95                        <span>days left to go</span>
96                    </div> -->
97                    <div class="reminder last">
98                        <!-- <a href="#"><i class="fa fa-star"></i> REMIND ME</a> -->
99                        <?php tpl_searchform() ?>
100                    </div>
101                </div>
102            </div>
103        </div>
104    </header>
105    <!--/header-->
106    <!--main content-->
107    <div class="main-content">
108        <div class="container">
109            <div class="row">
110                <div class="content col-md-8 col-sm-12 col-xs-12">
111
112                    <?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
113
114                    <!-- <div class="section-block">
115                        <div class="funding-meta">
116                            <h1>LAUNCH INTO SUCCESS</h1>
117                            <span class="type-meta"><i class="fa fa-user"></i> Jonathan Doe</span>
118                            <span class="type-meta"><i class="fa fa-tag"></i> <a href="#">crowdfunding</a>, <a href="#">launch</a> </span>
119                            <img src="assets/img/image-heartbeat.jpg" class="img-responsive" alt="launch HTML5 Crowdfunding">
120                            <div class="video-frame">
121                                <iframe src="https://player.vimeo.com/video/67938315" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
122                            </div>
123                            <p>Launch will enable you be in run  your own crowdfunding campaign, and be in complete control from concept to crowdfunding to launch.</p>
124                            <h2>$10,350</h2>
125                            <span class="contribution">raised by <strong>5,234</strong> ready to launch</span>
126                            <div class="progress">
127                                <div class="progress-bar" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%;">
128                                    <span class="sr-only">45% Complete</span>
129                                </div>
130                            </div>
131                            <span class="goal-progress"><strong>45%</strong> of $23,000 raised</span>
132                        </div>
133                        <span class="count-down"><strong>27</strong>Days to go.</span>
134                        <a href="#" class="btn btn-launch">HELP LAUNCH</a>
135                    </div> -->
136                    <!--signup-->
137                    <!--
138                    <div class="section-block signup">
139                        <div class="sign-up-form">
140                            <form>
141                                <p>Sign up now for updates and a chance to win a free version of launch!</p>
142                                <input class="signup-input" type="text" name="email" placeholder="Email Address"><button class="btn btn-signup" type="submit"><i class="fa fa-paper-plane"></i></button>
143                            </form>
144                        </div>
145                    </div> -->
146                    <!--/signup-->
147                    <!--tabs-->
148                    <!-- <div class="section-block">
149                        <div class="section-tabs">
150                            <ul class="nav nav-tabs" role="tablist">
151                                <li role="presentation" class="active"><a href="#about" aria-controls="about" role="tab" data-toggle="tab">About</a></li>
152                                <li role="presentation"><a href="#updates" aria-controls="updates" role="tab" data-toggle="tab">Updates</a></li>
153                            </ul>
154                        </div>
155                    </div> -->
156                    <!--/tabs-->
157                    <!--tab panes-->
158                    <div class="section-block">
159                        <div class="tab-content">
160                            <div role="tabpanel" class="tab-pane active" id="about">
161                                <div class="about-information">
162
163                                    <!-- BREADCRUMBS -->
164                                    <?php if($conf['breadcrumbs']){ ?>
165                                        <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
166                                    <?php } ?>
167                                    <?php if($conf['youarehere']){ ?>
168                                        <div class="breadcrumbs"><?php tpl_youarehere() ?></div>
169                                    <?php } ?>
170
171                                    <!-- <h1 class="section-title">ABOUT LAUNCH</h1> -->
172                                    <!-- ********** CONTENT ********** -->
173                                    <div id="dokuwiki__content"><div class="pad">
174                                        <?php tpl_flush() /* flush the output buffer */ ?>
175                                        <?php tpl_includeFile('pageheader.html') ?>
176
177                                        <div class="page">
178                                            <!-- wikipage start -->
179                                            <?php tpl_content() /* the main content */ ?>
180                                            <!-- wikipage stop -->
181                                            <div class="clearer"></div>
182                                        </div>
183
184                                        <?php tpl_flush() ?>
185                                        <?php tpl_includeFile('pagefooter.html') ?>
186                                    </div></div><!-- /content -->
187                                </div>
188                            </div>
189                            <div role="tabpanel" class="tab-pane" id="updates">
190                                <div class="update-information">
191                                <h1 class="section-title">UPDATES</h1>
192                                    <!--update items-->
193                                    <div class="update-post">
194                                        <h4 class="update-title">We've started shipping!</h4>
195                                        <span class="update-date">Posted 2 days ago</span>
196                                        <p>Suspendisse luctus at massa sit amet bibendum. Cras commodo congue urna, vel dictum velit bibendum eget. Vestibulum quis risus euismod, facilisis lorem nec, dapibus leo. Quisque sodales eget dolor iaculis dapibus. Vivamus sit amet lacus ipsum. Nullam varius lobortis neque, et efficitur lacus. Quisque dictum tellus nec mi luctus imperdiet. Morbi vel aliquet velit, accumsan dapibus urna. Cras ligula orci, suscipit id eros non, rhoncus efficitur nisi.</p>
197                                    </div>
198                                    <div class="update-post">
199                                        <h4 class="update-title">Launch begins manufacturing </h4>
200                                        <span class="update-date">Posted 9 days ago</span>
201                                        <p>Suspendisse luctus at massa sit amet bibendum. Cras commodo congue urna, vel dictum velit bibendum eget. Vestibulum quis risus euismod, facilisis lorem nec, dapibus leo. Quisque sodales eget dolor iaculis dapibus. Vivamus sit amet lacus ipsum. Nullam varius lobortis neque, et efficitur lacus. Quisque dictum tellus nec mi luctus imperdiet. Morbi vel aliquet velit, accumsan dapibus urna. Cras ligula orci, suscipit id eros non, rhoncus efficitur nisi.</p>
202                                    </div>
203                                    <div class="update-post">
204                                        <h4 class="update-title">Designs have now been finalized</h4>
205                                        <span class="update-date">Posted 17 days ago</span>
206                                        <p>Suspendisse luctus at massa sit amet bibendum. Cras commodo congue urna, vel dictum velit bibendum eget. Vestibulum quis risus euismod, facilisis lorem nec, dapibus leo. Quisque sodales eget dolor iaculis dapibus. Vivamus sit amet lacus ipsum. Nullam varius lobortis neque, et efficitur lacus. Quisque dictum tellus nec mi luctus imperdiet. Morbi vel aliquet velit, accumsan dapibus urna. Cras ligula orci, suscipit id eros non, rhoncus efficitur nisi.</p>
207                                    </div>
208                                    <!--/update items-->
209                                </div>
210                            </div>
211                        </div>
212                    </div>
213                </div>
214                <!--/tabs-->
215                <!--/main content-->
216                <!--sidebar-->
217                <div class="content col-md-4 col-sm-12 col-xs-12">
218                    <!-- <div class="section-block summary">
219                        <h1 class="section-title">LAUNCH</h1>
220                        <div class="profile-contents">
221                            <h2 class="position">Sky Rocketing Your Funding Campaign</h2>
222                            <img src="<?php echo tpl_basedir();?>/images/profile-img.jpg" class="profile-image img responsive" alt="John Doe">
223                            <!--social links-->
224                            <!--
225                            <ul class="list-inline">
226                                <li><a href="#"><i class="fa fa-twitter"></i></a></li>
227                                <li><a href="#"><i class="fa fa-facebook"></i></a></li>
228                                <li><a href="#"><i class="fa fa-google-plus"></i></a></li>
229                                <li><a href="#"><i class="fa fa-linkedin"></i></a></li>
230                                <li><a href="#"><i class="fa fa-git"></i></a></li>
231                            </ul>
232                            <!--/social links-->
233                            <!--
234                            <a href="#" class="btn btn-contact"><i class="fa fa-envelope"></i>CONTACT US</a>
235                        </div>
236                    </div> -->
237                    <!--credits-->
238                    <?php if ($showSidebar): ?>
239                    <div class="section-block">
240                        <!-- <h1 class="section-title">Site Tools</h1> -->
241                        <!--credits block-->
242                        <!-- <div class="credit-block sources"> -->
243                          <!-- ********** ASIDE ********** -->
244                            <div id="writtensidebar">
245                                <?php tpl_includeFile('sidebarheader.html') ?>
246                                <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?>
247                                <?php tpl_includeFile('sidebarfooter.html') ?>
248                                <div class="clearer"></div>
249                            </div><!-- /aside -->
250                        <!-- </div> -->
251                    </div>
252                    <?php endif; ?>
253                    <div class="section-block">
254                        <h1 class="section-title">Site Tools</h1>
255                        <!--credits block-->
256                        <div class="credit-block sources">
257                            <ul class="list-unstyled">
258                                <!-- SITE TOOLS -->
259                                <h3 class="a11y"><?php echo $lang['site_tools'] ?></h3>
260                                    <?php tpl_toolsevent('sitetools', array(
261                                        'recent'    => tpl_action('recent', 1, 'li', 1),
262                                        'media'     => tpl_action('media', 1, 'li', 1),
263                                        'index'     => tpl_action('index', 1, 'li', 1),
264                                    )); ?>
265                            </ul>
266                        </div>
267                    </div>
268                    <?php if ($conf['useacl'] && $showTools): ?>
269                    <div class="section-block">
270                        <h1 class="section-title">User Tools</h1>
271                        <div class="credit-block sources">
272                            <ul class="list-unstyled">
273                                <!-- USER TOOLS -->
274                                <h3 class="a11y"><?php echo $lang['user_tools'] ?></h3>
275                                    <?php
276                                        if (!empty($_SERVER['REMOTE_USER'])) {
277                                            echo '<li class="user">';
278                                            tpl_userinfo(); /* 'Logged in as ...' */
279                                            echo '</li>';
280                                        }
281                                    ?>
282                                    <?php /* the optional second parameter of tpl_action() switches between a link and a button,
283                                             e.g. a button inside a <li> would be: tpl_action('edit', 0, 'li') */
284                                    ?>
285                                    <?php tpl_toolsevent('usertools', array(
286                                        'admin'     => tpl_action('admin', 1, 'li', 1),
287                                        'userpage'  => _tpl_action('userpage', 1, 'li', 1),
288                                        'profile'   => tpl_action('profile', 1, 'li', 1),
289                                        'register'  => tpl_action('register', 1, 'li', 1),
290                                        'login'     => tpl_action('login', 1, 'li', 1),
291                                    )); ?>
292                            </ul>
293                        </div>
294                    </div>
295                    <?php endif ?>
296                    <?php if ($showTools): ?>
297                    <div class="section-block">
298                        <h1 class="section-title">Page Tools</h1>
299                        <div class="credit-block sources">
300                            <ul class="list-unstyled">
301                                 <!-- PAGE ACTIONS -->
302                                <h3 class="a11y"><?php echo $lang['page_tools'] ?></h3>
303                                    <?php tpl_toolsevent('pagetools', array(
304                                        'edit'      => tpl_action('edit', 1, 'li', 1),
305                                        'discussion'=> _tpl_action('discussion', 1, 'li', 1),
306                                        'revisions' => tpl_action('revisions', 1, 'li', 1),
307                                        'backlink'  => tpl_action('backlink', 1, 'li', 1),
308                                        'subscribe' => tpl_action('subscribe', 1, 'li', 1),
309                                        'revert'    => tpl_action('revert', 1, 'li', 1),
310                                        'top'       => tpl_action('top', 1, 'li', 1),
311                                    )); ?>
312                            </ul>
313                        </div>
314                        <?php endif; ?>
315                        <!--/credits block-->
316                    </div>
317                    <!--/credits-->
318                </div>
319                <!--/sidebar-->
320            </div>
321        </div>
322        <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
323    </div>
324    <footer class="footer">
325    <div class="container">
326            <div class="row">
327                <!--This template has been created under the Creative Commons Attribution 3.0 License. Please keep the attribution link below when using this template in your own project, thank you.-->
328                <span class="copyright">Created by <a href="http://themes.audaindesigns.com" target="_blank">Audain Designs</a> for free use and converted by <a href="http://desbest.com" target="_blank">desbest</a></span>
329                <div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div>
330                <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?>
331            </div>
332        </div>
333
334    </footer>
335    <?php tpl_includeFile('footer.html') ?>
336
337    <?php /* with these Conditional Comments you can better address IE issues in CSS files,
338             precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?>
339    <!--[if lte IE 8 ]><div id="IE8"><![endif]-->
340
341    <?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?>
342    <?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least
343             should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
344
345
346    <!--[if lte IE 8 ]></div><![endif]-->
347</body>
348</html>
349