⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 users.tpl

📁 NetGou商城购物系统是一款功能强大完善、操作界面友好、可扩展性好、专门针对个人和企业进行网上销售而开发的一套商城购物系统。 它具有完善的商品管理、订单管理、销售统计、新闻管理、结算系统、税率系统、
💻 TPL
📖 第 1 页 / 共 2 页
字号:
</TR>

<TR>
<TD height="10" width="20%" class="FormButton" nowrap>{$lng.lbl_web_site}:</TD>
<TD width="10" height="10"><FONT class="CustomerMessage">&nbsp;</FONT></TD>
<TD height="10" width="80%">
<INPUT type="text" maxlength="128" name="posted_data[url]" value="{$search_prefilled.url}" style="width:70%">
</TD>
</TR>

<TR class="TableSubHead">
<TD height="10" class="FormButton">{$lng.lbl_search_for_users_that_is}:</TD>
<TD height="10"></TD>
<TD height="10">
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR>
<TD width="5"><INPUT type="checkbox" name="posted_data[registration_date]" value="Y"{if $search_prefilled.registration_date ne ""} checked{/if} onclick="javascript:managedate('date_type')"></TD><TD nowrap>{$lng.lbl_registered}&nbsp;&nbsp;</TD>
<TD width="5"><INPUT type="checkbox" name="posted_data[last_login_date]" value="Y"{if $search_prefilled.last_login_date ne ""} checked{/if} onclick="javascript:managedate('date_type')"></TD><TD nowrap>{$lng.lbl_last_logged_in}&nbsp;&nbsp;</TD>
</TR>
</TABLE>
</TD>
</TR>

<TR class="TableSubHead">
<TD class="FormButton" nowrap>{$lng.lbl_during_date_period}:</TD>
<TD width="10">&nbsp;</TD>
<TD>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR>
<TD width="5"><INPUT type="radio" name="posted_data[date_period]" value="M"{if $search_prefilled.date_period eq "" or $search_prefilled.date_period eq "M"} checked{/if} onclick="javascript:date_selected='M';managedate('date',true)"></TD>
<TD nowrap>{$lng.lbl_this_month}&nbsp;&nbsp;</TD>
<TD width="5"><INPUT type="radio" name="posted_data[date_period]" value="W"{if $search_prefilled.date_period eq "W"} checked{/if} onclick="javascript:date_selected='W';managedate('date',true)"></TD>
<TD nowrap>{$lng.lbl_this_week}&nbsp;&nbsp;</TD>
<TD width="5"><INPUT type="radio" name="posted_data[date_period]" value="D"{if $search_prefilled.date_period eq "D"} checked{/if} onclick="javascript:date_selected='D';managedate('date',true)"></TD>
<TD nowrap>{$lng.lbl_today}</TD>
</TR>
<TR>
<TD width="5"><INPUT type="radio" name="posted_data[date_period]" value="C"{if $search_prefilled.date_period eq "C"} checked{/if} onclick="javascript:date_selected='C';managedate('date',false)"></TD>
<TD colspan="7">{$lng.lbl_specify_period_below}</TD>
</TR>
</TABLE>
</TD>
</TR>

<TR class="TableSubHead">
<TD class="FormButton" align="right" nowrap>{$lng.lbl_from}:</TD>
<TD width="10">&nbsp;</TD>
<TD>
{html_select_date prefix="Start" time=$search_prefilled.start_date start_year=$config.Company.start_year end_year=$config.Company.end_year}
</TD>
</TR>

<TR class="TableSubHead">
<TD class="FormButton" align="right" nowrap>{$lng.lbl_through}:</TD>
<TD width="10">&nbsp;</TD>
<TD>
{html_select_date prefix="End" time=$search_prefilled.end_date start_year=$config.Company.start_year end_year=$config.Company.end_year display_days=yes}
</TD>
</TR>

<SCRIPT type="text/javascript" language="JavaScript 1.2"><!--
{if $search_prefilled eq "" or $search_prefilled.address_type eq ""}
managedate('address',true);
{/if}
managedate('date_type');
{if ($search_prefilled.registration_date ne "" or $search_prefilled.last_login_date ne "") and $search_prefilled.date_period ne "C"}
managedate('date', true);
{/if}
--></SCRIPT>

<TR>
<TD colspan="3"><BR>
{$lng.txt_users_search_note}
</TD>
</TR>

<TR>
<TD colspan="2">&nbsp;</TD>
<TD><INPUT type="submit" value="{$lng.lbl_search}"></TD>
</TR>

</TABLE>

</TD>
</TR>

</FORM>

</TABLE>

{if $search_prefilled.need_advanced_options}
<SCRIPT type="text/javascript" language="JavaScript 1.2"><!--
visibleBox('1');
--></SCRIPT>
{/if}

{/capture}
{include file="dialog.tpl" title=$lng.lbl_search_for_user content=$smarty.capture.dialog extra="width=100%"}

<BR>

<!-- SEARCH FORM DIALOG END -->

{/if}

<!-- SEARCH RESULTS SUMMARY -->

<A name="results"/>

{if $mode eq "search"}
{if $total_items gt "1"}
{$lng.txt_N_results_found|substitute:"items":$total_items}&nbsp;
{$lng.txt_displaying_X_Y_results|substitute:"first_item":$first_item:"last_item":$last_item}
{else}
{$lng.txt_N_results_found|substitute:"items":0}
{/if}
{/if}

{if $mode eq "search" and $users ne ""}

