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

📄 editpost.aspx

📁 基于Windows平台的ASP.net框架
💻 ASPX
📖 第 1 页 / 共 5 页
字号:
	Response.Write("        </tr>\r\n");
	Response.Write("    <tr>\r\n");
	Response.Write("      <td align=\"right\" class=\"altbg1\">交易:</td>\r\n");
	Response.Write("      <td class=\"altbg2\"><input name=\"topicprice\" type=\"text\" id=\"topicprice\" class=\"colorblur\" onfocus=\"this.className='colorfocus';\" onblur=\"this.className='colorblur';\" value=\"" + topic.Price.ToString().Trim() + "\" size=\"5\" />\r\n");
	Response.Write("	    " + userextcreditsinfo.Name.ToString().Trim() + "\r\n");

	if(userextcreditsinfo.Unit!="")
	{

	Response.Write("			(" + userextcreditsinfo.Unit.ToString().Trim() + ")\r\n");

	}	//end if

	Response.Write("        &nbsp;&nbsp;[ 主题最高售价 " + maxprice.ToString() + " " + userextcreditsinfo.Name.ToString().Trim() + "\r\n");

	if(userextcreditsinfo.Unit!="")
	{

	Response.Write("			(" + userextcreditsinfo.Unit.ToString().Trim() + ")\r\n");

	}	//end if

	Response.Write("		 ]\r\n");
	Response.Write("	   </td>\r\n");
	Response.Write("    </tr>\r\n");
	Response.Write("    <tr>\r\n");
	Response.Write("      <td align=\"right\" class=\"altbg1\">阅读权限:</td>\r\n");
	Response.Write("      <td class=\"altbg2\"><input name=\"topicreadperm\" type=\"text\" id=\"topicreadperm\" class=\"colorblur\" onfocus=\"this.className='colorfocus';\" onblur=\"this.className='colorblur';\" value=\"" + topic.Readperm.ToString().Trim() + "\" size=\"5\" /></td>\r\n");
	Response.Write("      </tr>\r\n");
	Response.Write("        <tr>\r\n");
	Response.Write("          <td width=\"20%\" align=\"right\" class=\"altbg1\">图标:</td>\r\n");
	Response.Write("          <td width=\"80%\" class=\"altbg2\"><input name=\"iconid\" type=\"radio\" value=\"0\"\r\n");

	if(topic.Iconid==0)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("		   />\r\n");
	Response.Write("            无\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"1\"\r\n");

	if(topic.Iconid==1)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/1.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"2\"\r\n");

	if(topic.Iconid==2)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/2.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"3\"\r\n");

	if(topic.Iconid==3)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/3.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"4\"\r\n");

	if(topic.Iconid==4)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/4.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"5\"\r\n");

	if(topic.Iconid==5)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/5.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"6\"\r\n");

	if(topic.Readperm==6)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/6.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"7\"\r\n");

	if(topic.Iconid==7)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/7.gif\" width=\"19\" height=\"19\" /> <br />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"8\"\r\n");

	if(topic.Iconid==8)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/8.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"9\"\r\n");

	if(topic.Iconid==9)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/9.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"10\"\r\n");

	if(topic.Iconid==10)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/10.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"11\"\r\n");

	if(topic.Iconid==11)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/11.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"12\"\r\n");

	if(topic.Iconid==12)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/12.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"13\"\r\n");

	if(topic.Iconid==13)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/13.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"14\"\r\n");

	if(topic.Iconid==14)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/14.gif\" width=\"19\" height=\"19\" />\r\n");
	Response.Write("            <input type=\"radio\" name=\"iconid\" value=\"15\"\r\n");

	if(topic.Iconid==15)
	{

	Response.Write("		  checked=\"checked\"\r\n");

	}	//end if

	Response.Write("			 />\r\n");
	Response.Write("            <img src=\"images/posticons/15.gif\" width=\"19\" height=\"19\" /> \r\n");
	Response.Write("			</td>\r\n");
	Response.Write("        </tr>\r\n");

	Response.Write("	<script type=\"text/javascript\" src=\"editor/common.js\"></" + "script>\r\n");
	Response.Write("	<script type=\"text/javascript\" src=\"editor/menu.js\"></" + "script>\r\n");
	Response.Write("	<script type=\"text/javascript\" src=\"editor/editor.js\"></" + "script>\r\n");
	Response.Write("	<script type=\"text/javascript\">\r\n");
	Response.Write("		var wysiwyg = (is_ie || is_moz || (is_opera && opera.version() >= 9)) && parseInt('" + config.Defaulteditormode.ToString().Trim() + "') && bbinsert == 1 ? 1 : 0;\r\n");
	Response.Write("		var allowswitcheditor = parseInt(" + config.Allowswitcheditor.ToString().Trim() + ");\r\n");
	Response.Write("		var Editor				= new Array();\r\n");
	Response.Write("		var lang				= new Array();\r\n");
	Response.Write("		lang['enter_tag_option']		= \"请输入 %1 标签的选项:\";\r\n");
	Response.Write("		lang['enter_list_item']			= \"输入一个列表项目.\\r\\n留空或者点击'取消'完成此列表.\";\r\n");
	Response.Write("		lang['enter_link_url']			= \"请输入链接的地址:\";\r\n");
	Response.Write("		lang['enter_image_url']			= \"请输入图片链接地址:\";\r\n");
	Response.Write("		lang['enter_email_link']		= \"请输入此链接的邮箱地址:\";\r\n");
	Response.Write("		var custombbcodes = [" + customeditbuttons.ToString() + "];\r\n");
	Response.Write("		//笑脸参数\r\n");
	Response.Write("		var bbinsert = parseInt('1');\r\n");
	Response.Write("		var smileyinsert = parseInt('1');\r\n");
	Response.Write("		var editor_id = 'posteditor'; //编辑器ID\r\n");
	Response.Write("		var smiliesCount=12;//显示表情总数\r\n");
	Response.Write("		var colCount=4; //每行显示表情个数\r\n");
	Response.Write("		var title = \"\";				   //标题\r\n");
	Response.Write("		var showsmiliestitle=1;        //是否显示标题(0不显示 1显示)\r\n");
	Response.Write("		var smiliesIsCreate=0;		   //编辑器是否已被创建(0否,1是)\r\n");
	Response.Write("		var smilies=[" + smilies.ToString() + "];	   //得到表情符号信息\r\n");
	Response.Write("		//table变量\r\n");
	Response.Write("		var msgheader = \"margin:0 2em; font: 11px Arial, Tahoma; font-weight: bold; background: #F3F8D7; padding: 5px;\";\r\n");
	Response.Write("		var msgborder = \"margin: 0 2em; padding: 10px; border: 1px solid #dbddd3; word-break: break-all; background-color: #fdfff2;\";\r\n");
	Response.Write("		var INNERBORDERCOLOR = \"#D6E0EF\";\r\n");
	Response.Write("		var BORDERWIDTH = \"1\";\r\n");
	Response.Write("		var BORDERCOLOR = \"#7ac4ea\";\r\n");
	Response.Write("		var ALTBG2 = \"#ffffff\";\r\n");
	Response.Write("		var FONTSIZE = \"12px\";\r\n");

⌨️ 快捷键说明

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