Authored by whb

在线登记

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