Authored by whb

在线登记

@@ -788,7 +788,7 @@ define('yohood', function(require, exports) { @@ -788,7 +788,7 @@ define('yohood', function(require, exports) {
788 $("#upload-file").uploadify({ 788 $("#upload-file").uploadify({
789 height: 30, 789 height: 30,
790 multi: false, 790 multi: false,
791 - fileTypeExts: '*.gif; *.jpg; *.png; *.pdf; *.rar; *.doc; *.xlsx; *.ppt', 791 + fileTypeExts: '*.gif; *.jpg; *.png; *.pdf; *.rar; *.doc; *.xlsx; *.ppt, *zip',
792 buttonText: '上传文件', 792 buttonText: '上传文件',
793 swf: '/../uploadify.swf', 793 swf: '/../uploadify.swf',
794 uploader: '/onlinereg/uploadfile', 794 uploader: '/onlinereg/uploadfile',
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 :source_link, :type, UNIX_TIMESTAMP()) 26 :source_link, :type, UNIX_TIMESTAMP())
27 </insert> 27 </insert>
28 <update id="setDownloadInfoById"> 28 <update id="setDownloadInfoById">
29 - UPDATE tbl_online_download SET title = :title, cover =:cover, file =:file, source = :source, source_link = :source_link, create_time = UNIX_TIMESTAMP() WHERE id = :id 29 + UPDATE tbl_online_download SET title = :title, cover =:cover, file =:file, source = :source, source_link = :source_link WHERE id = :id
30 </update> 30 </update>
31 <select id="getDownloadListByType"> 31 <select id="getDownloadListByType">
32 SELECT * FROM tbl_online_download WHERE `type` = :type ORDER BY create_time DESC LIMIT :offset, :limit 32 SELECT * FROM tbl_online_download WHERE `type` = :type ORDER BY create_time DESC LIMIT :offset, :limit