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 <script defer type="text/javascript" src="<?php echo tpl_basedir();?>/js/mobileinputsize.js"></script> 34 35 <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> 36 <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> 37 <!--[if lt IE 9]> 38 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> 39 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> 40 <![endif]--> 41</head> 42 43<body class="site <?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>"> 44 45 <?php tpl_includeFile('header.html') ?> 46 <!--header--> 47 <header id="dokuwiki__top" class="header"> 48 <div class="container"> 49 <div class="row"> 50 <div class="goal-summary pull-left"> 51 <div class="backers"> 52 <h3><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h3> 53 <?php /* how to insert logo instead (if no CSS image replacement technique is used): 54 upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly: 55 tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?> 56 <!-- <span>backers</span> --> 57 58 <?php if ($conf['tagline']): ?> 59 <span class="claim"><?php echo $conf['tagline'] ?></span> 60 <?php endif ?> 61 62 <ul class="a11y skip"> 63 <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li> 64 </ul> 65 </div> 66 <!-- <div class="funded"> 67 <h3>$10,350</h3> 68 <span>raised out of $23,000</span> 69 </div> 70 <div class="time-left"> 71 <h3>27</h3> 72 <span>days left to go</span> 73 </div> --> 74 <div class="reminder last"> 75 <!-- <a href="#"><i class="fa fa-star"></i> REMIND ME</a> --> 76 <?php tpl_searchform() ?> 77 </div> 78 </div> 79 </div> 80 </div> 81 </header> 82 <!--/header--> 83 <!--main content--> 84 <div class="main-content"> 85 <div class="container"> 86 <div class="row"> 87 <div class="content col-md-8 col-sm-12 col-xs-12"> 88 89 <?php html_msgarea() /* occasional error and info messages on top of the page */ ?> 90 91 <!-- <div class="section-block"> 92 <div class="funding-meta"> 93 <h1>LAUNCH INTO SUCCESS</h1> 94 <span class="type-meta"><i class="fa fa-user"></i> Jonathan Doe</span> 95 <span class="type-meta"><i class="fa fa-tag"></i> <a href="#">crowdfunding</a>, <a href="#">launch</a> </span> 96 <img src="assets/img/image-heartbeat.jpg" class="img-responsive" alt="launch HTML5 Crowdfunding"> 97 <div class="video-frame"> 98 <iframe src="https://player.vimeo.com/video/67938315" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> 99 </div> 100 <p>Launch will enable you be in run your own crowdfunding campaign, and be in complete control from concept to crowdfunding to launch.</p> 101 <h2>$10,350</h2> 102 <span class="contribution">raised by <strong>5,234</strong> ready to launch</span> 103 <div class="progress"> 104 <div class="progress-bar" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%;"> 105 <span class="sr-only">45% Complete</span> 106 </div> 107 </div> 108 <span class="goal-progress"><strong>45%</strong> of $23,000 raised</span> 109 </div> 110 <span class="count-down"><strong>27</strong>Days to go.</span> 111 <a href="#" class="btn btn-launch">HELP LAUNCH</a> 112 </div> --> 113 <!--signup--> 114 <!-- 115 <div class="section-block signup"> 116 <div class="sign-up-form"> 117 <form> 118 <p>Sign up now for updates and a chance to win a free version of launch!</p> 119 <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> 120 </form> 121 </div> 122 </div> --> 123 <!--/signup--> 124 <!--tabs--> 125 <!-- <div class="section-block"> 126 <div class="section-tabs"> 127 <ul class="nav nav-tabs" role="tablist"> 128 <li role="presentation" class="active"><a href="#about" aria-controls="about" role="tab" data-toggle="tab">About</a></li> 129 <li role="presentation"><a href="#updates" aria-controls="updates" role="tab" data-toggle="tab">Updates</a></li> 130 </ul> 131 </div> 132 </div> --> 133 <!--/tabs--> 134 <!--tab panes--> 135 <div class="section-block"> 136 <div class="tab-content"> 137 <div role="tabpanel" class="tab-pane active" id="about"> 138 <div class="about-information"> 139 140 <!-- BREADCRUMBS --> 141 <?php if($conf['breadcrumbs']){ ?> 142 <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div> 143 <?php } ?> 144 <?php if($conf['youarehere']){ ?> 145 <div class="breadcrumbs"><?php tpl_youarehere() ?></div> 146 <?php } ?> 147 148 <!-- <h1 class="section-title">ABOUT LAUNCH</h1> --> 149 <!-- ********** CONTENT ********** --> 150 <div id="dokuwiki__content"><div class="pad"> 151 <?php tpl_flush() /* flush the output buffer */ ?> 152 <?php tpl_includeFile('pageheader.html') ?> 153 154 <div class="page"> 155 <!-- wikipage start --> 156 <?php tpl_content() /* the main content */ ?> 157 <!-- wikipage stop --> 158 <div class="clearer"></div> 159 </div> 160 161 <?php tpl_flush() ?> 162 <?php tpl_includeFile('pagefooter.html') ?> 163 </div></div><!-- /content --> 164 </div> 165 </div> 166 <div role="tabpanel" class="tab-pane" id="updates"> 167 <div class="update-information"> 168 <h1 class="section-title">UPDATES</h1> 169 <!--update items--> 170 <div class="update-post"> 171 <h4 class="update-title">We've started shipping!</h4> 172 <span class="update-date">Posted 2 days ago</span> 173 <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> 174 </div> 175 <div class="update-post"> 176 <h4 class="update-title">Launch begins manufacturing </h4> 177 <span class="update-date">Posted 9 days ago</span> 178 <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> 179 </div> 180 <div class="update-post"> 181 <h4 class="update-title">Designs have now been finalized</h4> 182 <span class="update-date">Posted 17 days ago</span> 183 <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> 184 </div> 185 <!--/update items--> 186 </div> 187 </div> 188 </div> 189 </div> 190 </div> 191 <!--/tabs--> 192 <!--/main content--> 193 <!--sidebar--> 194 <div class="content col-md-4 col-sm-12 col-xs-12"> 195 <!-- <div class="section-block summary"> 196 <h1 class="section-title">LAUNCH</h1> 197 <div class="profile-contents"> 198 <h2 class="position">Sky Rocketing Your Funding Campaign</h2> 199 <img src="<?php echo tpl_basedir();?>/images/profile-img.jpg" class="profile-image img responsive" alt="John Doe"> 200 <!--social links--> 201 <!-- 202 <ul class="list-inline"> 203 <li><a href="#"><i class="fa fa-twitter"></i></a></li> 204 <li><a href="#"><i class="fa fa-facebook"></i></a></li> 205 <li><a href="#"><i class="fa fa-google-plus"></i></a></li> 206 <li><a href="#"><i class="fa fa-linkedin"></i></a></li> 207 <li><a href="#"><i class="fa fa-git"></i></a></li> 208 </ul> 209 <!--/social links--> 210 <!-- 211 <a href="#" class="btn btn-contact"><i class="fa fa-envelope"></i>CONTACT US</a> 212 </div> 213 </div> --> 214 <!--credits--> 215 <?php if ($showSidebar): ?> 216 <div class="section-block"> 217 <!-- <h1 class="section-title">Site Tools</h1> --> 218 <!--credits block--> 219 <!-- <div class="credit-block sources"> --> 220 <!-- ********** ASIDE ********** --> 221 <div id="writtensidebar"> 222 <?php tpl_includeFile('sidebarheader.html') ?> 223 <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?> 224 <?php tpl_includeFile('sidebarfooter.html') ?> 225 <div class="clearer"></div> 226 </div><!-- /aside --> 227 <!-- </div> --> 228 </div> 229 <?php endif; ?> 230 <div class="section-block"> 231 <h1 class="section-title">Site Tools</h1> 232 <!--credits block--> 233 <div class="credit-block sources"> 234 <ul class="list-unstyled"> 235 <!-- SITE TOOLS --> 236 <h3 class="a11y"><?php echo $lang['site_tools'] ?></h3> 237 <?php tpl_toolsevent('sitetools', array( 238 'recent' => tpl_action('recent', 1, 'li', 1), 239 'media' => tpl_action('media', 1, 'li', 1), 240 'index' => tpl_action('index', 1, 'li', 1), 241 )); ?> 242 </ul> 243 </div> 244 </div> 245 <?php if ($conf['useacl'] && $showTools): ?> 246 <div class="section-block"> 247 <h1 class="section-title">User Tools</h1> 248 <div class="credit-block sources"> 249 <ul class="list-unstyled"> 250 <!-- USER TOOLS --> 251 <h3 class="a11y"><?php echo $lang['user_tools'] ?></h3> 252 <?php 253 if (!empty($_SERVER['REMOTE_USER'])) { 254 echo '<li class="user">'; 255 tpl_userinfo(); /* 'Logged in as ...' */ 256 echo '</li>'; 257 } 258 ?> 259 <?php /* the optional second parameter of tpl_action() switches between a link and a button, 260 e.g. a button inside a <li> would be: tpl_action('edit', 0, 'li') */ 261 ?> 262 <?php tpl_toolsevent('usertools', array( 263 'admin' => tpl_action('admin', 1, 'li', 1), 264 'userpage' => _tpl_action('userpage', 1, 'li', 1), 265 'profile' => tpl_action('profile', 1, 'li', 1), 266 'register' => tpl_action('register', 1, 'li', 1), 267 'login' => tpl_action('login', 1, 'li', 1), 268 )); ?> 269 </ul> 270 </div> 271 </div> 272 <?php endif ?> 273 <?php if ($showTools): ?> 274 <div class="section-block"> 275 <h1 class="section-title">Page Tools</h1> 276 <div class="credit-block sources"> 277 <ul class="list-unstyled"> 278 <!-- PAGE ACTIONS --> 279 <h3 class="a11y"><?php echo $lang['page_tools'] ?></h3> 280 <?php tpl_toolsevent('pagetools', array( 281 'edit' => tpl_action('edit', 1, 'li', 1), 282 'discussion'=> _tpl_action('discussion', 1, 'li', 1), 283 'revisions' => tpl_action('revisions', 1, 'li', 1), 284 'backlink' => tpl_action('backlink', 1, 'li', 1), 285 'subscribe' => tpl_action('subscribe', 1, 'li', 1), 286 'revert' => tpl_action('revert', 1, 'li', 1), 287 'top' => tpl_action('top', 1, 'li', 1), 288 )); ?> 289 </ul> 290 </div> 291 <?php endif; ?> 292 <!--/credits block--> 293 </div> 294 <!--/credits--> 295 </div> 296 <!--/sidebar--> 297 </div> 298 </div> 299 <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 300 </div> 301 <footer class="footer"> 302 <div class="container"> 303 <div class="row"> 304 <!--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.--> 305 <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> 306 <div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div> 307 <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?> 308 </div> 309 </div> 310 311 </footer> 312 <?php tpl_includeFile('footer.html') ?> 313 314 <?php /* with these Conditional Comments you can better address IE issues in CSS files, 315 precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?> 316 <!--[if lte IE 8 ]><div id="IE8"><![endif]--> 317 318 <?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?> 319 <?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least 320 should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?> 321 322 323 <!--[if lte IE 8 ]></div><![endif]--> 324</body> 325</html> 326