sky/footer.php

44 lines
1.9 KiB
PHP
Raw Normal View History

2021-07-25 09:12:40 +08:00
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
</div><!-- end .row -->
</div>
</div><!-- end #body -->
<script>
$(document).ready(function(){
2021-08-03 20:45:41 +08:00
$("article .post-content img").addClass("img-fluid mx-auto d-block shadow rounded");
$("article blockquote").addClass("shadow rounded");
$("article pre").addClass("shadow rounded");
$("table").addClass("table");
2021-07-25 09:12:40 +08:00
});
2021-08-10 22:07:03 +08:00
Lately({'target' : '.lately'});
2021-07-25 09:12:40 +08:00
</script>
<footer class="mt-5 mb-5" id="footer" role="footer">
<div class="container">
2021-08-03 20:45:41 +08:00
<hr>
2021-07-25 09:12:40 +08:00
<div class="text-center">
<p>
2021-08-10 22:07:19 +08:00
<?php if ($this->options->nisInfo != ""): ?>
2021-07-25 09:12:40 +08:00
<a id="nis" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=<?php echo mb_substr($this->options->nisInfo, 5, 14) ?>" target="_blank">
<?php echo $this->options->nisInfo ?>
2021-08-10 22:07:19 +08:00
</a> | <?php endif; ?>
<?php if ($this->options->icpInfo != ""): ?>
<a href="https://beian.miit.gov.cn/" target="_blank"><?php echo $this->options->icpInfo ?></a>
<?php endif; ?>
<?php if ($this->options->bottomLinks != ""): ?>
<?php Links_Plugin::output($pattern=' | <a href="{url}" title="{title}" target="_blank">{name}</a>', $links_num=0, $sort=$this->options->bottomLinks); ?>
<?php endif; ?>
2021-07-25 09:12:40 +08:00
</p>
2021-08-01 19:09:08 +08:00
<p>&copy; <?php echo date('Y');?> <?php $this->options->title(); ?> ♥ <?php Typecho_Widget::widget('Widget_Stat')->to($stat); ?><?php $stat->publishedPostsNum() ?> Posts <?php allOfCharacters();?> Words crafted</p>
2021-08-10 22:07:19 +08:00
<p>Powered by <a href="https://www.typecho.org">Typecho</a> | Theme <a href="https://github.com/Skywt2003/sky">Sky</a> by <a href="https://skywt.cn/">SkyWT</a></p>
2021-07-25 09:12:40 +08:00
</div>
</div>
</footer><!-- end #footer -->
<!--<pre><?php #print_r($this); ?></pre>-->
<?php $this->footer(); ?>
</body>
</html>