渐飞网站管理系统是如何制作网站的
渐飞网站管理系统是这样工作的:添加新闻栏目——>添加新闻——>编写调用新闻的模版——>将写好的模版添加到系统中——>最后生成网页就交给渐飞网站管理系统了。
现在就开始来做一个简单网站吧!
站点简单描述:我们建立一个有五个栏目的站点,分别给这五个栏目每个栏目添加一些新闻,然后在首页中把这五个栏目的新闻调用显示出来。开始吧!

一、添加新闻栏目

登陆网站管理后台(默认用户名密码是jfcms jfcms)——>点击控制面板——>栏目管理——>进入栏目管理面板直接点击右边的添加栏目直接进行栏目的添加操作

说明:栏目名:你所添加的栏目名称(如“栏目一”)目录名:是在站点目录下存放本栏目网页内容的文件夹(比如你的目录名称为no1,那么在添加

       新闻后就会在网站目录下找到no1这个目录)可以先填写这两项,点击添加就完成了栏目的添加

添加栏目如图:

按同样的方法把五个栏目都添加后的效果如图:

二、添加新闻

1、点击内容管理-->资讯管理(直接进入到资讯管理面版如下图)

2、点击网站目录下的任意栏目进行资讯管理

3、点击添加资讯 (直接进入资讯编辑面板编辑好资讯相关信息后直接点击保存关闭完成资讯的添加操作)

 


4、按同样的方法在每个栏目下都添加一些资讯

 

ok到此为止就把内容添加好了,接下来就是把各个模版添加到我们的程序中让我们的程序生成网页了!

