<?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 if($seo_title) { ?><?php echo $seo_title;?><?php } else { ?><?php if($head_title) { ?><?php echo $head_title;?><?php echo $DT['seo_delimiter'];?><?php } ?>
<?php if($city_sitename) { ?><?php echo $city_sitename;?><?php } else { ?><?php echo $DT['sitename'];?><?php } ?>
<?php } ?>
</title>
<?php if($head_keywords) { ?>
<meta name="keywords" content="<?php echo $head_keywords;?>"/>
<?php } ?>
<?php if($head_description) { ?>
<meta name="description" content="<?php echo $head_description;?>"/>
<?php } ?>
    <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="/js/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 = 'Information+', jpage, pageSize = Jade.pageSize = 100, para = { methodname: 'GetPageByInfoType', isnew: false, infotype: 0, start: 0, limit: pageSize, sort: "", dir: "" };
        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.InfoID = o.InfoID;
                        o.InfoAuthor = o.InfoAuthor;
                        o.IsRec = o.IsRec ? "" : "style='display:none;'";
                        o.InfoPic = Jade.imgUrl + o.InfoPic;
                        o.InfoTitle = o.InfoTitle;
                        o.InfoContent = Easy.String.trimHtml(o.InfoContent);
                        o.VerifyTime = Jade.Renderer.fullDate(o.VerifyTime);
                        o.InfoType = Jade.Renderer.infoType(o.InfoType);
                        o.ReadCount = o.ReadCount;
                        o.MyWorkComment = o.MyWorkComment == undefined ? 0 : o.MyWorkComment;
                        o.MyWork = getLevel(o.MyWork);
                        o.AuthE = o.AuthE == undefined ? "未编辑" : o.AuthE;
                    });
                    Easy.get("gridlist").innerHTML = vhtml || "<div style='  width: 100%;height: 200px;text-align: center;font-size: 18px;line-height: 200px;'>现代诗没有诗歌 <a href='/Index.aspx' style='color:red;'>返回首页</a></div>";
                    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"));
                    }
                });
            }
        }
        Easy.ready(function () {
            var pid = Jade.request("pid");
            para.infotype = pid || 1;
            var isn = Jade.request("n");
            if (isn) {
                if (isn === "true") {
                    para.isnew = isn;
                }
            } else {
                para.isnew = null;
            }
            Jade.ToList.load(0);
        });
        function getLevel(mywork) {
            mywork = mywork - 0;
            if (mywork > 0) {
                if (mywork > 0 && mywork <= 50) {
                    return "布衣";
                }
                else if (mywork > 50 && mywork <= 100) {
                    return "童生";
                }
                else if (mywork > 100 && mywork <= 200) {
                    return "秀才";
                }
                else if (mywork > 200 && mywork <= 300) {
                    return "举人";
                }
                else {
                    return "进士";
                }
            }
            else {
                return "布衣";
            }
        }
    </script>
</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> >
            <?php echo cat_pos($CAT, ' &raquo; ');?></span>
    </div>
    <div class="index">
        <div class="centent-left">
            <span class="left-title">
                 <?php echo $CAT['catname'];?></span>
            <script type="text/template" id="tpllist">
                
                    <div class="poetry-centent">
                    <div class="poetry-list ">
                    <div class="poetry-name">
                        <a target="_blank" href="/PoetryDetail.aspx?k={%InfoID%}" class="name">{%InfoTitle%}</a><i {%IsRec%}>推荐作品</i><a target="_blank" href="/AuthorDetail.aspx?u={%USERID%}" class="author">作者：{%InfoAuthor%}</a>
                        <div class="clear">
                        </div>
                    </div>
                    <p class=" text-centent">
                        {%InfoContent%}</p>
                    <div class="clear">
                    </div>
                </div>
                <div class="lower-stratum lower-hr">
                    <div class="time">
                        审核日期：{%VerifyTime%} <i class="ico-browse"></i>浏览次数：{%ReadCount%} <i class="comment"></i>文章评论：{%MyWorkComment%}
                        点击数：{%ReadCount%} 作者等级：{%MyWork%} 编辑人：{%AuthE%}</div>
            <div class="clear">
            </div>
        </div>
    </div>
    $} </script>
            <div id="gridlist">                   
            
            
            
<?php if(is_array($p['options'])) { foreach($p['options'] as $o) { ?>

<?php } } ?>

        
<?php if($tags) { ?><?php include template('list-shige3', 'tag');?><?php } ?>
</div> 
        </div>
        <div class="right">
            <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>
    <div class="clear">
    </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');?>
