<?php defined('IN_DESTOON') or exit('Access Denied');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
    <title>
        <?php echo $title;?></title>
    <link rel="shortcut icon" href="/favicon.ico" />
<link href="/css/Jade.css" rel="stylesheet" type="text/css" />
<link href="/css/comm.css" rel="stylesheet" type="text/css" />
<script src="http://easy.jaderd.com/easy.js" type="text/javascript"></script>
<script src="/js/Jade.js" type="text/javascript"></script>
<script src="/js/Jade.Form.js" type="text/javascript"></script>
<script src="/js/Jade.Validation2.js" type="text/javascript"></script>
<script src="/js/jquery-1.7.2.js" type="text/javascript"></script>
<script src="/js/Jade.Comm.js" type="text/javascript"></script>
<script src="/js/Jade.User.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="/css/detail.css" />
    <script src="/js/Jade.Renderer.js" type="text/javascript"></script>
    <script type="text/javascript">
        var className = 'Review+', jpage, pageSize = Jade.pageSize = 5, para = { methodname: 'GetPageForPersonal', infoid: 0, infotype: 0, current: false, start: 0, limit: pageSize };
        var vhtml;
        Jade.ToList = {
            init: function () {
                Jade.ToList.load(0);
            },
            load: function (i) {
                para.start = i;
                Jade.Comm.getPage(className, para, function (d) {
                    vhtml = Jade.Comm.render("tpllist", "", d.Records, function (o) {
                        o.Nick = o.Nick;
                        o.UPic = Jade.imgUrl + o.UPic;
                        o.Suptimers = o.Suptimers;
                        o.Opptimers = o.Opptimers;
                        o.RContent = o.RContent;
                        o.AppTime = Jade.getDate(o.AppTime);
                        o.Link = o.USERID == 0 ? "/AuthorList.aspx" : "/AuthorDetail.aspx?u=" + o.USERID;
                        if (o.children) {
                            o.ReturnContent = Jade.Comm.render("tplreturn", "", o.children, function (j) {
                                j.Nick = j.Nick;
                                j.RContent = j.RContent;
                                j.USERID = j.USERID;
                            });
                        } else {
                            o.ReturnContent = "";
                        }
                    });
                    $("#gridlist").html(vhtml);
                    if (d.Count == 0)
                        $('.lessdata').show();
                    else
                        $('.lessdata').hide();
                    //分页
                    jpage = new Jade.Paging("page", {
                        totalCount: d.Count,
                        currentPage: i,
                        sizeCount: 4,
                        pageSize: pageSize,
                        callback: Jade.ToList.load
                    });
                    if (d.Count > pageSize) {
                        Easy.DOM.show(Easy.get("page"));
                    } else {
                        Easy.DOM.hide(Easy.get("page"));
                    }
                });
            }
        }
        $(function () {
            $(".size-title a").click(function () {
                var sz = $(this).data("size");
                $("div.detail-centent").css("font-size", sz);
            });
            page.init();
            para.infoid = Jade.request("k");
            Jade.ToList.load(0);
        });
        var page = {
            init: function () {
                $("input.input-fabu").click(function () {
                    Jade.User.isLogin(page.submit);
                });
            },
            refInfo: function (v, dom) {
                var html = '<div class="block-post-w" id="Ref_' + v + '"><div class="area-textarea-w" style="position:relative;zoom:1;z-index:9;"><textarea name="" id="RefText" class="textarea-fw "></textarea>' +
                            '</div><div class="wrap-action-b"><div class="wrap-right"><input type="button" class="input-fabu" id="Ref' + v + '" value="发 布"></div></div></div>';
                $(dom).parent().parent().siblings("div.reply-name").find("div.reply-center").append(html);
                $("#Ref" + v + "").click(function () {
                    Jade.User.isLogin(function () {
                        if (Easy.get("RefText").value.trim().length == 0) {
                            Jade.Msg.alert("请不要进行无内容回复");
                            return false;
                        }
                        var vs = {};
                        vs.InfoID = Easy.get("InfoID").value;
                        vs.RContent = Easy.get("RefText").value;
                        vs.ReturnID = v;
                        vs.RID = 0;
                        Jade.ajax("Review+", "Save", vs, function (d) {
                            if (d.exception) {
                                Jade.Msg.alert(d.message);
                            } else {
                                Jade.Msg.alert("评论成功，请等待审核！", function (b) {
                                    if (b) {
                                        Jade.ToList.load(0);
                                    }
                                });
                                $("#Ref" + v + "").remove(); zhe
                            }
                        });
                    });
                })
            },
            addSupTimer: function (v, dom) {
                Jade.ajax("Review+", "AddSupTimer", { key: v }, function (d) {
                    if (!d.exception) {
                        $(dom).find("em").html($(dom).find("em").html() - 0 + 1);
                    }
                })
            },
            addOppTimer: function (v, dom) {
                Jade.ajax("Review+", "AddOppTimer", { key: v }, function (d) {
                    if (!d.exception) {
                        $(dom).find("em").html($(dom).find("em").html() - 0 + 1);
                    }
                })
            },
            addfriend: function (fuid) {
                Jade.User.isLogin(function () {
                    Jade.ajax("Friend+", "Exist", { FUID: fuid }, function (d) {
                        if (d && !d.exception) {
                            if (d.data == "success") {
                                var vs = {};
                                vs.FID = 0;
                                vs.USERID = Jade.User.USERID;
                                vs.FUID = fuid;
                                Jade.ajax("Friend+", "Save", vs, function (d) {
                                    if (!d.exception) {
                                        Jade.Msg.alert("好友请求已发出！", function (b) {
                                            if (b) {
                                                $("a.add").remove();
                                            }
                                        });
                                    }
                                });
                            } else {
                                Jade.Msg.alert(d.data);
                            }
                        } else {
                            Jade.Msg.alert(d.message);
                        }
                    });
                });
            },
            sendmsg: function (fuid) {
                Jade.User.isLogin(function () {
                    Jade.ajax("Friend+", "Exist", { FUID: fuid }, function (d) {
                        if (d && !d.exception) {
                            if (d.data == "对方已经是您的好友！") {
                                location.href = "/infocontent/Message.aspx?u=" + fuid;
                            } else {
                                Jade.Msg.alert(d.data);
                            }
                        }
                    })
                });
            },
            submit: function () {
                if (Easy.get("RContent").value.trim().length == 0) {
                    Jade.Msg.alert("请不要进行无内容评论");
                    return false;
                }
                var vs = {};
                vs.InfoID = Easy.get("InfoID").value;
                vs.RContent = Easy.get("RContent").value;
                vs.ReturnID = 0;
                vs.RID = 0;
                Jade.ajax("Review+", "Save", vs, function (d) {
                    if (d.exception) {
                        Jade.Msg.alert(d.message);
                    } else {
                        Jade.Msg.alert("评论成功，请等待审核！", function (b) {
                            if (b) {
                                Jade.ToList.load(0);
                            }
                        });
                        Easy.get("RContent").value = "";
                    }
                });
            }
        }
        String.prototype.trim = function () {
            var str = this, whitespace = ' \n\r\t\f\x0b\xa0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u3000';
            for (var i = 0, len = str.length; i = 0; i--) {
                if (whitespace.indexOf(str.charAt(i)) === -1) {
                    str = str.substring(0, i);
                    break;
                }
            }
            return whitespace.indexOf(str.charAt(0)) === -1 ? str : '';
        }
        
    </script>
    <style type="text/css">
        .hide
        {
            display: none !important;
        }
    </style>
</head>
<body>
    <!--头部-->
    <div class="top-line">
    <div class="clear">
    </div>
</div>
<div class="top-bg">
    <div class="top-center">
        <div class="top-left">
            <span style="float: left; margin-left: 10px;">
                2016年10月10日</span>
            <div class="weater">
                <iframe scrolling="no" allowtransparency="true" src="http://i.tianqi.com/index.php?c=code&amp;id=1&amp;py=jinhua"
                    frameborder="0" height="25" width="500"></iframe>
            </div>
        </div>
        <ul class="top-right">
            <li><b class="collect b-img"></b><a target="_blank" href="javascript:;">登录</a></li>
            <li><b class="home  b-img"></b><a href="javscript:;" onclick="Jade.Comm.SetHome(this,document.location.href)">
                设为首页</a></li>
            <li><b class="about  b-img"></b><a target="_blank" href="/InfoDetail.aspx?k=29">联系我们</a></li>
        </ul>
        <div class="clear">
        </div>
    </div>
</div>
<!--头部banner-->
<div style="width: 100%; height: 1px; background: #fff;">
</div>
<div class=" headz-bg">
    <div class="headz-center">
        <img src="/images/comm/logo.png" width="362" height="120" class="head-logo" />
        <div class="r-nav">
            <span><a target="_blank" href="/Index.php" class="nav-on">首 页</a>|<a target='_blank' href='/article/list.php?catid=4'>现代诗</a>|<a target='_blank' href='/article/list.php?catid=5'>旧体诗</a>|<a target='_blank' href='/article/list.php?catid=6'>散文诗</a>|<a target='_blank' href='/article/list.php?catid=7'>新歌词</a>|<a target='_blank' href='/article/list.php?catid=8'>楹联</a>|<a target='_blank' href='/article/list.php?catid=9'>微诗</a>|<a target='_blank' href='/article/list.php?catid=10'>异域诗笺</a>|<a target='_blank' href='/article/list.php?catid=11'>诗论</a>|<a target="_blank" href="/article/list.php?catid=12">诗坛动态</a>|<a target="_blank" href="/article/list.php?catid=13">图文展示</a>|<a
    target="_blank" href="/article/list.php?catid=14">学生风采</a>|<a target="_blank" href="/article/list.php?catid=15">市场服务</a>|<a
        target="_blank" href="/article/list.php?catid=16">文集出版</a>|<a target="_blank" href="/article/list.php?catid=17">名人堂</a>|<a
            href="/article/list.php?catid=18">本站公告</a>|
            </span>
        </div>
    </div>
</div>
<!--检索-->
<div class="soso">
    <div class="soso-center">
        <div class="soso-left">
            作者检索 <a href='javascript:;' data-py='a' class='soso-on' target="_blank">A</a><a href='javascript:;'
                data-py='b' target="_blank">B</a><a href='javascript:;' data-py='c' target="_blank">C</a><a href='javascript:;' data-py='d' target="_blank">D</a><a
                    href='javascript:;' data-py='e' target="_blank">E</a><a href='javascript:;' data-py='f' target="_blank">F</a><a href='javascript:;'
                        data-py='g' target="_blank">G</a><a href='javascript:;' data-py='h' target="_blank">H</a><a href='javascript:;' data-py='i' target="_blank">I</a><a
                            href='javascript:;' data-py='j' target="_blank">J</a><a href='javascript:;' data-py='k' target="_blank">K</a><a href='javascript:;'
                                data-py='l' target="_blank">L</a><a href='javascript:;' data-py='m' target="_blank">M</a><a href='javascript:;' data-py='n' target="_blank">N</a><a
                                    href='javascript:;' data-py='o' target="_blank">O</a><a href='javascript:;' data-py='p' target="_blank">P</a><a href='javascript:;'
                                        data-py='q' target="_blank">Q</a><a href='javascript:;' data-py='r' target="_blank">R</a><a href='javascript:;' data-py='s' target="_blank">S</a><a
                                            href='javascript:;' data-py='t' target="_blank">T</a><a href='javascript:;' data-py='u' target="_blank">U</a><a href='javascript:;'
                                                data-py='v' target="_blank">V</a><a href='javascript:;' data-py='w' target="_blank">W</a><a href='javascript:;' data-py='x' target="_blank">X</a><a
                                                    href='javascript:;' data-py='y' target="_blank">Y</a><a href='javascript:;' data-py='z' target="_blank">Z</a>
        </div>
        <div class="soso-right">
            <input type="text" class="soso-text" />
            <input type="button" class="soso-button" />
        </div>
    </div>
</div>
    <div class="route">
        <span>当前位置: <a href="/index.php">首页</a> >
            </span>
    </div>
    <div class="index">
        <div class="centent-left">
            <span class="left-title">
                </span>
            <div class="text-title">
                <div class="title-left">
                    
                    <h2 class="title-name">
                        <?php echo $title;?></h2>
                    <div class="clear">
                    </div>
                    <!--<span class="size-title">字体大小： <a href="javascript:;" data-size="18">大</a> <a href="javascript:;"
                        data-size="14">中</a> <a href="javascript:;" data-size="12">小</a></span>-->
                    <div class="time">
                        审核日期：<?php echo $adddate;?>
                        <i class="ico-browse"></i>浏览次数：<?php echo $hits;?>
                        <i class="comment"></i>来源：<?php echo $fromurl;?></div>
                    <span class=" name-author ">作者：<a target="_blank"
                        href="/index.php?homepage=<?php echo $author;?>" title="<?php echo $author;?>"><?php echo $author;?></a></span>
                </div>
                <div class='title-right'>[推荐作品]</div>
                <div class="clear">
                </div>
            </div>
            <p style='  display: block;width: 830px;margin: auto;font-size: 14px;color: #CA0D0D;'>编者按：<?php echo $introduce;?>
</p>
            <div class="detail-centent">
                <p>
