?? template.txt
字號:
onload = function()
{
try
{
window.setInterval("newPrice(" + id + ")", 8000);
onload_leftTime();
}
catch (e)
{}
}
<!-- {/literal} -->
</script>
------------------------------------------------------------------------------------------
文件: user_clips.dwt
日期: 2007-06-29
描述: 當(dāng)用沒有通過郵件驗(yàn)證時(shí),提示用戶
詳細(xì):
在用戶中心歡迎頁面加入以下代碼:
{if $info.is_validate eq 0}
<div style="color:red;font-size:12px;">{$lang.not_validated} <a href="javascript:sendHashMail()">{$lang.resend_hash_mail}</a></div>
{/if}
------------------------------------------------------------------------------------------
文件: user_transaction.dwt
日期: 2007-07-02
描述: 在訂單詳情頁里加入了查看商家的留言鏈接
詳細(xì):
user_transaction.dwt 訂單詳情頁 訂單編號 后 加入
<a href="user.php?act=message_list&order_id={$order.order_id}">[{$lang.business_message}]</a>
------------------------------------------------------------------------------------------
文件: goods.dwt
日期: 2007-07-03
描述: 添加顯示相關(guān)商品總數(shù),添加快捷購買地址
詳細(xì):
<tr>
<td>{$lang.related_goods_total}:</td>
<td>{$related_goods_total}</td>
</tr>
<tr>
<td>購買地址</td>
<td><input name="buy_url" value="{$buy_url}" size="40"/></td>
</tr>
------------------------------------------------------------------------------------------------
文件: user_transaction.dwt
日期: 2007-07-04
描述: 用戶訂單詳情虛擬卡顯示模板
詳細(xì):
在訂單詳情頁面最后加上:
<!--{if $virtual_card}-->
<!--{foreach from=$virtual_card item=vgoods}-->
<!--{foreach from=$vgoods.info item=card}-->
<tr>
<td>{$vgoods.goods_name}</td>
<td colspan="3">
<!--{if $card.card_sn}--><strong>{$lang.card_sn}:</strong>{$card.card_sn}<!--{/if}-->
<!--{if $card.card_password}--><strong>{$lang.card_password}:</strong>{$card.card_password}<!--{/if}-->
<!--{if $card.end_date}--><strong>{$lang.end_date}:</strong>{$card.end_date}<!--{/if}-->
</td>
</tr>
<!--{/foreach}-->
<!--{/foreach}-->
<!--{/if}-->
-----------------------------------------------------------------------------------------------------
文件: respond.dwt
日期: 2007-07-04
描述: 支付返回頁面虛擬卡顯示模板
<!--{if $virtual_card}-->
<table align="center">
<!--{foreach from=$virtual_card item=vgoods}-->
<!--{foreach from=$vgoods.info item=card}-->
<tr>
<td>{$vgoods.goods_name}</td>
<td colspan="3">
<!--{if $card.card_sn}--><strong>{$lang.card_sn}:</strong>{$card.card_sn}<!--{/if}-->
<!--{if $card.card_password}--><strong>{$lang.card_password}:</strong>{$card.card_password}<!--{/if}-->
<!--{if $card.end_date}--><strong>{$lang.end_date}:</strong>{$card.end_date}<!--{/if}-->
</td>
</tr>
<!--{/foreach}-->
<!--{/foreach}-->
</table>
<!--{/if}-->
------------------------------------------------------------------------------------------
文件: user_transaction.dwt
日期: 2007-07-05
描述: 我的紅包頁面增加一列:最小訂單金額(min_goods_amount)
--------------------------------------------------------------------------------------------
文件: user_transaction.dwt
日期: 2007-07-06
描述: 訂單詳情頁面支付方式欄加入允許改支付方式的代碼
詳細(xì)描述:
訂單詳情頁面支付方式欄下加入以下代碼:
<!--{if $payment_list}-->
<div align="right" style="border-top: 1px dotted #DADADA">
<form name="payment" method="post" action="user.php">
{$lang.change_payment}:
<select name="pay_id">
<!--{foreach from=$payment_list item=payment}-->
<option value="{$payment.pay_id}">
{$payment.pay_name}({$lang.pay_fee}:{$payment.format_pay_fee})
</option>
<!--{/foreach}-->
</select>
<input type="hidden" name="act" value="act_edit_payment" />
<input type="hidden" name="order_id" value="{$order.order_id}" />
<input type="submit" name="Submit" value="{$lang.button_submit}" />
</form>
</div>
<!--{/if}-->
------------------------------------------------------------------------------------------------
文件: flow.dwt
時(shí)間: 2007-7-6
描述: 訂單完成頁面顯示虛擬卡號
詳細(xì)描述:
在訂單完成頁面加入以下代碼:
<!--{if $virtual_card}-->
<table align="center">
<!--{foreach from=$virtual_card item=vgoods}-->
<!--{foreach from=$vgoods.info item=card}-->
<tr>
<td>{$vgoods.goods_name}</td>
<td>
<!--{if $card.card_sn}--><strong>{$lang.card_sn}:</strong>{$card.card_sn}<!--{/if}-->
<!--{if $card.card_password}--><strong>{$lang.card_password}:</strong>{$card.card_password}<!--{/if}-->
<!--{if $card.end_date}--><strong>{$lang.end_date}:</strong>{$card.end_date}<!--{/if}-->
</td>
</tr>
<!--{/foreach}-->
<!--{/foreach}-->
</table>
<!--{/if}-->
--------------------------------------------------------------------------------------------
文件: flow.dwt
日期: 2007-07-06
描述: 購物過程中可以直接使用紅包(輸入序列號)
--------------------------------------------------------------------------------------------
文件: flow.dwt
日期: 2007-07-09
描述: 控制使用余額輸入框
原來:<td><input name="surplus" type="text" id="ECS_SURPLUS" size="10" value="{$order.surplus|default:0}" onblur="changeSurplus(this.value)" />
改為:<td><input name="surplus" type="text" id="ECS_SURPLUS" size="10" value="{$order.surplus|default:0}" onblur="changeSurplus(this.value)" {if $disable_surplus}disabled="disabled"{/if} />
--------------------------------------------------------------------------------------------
文件: user_clips.dwt
日期: 2007-07-09
描述: 用戶中心歡迎頁顯示信用額度,增加以下代碼
<!-- {if $info.credit_line gt 0} 如果有信用額度 -->
<tr>
<td align="right">{$lang.credit_line}</td>
<td style="border-bottom:1px solid #DADADA;">{$info.formated_credit_line}</td>
</tr>
<!-- {/if} -->
------------------------------------------------------------------------------------------------
文件: order_query.lbi
日期: 2007-07-09
描述: 前臺(tái)訂單查詢庫文件(新增)
<!--{if empty($order_query)}-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div class="title-div"><img src="../images/order_query.gif" alt="invoice query" width="158" height="39" /></div>
<script>var invalid_order_sn = "{$lang.invalid_order_sn}"</script>
<form name="ecsOrderQuery">
<input type="text" name="order_sn" /><input type="button" value="{$lang.query_order}" onclick="orderQuery()" />
</form>
<div class="content-div" id="ECS_ORDER_QUERY">
<!--{else}-->
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<!--{if $order_query.user_id}-->
<tr align="left">
<th width="30%" style="border-top: 1px dashed #DADADA;font-size:10px">{$lang.order_number}</th>
<td style="font-size:9px;border-top: 1px dashed #DADADA;"><a href="user.php?act=order_detail&order_id={$order_query.order_id}" >{$order_query.order_sn}</a></td>
</tr>
<!--{else}-->
<tr align="left">
<th width="30%" style="border-top: 1px dashed #DADADA;font-size:10px">{$lang.order_number}</th>
<td style="font-size:9px;border-top: 1px dashed #DADADA;">{$order_query.order_sn}</td>
</tr>
<!--{/if}-->
<tr align="left">
<th width="30%" style="border-top: 1px dashed #DADADA;font-size:10px">{$lang.order_status}</th>
<td style="font-size:9px;border-top: 1px dashed #DADADA;">{$order_query.order_status}</td>
</tr>
<!--{if $order_query.invoice_no }-->
<tr align="left">
<th width="30%" style="border-bottom: 1px dashed #DADADA;font-size:10px">{$lang.consignment}</th>
<td style="font-size:9px;border-bottom: 1px dashed #DADADA;">{$order_query.invoice_no}</td>
</tr>
<!--{/if}-->
{if $order_query.shipping_date}
<tr align="left">
<th width="30%" style="border-bottom: 1px dashed #DADADA;font-size:10px">{$lang.shipping_date}</th>
<td style="font-size:9px;border-bottom: 1px dashed #DADADA;">{$order_query.shipping_date}</td>
</tr>
<!--{/if}-->
</table>
<!--{/if}-->
</div>
-------------------------------------------------------------------------------------------------------------------
文件: index.dwt
日期: 2007-07-09
描述: 加入訂單狀態(tài)查詢庫文件
詳細(xì)描述:
在首頁左側(cè)邊欄加入庫文件order_query.lbi
--------------------------------------------------------------------------------------------
文件: order_total.lbi
日期: 2007-07-10
描述: 增加發(fā)票稅額
<!-- {if $total.tax gt 0} 稅 -->
+ {$lang.tax}: {$total.tax_formated}
<!-- {/if} -->
--------------------------------------------------------------------------------------------
文件: flow.dwt
日期: 2007-07-10
描述: 增加發(fā)票類型
<!-- {if $inv_type_list} -->
{$lang.invoice_type}<select name="inv_type" id="ECS_INVTYPE" {if $order.need_inv neq 1}disabled="true"{/if} onchange="changeNeedInv()">
{html_options options=$inv_type_list selected=$order.inv_type}</select>
<!-- {/if} -->
--------------------------------------------------------------------------------------------
文件: user_transaction.dwt
日期: 2007-07-10
描述: 增加發(fā)票稅額
<!-- {if $order.tax gt 0} -->
+ {$lang.tax}: {$order.formated_tax}
<!-- {/if} -->
--------------------------------------------------------------------------------------------
文件: goods.dwt
日期: 2007-07-11
描述: 商品詳情頁面顯示購買該商品送積分?jǐn)?shù)
<!-- {if $goods.give_integral > 0} -->
<tr>
<td>{$lang.goods_give_integral}</td>
<td>{$goods.give_integral} {$points_name}</td>
</tr>
<!-- {/if} -->
---------------------------------------------------------------------------------------------
文件:user_clips.dwt
日期:2007-07-11
描述:對訂單的留言
詳細(xì)描述:
留言刪除鏈接由原來
<a href="user.php?act=del_msg&id={$key}">
改為:
<a href="user.php?act=del_msg&id={$key}&order_id={$message.order_id}">
留言類型由原來:
<tr>
<td align="right">{$lang.message_type}</td>
<td><input name="msg_type" type="radio" value="0" checked="checked" />
{$lang.type[0]}
<input type="radio" name="msg_type" value="1" />
{$lang.type[1]}
<input type="radio" name="msg_type" value="2" />
{$lang.type[2]}
<input type="radio" name="msg_type" value="3" />
{$lang.type[3]}
<input type="radio" name="msg_type" value="4" />
{$lang.type[4]} </td>
</tr>
改為:
{if $order_info}
<tr>
<td align="right">{$lang.order_number}</td>
<td>
<a href ="{$order_info.url}"><img src="images/note.gif" />{$order_info.order_sn}</a>
<input name="msg_type" type="hidden" value="5" />
<input name="order_id" type="hidden" value="{$order_info.order_id}" />
</td>
</tr>
{else}
<tr>
<td align="right">{$lang.message_type}</td>
<td><input name="msg_type" type="radio" value="0" checked="checked" />
{$lang.type[0]}
<input type="radio" name="msg_type" value="1" />
{$lang.type[1]}
<input type="radio" name="msg_type" value="2" />
{$lang.type[2]}
<input type="radio" name="msg_type" value="3" />
{$lang.type[3]}
<input type="radio" name="msg_type" value="4" />
{$lang.type[4]} </td>
</tr>
{/if}
---------------------------------------------------------------------------------------------------------
文件: new_articles.lbi
日期: 2007-07-18
描述: new_articles.lib 增加顯示商店公告
詳細(xì)描述:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div id="tab-title">
<span id="ECS_NOTICE" class="tab-front">{$lang.shop_notice}</span>
<span id="ECS_ARTICLE" class="tab-back">{$lang.new_article}</span>
</div>
<!-- 商店公告內(nèi)容 -->
<div class="content-div" id="ECS_NOTICE_BODY">
{$shop_notice}
</div>
<!-- 最新文章 -->
<div class="content-div" id="ECS_ARTICLE_BODY" style="display:none" >
<ul class="article-list">
<!--{foreach from=$new_articles item=article}-->
<li>[<a href="{$article.cat_url}">{$article.cat_name}</a>] <a href="{$article.url}" title="{$article.title|escape:html}">{$article.short_title}</a></li>
<!--{/foreach}-->
</ul>
</div>
{literal}
<script type="text/javascript">
var cycleList = ['ECS_NOTICE', 'ECS_ARTICLE'];
var tabFront = 'tab-front';
var tabBack = 'tab-back';
function cycleShow(obj)
{
var curObj;
var curBody;
for (i=0; i < cycleList.length; i++)
{
curObj = document.getElementById(cycleList[i]);
curBody = document.getElementById(cycleList[i] + '_BODY');
if (obj.id == curObj.id)
{
curObj.className = tabFront;
curBody.style.display = "";
}
else
{
curObj.className = tabBack;
curBody.style.display = "none";
}
}
}
// 添加事件
for (i=0; i< cycleList.length; i++)
{
document.getElementById(cycleList[i]).onmousemove = function()
{
cycleShow(this);
};
}
</script>
{/literal}
---------------------------------------------------------------------------------------------------------
文件: consignee.lbi,user_transaction.dwt
日期: 2007-09-3
描述: 配送地區(qū)下拉框,增加配送區(qū)域名稱
詳細(xì)描述:
<select name="country" id="selCountries_{$sn}" onchange="region.changed(this, 1, 'selProvinces_{$sn}')">
<option value="0">{$lang.please_select}{$name_of_region[0]}</option>
<!-- {foreach from=$country_list item=country} -->
<option value="{$country.region_id}" {if $consignee.country eq $country.region_id}selected{/if}>{$country.region_name}</option>
<!-- {/foreach} -->
</select>
其他三個(gè)下拉框也如此
---------------------------------------------------------------------------------------------------------
文件: wholesale_list.dwt
日期: 2007-09-17
描述: 增加批發(fā)頁面---------------------------------------------------------------------------------------------------------
文件: message.dwt
日期: 2007-09-25
描述: 判斷是否是自動(dòng)跳轉(zhuǎn) 詳細(xì)描述 : {if $auto_redirect}<meta http-equiv="refresh" content="3;URL={$message.href}" />{/if}
---------------------------------------------------------------------------------------------------------
文件: flow.dwt
日期: 2007-09-27
描述: 購物流程登錄頁面增加提示信息
{if $need_rechoose_gift}
<tr>
<td colspan="2" align="center" style="border-top:1px #ccc solid; padding:5px; color:red;">{$lang.gift_remainder}</td>
</tr>
{/if}
---------------------------------------------------------------------------------------------------------
文件: goods.dwt
日期: 2007-09-29
描述: 商品詳情頁顯示紅包的文字
把 <td>{$lang.bonus}</td> 改為 <td>{$lang.goods_bonus}</td>
---------------------------------------------------------------------------------------------------------
文件: group_buy_goods.dwt
日期: 2007-10-26
描述: 團(tuán)購商品頁文字顯示錯(cuò)誤
把 <td><strong>{$lang.amount}:</strong></td> 改為 <td><strong>{$lang.number}:</strong></td>
---------------------------------------------------------------------------------------------------------
文件: user_transaction.dwt
日期: 2007-10-31
描述: 用戶中心 - 我的紅包,紅包序列號加個(gè)默認(rèn)值
把 {$item.bonus_sn} 改為 {$item.bonus_sn|default:N/A}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -