📄 bloginfogl.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);
return;
}
String strOfficeStyle = site.bean.SitePara.strVirtualName + "/member/" + igec.util.CookieUtil.getCookieValue(request,site.bean.SitePara.strCookieUserTheme,"stand");
site.bean.MebBlogInfoObj info=null;
info=site.business.MebBlogInfoBusiness.getMebBlogInfo(user.getStrParentId());
%>
<!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" />
<link rel="shortcut icon" href="<%=site.bean.SitePara.strVirtualName%>/favicon.ico">
<script type="text/javascript" src="<%=site.bean.SitePara.strVirtualName%>/member/js/tree.jsp?baseurl=<%=strOfficeStyle%>"></script>
</head>
<body onload="init();">
<%@ include file="../top.jsp"%>
<div id="screen">
<!--content-->
<div id="contentfloat">
<div id="content">
<script>
function init(){
<%if(info!=null){%>
SetSelValue("blogtype","<%=info.getBlogtype()%>");
<%}%>
}
</script>
<form name="myform" id="myform" action="<%=site.bean.SitePara.strVirtualName%>/member/bloginfo.do" onsubmit="return CheckForm(this);" target="ifrTarget" method="post">
<input type="hidden" name="iid" id="iid" value="<%=strMenuId%>" />
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td height="40">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="77%"><font color="112382" class="font14"><strong>管理博客信息</strong></font></td>
<td width="23%"> </td>
</tr>
</table>
</td>
</tr>
<tr style="display:none">
<td 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> 友情提示:</strong></font></td>
</tr>
<tr>
<td> <span class="zi20">如果您的信息里涉及到行业里的很多分类,建议您将信息分开发。例如你要发供应冷轧板201\202\301,可分发为三条信息:供应冷轧板201;供应冷轧板202;供应冷轧板301。PS:发商机时请确保您的商机类型与内容符合,否则,本站将直接删除不符合的商机。</span></td>
</tr>
</table></td>
</tr>
<tr>
<td height="50"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30">提示:带<font color="ff0000"> * </font>为必填项</td>
</tr>
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#97bef2">
<tr>
<td height="1"></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<%if(null!=info){%>
<input type="hidden" name="showpic" id="showpic" value="<%=info.getShowpic()%>"/>
<input type="hidden" name="opt" id="opt" value="opu" />
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="1" bgcolor="#dedede">
<tr>
<td height="30" align="right" bgcolor="#f5f5f5"><strong>博客分类:</strong><font color="ff0000"> * </font> </td>
<td height="30" bgcolor="#FFFFFF">
<select name="blogtype" id="blogtype" EmptyDisable label="博客分类">
<option value="">请选择博客分类</option>
<script language="javascript" src="<%=igec.site.base.bean.SitePara.strVirtualName%>/static/js/blogtype.js"></script>
</select> </td>
</tr>
<input type="radio" name="modelid" disabled style="display:none;" value="STAND" checked />
<tr>
<td width="20%"height="30" align="right" bgcolor="#f5f5f5"><strong>博客名称:</strong><font color="ff0000"> * </font> </td>
<td height="30" bgcolor="#FFFFFF">
<input type="text" name="title" value="<%=info.getTitle()%>" id="title" maxlength=100 minLength=1 EmptyDisable size="30" label="博客名称"/></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#f5f5f5"><strong>博客描述:</strong><font color="ff0000"> * </font> </td>
<td height="30" bgcolor="#FFFFFF">
<textarea name="intro" size="30" id="intro" maxlength=100 minLength=0 rows="10" cols="50" label="博客描述"><%=info.getIntro()%></textarea></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#f5f5f5"><strong>个人档案:</strong><font color="ff0000"> * </font> </td>
<td height="30" bgcolor="#FFFFFF">
<textarea name="sinfo" id="sinfo" EmptyDisable label="个人档案" maxlength=100 rows="10" cols="50"><%=info.getSinfo()%></textarea></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#F5F5F5"><strong>图片库:</strong><font color="ff0000"> * </font> </td>
<td height="30" bgcolor="#FFFFFF">
<input type="button" value="选择已有图片" onclick="getPic()"></td>
<script>
function getPic(){
window.open ('<%=site.bean.SitePara.strVirtualName%>/member/stand/person/mypic.jsp?fun=picDataBase','ShowMyPic','width=600, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no');
}
</script>
</tr><tr>
<td height="30" bgcolor="#F5F5F5" align="right"><strong>本地上传:</strong><font color="ff0000"> * </font> </td>
<td height="30" bgcolor="#FFFFFF">
<iframe class="TBGen" style="top:2px" ID="UploadFiles" src="<%=site.bean.SitePara.strVirtualName%>/inc/upload/?wt=<%=request.getParameter("wt")%>&ft=pic&recf=addUploadFile_Show" frameborder=0 scrolling=no width="350" height="25"></iframe></td>
</tr>
<td height="30" align="right" bgcolor="#f5f5f5"><strong>个人照片:</strong> </td>
<td height="30" bgcolor="#FFFFFF">
<img src='<%=info.getShowpic().equals("")?strOfficeStyle+"/images/nopic.gif":(site.bean.SitePara.strVirtualName+info.getShowpic())%>' id="specialshowpic" name="specialshowpic" width="92" height="93" /></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 height="50" align="center" ><%if(null!=info){%><input type="submit" name="Submit" value="更新" />
<input type="button" name="Submit2" onclick="javascript:window.close();" value="关闭" /><%} else {%> <a href="javascript:" onclick="javascript:window.open ('<%=site.bean.SitePara.strVirtualName%>/member/stand/bloginfo/bloginfofb.jsp?iid=<%=strMenuId%>','bloginfo','width=600, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no');">填写博客信息</a><%}%></td>
</tr>
</table></td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<iframe width="0" height="0" 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,'');
}
function addUploadFile_Show(strFilePath,strFileType){
try{
document.all("showpic").value = strFilePath;
document.all("specialshowpic").src = "<%=site.bean.SitePara.strVirtualName%>/"+strFilePath;
//document.all("specialshowpic").style.display="";
}catch(e){
alert(e.description);
}
}
//-->
</script>
</div>
</div>
<!--end/content-->
<!--left-->
<div id="leftmenu">
<!--menu-->
<div id="tree1"></div>
<!--end/menu-->
</div>
<!--end/left-->
</div>
<script language="javascript" src="<%=strOfficeStyle%>/menu.jsp?iid=<%=request.getParameter("iid")%>"></script>
<script type="text/javascript">treeInit();</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="2" bgcolor="#ff7b0f"></td>
</tr>
</table>
<%@ include file="../bot.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -