为ECSHOP后台添加通过快递单号搜索订单的功能
RT,需要修改admin/order.php,admin/templates/order_list.htm两个文件
1,修改admin/order.php添加代码:
搜索“过滤信息”,在后面添加
$filter['invoice_no'] = empty($_REQUEST['invoice_no']) ? '' : trim($_REQUEST['invoice_no']);
找到
if ($filter['address'])
{
$where .= " AND o.address LIKE '%" . mysql_like_quote($filter['address']) . "%'";
}
在后面添加:
if ($filter['invoice_no'])
{
$where .= " AND o.invoice_no LIKE '%" . mysql_like_quote($filter['invoice_no']) . "%'";
}
2,修改后台模板文件:第八行{$lang.order_sn}下添加
发货单号<input name="invoice_no" type="text" id="invoice_no" size="15">
在搜索订单部分,listTable.filter['consignee']下添加一行
listTable.filter['invoice_no'] = Utils.trim(document.forms['searchForm'].elements['invoice_no'].value);
修改完成后就可以在订单列表也看到快递单搜索框了,注意备份源文件
Hey there! I could have sworn I’ve been to this blog before but after checking through some of the post I realized it’s new to me. Anyways, I’m definitely glad I found it and I’ll be book-marking and checking back often!
I carry on listening to the news speak about receiving boundless online grant applications so I have been looking around for the best site to get one. Could you tell me please, where could i acquire some?
Hi there, just became aware of your blog through Google, and found that it’s really informative. I am going to watch out for brussels. I’ll be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!
I am John, how are you everybody? This post posted at this web site is actually good.
I’ll gear this review to 2 types of people: current Zune owners who are considering an upgrade, and people trying to decide between a Zune and an iPod. (There are other players worth considering out there, like the Sony Walkman X, but I hope this gives you enough info to make an informed decision of the Zune vs players other than the iPod line as well.)
His topic is good, while I discover this topic and I think it is here, many thanks guys ..
Wow, incredible weblog layout! How lengthy have you ever been blogging for? you made running a blog glance easy. The entire look of your site is wonderful, let alone the content material!
I completely understand because I have a lot of experience, but obviously, you know a little bit more than me about it. I’ll subscribe to your RSS feed for more information. I’ll even tweet and share this on facebook because I’m sure my followers and friends would be very interested as well. Thank you for the post. See you soon
.
I could read a book about this without findnig such real-world approaches!
cialis prix en pharmacie cialis generique
Very nice write-up. I certainly love this site. Stick with it!
When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service? Thanks!
Aw, this was a really nice post. In idea I would like to put in writing like this additionally – taking time and actual effort to make a very good article… but what can I say… I procrastinate alot and by no means seem to get something done.
One thing is the fact one of the most widespread incentives for utilizing your card is a cash-back or rebate offer. Generally, you’ll get 1-5% back on various expenditures. Depending on the credit card, you may get 1% returning on most purchases, and 5% again on expenses made using convenience stores, gas stations, grocery stores and also ‘member merchants’.
The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought youd have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention.
hey very good poster, added my favori page
This is the right blog for anyone who wants to find out about this topic. You realize so much its almost hard to argue with you (not that I actually would want…HaHa). You definitely put a new spin on a topic thats been written about for years. Great stuff, just great!
I seriously appreciate your posts. Thanks
Great beat ! I wish to apprentice while you amend your website, how could i subscribe for a blog web site? The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast provided bright clear idea
Thanks for revealing your ideas listed here. The other thing is that any time a problem develops with a computer motherboard, folks should not take the risk of repairing that themselves because if it is not done correctly it can lead to permanent damage to the complete laptop. It is almost always safe just to approach the dealer of your laptop with the repair of that motherboard. They’ve already technicians who may have an know-how in dealing with notebook motherboard issues and can make right diagnosis and accomplish repairs.
I used to be able to find good advice from your articles.
another solid entry here. is it possible to cite more sources please? would like to know exactly where you get your facts. anyway[url=http://www.equote.com],[/url] very good stuff.
Very interesting points you have noted , thanks for posting . “Lefty Wise guy dont carry wallets, they carry their money in a roll….beaner on the outs” by Donnie Brasco.
as I website owner I think the subject matter here is really wonderful, thanks for your efforts.
Its good as your other content : D, regards for putting up. “To be able to look back upon ones life in satisfaction, is to live twice.” by Kahlil Gibran.
Appreciate it for all your efforts that you have put in this. very interesting info . “You can’t help someone get up a hill without getting closer to the top yourself.” by Gen. H. Norman Schwarzkopf.
I’ve said that least 854110 times. SCK was here
The New England Patriots opened the 2007 season owning a blowout of the rival Huge Jets,The initial Spygate story broke when real after that.And now, the players were back at Gillette Stadium. inside of their Wednesday meeting to open Week 2! together there’s finally someone since the controversy swept the franchise off its feet,A less than comfortable tension hovered over everything.So which Bill Belichick did,He told a dirty joke. plus punch line lifted what became a storm cloud of anxiety.”The room erupted,” said Heath Evans. then the Patriot and now a colleague of mine at NFL Network,”And rapidly tells us! ‘Look, I made a mistake!I embarrassed the Kraft family! I embarrassed the merchant.
and I take responsibility for my actions,Everyone knows your problem.’ “The Patriots handled it by spending the autumn settling scores. and using the incident to have a cornered-animal dynamic for a team already loaded for bear.To several rational people, the mere reasoning behind the perpetrator passing itself off for being victim like that might sound like a 12-year-old stealing someone’s lunch money. getting ratted out! then going postal at recess.But here’s desire to: In professional football. many Code of the Schoolyard principles are mixed together.