<!-- SEARCH RESULTS START -->
{capture name=dialog}

<SCRIPT type="text/javascript" language="JavaScript 1.2">
<!--
checkboxes_form = 'processuserform';
checkboxes = new Array({foreach from=$users item=v key=k}{if $k > 0},{/if}'{if $v.login ne $login}user[{$v.login}]{/if}'{/foreach});
 
{include file="change_all_checkboxes.tpl"}
-->
</SCRIPT>

<DIV align="right">{include file="buttons/button.tpl" button_title=$lng.lbl_search_again href="users.php"}</DIV>

{if $total_pages lt 3}
{else}
{assign var="pagestr" value="&page=`$navigation_page`"}
{/if}

{include file="customer/main/navigation.tpl"}

<DIV style="line-height:170%"><A href="javascript:change_all(true);">{$lng.lbl_check_all}</A> / <A href="javascript:change_all(false);">{$lng.lbl_uncheck_all}</A></DIV>
<TABLE border="0" cellpadding="2" cellspacing="1" width="100%">

<FORM action="process_user.php" method="POST" name="processuserform">

<INPUT type="hidden" name="mode" value="">
<INPUT type="hidden" name="pagestr" value="{$pagestr}">

<TR class="TableHead">
<TD>&nbsp;</TD>
<TD>{if $search_prefilled.sort_field eq "username"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction}&nbsp;{/if}<A href="users.php?mode=search{$pagestr}&sort=username">{$lng.lbl_username}</A></TD>
<TD>{if $search_prefilled.sort_field eq "name"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction}&nbsp;{/if}<A href="users.php?mode=search{$pagestr}&sort=name">{$lng.lbl_name}</A> / {if $search_prefilled.sort_field eq "email"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction}&nbsp;{/if}<A href="users.php?mode=search{$pagestr}&sort=email">{$lng.lbl_email}</A></TD>
<TD>{if $search_prefilled.sort_field eq "usertype"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction}&nbsp;{/if}<A href="users.php?mode=search{$pagestr}&sort=usertype">{$lng.lbl_usertype}</A></TD>
<TD>{if $search_prefilled.sort_field eq "last_login"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction}&nbsp;{/if}<A href="users.php?mode=search{$pagestr}&sort=last_login">{$lng.lbl_last_logged_in}</A></TD>
</TR>

{section name=cat_num loop=$users}
{assign var="usertype" value=$users[cat_num].usertype}
{if $usertype eq "P" and $single_mode eq ""}
{assign var="products" value=$users[cat_num].products}
{else}
{assign var="products" value=""}
{/if}

<TR{cycle values=", class=TableSubHead"}>
<TD width="5"><INPUT type="checkbox" name="user[{$users[cat_num].login}]"{if $users[cat_num].login eq $login} disabled{/if}></TD>
<TD><A href="user_modify.php?user={$users[cat_num].login}&usertype={$users[cat_num].usertype}{$pagestr}" title="{$lng.lbl_modify_profile}">{$users[cat_num].login}</A></TD>
<TD><A href="user_modify.php?user={$users[cat_num].login}&usertype={$users[cat_num].usertype}{$pagestr}" title="{$lng.lbl_modify_profile}"><FONT class="ItemsList">{$users[cat_num].firstname} {$users[cat_num].lastname}</FONT></A> / {$users[cat_num].email}</TD>
<TD><SPAN title="{$users[cat_num].membership|default:$lng.lbl_no_membership}">{$usertypes.$usertype}</SPAN>{if $usertype eq 'B'}<BR><FONT class="SmallText"><I>({if $users[cat_num].status eq 'Q'}{$lng.lbl_unapproved}{elseif $users[cat_num].status eq 'D'}{$lng.lbl_declined}{else}{$lng.lbl_approved}{/if})</I></FONT>{/if}
{if $products ne ""} <NOBR>({$lng.txt_N_products|substitute:"products":$products})</NOBR>{/if}
</TD>
<TD nowrap>{if ($users[cat_num].last_login ne 0)}{$users[cat_num].last_login|date_format:$config.Appearance.datetime_format}{else}{$lng.lbl_never_logged_in}{/if}</TD>
</TR>

{/section}

<TR>
<TD colspan="5"><BR>
<INPUT type="button" value="{$lng.lbl_delete_selected}" onclick="document.processuserform.mode.value='delete'; document.processuserform.submit();">
</TD>
</TR>

<TR>
<TD colspan="5"><BR>
<FONT class="FormButton">{$lng.lbl_reg_chpass_admin}</FONT>
<BR>
<TABLE border="0" cellpadding="2" cellspacing="1">
<TR>
<TD><INPUT type="radio" name="for_users" value="S" checked></TD>
<TD>{$lng.lbl_of_selected_users}</TD>
<TD>&nbsp;&nbsp;</TD>
<TD><INPUT type="radio" name="for_users" value="A"></TD>
<TD>{$lng.lbl_of_all_found_users}</TD>
<TD>&nbsp;&nbsp;</TD>
<TD><INPUT type="button" value="{$lng.lbl_apply}" onclick="document.processuserform.mode.value='change_password'; document.processuserform.submit();"></TD>
</TR>
</TABLE>

</TD>
</TR>
</FORM>
</TABLE>
{include file="customer/main/navigation.tpl"}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_search_results content=$smarty.capture.dialog extra="width=100%"}
<!-- SEARCH RESULTS START -->
{/if}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -