index.ftl

来自「一个实用的CMS管理」· FTL 代码 · 共 116 行

FTL
116
字号
<html lang="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>SunCMS</title>
			<link href="../css/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="890"  border="0" align="center" cellpadding="0" cellspacing="0" background="../images/topbg.jpg">
	<iframe marginheight=0 marginwidth=0 frameborder=0 width=890 height=100 scrolling=NO src="top.html"></iframe>
</TABLE>
	<table width="890" border="0" align="center" cellpadding="0" cellspacing="0" >
	<iframe marginheight=0 marginwidth=0 frameborder=0 width=890 height=40 scrolling=NO src="Search.jsp"></iframe>
	</TABLE>
	<table width="890" border="0" align="center" cellpadding="0" cellspacing="0" class="stoke">
  <tr>
    <td valign="top">
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr valign="top"> 
          <td width="198" height="500">
          <iframe marginheight=0 marginwidth=0 frameborder=0 width=193 height=128 scrolling=NO src="login.htm"></iframe>
          <iframe marginheight=0 marginwidth=0 frameborder=0 width=193 height=328 scrolling=NO src="vote.html"></iframe>
            <table width="50%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td></td>
              </tr>
            </table>
          </td>
		 <td width="490">
					<#list news  as item>
					<#if item.if_index == "Y">
		 <table width="486" height="28" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td width="22"><img src="../images/mleft.gif" width="22" height="28"></td>
                      <td width="10" background="../images/mbg.gif"><img src="../images/msanjiao.gif" width="8" height="5"></td>
                      <td width="95" background="../images/mbg.gif" class="12white"><strong><a href="${item.row_id}/${item.row_id}_1.html" target="_self">${item.class_name}</a></strong></td>
                      <td width="262" background="../images/mmbg.jpg"><img src="../images/mmright.gif" width="32" height="28"></td>
                      <td width="92" align="right" background="../images/mmbg.jpg" class="12b">&nbsp;</td>
                      <td width="4" align="right" background="../images/mmbg.jpg"><img src="../images/mzuiyou.jpg" width="4" height="28"></td>
                    </tr>
                  </table>
                  <table width="486" border="0" align="center" cellpadding="0" cellspacing="0" background="../images/newbg.jpg">
 <#list item.artlist as aitem>
    <#if aitem.article_title =="">
    <tr> 
                      <td align="center" height="25" class="12l" width="85">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      <td class="12l">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                    </tr>
     
   <#else>
   <tr> 
                      <td align="center" height="25" class="12l" width="85">&nbsp;[${aitem.artclass_name}]</td>
                      <td class="12l"><a href="../${aitem.article_file}" target="_blank">${aitem.article_title}</a></td>
                    </tr>
   
   </#if>
    </#list>
                    
                   
                  </table>
                  <table width="486" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td><img src="../images/486di.gif" width="486" height="2"></td>
                    </tr>
                  </table>
                  </#if>
                   </#list>
    </td>
		<td height="427" width="266">
		 <table width="183" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="14"><img src="../images/gleft.gif" width="14" height="28"></td>
                      <td width="3" background="../images/gbg.gif"><img src="../images/sanjiao.gif" width="3" height="5"></td>
                      <td width="61" align="center" background="../images/gbg.gif" class="12white"><strong><font color="#0A498F">公告信息</font></strong></td>
                      <td width="105" align="right"><img src="../images/gright.gif" width="105" height="28"></td>
                    </tr>
                  </table>
                  <table width="183" height="175" border="0" align="center" cellpadding="0" cellspacing="0" background="../images/gdbg.gif">
                    <tr> 
                      <td width="10">&nbsp;</td>
                      <td class="12l" width="163">
						<marquee direction="up" scrollamount="2" behavior="scroll" height="150px" loop="-1" onmouseover=stop() onmouseout=start()>
						<div>
<#list news  as item>
  <#if item.if_bulletin == "Y">
  <#list item.artlist as aitem>
<table>
	<tr><td class="12l" align="center"><font color=red>${aitem.article_title}</font></td></tr>
	<tr><td class="12l" height="5"></td></tr>
	<tr><td class="12l" align="left">&nbsp;&nbsp;&nbsp; ${aitem.article_content}</td></tr>
</table>
</#list>
</#if>
</#list>
<br>                    

						</div>
						</marquee>
                      </td>
                      <td width="10">&nbsp;</td>
                    </tr>
                  </table> 
                  <table width="183" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td><img src="../images/gbottom.gif" width="183" height="2"></td>
                    </tr>
                  </table>
		 </td>
	</tr>
</table>
	 </td>
	</tr>
</table>
</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?