⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 videofb.jsp

📁 华东粮油电子交易市场网站源码华东粮油电子交易市场网站源码华东粮油电子交易市场网站源码
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ include file="/inc/pv/user.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>

<%
	if(checkPv(strMenuId,"add",user)<0){
		noPv(out);
%>
<script language="javascript">
	self.close();
</script>
<%
		return;
	}
	String strOfficeStyle = site.bean.SitePara.strVirtualName + "/member/" + igec.util.CookieUtil.getCookieValue(request,site.bean.SitePara.strCookieUserTheme,"stand");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title> 会员办公室--<%=site.bean.SitePara.strWebTitle%> </title>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/clear.jsp"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script> 
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/check.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/CalendarDlg.js"></script>
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/content.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/tree.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/mainframe.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/css.css" type="text/css" />
<script type="text/javascript" src="<%=site.bean.SitePara.strVirtualName%>/member/js/tree.jsp?baseurl=<%=strOfficeStyle%>"></script> 
<link rel="shortcut icon" href="<%=site.bean.SitePara.strVirtualName%>/favicon.ico">
<script>

function showpictype(){
   var sel=document.getElementById("islocal"); 
   if(sel.value=="1"){
	   document.getElementById("webtable").style.display="none";
	    document.getElementById("loctable").style.display="";
   }
   else{
	   document.getElementById("webtable").style.display="";
       document.getElementById("loctable").style.display="none";
   }
}
window.onload=showpictype;
window.resizeTo(640,700);
</script>
</head>  
  <body>
<form  name="myform" id="myform" action="<%=site.bean.SitePara.strVirtualName%>/member/video.do" onsubmit="return CheckForm(this);" target="ifrTarget"  method="post">
<input type="hidden" name="opt" id="opt" value="opa" />
<input type="hidden" name="iid" id="iid" value="<%=strMenuId%>" /> 
<table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="50"><font color="#112382" class="font14"><strong>&nbsp;&nbsp;&nbsp;&nbsp;</strong></font>
        <table  width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="77%"><img src="../images/xiugai.gif" width="25" height="28" align="absmiddle" /><font color="112382" class="font14"><strong> 发布视频信息</strong></font></td>
          </tr>
		  <tr>
      <td>  <div class="TableContenttop"><img src="images/bg_fd790d.gif" width="5" height="2" /></div>
</td>
        </table>
      </td>
    </tr>
    
    <tr style="display:none">
      <td height="110" valign="middle"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="border2">
        <tr>
          <td height="30" class="font14"><font color="#ff5400"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 友情提示:</strong></font></td>
        </tr>
        <tr>
          <td> &nbsp;&nbsp;&nbsp; <span class="zi20">如果您的信息里涉及到行业里的很多分类,建议您将信息分开发。例如你要发供应冷轧板201\202\301,可分发为三条信息:供应冷轧板201;供应冷轧板202;供应冷轧板301。PS:发商机时请确保您的商机类型与内容符合,否则,本站将直接删除不符合的商机。</span></td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td height="39" valign="middle"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="20">提示:带<font color="ff0000"> * </font>为必填项</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td height="110" valign="top">
	  
	  
	  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#dedede"> 
		 <tr>
          <td height="30" align="right" bgcolor="#f5f5f5"><strong>视频分类:</strong><font color="ff0000"> * </font>&nbsp;</td>
          <td height="20" bgcolor="#FFFFFF"> &nbsp;
          <select name="classid" id="classid" label="视频分类">          
				  <option value="">请选择分类</option>
          <script src="<%=site.bean.SitePara.strVirtualName%>/dynamic/js/memberclass.jsp?posid=S00005&typeflag=0&mebid=<%=user.getStrUserId()%>"></script> 
          </select>&nbsp;          </td>
        </tr>
		<tr>
          <td height="30" align="right" bgcolor="#f5f5f5"><strong>显示状态:</strong><font color="ff0000"> * </font>&nbsp;</td>
          <td height="20" bgcolor="#FFFFFF"> &nbsp;
		  <input type="radio" name="showflag" value="0"/> 隐藏&nbsp;<input type="radio" name="showflag" value="1" checked/>显示
