zoukankan      html  css  js  c++  java
  • 站群--新闻插件

    网站系统配置---插件展示管理--新闻
    <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;
                         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;
                         50px;
                        float: left;
                    }
    
                    .detail_annex_content_dispatch {
                        float: left;
                    }
    
                    .detail_annex_content_dispatch ul li {
                        line-height: 38px;
                         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;
                         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>
    

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

  • 相关阅读:
    微软 安全用户教育影片 有MM 哦
    数据字典是什么?
    调用Object.GetHashCode的缺省实现
    CCharp 中委托和事件的机制和应用
    C#.NET 中的类型转换
    解决在全文搜索中搜索中文字符
    ADO.NET 获取大型 数据
    Realize the Potential of Office 2003 by Creating Smart Tags in Managed Code
    MSDN 智能客户端开发人员中心
    ADO.Net 缓冲 插入大型数据
  • 原文地址:https://www.cnblogs.com/france/p/4808567.html
Copyright © 2011-2022 走看看