123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
- <meta name="description" content="" />
- <meta name="author" content="" />
- <!--[if IE]>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <![endif]-->
- <title>我的博客</title>
- <!-- BOOTSTRAP CORE STYLE CSS -->
- <link href="__PUBLIC__/css/bootstrap.css" rel="stylesheet" />
- <!-- FONTAWESOME STYLE CSS -->
- <link href="__PUBLIC__/css/font-awesome.css" rel="stylesheet" />
- <!-- CUSTOM STYLE CSS -->
- <link href="__PUBLIC__/css/style.css" rel="stylesheet" />
- <link rel="stylesheet" href="__PUBLIC__/editor.md-master/css/editormd.min.css" />
- <script src="__PUBLIC__/editor.md-master/examples/js/jquery.min.js"></script>
- <script src="__PUBLIC__/editor.md-master/editormd.min.js"></script>
- <script src="__PUBLIC__/editor.md-master/lib/marked.min.js"></script>
- <script src="__PUBLIC__/editor.md-master/lib/prettify.min.js"></script>
- <style>
- .img-responsive{
- max-width: 80%;
- }
- #pinglun{
- width: 650px;
- position: relative;
- left: 30px;
- background-color: #e2eff9;
- border-radius: 20px;
- padding: 10px;
- margin-top: 10px;
- word-wrap: break-word;
- }
- #pinglun :hover{
- text-shadow: 1px 1px 1px gray;
- }
- #pinglun :after{
- content: "\00a0";
- display: block;
- position:absolute;
- top:15px;
- left: -20px;
- width: 0;
- height: 0;
- border-style: solid;
- border-width: 10px 20px 10px 0px;
- border-color: transparent #e2eff9 transparent transparent;
- }
- </style>
- <script type="text/javascript">
- $(function () {
- editormd.markdownToHTML("my-content");
- })
- </script>
- </head>
- <body>
- <section class="header-section">
- <div class="container">
- <div class="row">
- <div class="col-md-2">
- <img src="__PUBLIC__/img/person.jpg" class="img-circle img-responsive" />
- </div>
- <div class="col-md-5 text-center">
- <h1><strong>余丹丹 </strong></h1>
- <h4>博客</h4>
- </div>
- <div class="col-md-5">
- <h3>sharing</h3>
- 相互分享心得,共同学习
- <i><strong>1762580721@qq,.com</strong></i>
- </div>
- </div>
- </div>
- </section>
- <!--HOME SECTION END-->
- <hr />
- <section >
- <div class="container">
- <div class="row">
- <div class="col-md-9" >
- <div class="blog-main">
- <div class="heading-blog">
- {$art.title}
- </div>
- <div class="blog-info">
- <span class="label label-primary">{$art.time|date="Y-m-d",###}</span>
- <span class="label label-success">{$art.category}</span>
- <span class="label label-danger">{$art.auth}</span>
- </div>
- <div class="blog-txt">
- <?php echo htmlspecialchars_decode($art['summary']);?>
- </div>
- <div class="blog-txt" id="my-content">
- {$art.content|htmlspecialchars_decode}
- </div>
- </div>
- <!--BLOG MAIN SECTION END-->
- <h3 ><strong>回复</strong></h3>
- <hr />
- <ul class="media-list">
- <volist name="repl" id="repl">
- <li class="media">
- 评论人: {$repl.name}<div class="media-body">评论:{$repl.content}</div>
- </li>
- </volist>
- </ul>
- <div>
- <hr />
- <h3 ><strong>评论区</strong></h3>
- <hr />
- <form action="{:U('Index/reply')}" method="get" accept-charset="utf-8">
- <div class="row">
- <div class="col-md-6">
- <input type="text" name="name" id="pinglun" placeholder="你的名字" class="form-control input-lg">
- </div>
- </div>
- <textarea rows="10" name="content" id="pinglun" placeholder="你的评论" class="form-control input-lg">
- </textarea>
- <input type="hidden" name="aid" value="{$_GET['id']}">
- <div class="buttons clearfix">
- <button style="margin-top: 25px;margin-left: 35px;" type="submit" class="btn btn-xlarge btn-clean-one" onclick="return confirm('确认提交?');value='确认'">提交我的评论</button>
- </div>
- </form>
- </div>
- <!--COMMENTS SECTION END-->
- </div>
- <div class="col-md-3">
- <ul class="list-group">
- <li class="list-group-item">
- <strong>主要内容</strong>
- </li>
- <volist name="tag" id="vo">
- <li class="list-group-item">
- <span class="badge"> {$vo}</span>
- {$key}
- </li>
- </volist>
- </ul>
- <br />
- <!--<div style="padding-top:30px;">-->
- <!--<ul class="list-group">-->
- <!--<li class="list-group-item">Advrtisements</li>-->
- <!--<li class="list-group-item">-->
- <!--<a href="#">-->
- <!--<img src="assets/img/ad1.jpg" class="img-responsive" />-->
- <!--</a>-->
- <!--<br />-->
- <!--<a href="#">-->
- <!--<img src="assets/img/ad2.jpg" class="img-responsive" />-->
- <!--</a>-->
- <!--</li>-->
- <!--</ul>-->
- <!--</div>-->
- <br />
- </div>
- </div>
- </div>
- </section>
- <hr />
- <div class="container">
- <div class="row">
- <div class="col-md-12 text-center set-foot">
- <a href="https://weibo.com/u/5746288076/home?wvr=5" target="_blank" title="新浪微博">余丹丹的微博</a>
- </div>
- </div>
- </div>
- </body>
- </html>
|