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

📄 dispaly.js

📁 J-Blog v1.0 系统配置: web.xml里默认配置为:resin 2.1.14 可根据您的具体服务器配置。 注意链接池就是了! 然后导入database/j-blog.sql 默
💻 JS
📖 第 1 页 / 共 2 页
字号:
function J_Blog_Blog(){
    var J_Blog_ID;
    var J_Blog_Title;
    var J_Blog_Weather;
    var J_Blog_Istop;
    var J_Blog_Lock;
    var J_Blog_Author;
    var J_Blog_Ico;
    //var J_Blog_Content;
    //var J_Blog_Import;
    var J_Blog_Comment;
    var J_Blog_GoUrl;
    var J_Blog_CommentCount;
    var J_Blog_ImportCount;
    var J_Blog_ViewCount;
    var J_Blog_DO;

    var J_Blog_PostDateAll;
    var J_Blog_PostDateAllID;

    var J_Blog_Category;
    var J_Blog_CategoryName;
    var J_Blog_CategoryValue;

    this.J_Blog_ID = J_Blog_ID;
    this.J_Blog_Title = J_Blog_Title;
    this.J_Blog_Weather = J_Blog_Weather;
    this.J_Blog_Istop = J_Blog_Istop;
    this.J_Blog_Lock = J_Blog_Lock;
    this.J_Blog_Author = J_Blog_Author;
    this.J_Blog_Ico = J_Blog_Ico;
    //this.J_Blog_Content = J_Blog_Content;
    //this.J_Blog_Import = J_Blog_Import;
    this.J_Blog_Comment = J_Blog_Comment;
    this.J_Blog_GoUrl = J_Blog_GoUrl;
    this.J_Blog_CommentCount = J_Blog_CommentCount;
    this.J_Blog_ImportCount = J_Blog_ImportCount;
    this.J_Blog_ViewCount = J_Blog_ViewCount;
    this.J_Blog_DO = J_Blog_DO;

    this.J_Blog_PostDateAll = J_Blog_PostDateAll;
    this.J_Blog_PostDateAllID = J_Blog_PostDateAllID;

    this.J_Blog_Category = J_Blog_Category;
    this.J_Blog_CategoryName = J_Blog_CategoryName;
    this.J_Blog_CategoryValue = J_Blog_CategoryValue;
}
J_Blog_Blog.prototype.Show = function(){
    try{
		top.doSetProperty("title","日志属性管理");
		top.doSetProperty("description","添加和管理日志基础属性信息。");
	}catch(exception){
        ;
    }

    html = ('<form name="frmBlog" action="/j_blog_post.jsp?action=blog" method="post" onsubmit="return submitStatus(this);">');
    html += ('<input type="hidden" name="J_Blog_DO" value="'+this.J_Blog_DO+'">');
	html += ('<input type="hidden" name="J_Blog_ID" value="'+this.J_Blog_ID+'">');
    html += ('<input type="hidden" name="J_Blog_Step" value="1">');
    html += ('<input type="hidden" name="J_Blog_PostDateAll" value="'+this.J_Blog_PostDateAll+'">');
    html += ('<input type="hidden" name="J_Blog_CommentCount" value="'+this.J_Blog_CommentCount+'">');
    html += ('<input type="hidden" name="J_Blog_ImportCount" value="'+this.J_Blog_ImportCount+'">');
    html += ('<input type="hidden" name="J_Blog_ViewCount" value="'+this.J_Blog_ViewCount+'">');

    html += ('<table width="96%" border="0" cellspacing="1" cellpadding="3">');

    html += ('<tr bgcolor="#F6F6F6">');
	html += ('<td width="20%" bgcolor="#FFFFCC">标题:</td><td><input type="text" value="'+this.J_Blog_Title+'" name="J_Blog_Title" size="50" Maxlength="100" allownull="0" /></td>');
	html += ('</tr>');

    html += ('<tr bgcolor="#F6F6F6">');
	html += ('<td width="20%" bgcolor="#FFFFCC">天气:</td><td>');
    html += ('<label for="J_Blog_Weather1"><input type="radio" Id="J_Blog_Weather1" value="no" '+IIf(this.J_Blog_Weather == "no"," checked","")+' name="J_Blog_Weather" /><img alt="不选" src="../../images/weather/no.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Weather2"><input type="radio" Id="J_Blog_Weather2" value="sunny" '+IIf(this.J_Blog_Weather == "sunny"," checked","")+' name="J_Blog_Weather" /><img alt="晴天" src="../../images/weather/sunny.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Weather3"><input type="radio" Id="J_Blog_Weather3" value="cloudy" '+IIf(this.J_Blog_Weather == "cloudy"," checked","")+' name="J_Blog_Weather" /><img alt="阴天" src="../../images/weather/cloudy.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Weather4"><input type="radio" Id="J_Blog_Weather4" value="rain" '+IIf(this.J_Blog_Weather == "rain"," checked","")+' name="J_Blog_Weather" /><img alt="下雨" src="../../images/weather/rain.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Weather5"><input type="radio" Id="J_Blog_Weather5" value="snow" '+IIf(this.J_Blog_Weather == "snow"," checked","")+' name="J_Blog_Weather" /><img alt="下雪" src="../../images/weather/snow.gif" align="absbottom" /></label>');
    html += ('</td>');
	html += ('</tr>');

    html += ('<tr bgcolor="#F6F6F6">');
	html += ('<td width="20%" bgcolor="#FFFFCC">作者:</td><td><input type="text" value="'+this.J_Blog_Author+'" name="J_Blog_Author" size="20" Maxlength="30" allownull="0" /></td>');
	html += ('</tr>');

    html += ('<tr bgcolor="#F6F6F6">');
	html += ('<td width="20%" bgcolor="#FFFFCC">发布时间:</td><td>'+buildSelectElement("J_Blog_PostDateAllID",this.J_Blog_PostDateAll,"null","1$$2$$3$$4$$5$$6",this.J_Blog_PostDateAllID,"","$$")+'</td>');
	html += ('</tr>');

    html += ('<tr bgcolor="#F6F6F6">');
	html += ('<td width="20%" bgcolor="#FFFFCC">心情图片:</td><td>');
    html += ('<label for="J_Blog_Ico0"><input type="radio" Id="J_Blog_Ico0" value="0" '+IIf(this.J_Blog_Ico == 0," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face0.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico1"><input type="radio" Id="J_Blog_Ico1" value="1" '+IIf(this.J_Blog_Ico == 1," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face1.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico2"><input type="radio" Id="J_Blog_Ico2" value="2" '+IIf(this.J_Blog_Ico == 2," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face2.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico3"><input type="radio" Id="J_Blog_Ico3" value="3" '+IIf(this.J_Blog_Ico == 3," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face3.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico4"><input type="radio" Id="J_Blog_Ico4" value="4" '+IIf(this.J_Blog_Ico == 4," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face4.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico5"><input type="radio" Id="J_Blog_Ico5" value="5" '+IIf(this.J_Blog_Ico == 5," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face5.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico6"><input type="radio" Id="J_Blog_Ico6" value="6" '+IIf(this.J_Blog_Ico == 6," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face6.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico7"><input type="radio" Id="J_Blog_Ico7" value="7" '+IIf(this.J_Blog_Ico == 7," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face7.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico8"><input type="radio" Id="J_Blog_Ico8" value="8" '+IIf(this.J_Blog_Ico == 8," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face8.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico9"><input type="radio" Id="J_Blog_Ico9" value="9" '+IIf(this.J_Blog_Ico == 9," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face9.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico10"><input type="radio" Id="J_Blog_Ico10" value="10" '+IIf(this.J_Blog_Ico == 10," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face10.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico11"><input type="radio" Id="J_Blog_Ico11" value="1" '+IIf(this.J_Blog_Ico == 11," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face11.gif" align="absbottom" /></label>');

    html += ('<br/>');

    html += ('<label for="J_Blog_Ico12"><input type="radio" Id="J_Blog_Ico12" value="12" '+IIf(this.J_Blog_Ico == 12," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face12.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico13"><input type="radio" Id="J_Blog_Ico13" value="13" '+IIf(this.J_Blog_Ico == 13," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face13.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico14"><input type="radio" Id="J_Blog_Ico14" value="14" '+IIf(this.J_Blog_Ico == 14," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face14.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico15"><input type="radio" Id="J_Blog_Ico15" value="15" '+IIf(this.J_Blog_Ico == 15," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face15.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico16"><input type="radio" Id="J_Blog_Ico16" value="16" '+IIf(this.J_Blog_Ico == 16," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face16.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico17"><input type="radio" Id="J_Blog_Ico17" value="17" '+IIf(this.J_Blog_Ico == 17," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face17.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico18"><input type="radio" Id="J_Blog_Ico18" value="18" '+IIf(this.J_Blog_Ico == 18," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face18.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico19"><input type="radio" Id="J_Blog_Ico19" value="19" '+IIf(this.J_Blog_Ico == 19," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face19.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico20"><input type="radio" Id="J_Blog_Ico20" value="20" '+IIf(this.J_Blog_Ico == 20," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face20.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico21"><input type="radio" Id="J_Blog_Ico21" value="21" '+IIf(this.J_Blog_Ico == 21," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face21.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico22"><input type="radio" Id="J_Blog_Ico22" value="22" '+IIf(this.J_Blog_Ico == 22," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face22.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico23"><input type="radio" Id="J_Blog_Ico23" value="23" '+IIf(this.J_Blog_Ico == 23," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face23.gif" align="absbottom" /></label>');

    html += ('<br/>');

    html += ('<label for="J_Blog_Ico24"><input type="radio" Id="J_Blog_Ico24" value="24" '+IIf(this.J_Blog_Ico == 24," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face24.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico25"><input type="radio" Id="J_Blog_Ico25" value="25" '+IIf(this.J_Blog_Ico == 25," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face25.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico26"><input type="radio" Id="J_Blog_Ico26" value="26" '+IIf(this.J_Blog_Ico == 26," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face26.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico27"><input type="radio" Id="J_Blog_Ico27" value="27" '+IIf(this.J_Blog_Ico == 27," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face27.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico28"><input type="radio" Id="J_Blog_Ico28" value="28" '+IIf(this.J_Blog_Ico == 28," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face28.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico29"><input type="radio" Id="J_Blog_Ico29" value="29" '+IIf(this.J_Blog_Ico == 29," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face29.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico30"><input type="radio" Id="J_Blog_Ico30" value="30" '+IIf(this.J_Blog_Ico == 30," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face30.gif" align="absbottom" /></label>');
    html += ('<label for="J_Blog_Ico31"><input type="radio" Id="J_Blog_Ico31" value="31" '+IIf(this.J_Blog_Ico == 31," checked","")+' name="J_Blog_Ico" /><img src="../../images/blogface/face31.gif" align="absbottom" /></label>');

⌨️ 快捷键说明

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