<br />
</p>
<?php include template('content', 'chip');?>
            </div>
            <div class="detail-page">
                <div class="paging">
                    <a href='#'>上一篇：<?php echo tag("moduleid=$moduleid&condition=status=3 and addtime<$addtime&areaid=$cityid&pagesize=1&order=addtime desc&template=list-np&length=28");?></a>  |  <a href='#'>下一篇：<?php echo tag("moduleid=$moduleid&condition=status=3 and addtime>$addtime&areaid=$cityid&pagesize=1&order=addtime asc&template=list-np&length=28");?></li>
     </a></div>
                <div class="fx">
                    编辑人：<?php echo $author;?>
                    <div class="bdsharebuttonbox" style="float: right; margin-top: 5px;">
                        <a href="#" class="bds_more" data-cmd="more"></a><a title="分享到QQ空间" href="#" class="bds_qzone"
                            data-cmd="qzone"></a><a title="分享到新浪微博" href="#" class="bds_tsina" data-cmd="tsina">
                            </a><a title="分享到腾讯微博" href="#" class="bds_tqq" data-cmd="tqq"></a><a title="分享到人人网"
                                href="#" class="bds_renren" data-cmd="renren"></a><a title="分享到微信" href="#" class="bds_weixin"
                                    data-cmd="weixin"></a>
                    </div>
                    <span>分享到：</span>
                    <script type="text/javascript">
                        window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": false, "bdPic": "", "bdStyle": "2", "bdSize": "16" }, "share": {}, "image": { "viewList": ["qzone", "tsina", "tqq", "renren", "weixin"], "viewText": "分享到：", "viewSize": "16"} }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
                    </script>
                </div>
                <div class="clear">
                </div>
            </div>
            <div class="evaluation">
                <span class="evaluation-title">网友评论</span>
                 <!-- UY BEGIN -->
<div id="uyan_frame"></div>
<script type="text/javascript" src="http://v2.uyan.cc/code/uyan.js?uid=1742744"></script>
<!-- UY END -->
                <div id="page">
                </div>
            </div>
        </div>
        <div class="right">
            <div class="author-description" >
                <span class="author-bg"></span>
                <div class="author-text">
                    <a href='/AuthorDetail.aspx?u=1460'>
                        <img src="http://www.zhsggw.com/upload/image/upic/201610/8ad7d266-84a6-4afe-a4c6-e8f1e1b28fe7.jpg" onerror="noheadpic()" width="103" height="104"
                            class="author-img" /></a>
                    <div class="author-zl">
                        <a target="_blank" href='/index.php?homepage=<?php echo $author;?>'>
                            <h2>
                                <?php echo $author;?>
                            </h2>
                        </a><b>发表作品：3
                            篇</b>
                        <p>
                            注册时间:2016-10-04 22:03</p>
                        <p>
                            作者等级:布衣
                            作者积分:35</p>
                        <a href='javascript:;' onclick='page.sendmsg(1460)' class='send'>发送消息</a><a href='javascript:;' onclick='page.addfriend(1460)' class='add'>加为好友</a>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <a target="_blank" href="/index.php?homepage=<?php echo $author;?>" class=" chcek-author">
                    查看作者的专辑</a>
            </div>
            <div class="centent-right">
                <span class="new-title"><i>最新作品发布</i></span>
                <ul class="new-centent">
                    <?php echo tag("moduleid=21&catid=4&condition=status=3&pagesize=20&order=addtime desc&template=list-shige2");?>
                </ul>
            </div>
            
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="ad-top">
    <a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MzIwNDI3ODU2MA==&mid=2649611324&idx=2&sn=435b66c00f49760ce84052f6f7659b03&scene=1&srcid=0614zmP1SzOpfyUa2IvvqQjH#rd"><img src="http://www.zhsggw.com/upload/image/page/201606/3f3fb091-4d11-4cbd-bb25-908a94e959a9.jpg" width="1200" height="94"></a>
    <div class="adm-list">
        <a href="http://www.zjnu.edu.cn/" target="_blank"><img src="http://www.zhsggw.com/upload/image/page/201509/a99324b7-5ce8-411d-9ada-ed752a79c672.jpg" width="264" height="132"></a><a href="http://www.dtmshan.com/index.asp" target="_blank"><img src="http://www.zhsggw.com/upload/image/page/201509/dfa3dc71-4d2f-49be-a4dc-ed6764e082c1.jpg" width="264" height="132"></a><a href="http://www.gaoxingcn.com/" target="_blank"><img src="http://www.zhsggw.com/upload/image/page/201509/18e0b0da-6758-4dd0-9615-c1a363ab9f2e.jpg" width="264" height="132"></a><a href="http://www.shuangxitour.com/" target="_blank"><img src="http://www.zhsggw.com/upload/image/page/201509/cc01e2ef-c26a-4a89-8bef-f6b16a79fe75.jpg" width="264" height="132"></a>
    </div>
</div>
<?php include template('footer');?>