三、添加模版生成网页(说明:相关的标签说明请参阅标签教程http://www.jfcms.com/help/Label.html、实例效果集http://www.jfcms.com/help/Example.htm 在此我们直接给出各模版的代码你可以直接ctrl+c ctrl+v到你程序中就可以了,也可以根据自己的要求在此项基础上来修改成你想要的效果)
 
1、模版的添加
       a、首页模板添加:点击控制面板--->首页管理(把下面给出的首页模板代码考到相应位置点击修改就可以了)


       b、栏目首页模板、栏目分页模版、新闻页模版的添加:我们可以从不同的地方来完成我们的这几种模版的操作(栏目管理中可以修改各模版的操作、在编辑资讯信息的时候也可以选择特定的模版,还有就是特别方便的批量修改模版中也可以完成模版的添加操作就本方法说明如下图)直接点击控制面板--->修改模版(进行模版的批量添加操作)相关操作如图


2、 接下来就是刷新资讯让系统生成网站所有的网页文件点击控制面板-->刷新资讯

说明:(添加修改模版的另一个途径点击控制面板-->栏目管理---点击要修改栏目后面的修改点击相应的模版修改后点击修改按钮就可以了)

到此为止网站就基本完成了,输入地址查看效果吧!


首页模版
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>首页模版</title>
<link href="css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
font-size: 14px;
font-weight: bold;
}
-->
</style>
</head>
<body>
<table width="98%" border="0" cellpadding="6" cellspacing="1" bgcolor="#333333">
<tr align="center" valign="top" bgcolor="#FFFFFF">
<td height="80"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="20" bgcolor="#FCEDB8" scope="col">调用栏目id为6的新闻</th>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
[JF:loop JF:CategoryID=1,JF:NewsCount=8,JF:NewsType=UdlNews,JF:TitleNum=20,JF:AddStr=...]
<tr>
<td height="18" valign="middle"><font color="#006699">·</font><a href="[JF:NewsPath]" target="_blank" Title="[JF:sTitle]">[JF:Title] </a>[JF:PicSign]</td>
<td width="25" align="right" valign="middle">[JF:Year]/[JF:Month]/[JF:Day]</td>
</tr>
[/JF:loop]
</table></td>
<td height="80"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="20" bgcolor="#FCEDB8" scope="col">调用栏目id为2的新闻</th>
</tr>
</table><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
[JF:loop JF:CategoryID=2,JF:NewsCount=8,JF:NewsType=UdlNews,JF:TitleNum=20,JF:AddStr=...]
<tr>
<td height="18" valign="middle"><font color="#006699">·</font><a href="[JF:NewsPath]" target="_blank" Title="[JF:sTitle]">[JF:Title] </a>[JF:PicSign]</td>
<td width="25" align="right" valign="middle">[JF:Year]/[JF:Month]/[JF:Day]</td>
</tr>
[/JF:loop]
</table></td>
</tr>
<tr align="center" valign="top" bgcolor="#FFFFFF">
<td height="80"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="20" bgcolor="#FCEDB8" scope="col"><span class="style1">调用栏目id为3的新闻</span></th>
</tr>
</table><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
[JF:loop JF:CategoryID=3,JF:NewsCount=8,JF:NewsType=UdlNews,JF:TitleNum=20,JF:AddStr=...]
<tr>
<td height="18" valign="middle"><font color="#006699">·</font><a href="[JF:NewsPath]" target="_blank" Title="[JF:sTitle]">[JF:Title] </a>[JF:PicSign]</td>
<td width="25" align="right" valign="middle">[JF:Year]/[JF:Month]/[JF:Day]</td>
</tr>
[/JF:loop]
</table></td>
<td height="80"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="20" bgcolor="#FCEDB8" class="style1" scope="col">调用栏目id为4的新闻</th>
</tr>
</table><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
[JF:loop JF:CategoryID=4,JF:NewsCount=8,JF:NewsType=UdlNews,JF:TitleNum=20,JF:AddStr=...]
<tr>
<td height="18" valign="middle"><font color="#006699">·</font><a href="[JF:NewsPath]" target="_blank" Title="[JF:sTitle]">[JF:Title] </a>[JF:PicSign]</td>
<td width="25" align="right" valign="middle">[JF:Year]/[JF:Month]/[JF:Day]</td>
</tr>
[/JF:loop]
</table></td>
</tr>
<tr align="center" valign="top" bgcolor="#FFFFFF">
<td height="80"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="20" bgcolor="#FCEDB8" class="style1" scope="col">调用栏目id为5的新闻</th>
</tr>
</table><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
[JF:loop JF:CategoryID=5,JF:NewsCount=8,JF:NewsType=UdlNews,JF:TitleNum=20,JF:AddStr=...]
<tr>
<td height="18" valign="middle"><font color="#006699">·</font><a href="[JF:NewsPath]" target="_blank" Title="[JF:sTitle]">[JF:Title] </a>[JF:PicSign]</td>
<td width="25" align="right" valign="middle">[JF:Year]/[JF:Month]/[JF:Day]</td>
</tr>
[/JF:loop]
</table></td>
<td height="80">&nbsp;</td>
</tr>
</table>
</body>
</html>
栏目首页模版
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>栏目首页模版</title>
<link href="images/css.css" rel="stylesheet" type="text/css">
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="98%" height="22" border="0" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle" bgcolor="#EDEDED">
<th width="20" bgcolor="#EDEDED" scope="col"><img src="/images/dtitle.jpg" width="13" height="13"></th>
<th align="left" bgcolor="#EDEDED" scope="col"><span class="rr">你现在的位置是:</span><span class="rr">[JF:Navigation]</span></th>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col">&nbsp;</th>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col">&nbsp;</th>
</tr>
<tr>
<td align="center" valign="middle"><table width="96%" border="0" cellspacing="0" cellpadding="0">
[JF:loop JF:NewsCount=1]
<tr>
<td height="26" align="left" valign="middle" bgcolor="#F2F2F2" class="ti"><span class="red">&nbsp;≡</span>&nbsp;[JF:CategoryName]</td>
<td width="60" align="center" valign="middle" bgcolor="#F2F2F2" class="ti"><a href="[JF:More]" class="rr">更多&gt;&gt;</a></td>
</tr>
[/JF:loop]
<tr>
<td height="8" colspan="2" align="center" valign="middle">&nbsp;</td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
[JF:loop JF:NewsCount=20]
<tr>
<td width="12" height="26" align="center" valign="middle">·</td>
<td align="left" valign="middle"><a href=[JF:NewsPath]>[JF:Title]</a><font color=#c0c0c0 size=2></font></td>
<td align="center" valign="middle">[JF:year]年[JF:Month]月[JF:Day]日 </td>
</tr>
<tr>
<td height="8" colspan="3" align="center" valign="middle"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th background="/images/linef.jpg" height="2" scope="col"><img src="/images/spacer.gif" width="1" height="1"></th>
</tr>
</table></td>
</tr>
[/JF:loop]
</table></td>
</tr>
</table>
</body>
</html>

栏目分页模版
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>栏目颁布模版</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head> <body>
<table width="98%" height="22" border="0" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle" bgcolor="#EDEDED">
<th width="20" bgcolor="#EDEDED" scope="col"><img src="/images/dtitle.jpg" width="13" height="13"></th>
<th align="left" bgcolor="#EDEDED" scope="col"><span class="rr">你现在的位置是:</span><span class="rr">[JF:Navigation]</span></th>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="20" scope="col">&nbsp;</th>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><table width="96%" border="0" cellspacing="0" cellpadding="0">
[JF:loop JF:NewsCount=1]
<tr>
<td height="26" align="left" valign="middle" bgcolor="#F2F2F2" class="ti"><span class="red">&nbsp;≡</span>&nbsp;[JF:CategoryName]</td>
<td width="60" align="center" valign="middle" bgcolor="#F2F2F2" class="ti">&nbsp;</td>
</tr>
[/JF:loop]
<tr>
<td height="8" colspan="2" align="center" valign="middle">&nbsp;</td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
[JF:loop JF:CatNews=true]
<tr>
<td width="12" height="26" align="center" valign="middle">·</td>
<td align="left" valign="middle"><a href=[JF:NewsPath]>[JF:Title]</a><font color=#c0c0c0 size=2></font></td>
<td align="center" valign="middle">[JF:year]年[JF:Month]月[JF:Day]日 </td>
</tr>
<tr>
<td height="8" colspan="3" align="center" valign="middle"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th background="/images/linef.jpg" height="2" scope="col"><img src="/images/spacer.gif" width="1" height="1"></th>
</tr>
</table></td>
</tr>
[/JF:loop]
</table>
<table height="26" border="0" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle" class="rr">
<th width="60" scope="col"><a href='<JF:FirstPage>' class="rr">首页</a></th>
<th width="60" scope="col"><a href='<JF:PrevPage>' class="rr">上一页</a></th>
<th width="60" class="rr" scope="col">一共有</th>
<th scope="col"><JF:PageCount></th>
<th width="10" class="rr" scope="col">页</th>
<th class="rr" scope="col"><JF:ListPage></th>
<th width="20" class="rr" scope="col">第</th>
<th scope="col"><JF:DropDownList> </th>
<th width="20" class="rr" scope="col">页</th>
<th width="60" scope="col"><a href='<JF:NextPage>' class="rr">下一页</a></th>
<th width="60" scope="col"><a href='<JF:LastPage>' class="rr">尾页</a></th>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

