freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

視頻培訓(xùn)網(wǎng)站論文(編輯修改稿)

2025-07-23 16:43 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 單選文檔分類,可上傳txt文本,word,ppt,pdf類型的文檔到相應(yīng)的分類,選擇單選視頻分類,可上傳asx,asf,mpg,wmv,3gp,mp4,mov,avi格式的視頻。若上傳文件不符合要求則提示錯(cuò)誤,拒絕上傳。上傳后的視頻系統(tǒng)將自動(dòng)對(duì)其進(jìn)行格式轉(zhuǎn)換。%css樣式及Javascript方法%head runat=server style type=text/css .tdnav { backgroundimage: url(./Image/)。 height: 28px。 width: 100%。 } .btn { borderstyle: none。 backgroundimage: url(Image/)。 width: 60px。 height: 28px。 borderwidth: 0px。 } .even { backgroundcolor: CEEDFA。 } .tdhead { backgroundimage: url(Image/)。 } .newstitle { backgroundcolor: F4F4F4。 } .title { backgroundimage: url(./Image/)。 height: 28px。 width: 100%。 } showdiv { position: absolute。 width: 505px。 left:13%。 height:305px。 zindex:100。 top:8px。 } .bai { width:900px。 textalign:center。 } /stylescript type=text/javascript function btnjindu() { var sdiv = (showdiv)。 = block。 }/script/head使用NeatUpload大文件上傳控件,見(jiàn)圖56圖56 NeatUpload文件圖//上傳按鈕代碼protected void Button1_Click(object sender, EventArgs e) { [style] = display:block。 string serPath = 。//服務(wù)器相對(duì)目錄 int resid = 1。 string serName = 。//服務(wù)器相對(duì)地址 string flvname = 。//轉(zhuǎn)換后視頻地址 string toolspath = 。//轉(zhuǎn)換工具地址 string vimgpath = 。//縮略圖地址 if () { if ( 1024 * 1024 * 800)//大于800M { [style] = display:none。 (script type=39。text/javascript39。alert(39。請(qǐng)上傳小于800M大小的文件!39。)。/script)。 return。 } resourceInfo res = new resourceInfo()。 = ()。 = ()。 = empid。 = 。 long filelength = 。 = (decimal)(filelength / 1024 / 1024)。//單位是兆(MB) string ext = ().ToLower()。 = ext。 if (ext != .txt amp。amp。 ext != .doc amp。amp。 ext != .docx amp。amp。 ext != .pdf amp。amp。 ext != .ppt amp。amp。 ext != .pptx amp。amp。 ext != .swf amp。amp。 ext != .wmv amp。amp。 ext != .3gp amp。amp。 ext != .mp4amp。amp。 ext != .avi amp。amp。 ext != .mov) { [style] = display:none。 (script type=39。text/javascript39。alert(39。Sorry,不支持該類型文件的上傳!39。)。/script)。 return。 } else { if () { = ()。 if (ext == .txt) serPath = ~/txt/。 else if (ext == .doc || ext == .docx) serPath = ~/word/。 else if (ext == .pdf) serPath = ~/pdf/。 else if (ext == .ppt || ext == .pptx) serPath = ~/ppt/。 else { [style] = display:none。 (script type=39。text/javascript39。alert(39。抱歉,您上傳的文檔格式系統(tǒng)不支持!39。)。/script)。 return。 } serName = serPath + () + ext。 = serName。 = 。 } else {// ffmpeg能解析的格式:(asx,asf,mpg,wmv,3gp,mp4,mov,avi,flv等) if (ext == .wmv || ext == .3gp || ext == .mp4 || ext == .avi || ext == .mov ||ext==.asx || ext==.asf) { serPath = ~/video/。 = 。 = 0。//視頻沒(méi)有類型,賦0值 serName = serPath + ().ToString() + ext。 //轉(zhuǎn)換后視頻相對(duì)地址 flvname = ((video, cvideo), .flv)。 = flvname。 //ffmpeg的絕對(duì)地址 toolspath = ([toolpath].ToString())。 //縮略圖保存相對(duì)地址 vimgpath = ~/VImage/ + ().ToString() + .jpg。 = vimgpath。 } } try { resid = (res)。 if (resid == 1) { [style] = display:none。 (script type=39。text/javascript39。alert(39。上傳失??!39。)。/script)。 return。 } ((serName), )。 if (ext == .wmv || ext == .3gp || ext == .mp4 || ext == .avi || ext == .mov || ext == .asx || ext == .asf) { cv = new ConvertVideo(toolspath, (serName), (flvname), (vimgpath))。 if (()) { [style] = display:none。 (script type=39。text/javascript39。alert(39。上傳成功!39。)。/script)。 = 。 = 。 } else { [style] = display:none。 (script type=39。text/javascript39。alert(39。上傳失??!239。)。/script)。 (resid)。 } FileInfo fi = new FileInfo((serName))。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1