| | |
| | | KXMLDOMNode t = items.item(0); |
| | | xstring FileFormat=L""; |
| | | if(t.selectSingleNode(L"FileFormat"))FileFormat=t.selectSingleNode(L"FileFormat").text(); |
| | | if(FileFormat !=L"pdf" && FileFormat !=L"PDF" && FileFormat != L"xlsx" && FileFormat != L"xls" && FileFormat != L"docx" && FileFormat != L"doc" ) |
| | | if(FileFormat !=L"pdf" && FileFormat !=L"PDF" && FileFormat != L"xlsx" && FileFormat != L"xls" && FileFormat != L"docx" && FileFormat != L"doc" |
| | | && FileFormat != L"RAR" && FileFormat != L"rar" && FileFormat != L"ZIP" && FileFormat != L"zip") |
| | | { |
| | | alert(L"请上传正确格式的文件"); |
| | | return 0; |