新闻模版

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新闻页面模版</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head> <body>
<table width="98%" height="22" border="0" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle" bgcolor="#EDEDED">
<th width="20" bgcolor="#EDEDED" scope="col"><img src="/images/dtitle.jpg" width="13" height="13"></th>
<th align="left" bgcolor="#EDEDED" scope="col"><span class="rr">你现在的位置是:</span><span class="rr">[JF:Navigation]</span></th>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="26" scope="col">&nbsp;</th>
</tr>
<tr>
<td height="38" align="center" valign="middle" background="/images/titlebg.jpg" class="titln">[JF:Title]</td>
</tr>
<tr>
<td height="25" align="center">[JF:Year]-[JF:Month]-[JF:Day] 阅读:[JF:ViewClick] 出处:[JF:Source]<a href="[JF:ReviewPath]" target="_blank"></a> 作者:[JF:Author] 编辑:[JF:Editer] </td>
</tr>
<tr>
<td height="8" align="center" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="6" background="/images/line2.jpg" scope="col"><img src="/images/spacer.gif" width="1" height="1"></th>
</tr>
</table></td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td class="News" id=zoom> [JF:Content] </td>
</tr>
<tr>
<td class="News" id=zoom><p align='right' class="text">[JF:SubPage]</p></td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="6" background="/images/line2.jpg" scope="col"><img src="/images/spacer.gif" width="1" height="1"></th>
</tr>
</table>
<table width="98%" border="0" cellpadding="0" cellspacing="6">
<tr>
<td height="1" colspan="2" background="/images/bg_dot.gif"></td>
</tr>
<tr>
<td height="25">上一条新闻:<a href='[JF:PrevNews]' target=_blank>[JF:PrevTitle]</a><br>
下一条新闻:<a href='[JF:NextNews]' target=_blank>[JF:NextTitle]</a> </td>
<td align="right"></td>
</tr>
<tr>
<td width="97%" height="25" align="right">[ <a href="javascript:doZoom(16)">大</a> <a href="javascript:doZoom(14)">中</a> <a href="javascript:doZoom(12)">小</a> ] [<a href="[JF:ReviewPath]" target="_blank">发表评论</a>] [<a href="javascript:doPrint()">打印文章</a>] [<a href="javascript:window.close()">关闭窗口</a>]</td>
<td width="3%" align="right"></td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="ccccd4">
<td width="12" height="22" bgcolor="#EDEDED"></td>
<td width="588" bgcolor="#EDEDED"><strong>相关内容</strong></td>
</tr>
<tr bgcolor="#f2f3f7">
<td colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="2" cellpadding="0">
[JF:Correlation JF:NewsCount=60000]
<tr>
<td height="16">· <a href="[JF:NewsPath]" target="_blank">[JF:Title]</a> [JF:Year]/[JF:Month]/[JF:Day]</td>
</tr>
[/JF:Correlation]
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="ccccd4">
<td width="12" height="22" bgcolor="#EDEDED"></td>
<td width="588" bgcolor="#EDEDED"><b>您的评论 </b><a href="[JF:ReviewPath]" target="_blank">网友评论[JF:ReCount]条</a></td>
</tr>
<tr bgcolor="#f2f3f7">
<td colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="3">
<tr>
<td>[JF:LastReview]</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="12" cellpadding="0">
[JF:Review]
<tr>
<td><table width="100%" border="0" cellpadding="6" cellspacing="0">
<input type=hidden name=DocumentID value=1734>
<tr>
<td>姓名:
<input type=text name=ReviewName>
</td>
</tr>
<tr>
<td><textarea name=ReviewContent cols=60 rows=6 style="width:100%"></textarea></td>
</tr>
<tr>
<td align=center><input type=submit value=发送 name=submit>
</td>
</tr>
</table></td>
</tr>
[/JF:Review]
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>