å
ä¿®æ¹åå°ï¼
æ¾å°ecshopçæ·»å ææ¡£ï¼admin/article.phpæ件ãæ¾å°288è¡
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']))
åæ¾å°includes/lib_article.phpæ¾å°48ä¸56è¡æ' ORDER BY article_type DESC, article_id DESC';ä¿®æ¹æ' ORDER BY article_type DESC, add_time DESC';
æ ¹æ®æ´æ°æ¶é´è¿è¡æåºå¹¶ä¸æ¯ææéè¦çï¼ä½å´ç»äºæä¸ä¸ªé常éè¦çæ示ãé常ç®åçä¿®æ¹ä¸²ä»£ç 让ecshopæç« å®ç°éæºå±ç¤ºæ¾å°includes/lib_article.phpæ¾å°48ä¸56è¡æ' ORDER BY article_type DESC, article_id DESC';
ä¿®æ¹æ
' ORDER BY randï¼ï¼';
注ææ¯ä¸¤å¤ï¼å°±è¿ä¹ç®åå°±å®æï¼æ¯æ¬¡æ´æ°ç¼åï¼æç« çæåºå°±ä¼æ¹åä¸æ¬¡ã
温馨提示:答案为网友推荐,仅供参考