destoon教程之怎样实现VIP排行不断在前面
发布时间:08/25 来源:未知 浏览:
关键词:
本文示例怎样在destoon模板中一天内VIP登陆后,在点更新之后,会排在其他没有更新的VIP和一般会员前面的排序方式!
其详细的操纵步骤如下:
翻开module\sell\admin\template\ 下setting.tpl.php文件
在大约71行寻到:
<select"if(this.value) Dd('order').value=this.value;">
并在其下行增加:
<option value="vip desc,editdate desc,edittime desc"<?php if($order == 'vip desc,editdate desc,edittime desc') echo ' selected';?>><?php echo VIP;?>级别,更新日期,更新时间