NsDJq{
ecshop默认更新文章后,日期和文章位置都不变化。 v|uY\Z
k.=67L
1、第一处:admin/article.php -wv5c
%{qJkjG
if ($exc->edit("title='$_POST[title]', cat_id='$_POST[article_cat]', article_type='$_POST[article_type]', is_open='$_POST[is_open]', author='$_POST[author]', author_email='$_POST[author_email]', keywords ='$_POST[keywords]', file_url ='$file_url', open_type='$open_type', content='$_POST[FCKeditor1]', link='$_POST[link_url]', description = '$_POST[description]'", $_POST['id']))修改成 $add_time = gmtime(); if ($exc->edit("title='$_POST[title]', add_time='$add_time',cat_id='$_POST[article_cat]', article_type='$_POST[article_type]', is_open='$_POST[is_open]', author='$_POST[author]', author_email='$_POST[author_email]', keywords ='$_POST[keywords]', file_url ='$file_url', open_type='$open_type', content='$_POST[FCKeditor1]', link='$_POST[link_url]', description = '$_POST[description]'", $_POST['id'])) hDaI@_86
b*$/(2"m
2、第二处:includes/lib_article.php (共2个位置更改) %SORs(4
把' ORDER BY article_type DESC, article_id DESC';修改成' ORDER BY article_type DESC, add_time DESC';