&nbsp;          </td>
        </tr>
        <tr>
          <td height="30" align="right" bgcolor="#f5f5f5"><strong>视频标题:</strong><font color="ff0000"> * </font>&nbsp;</td>
          <td height="20" bgcolor="#FFFFFF"> &nbsp;
            <input type="text" name="title"  id="title" size="50" maxlength=100 minLength=1  EmptyDisable  label="视频标题"/></td>
        </tr> 
        <tr>
          <td height="20" align="right" bgcolor="#f5f5f5"><strong>描&nbsp;&nbsp;述:</strong><font color="ff0000"> * </font>&nbsp;</td>
          <td height="20" bgcolor="#FFFFFF">&nbsp; 
		  <textarea name="intro" id="intro"  EmptyDisable  label="详细说明" rows="6" cols="50"  onblur="CheckLength(this,100);"></textarea></td>
        </tr>
		<tr>
          <td height="20" align="right" bgcolor="#f5f5f5"><strong>上传类型:</strong><font color="ff0000"> * </font>&nbsp;</td>
          <td height="20" bgcolor="#FFFFFF">&nbsp; 
		    <select name="islocal" onchange="javascript:showpictype();" id="islocal" label="上传类型"> 
				  <option value="1">本地上传</option>
				  <option value="0">网络地址</option>
           </select>&nbsp;		  </td>
		</tr> 
		<tr id="webtable">
                  <td height="26" bgcolor="#F5F5F5"><strong>网络上传:</strong>&nbsp;&nbsp; </td>
				  <td height="26" bgcolor="#FFFFFF">&nbsp; 
		    <input type="text" size="50"  name="weburl" id="weburl"  onpropertychange="javascript:picDataBase(this.value);"/>            </td>
          </tr>   
                <tr id="loctable">
                  <td height="30" align="right" bgcolor="#F5F5F5"><strong>本地上传:&nbsp;&nbsp;</strong>&nbsp;&nbsp;</td>
				  <td height="30"  bgcolor="#FFFFFF">&nbsp;
				  <div id="Layer1" style="position:absolute; OVERFLOW: hidden;z-index:1;">
			      <iframe class="TBGen" style="top:0px" ID="UploadFiles" src="<%=site.bean.SitePara.strVirtualName%>/inc/upload/?wt=<%=request.getParameter("wt")%>&ft=video&recf=addUploadFile_Show" frameborder=0 scrolling=no width="350" height="18"></iframe></div><div id="Layer2" style="position:absolute; OVERFLOW: hidden;width:236px; height:30px;z-index:1;"><input type="text" value="" name="furl" style="width:222px;height:14px" readonly></div>
				  </td> 
               </tr>  
		<tr>
          <td height="20" align="right" bgcolor="#f5f5f5"><strong>上传提示:&nbsp;&nbsp;</strong>&nbsp;&nbsp;</td>
          <td height="20" bgcolor="#FFFFFF">&nbsp; 
		  <input type="hidden" name="xh" size=5 id="xh"  ValueFormat="int" EmptyDisable  label="显示顺序"   value=0  minlength=1  maxlength=5 />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=red>文件格式仅限于(<%=site.bean.SitePara.strUpload_Video.replaceAll("\\|",",")%>),且大小不能超过5M</font></td>
        </tr> 
		</table>
	  </td>
    </tr>
    <tr> 
      <td height="52" valign="top"><table  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
        <tr>
          <td height="1"></td>
        </tr>
      </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td  align="center" height="50"><input type="submit" name="Submit" value="发布" />
              &nbsp;&nbsp;&nbsp; <input type="button" onclick="javascript:window.close();" name="Submit2" value="关闭" />
		    </td>
          </tr>
        </table></td>
    </tr>
  </table></td>
    </tr>
  </table>
  </form>
<iframe height="1" src="" name="ifrTarget" frameborder="0" scrolling="no"></iframe>

<br />
 <br />
<script language=javascript>
document.onkeydown=nextpage
function nextpage(event) {
	event = event ? event : (window.event ? window.event : null); 
	if (event.keyCode==13) userlogin();
}
</script>
<script language="JavaScript">
function userlogin(){
	document.loginform.submit();
}

function CheckForm(loObj){ 
  if(!Check(loObj)) return false;
  return true;
 }
</script>

<script language="javascript">
<!--

function picDataBase(strFilePath){
   addUploadFile_Show(strFilePath,'');
   //alert("/\.gif|\.jp(e)g|\.bmp/gi".test(strFilePath));
}
function addUploadFile_Show(strFilePath,strFileType){
	try{
	document.all("furl").value = strFilePath;
	//document.all("specialfurl").src = "<%=site.bean.SitePara.strVirtualName%>/"+strFilePath;
	//document.all("specialfurl").style.display="";
	}catch(e){
		alert(e.description);
	}
}

//-->
</script>
  </body>
 </html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -