VITCIE info: MySQL Query Error

Time: 2020-7-15 4:19pm
Script: /activitylist.php

SQL: Select vp.subject,vp.id,vp.smallimg,vp.jiage from vte_product vp where vp.type= order by vp.Top desc,vp.indextj asc,vp.posttime desc,vp.id desc limit 20
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by vp.Top desc,vp.indextj asc,vp.posttime desc,vp.id desc limit 20' at line 1
Errno.: 1064

An error report has been dispatched to our administrator.
Fatal error: Call to undefined function sendmail() in /data/home/xyu6252190001/htdocs/include/db_mysql_error.php on line 51