?? subscriptions_admin.tpl
字號:
{* $Id: subscriptions_admin.tpl,v 1.16 2004/06/28 10:53:38 mclap Exp $ *}{include file="page_title.tpl" title=$lng.lbl_subscriptions_management}{$lng.txt_subscriptions_management_top_text}<BR><BR>{capture name=searchdialog}<TABLE border="0"><FORM name="searchform" action="orders.php" method="GET"><INPUT type="hidden" name="mode" value="subscriptions"><INPUT type="hidden" name="action" value="search"><TR><TD height="10" class="FormButton" nowrap>{$lng.lbl_product_id}:</TD><TD width="10" height="10"></TD><TD height="10"><INPUT type="text" name="search_productid" size="10" value="{$smarty.get.search_productid}"></TD></TR><TR><TD height="10" class="FormButton" nowrap>{$lng.lbl_product_title}:</TD><TD width="10" height="10"></TD><TD height="10"><INPUT type="text" name="search_producttitle" size="40" value="{$smarty.get.search_producttitle}"></TD></TR><TR><TD height="10" class="FormButton" nowrap>{$lng.lbl_customer_login}:</TD><TD width="10" height="10"></TD><TD height="10"><INPUT type="text" name="search_customerlogin" size="20" value="{$smarty.get.search_customerlogin}"></TD></TR><TR><TD colspan="3"> </TD></TR><TR><TD colspan="3">{include file="buttons/search.tpl" href="javascript:document.searchform.submit();" js_to_href="Y"} {include file="buttons/button.tpl" button_title=$lng.lbl_list_all href="javascript:document.searchform.action.value='listall';document.searchform.submit();" js_to_href="Y"}</TD></TR></FORM></TABLE>{/capture}{if $subscriptions_info}<BR><BR>{capture name=dialog}{$lng.txt_subscr_table_format}<BR><B>{$lng.txt_note}:</B> {$lng.lbl_order_status_codes}:<B>Q</B> - {$lng.lbl_queued},<B>P</B> - {$lng.lbl_processed},<B>B</B> - {$lng.lbl_backordered},<B>D</B> - {$lng.lbl_declined},<B>F</B> - {$lng.lbl_failed},<B>C</B> - {$lng.lbl_complete}.<BR><BR><TABLE border="0" cellpadding="0" cellspacing="1" width="100%"><TR class="TableHead"><TD width="20%" colspan="2">{$lng.lbl_customer}</TD><TD width="25%" align="left">{$lng.lbl_subscription_date}</TD><TD width="25%" align="left">{$lng.lbl_last_payed_date}</TD><TD width="30%" align="left" colspan="2">{$lng.lbl_status}</TD></TR>{section name=sub loop=$subscriptions_info}<TR><TD height="20" colspan="6" bgcolor="#eeeeee"><A href="product.php?productid={$subscriptions_info[sub].productid}"><B>{$subscriptions_info[sub].product}</B></A> (<A href="javascript: void(0);" onclick="javascript: window.open('calendar.php?productid={$subscriptions_info[sub].productid}','calendar','width=600,height=500,toolbar=no,status=no,scrollbars=yes,resizable=no,menubar=no,location=no,direction=no'); void(0);">{$subscriptions_info[sub].next_pay_date}</A>): {$subscriptions_info[sub].subscribers_num} {$lng.lbl_subscribers}</TD></TR>{section name=sub1 loop=$subscriptions_info[sub].customers}<FORM name="subscription_form{$subscriptions_info[sub].customers[sub1].subscriptionid}" method="POST" action="orders.php?mode=subscriptions&action={$smarty.get.action|escape:"html"}&search_productid={$smarty.get.search_productid|escape:"html"}&search_producttitle={$smarty.get.search_producttitle|escape:"html"}&search_customerlogin={$smarty.get.search_customerlogin|escape:"html"}"><INPUT type="hidden" name="subscriptionid" value="{$subscriptions_info[sub].customers[sub1].subscriptionid}"><INPUT type="hidden" name="charge" value=""><TR><TD width="5"> </TD><TD><A href="{$catalogs.admin}/process_user.php?mode=update&user={$subscriptions_info[sub].customers[sub1].login}&usertype=C">{$subscriptions_info[sub].customers[sub1].login}</A></TD><TD><A href="{$catalogs.admin}/order.php?orderid={$subscriptions_info[sub].customers[sub1].orderid}">{$subscriptions_info[sub].customers[sub1].date} ({$subscriptions_info[sub].customers[sub1].status})</A></TD><TD><A href="{$catalogs.admin}/order.php?orderid={$subscriptions_info[sub].customers[sub1].last_payed_orderid}">{$subscriptions_info[sub].customers[sub1].last_payed_date} ({$subscriptions_info[sub].customers[sub1].last_payed_order_status})</A></TD><TD><SELECT name="subscription_status" onChange="javascript: document.subscription_form{$subscriptions_info[sub].customers[sub1].subscriptionid}.submit();"{if $subscriptions_info[sub].customers[sub1].subscription_status eq "Unsubscribed"} disabled{/if}>{section name=status loop=$sub_status}<OPTION value="{$sub_status[status]}"{if $sub_status[status] eq $subscriptions_info[sub].customers[sub1].subscription_status} selected{/if}>{$sub_status[status]}</OPTION>{/section}</SELECT></TD><TH align="right">{if $subscriptions_info[sub].customers[sub1].subscription_status ne "Unsubscribed"}<A href="javascript:document.subscription_form{$subscriptions_info[sub].customers[sub1].subscriptionid}.charge.value='Y';document.subscription_form{$subscriptions_info[sub].customers[sub1].subscriptionid}.submit();" style="color:#DD3300">{$lng.lbl_charge}</A>{else} {/if}</TH></TR></FORM>{if %sub1.last%}{else}<TR><TD><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" alt=""><BR></TD><TD colspan="5" class="TableHead"><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" alt=""><BR></TD></TR>{/if}{/section}{/section}<TR><TD><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" alt=""><BR></TD><TD colspan="5" class="TableHead"><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" alt=""><BR></TD></TR></TABLE><BR></FORM>{/capture}{/if}{include file="dialog.tpl" title=$lng.lbl_subsrc_search_form content=$smarty.capture.searchdialog extra="width=100%"}<BR><BR>{if $smarty.server.QUERY_STRING ne "mode=subscriptions"}{$lng.txt_N_results_found|substitute:"items":$products_num}{/if}{if $subscriptions_info}{include file="dialog.tpl" title=$lng.lbl_subscriptions content=$smarty.capture.dialog extra="width=100%"}{/if}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -