Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MyWeikeEdit.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyWeikeEdit" %> <%= new MyWeikeNavInstance(this) { Local = MyWeikeNavItem.?????? }.ToHtml()%> <div class="well"> <div class="p_title"> <span class="title">????????</span>?????? </div> <hr> <div class="userInput pwd"> <form id="frmVideoWeike" action="" method="post" onsubmit="return false;"> <table border="0" cellpadding="2px" cellspacing="2px" class="myTab"> <tr> <td style="text-align: right; width: 150px;"><span class="label"><span class="required">*</span>?????</span></td> <td> <%= new HtmlText("Title", this.ViewData["_VideoWeike.Title"], 200) { }%> <%= new HtmlYKTip("Title")%> </td> </tr> <tr style="display: none;"> <td style="text-align: right; vertical-align: top;">?????</td> <td> <%= new HtmlHidden("VideoBefor", this.ViewData["_VideoWeike.VideoBefor"]) { Class = "ipt-t ipt-t-dft " }%> <div> <%= new SingleUploadInstance(this) { UploadTag = "VideoBefor", Accept = ".jpg,.png,.mp4", UploadControlName="??????"}.ToHtml()%> <%-- <%= new SingleUploadInstance(this) { UploadTag = "VideoBefor", InitParams = "FileFilter=FileFilter=*.jpg;*.png;*.mp4 ????????????(*.jpg;*.png;*.mp4)|*.jpg;*.png;*.mp4,DefaultColor=#F5F5F5F5,SelectFiles=????????????,Upload=?????????" }.ToHtml()%> --%> <%= new HtmlHidden("VideoWeikeUploadPath", SettingGroup.VideoWeikeUploadPath)%> <script type="text/javascript"> function UploadFinishedVideoBefor(VideoBefor, fileSize) { $("#frmVideoWeike [Name=VideoBefor]").val(VideoBefor); } </script> </div> ????? mp4; jpg; png ??????????? </td> </tr> <tr style="display: none;"> <td style="text-align: right; vertical-align: top;">?????</td> <td> <%= new HtmlHidden("VideoAfter", this.ViewData["_VideoWeike.VideoAfter"]) { Class = "ipt-t ipt-t-dft " }%> <div> <%= new SingleUploadInstance(this) { UploadTag = "VideoAfter", Accept = ".jpg,.png,.mp4", UploadControlName="??????"}.ToHtml()%> <%-- <%= new SingleUploadInstance(this) { UploadTag = "VideoAfter", InitParams = "FileFilter=*.jpg;*.png;*.mp4 ????????????(*.jpg;*.png;*.mp4)|*.jpg;*.png;*.mp4,DefaultColor=#F5F5F5F5,SelectFiles=????????????,Upload=?????????" }.ToHtml()%> --%> <%= new HtmlHidden("VideoWeikeUploadPath", SettingGroup.VideoWeikeUploadPath)%> <script type="text/javascript"> function UploadFinishedVideoAfter(VideoAfter, fileSize) { $("#frmVideoWeike [Name=VideoAfter]").val(VideoAfter); } </script> </div> ????? mp4; jpg; png ??????????? </td> </tr> <tr> <td colspan="2"> <hr /> <% var resourcePath = CreateInstance.VideoDao.GetResourcePath(this.ViewData["_VideoWeike.ParentVideo"] as AVA.ResourcesPlatform.Model.Pub.Video); var parentVideo = this.ViewData["_VideoWeike.ParentVideo"] as AVA.ResourcesPlatform.Model.Pub.Video;%> <% var videoPath = resourcePath.VideoShow;%> <%--<% videoPath = Request.WebPath() + "/upload/Video/test/test.mp4"; %>--%> <script type="text/javascript"> if ("<%= videoPath%>" == "") { flash("??????????????????????????"); } </script> <div class="wrapper"> <div class="flowplayer is-splash" id="fplayer" data-swf="<%= Request.WebPath() + "/Tools/JWPlayer/flowplayer.swf"%>"> <video preload="none"> <%= "<!--[if IE]><!-->"%> <source type="video/mp4" src="<%= videoPath%>" /> <%= "<!--<![endif]-->"%> <%= "<!--[if IE]><!-->"%> <source type="video/mp4" src="<%= videoPath%>" /> <%= "<!--<![endif]-->"%> </video> </div> <div class="scissorhands"></div> </div> <%--<i>ps?? ???????????????????,??????????????????????????</i>--%> <script> //flowplayer.conf.clip.url flowplayer(function (api, root) { api.bind("load", function () { }) api.bind("ready", function () { $('.scissorhands').ScissorHands( { url: ["<%= Request.WebPath()%>/Tools/JWPlayer/Service/VideoTimeInfoXML.aspx?Guid=<%= parentVideo.Guid%>&TemplateGuid=<%= new Random().Next()%>"], cuepoints: [],//"/cuepoints", playerAPI: api// .data("flowplayer") }); }) }); </script> </td> </tr> <tr> <td style="text-align: right; width: 150px;"><span class="label"><span class="required">*</span>????????</span></td> <td> <%= new HtmlText("Cutout", this.ViewData["_VideoWeike.Cutout"], 2000) { }%> <%= new HtmlYKTip("Cutout")%> <br /> ?????","?????????"B"???????"A"???????????????????????????????????????????????????????? <br /> ????????????????????"-"????????????"30-150",??????30??150????????? <br /> ???:"5B,30-150,200-600,10A"??????5???????????????30???150???????????200???600?????10????? </td> </tr> <tr> <td style="text-align: right;"></td> <td> <%= new HtmlHidden("ParentVideo", this.ViewData["_VideoWeike.ParentVideo.Guid"])%> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("??????", "VideoWeikeEdit", "VideoWeikeEditClient(this);").Style(new { Width = "100px" })%> </td> </tr> </table> </form> </div> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "VideoWeikeEdit", form: "#frmVideoWeike", alertMessage: true, showMessage: false }); //?????? $("#frmVideoWeike [name=Title]").formValidator({ validatorGroup: "VideoWeikeEdit", rules: { required: null }, message: { required: "???????????" } }); //?????? $("#frmVideoWeike [name=Cutout]").formValidator({ validatorGroup: "VideoWeikeEdit", rules: { required: null }, message: { required: "???????????" } }); </script> <script type="text/javascript"> function VideoWeikeEditClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.VideoWeikeEdit", data: Global.GetFormValue($("#frmVideoWeike")), async: true, dataType: 'json', success: function (result) { $(send).val("??????"); alert("?????????????????????????????????") Global.Disabled(send, false); window.location.href = result; }, beforeSend: function () { $(send).val("?????????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("??????"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } </script> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de