📄 message_board.dwt
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<meta name="Description" content="{$description}" />
{if $auto_redirect}
<meta http-equiv="refresh" content="3;URL={$message.href}" />
{/if}
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_title}</title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="style.css" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='common.js'}
</head>
<body>
<div id="globalWrapper">
<div style="float:left;"><img src="images/page_left.gif" alt="" /></div>
<div id="wrapper"><!-- #BeginLibraryItem "/library/page_header.lbi" -->
<table width="100%" border="0" cellpadding="0" cellspacing="3" id="page-header">
<tr>
<td id="cell-logo"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2"><a href="index.php" name="top" id="top"><img src="images/logo.gif" alt="shopping mall name" width="130" height="56" border="0" /></a></td>
<td align="right" valign="top" style="padding: 5px 10px"><a href="flow.php">{$lang.view_cart}</a> | <a href="pick_out.php">{$lang.pick_out}</a> | <a href="group_buy.php">{$lang.group_buy_goods}</a> | <a href="snatch.php">{$lang.snatch}</a> | <a href="catalog.php" onmouseover="showCatalog(this)" onmouseout="hideCatalog()"><strong>{$lang.catalog}</strong></a> | <a href="tag_cloud.php">{$lang.tag_cloud}</a> | <a href="user.php">{$lang.user_center}</a> </td>
</tr>
<tr>
<td align="center"></td>
</tr>
</table></td>
</tr>
<tr>
<td id="cell-nav"><ul>
<li><a href="index.php">{$lang.home}</a></li>
<!-- {foreach name=nav_list from=$nav_list item=nav} -->
<!-- {if $smarty.foreach.nav_list.last}-->
<li style="border-right:0px;"><a href="{$nav.url}">{$nav.label}</a></li>
<!-- {else}-->
<li><a href="{$nav.url}">{$nav.label}</a></li>
<!-- {/if}-->
<!-- {/foreach} -->
</ul></td>
</tr>
</table>
<div id="ECS_CATALOG" class="catalog-div" style="display:none"
onmouseover="if (this.style.display != 'block') this.style.display='block';"
onmouseout="if (this.style.display != 'none') this.style.display = 'none';">
<ul>
<!--{assign var="level" value=0}-->
<!-- {foreach from=$catalog_list item=cat} -->
<!-- {if $level > $cat.level} -->
</ul>
<!-- {/if}-->
<!-- {if $level < $cat.level} -->
<ul>
<!-- {/if} -->
<li class="{if $cat.level eq 0}top-cate{else}snd-cate{/if}"><a href="{$cat.url}" title="{if $cat.cat_desc neq ''}{$cat.cat_desc}{/if}">{$cat.cat_name}</a></li>
<!--{assign var="level" value=$cat.level}-->
<!-- {/foreach} -->
</ul>
</div>
<!-- #EndLibraryItem --><div id="search-bar">
<div id="search-left"><!-- TemplateBeginEditable name="导航栏下方左侧" --><!-- #BeginLibraryItem "/library/ur_here.lbi" -->
<div style="padding:3px 15px 0px 15px;">{$lang.ur_here} {$ur_here}</div> <!-- #EndLibraryItem --><!-- TemplateEndEditable --></div>
<div id="search-right"><!-- TemplateBeginEditable name="导航栏下方右侧" --><!-- #BeginLibraryItem "/library/search_form.lbi" -->
<div style="padding:0px 15px;">
<form id="searchForm" name="searchForm" method="get" action="search.php" onSubmit="return checkSearchForm()">
<img src="../images/icon_search.gif" alt="search" />
<select name="category" id="category" style="vertical-align:middle;">
<option value="0">{$lang.all_category}</option>
{$category_list}
</select>
<input name="keywords" class="textbox" type="text" id="keyword" value="{$search_keywords|escape}" />
<input type="image" name="imageField" src="../images/btn_go.gif" />
<a href="search.php?act=advanced_search">{$lang.advanced_search}</a>
</form>
</div>
{if $searchkeywords}
<div style="padding:0px 15px;text-align: right;">
{$lang.hot_search} :
{foreach from=$searchkeywords item=val}
<a href="search.php?keywords={$val|escape}">{$val}</a>
{/foreach}
</div>
{/if}
<script type="text/javascript">
{literal}
<!--
function checkSearchForm()
{
if(document.getElementById('keyword').value)
{
return true;
}
else
{
return false;
}
}
-->
{/literal}
</script>
<!-- #EndLibraryItem --><!-- TemplateEndEditable --></div>
</div>
<!-- End #search-bar --><!-- TemplateBeginEditable name="通栏广告位" --><!-- TemplateEndEditable -->
<div id="container4">
<div id="page-left"> <!-- TemplateBeginEditable name="主区域左侧" --><!-- #BeginLibraryItem "/library/member.lbi" -->
{insert_scripts files='transport.js,utils.js'}
<div><img src="../images/memeber_login.jpg" alt="Login" width="170" height="40" /></div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background:url(../images/login_bg.gif);">
<tr>
<td id="ECS_MEMBERZONE">{* ECSHOP 提醒您:根据用户id来调用member_info.lbi显示不同的界面 *}{insert name='member_info'} </td>
<td width="9" valign="top"><img src="../images/login_right.gif" alt="shadow" width="9" height="131" /></td>
</tr>
</table>
<!-- #EndLibraryItem --><!-- #BeginLibraryItem "/library/top10.lbi" -->
<div class="title-div"><img src="../images/top10.gif" alt="Top 10" width="158" height="39" /></div>
<div class="content-div">
<ul class="top-list">
<!-- {foreach name=top_goods from=$top_goods item=goods}-->
<li><img src="../images/top_{$smarty.foreach.top_goods.iteration}.gif" width="12" height="11" alt="top" /> <a href="{$goods.url}" title="{$goods.name|escape:html}">{$goods.short_name}</a></li>
<!--{/foreach}-->
</ul>
</div>
<!-- #EndLibraryItem --><!-- #BeginLibraryItem "/library/history.lbi" -->
<div class="title-div"><img src="../images/history.gif" alt="History" width="158" height="39" /></div>
<div class="content-div">
<ul class="history-list">
{insert name='history'}
</ul>
</div> <!-- #EndLibraryItem --><!-- TemplateEndEditable --></div>
<!-- End #page-left -->
<div id="page-right" style="float:left;width:628px;padding:0px 1px;">
<!-- TemplateBeginEditable name="主区域右侧" --><!-- #BeginLibraryItem "/library/message_list.lbi" --><div class="message-board-header">
<h3 class="message-board-title">{$lang.message_board}</h3>
<span><a href="#formMsg">{$lang.post_message}</a></span>
</div>
<div>
<ul id="message-board-list">
<!--{foreach name=message_lists from=$msg_lists key=key item=msg}-->
<li class="message-board-line1">
<strong>{$msg.user_name}</strong>
<i>{$msg.msg_time}</i>
<h4 class="msg-title">
{$msg.msg_title}
</h4>
<p class="msg-content">
{$msg.msg_content}
</p>
<p class="msg-reply">
{$msg.re_msg_content}
</p>
</li>
<!--{/foreach}-->
</ul>
</div> <!-- #EndLibraryItem --><!-- TemplateEndEditable -->
<!-- #BeginLibraryItem "/library/pages.lbi" -->
<form action="{$smarty.server.PHP_SELF}" method="get" name="selectPageForm" id="selectPageForm">
<div id="pager"> {$lang.pager_1}{$pager.record_count}{$lang.pager_2}{$lang.pager_3}{$pager.page_count}{$lang.pager_4} <span> <a href="{$pager.page_first}">{$lang.page_first}</a> <a href="{$pager.page_prev}">{$lang.page_prev}</a> <a href="{$pager.page_next}">{$lang.page_next}</a> <a href="{$pager.page_last}">{$lang.page_last}</a> </span>
<!--{foreach from=$pager.search key=key item=item}-->
<input type="hidden" name="{$key}" value="{$item}" />
<!--{/foreach}-->
<select name="page" id="page" onchange="selectPage(this)">
{html_options options=$pager.array selected=$pager.page}
</select>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -