その他?
<?php if (arg_check('read') && exist_plugin_convert('menu')) { ?> <table border="0" style="width:100%"> <tr> <td class="menubar"> <div id="menubar"><?php echo do_plugin_convert('menu') ?></div> </td> <td valign="top"> <div id="body"><?php echo $body ?></div> </td> </tr> </table>に次を追加。
<?php if (exist_plugin_convert('menu2')) { ?> <td class="menubar2"> <div id="menubar2"> <?php echo do_plugin_convert('menu2') ?> </div> </td> <?php } ?>以下のようになる。
<?php if (arg_check('read') && exist_plugin_convert('menu')) { ?> <table border="0" style="width:100%"> <tr> <td class="menubar"> <div id="menubar"><?php echo do_plugin_convert('menu') ?></div> </td> <td valign="top"> <div id="body"><?php echo $body ?></div> </td> <?php if (exist_plugin_convert('menu2')) { ?> <td class="menubar2"> <div id="menubar2"> <?php echo do_plugin_convert('menu2') ?> </div> </td> <?php } ?> </tr> </table>
<!-- hatebu --> <a href="http://b.hatena.ne.jp/entry/<?php echo $link['reload'] ?>" class="hatena-bookmark-button" data-hatena-bookmark-title="dramsuko wiki" data-hatena-bookmark-layout="standard-balloon" title="このエントリーをはてなブックマークに追加"> <img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a> <script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>
<!-- facebook core --> <span id="fb-root"></span> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <!-- /facebook core --> <script> <!-- var html = '<div class="fb-like" data-href="'+ encodeURIComponent(document.location) + '" data-send="false" data- layout="button_count" data-width="450" data-show-faces="true"></div>'; document.write(html); --> </script>
<!-- Twitter --> <a href="https://twitter.com/share" class="twitter-share-button" data-lang="ja">ツイート</a> <script>!function(d,s,id){ var js, fjs=d.getElementsByTagName(s) [0], p=/^http:/.test(d.location)?'http':'https'; if(!d.getElementById(id)){ js=d.createElement(s); js.id=id; js.src=p+'://platform.twitter.com/widgets.js'; fjs.parentNode.insertBefore(js,fjs); } }(document, 'script', 'twitter-wjs'); </script>
<!-- google --> <!-- Place this tag in your head or just before your close body tag. --> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"> </script> <!-- Place this tag where you want the +1 button to render. --> <div class="g-plusone" data-annotation="inline" data-width="300" data-href="<? php echo $link['reload'] ?>"></div>
<script src="skin/jquery.min.js" type="text/javascript"></script> <script src="skin/jquery.socialbutton.js" type="text/javascript"></script>
<!-- jquery.socialbutton --> <style> .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix { display: inline-block; } /* Hides from IE-mac \*/ * html .clearfix { height: 1%; } .clearfix { display: block; } /* End hide from IE-mac */ .block div { margin-right: 15px; float: left; } </style> <script> $(function() { $('#evernote').socialbutton('evernote', { url:document.URL, button: 'site-mem-22', styling: 'full' }); $('#hatena').socialbutton('hatena', { url:document.URL }); $('#twitter').socialbutton('twitter', { url:document.URL, button: 'horizontal', text: '', via: 'YOUR_TWITTER_ID' }); $('#facebook_like').socialbutton('facebook_like', { button: 'button_count' }); $('#google_plusone').socialbutton('google_plusone', { lang: 'ja', size: 'medium' }); }); </script> <br> <div class="block clearfix"> <div id="evernote"></div> <div id="hatena"></div> <div id="twitter"></div> <div id="google_plusone"></div> <div id="facebook_like"></div> </div>
ls bodycache.patch pukiwiki-1.5.1_utf8.zip unzip pukiwiki-1.5.1_utf8.zip cd pukiwiki-1.5.1_utf8 patch -p1 < ../bodycache.patch
[[index.php?plugin=yetlist>http://tar3.net/pukiwiki/index.php?plugin=yetlist]]
Today : &counter(today);~ Yesterday : &counter(yesterday);~ Total : &counter(total);~
.style_table { padding:0px; border:0px; //margin:auto; ←を削る margin:1em auto 1em 0; //←を追加
RewriteEngine on RewriteRule ^([0-9]*)\.html$ index.php?plugin=pgid&id=$1
$auth_type = AUTH_TYPE_BASIC;
{
}
|
&br;
&t;