france

https://github.com/francecil

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
网站系统配置---插件展示管理--新闻
<style>
    .detail_main_content h3 {
        padding-top: 50px;
        font-size: 24px;
        color: #333333;
        text-align: center;
    }

    .detail_main_content h1 {
        height: 50px;
        border-bottom: dashed 1px #cccccc;
        line-height: 50px;
        font-size: 12px;
        font-weight: normal;
        text-align: center;
    }

    .detail_main_content h1 span {
        padding-left: 20px;
        color: #2365a8;
    }

    .detail_content_display {
        padding-top: 20px;
        line-height: 22px;
        height: 22px;

</style>


<div class="detail_main_content">
    <h3>$ecms.getString($pluginObject,'VERIFY_TITLE')</h3>

    <h1><span>信息来源:</span>
        #if($ecms.getString($pluginObject,"refer_Name")=="未获取到信息")
            本站原创
        #else
            ${ecms.getString($pluginObject,"refer_Name")}
        #end<span>发布日期: </span>$ecms.getDate($pluginObject,'PUBLISHED','yyyy-MM-dd')
        <span>浏览次数: </span><span id="readcount"></span>$ecms.getDocumentReadCount($pluginObject.pkId,"readcount")</h1>

    <div class="detail_content_display">

        <div>$ecms.getString($pluginObject,'full_content')</div>
        <div>
            <style>
                .detail_annex {
                    line-height: 30px;
                    padding-top: 30px;
                    padding-bottom: 20px;
                }

                .detail_annex_content {
                    float: left;
                }

                .detail_annex_content ul li {
                    line-height: 30px;
                    border-bottom: none;
                    background: none;
                    width: 620px;

                }

                .detail_annex_content ul li span {
                    float: right;
                }

                .detail_annex_content ul li a {
                    font-size: 14px;
                    color: #2052ab;
                }

                .detail_annex_name {
                    font-weight: bold;
                    color: #333333;
                    font-size: 14px;
                    width: 50px;
                    float: left;
                }

                .detail_annex_content_dispatch {
                    float: left;
                }

                .detail_annex_content_dispatch ul li {
                    line-height: 38px;
                    width: 620px;
                }

                .detail_annex_content_dispatch ul  li span {
                    float: right;
                }

                .detail_annex_content_dispatch ul li a {

                    font-size: 14px;
                    color: #2052ab;
                }

                .detail_annex_name_dispatch {
                    font-weight: bold;
                    color: #333333;
                    font-size: 14px;
                    width: 50px;
                    float: left;
                    line-height: 38px;
                }

            </style>

            #set($index=0)

            #foreach( $file1 in $ecms.getFilesList($pluginObject) )
                #set($index=$index+1)
                #if($index==1)

                <div cmsid="79414577" class="detail_annex">
                    <div cmsid="89742462" class="detail_annex_name">附件:</div>

                <div cmsid="09230985" class="detail_annex_content">
                <ul>
                #end
                <li><span><a href="$ecms.getContextPath()$ecms.getString($file1,'file_Path')"><img
                        src="$ecms.getResourceUrl()/images/detail_annex_icon.jpg" width="79" height="30"
                        border="0"/></a></span><a
                        href="$ecms.getContextPath()$ecms.getString($file1,'file_Path')">$ecms.getCutWord($file1, 'file_Name', 60,  '...')</a>
                </li>

            #end


            #if($index==0)
            <div cmsid="46615614">
            <div cmsid="17229246">
            <ul>
            #end
        </ul>

        </div>
        </div>

            <div style="clear:both"></div>


            <div cmsid="47650209" style="float:left;text-align:left;margin-top:50px;">
                <ul>
                    #if($ecms.getPreName()!="没有了")
                        <li><span class="page_top">上一篇:</span><a href="$ecms.getPreLink()"
                                                                 style="text-decoration:none;font-size:12px;color:#333333;">
                            $ecms.getPreName()</a></li>#end
                    #if($ecms.getNextName() !="没有了")
                        <li style="text-align:left;padding-top:10px;"><span class="page_botton">下一篇:</span><a
                                href="$ecms.getNextLink()" style="text-decoration: none;font-size:12px;color:#333333;">
                            $ecms.getNextName() </a></li>#end
                </ul>
            </div>
        </div>
        </div>

        </div>

版权声明:本文为博主原创文章,未经博主允许不得转载。

posted on 2015-03-30 17:25  france  阅读(202)  评论(0编辑  收藏  举报