1<?php 2/** 3 * Example footer include 4 * 5 * This file shows you how to use the include hooks. However I recommend to 6 * create your own complete new template instead. 7 */ 8 global $INFO; 9?> 10<?php 11 if ( empty($INFO['userinfo']) ) { 12 $HEADER="display:none; "; 13 } else { 14 $HEADER="display:block; "; 15 } 16?> 17<!-- Header --> 18<!-- Only show the header if the user is logged in - it points to local sites mostly --> 19<div style="<?php echo $HEADER; ?> width: 550px; height: 23px; background: transparent url(<?php echo DOKU_TPL?>images/header_back.png) top left no-repeat; position: absolute; top: 0; left: 40%; margin-left: -245px; padding: 2px 10px 0 10px; font: 11px Arial;"> 20 <form method="get" action="<?php echo DOKU_BASE?>doku.php" accept-charset="utf-8" class="search" id="dw__search"> 21 <input type="hidden" name="do" value="search" /> 22 23 <a target="_blank" href="/kplaylist/" title="Music Repository"><img src="<?php echo DOKU_TPL?>images/header_music.png" alt="Music" border="0" /></a> 24 <a target="_blank" href="/movies/" title="Movies"><img src="<?php echo DOKU_TPL?>images/header_movies.png" alt="Movies" border="0" /></a> 25 <a target="_blank" href="/tv/" title="TV Shows"><img src="<?php echo DOKU_TPL?>images/header_tv.png" alt="TV" border="0" /></a> 26 <a target="_blank" href="http://dic.naver.com/?frm=nt" title="Dictionary"><img src="<?php echo DOKU_TPL?>images/header_dictionary.png" alt="Dictionary" border="0" /></a> 27 <a target="_blank" href="/gallery/" title="Gallery"><img src="<?php echo DOKU_TPL?>images/header_gallery.png" alt="Gallery" border="0" /></a> 28 <a href="/redmine" title="Redmine"><img src="<?php echo DOKU_TPL?>images/header_code.png" alt="Redmine" border="0" /></a> 29 <a href="<?php echo DOKU_BASE?>doku.php/en:help:help" title="Help pages for DokuDoodles"><img src="<?php echo DOKU_TPL?>images/help.png" alt="Help" border="0" /></a> 30 <input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[ALT+F]" style="border: none; background: transparent url(<?php echo DOKU_TPL?>images/header_searchbox.png) top left no-repeat; vertical-align: top; font: 10px sans-serif; width: 111px; height: 17px; margin: 0 0 0 30px; padding: 2px 4px; display: inline;" /> 31 <input type="image" src="<?php echo DOKU_TPL?>images/header_search.png" alt="Search" title="Search this site" /> 32 </form> 33</div> 34 35<!-- Footer --> 36 37<div align="center" class="footerinc"> 38 <a target="_blank" href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?php echo DOKU_TPL?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" border="0" /></a> 39 40 <a target="_blank" href="http://gmail.com/" title="Mail"><img src="<?php echo DOKU_TPL?>images/footer_gmail.png" width="80" height="15" alt="Mail" border="0" /></a> 41 42 <a target="_blank" href="http://www.naver.com/" title="Naver"><img src="<?php echo DOKU_TPL?>images/footer_naver.png" width="80" height="15" alt="Naver" border="0" /></a> 43 44 <a target="_blank" href="http://www.daum.net/" title="Daum"><img src="<?php echo DOKU_TPL?>images/footer_daum.png" width="80" height="15" alt="Daum" border="0" /></a> 45 46 <a target="_blank" href="http://www.cricinfo.com/" title="Cricket"><img src="<?php echo DOKU_TPL?>images/footer_cricinfo.png" width="80" height="15" alt="Cricket" border="0" /></a> 47 48 <a target="_blank" href="http://slashdot.org/" title="Slashdot"><img src="<?php echo DOKU_TPL?>images/footer_slashdot.png" width="80" height="15" alt="Slashdot" border="0" /></a> 49 50 <a target="_blank" href="/gallery/" title="Snorriheim photo gallery"><img src="<?php echo DOKU_TPL?>images/footer_gallery.png" width="80" height="15" alt="snorriheim gallery" border="0" /></a> 51<?php 52/* 53 * The following stuff in HTML comments declares a Creative Commons 54 * License - remove this if you don't want this license for your Wiki 55 */ 56?> 57 58<!-- 59 60<rdf:RDF xmlns="http://web.resource.org/cc/" 61 xmlns:dc="http://purl.org/dc/elements/1.1/" 62 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> 63<Work rdf:about=""> 64 <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> 65 <license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.0/" /> 66</Work> 67 68<License rdf:about="http://creativecommons.org/licenses/by-nc-sa/2.0/"> 69 <permits rdf:resource="http://web.resource.org/cc/Reproduction" /> 70 <permits rdf:resource="http://web.resource.org/cc/Distribution" /> 71 <requires rdf:resource="http://web.resource.org/cc/Notice" /> 72 <requires rdf:resource="http://web.resource.org/cc/Attribution" /> 73 <prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" /> 74 <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" /> 75 <requires rdf:resource="http://web.resource.org/cc/ShareAlike" /> 76</License> 77 78</rdf:RDF> 79 80--> 81</div> 82