ISite企业建站系统默认模板说明
查看全部词条命名空间:Main
|
ISite企业建站系统 | 安装教程 | 功能使用 | 模块使用 |
首页默认模板:Index.html
静态模块默认模板:Page.html
静态模块默认模板文件名应为Page.html,可用所有通用标签和静态模块标签。
文章模块默认模板:ArticleList.html
文章模块默认模板文件名应为ArticleList.html,可用所有通用标签和文章模块标签。
产品模块默认模板:ProductList.html
产品模块默认模板文件名应为ProductList.html,可用所有通用标签和产品模块标签。
下载模块默认模板:DownList.html
下载模块默认模板文件名应为DownList.html,可用所有通用标签和下载模块标签。
文章展示页默认模板:Article.html
文章展示页默认模板文件名应为Article.html,可用所有通用标签和文章展示页标签。
产品展示页默认模板:Product.html
产品展示页默认模板文件名应为Product.html,可用所有通用标签和产品展示页标签。
下载展示页默认模板:Down.html
下载展示页默认模板文件名应为Down.html,可用所有通用标签和下载展示页标签。
信息模块默认模板:Info.html
信息模块默认模板文件名应为Info.html,可用所有通用标签和信息模块标签。
留言模块默认模板:GBook.html
留言模块默认模板文件名应为GBook.html,可用所有通用标签和留言模块标签。
留言表单示例如下:
<form id="GBookAdd" name="GBookAdd" method="post" action="GBookDo.asp?Type=1">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="25" align="right">您的昵称:</td>
<td><input type="text" name="Fk_GBook_Name" id="Fk_GBook_Name" />
*</td>
</tr>
<tr>
<td height="25" align="right">联系方式:</td>
<td><input type="text" name="Fk_GBook_Contact" id="Fk_GBook_Contact" />
*</td>
</tr>
<tr>
<td height="25" align="right">留言标题:</td>
<td><input type="text" name="Fk_GBook_Title" id="Fk_GBook_Title" />
*</td>
</tr>
<tr>
<td height="25" align="right">留言内容:</td>
<td><textarea name="Fk_GBook_Content" cols="50" rows="6" id="Fk_GBook_Content"></textarea>
*</td>
</tr>
<tr>
<td height="25" colspan="2" align="center"><input type="hidden" name="Fk_GBook_Module" value="{$GBookId$}" /><input type="submit" name="Submit"
id="Submit" value="提交" />
<input type="reset" name="ReSet" id="ReSet" value="重置" /></td>
</tr>
</table>
</form>
招聘模块默认模板:Job.html
招聘模块默认模板文件名应为Job.html,可用所有通用标签和招聘模块标签。
搜索页面模板:Search.html
搜索页默认模板文件名应为Search.html,可用所有通用标签和搜索页标签。
搜索表单部分示例如下:
<form id="form1" name="form1" method="get" action="{$SiteDir$}Search/">
<select name="SearchType" id="SearchType">
<option value="0">文章</option>
<option value="1">产品</option>
<option value="2">下载</option>
</select>
<input name="SearchStr" type="text" id="SearchStr" size="10" />
<input type="submit" name="button" id="button" value="搜索" />
</form>
假如搜索页需要体现搜索方式:
<form id="form1" name="form1" method="get" action="{$SiteDir$}Search/">
<select name="SearchType" id="SearchType">
<option value="0"{$If({$SearchType$},0,=)$} selected="selected"{$Else$}{$End If$}>文章</option>
<option value="1"{$If({$SearchType$},1,=)$} selected="selected"{$Else$}{$End If$}>产品</option>
<option value="2"{$If({$SearchType$},2,=)$} selected="selected"{$Else$}{$End If$}>下载</option>
</select>
<input name="SearchStr" type="text" value="{$SearchStr$}" id="SearchStr" size="10" />
<input type="submit" name="button" id="button" value="搜索" />
</form>
搜索页面结果部分示例如下:
{$If({$SearchType$},0,=)$}
<ul>
{$For(ArticleList,1/0/0/0/1/0/0/0)$} <li><a href="{$ArticleListUrl$}" title="
{$ArticleListTitle$}">{$ArticleListTitle$}</a></li>
{$Next$}
</ul>{$Else$}{$End If$}
{$If({$SearchType$},1,=)$}
<ul class="ImgList">
{$For(ProductList,1/0/1/0/1/0/0/0)$} <li><a href="{$ProductListUrl$}" title="
{$ProductListTitle$}"><img src="{$ProductListPic$}" /><br />{$ProductListTitle$}</a></li>
{$Next$}
</ul>
<div class="Cal"></div>{$Else$}{$End If$}
{$If({$SearchType$},2,=)$}
<ul>
{$For(DownList,1/0/1/0/1/0/0/0)$} <li><a href="{$DownListUrl$}" title="{$DownListTitle$}">{$DownListTitle$}</a></li>
{$Next$}
</ul>{$Else$}{$End If$}
<div id="Page">{$SearchPage$}</div>
专题页默认模板:Subject.html
专题页默认模板文件名应为Subject.html,可用所有通用标签和专题模块标签。
参考来源
ISite企业建站系统使用手册导航 | |||||
|---|---|---|---|---|---|
|