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

📄 post.htm

📁 1.增加了近40项后台核心设置
💻 HTM
字号:
<!--
<?php
if($rootindex[htmlonline] == '1'){
$htmlcheck=" checked";
$htmlonlines="<script language='JavaScript1.2' defer>
var config = new Object();
config.width = '450px';
config.height = '350px';
config.bodyStyle = 'background-color: $bcolor; font-family: 宋体; font-size: 12px;';
config.debug = 0;
editor_generate('content',config);
</script>";
print <<<xydw_end
-->
<script language="Javascript1.2">
_editor_url = "htmledit/";
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
 document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
 document.write(' language="Javascript1.2"></scr' + 'ipt>');
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
</script>
<!--
xydw_end;
}
print <<<xydw_end
-->
<table width="{$tablewidth}"  border="0" cellspacing="0" cellpadding="0"  bgcolor="{$bcolor}" align="center" height="25" class="table1">
  <tr>
      <td width="398" class="fontblue">&nbsp;&nbsp;<img src='images/{$imgpath}/arrow.gif' align="absmiddle">当前位置:<a href="./">首 页</a> &gt;&gt; 投稿</td>
	  <td align=right>■ <a href='post.php' title="欢迎大家提供相关资料">欢迎投稿</a>&nbsp;&nbsp;</td>
  </tr>
</table>

<table width="{$tablewidth}"  border="0" cellspacing="0" cellpadding="0" bgcolor="{$tablecolor}" align="center" class="table1">
  <tr bgcolor="{$bcolor}">
    <td width="180" valign="top">
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>
		<!--左边板块开始-->
         <table width="180"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td  background="images/{$imgpath}/red.gif" height="20" colspan="2" align="center" class="fontwhite">网 站 栏 目</td>
          </tr>
          <tr>
            <td width="179" height="178" valign="top" class="td2">
              {$allopt}
			  </td>
            <td width="1" bgcolor="{$tablecolor}"></td>
          </tr>
          <tr>
            <td colspan="2"><img src="images/$imgpath/left_bottom.gif"></td>
          </tr>
        </table>
		<table width="180"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td  background="images/{$imgpath}/brown.gif" height="20" colspan="2" align="center" class="fontwhite">广 告 位 置</td>
          </tr>
          <tr>
            <td width="179" valign="top" class="td2" height="178">
              {$adsindex[left]}
			  </td>
            <td width="1" bgcolor="{$tablecolor}"></td>
          </tr>
          <tr>
            <td colspan="2"><img src="images/$imgpath/left_bottom.gif"></td>
          </tr>
        </table>
		<!--左边板块结束-->
		</td>
      </tr>
    </table></td>
    <td width=5></td>
    <td valign="top">
      <table width="99%"  border="0" cellspacing="1" cellpadding="3" bgcolor="$tablecolor">
<!--右边-->

<form method=post action='$thisposturl' name=FORM enctype="multipart/form-data">
{$fenlei_js}
	  <tr bgcolor="$bcolor"><td width="25%">选择大分类:
	  </td>
	    <td><select name="n_opt" onChange="changelocation(document.FORM.n_opt.options[document.FORM.n_opt.selectedIndex].value)">
	      <option value="">大分类名称</option>{$bopt}
	      </select>
	    </td>
      </tr>
	  <tr bgcolor="$bcolor"><td width="25%">选择栏目:
	  </td>
	    <td><select name="lid">{$optdbs}
	      </select>
	    </td>
      </tr>
      <tr bgcolor="$bcolor"><td width="25%">文章标题:
	  </td><td><input type="text" name="name" value="{$name}" size="30">
<select name=color>
<option value=''>默认颜色</option>
<option value='skyblue' style='background-color:skyblue;color:skyblue'></option>
<option value='royalblue' style='background-color:royalblue;color:royalblue'></option>
<option value='blue' style='background-color:blue'></option>
<option value='darkblue' style='background-color:darkblue'></option>
<option value='orange' style='background-color:orange'></option>
<option value='orangered' style='background-color:orangered'></option>
<option value='crimson' style='background-color:crimson'></option>
<option value='red' style='background-color:red'></option>
<option value='firebrick' style='background-color:firebrick'></option>
<option value='darkred' style='background-color:darkred'></option>
<option value='green' style='background-color:green'></option>
<option value='limegreen' style='background-color:limegreen'></option>
<option value='seagreen' style='background-color:seagreen'></option>
<option value='teal' style='background-color:teal'></option>
<option value='deeppink' style='background-color:deeppink'></option>
<option value='tomato' style='background-color:tomato'></option>
<option value='coral' style='background-color:coral'></option>
<option value='purple' style='background-color:purple'></option>
<option value='indigo' style='background-color:indigo'></option>
<option value='burlywood' style='background-color:burlywood'></option>
<option value='sandybrown' style='background-color:sandybrown'></option>
<option value='sienna' style='background-color:sienna'></option>
<option value='chocolate' style='background-color:chocolate'></option>
<option value='silver' style='background-color:silver'></option></select> 标题颜色
	    </td>
      </tr>
      <tr bgcolor="$bcolor"><td width="25%">文章作者:
	  </td><td><input type="text" name="author" value="{$author}" size="30">
	    </td>
      </tr>
      <tr bgcolor="$bcolor"><td width="25%">文章来源:
	  </td><td><input type="text" name="laiyuan" value="{$laiyuan}" size="30"> 若要加上连接请用|分隔如:XYDW|http://xydw.com
	    </td>
      </tr>
      <tr bgcolor="$bcolor"><td width="25%">文章所属专题:
	  </td><td><select name=zhuanti><option value=''>所属专题</option>$ztopt</select>
	    </td>
      </tr>
xydw_end;
!$rootindex['htmlonline'] && include_once temp('admin/postinsert');
print <<<xydw_end

<tr bgcolor="$bcolor"><td width="25%" valign="top">编辑模式切换:<br><a href='post.php?postmode=1'>可视化编辑器</a><br><a href='post.php?postmode=2'>UBB普通模式</a><br><br>允许html:<input type="checkbox" name="html" value="1"{$htmlcheck}>
	    <br><br>允许ubb代码:<input type="checkbox" name="ubb" value="1"{$ubbcheck}>
	  </td>
        <td><textarea name="content" cols="60" rows="20" id="content" onfocus=getActiveText(this) onclick=getActiveText(this)  onchange=getActiveText(this)>{$content}</textarea><br><IFRAME
id=xydwcopy style="WIDTH: 0px; HEIGHT: 0px" marginWidth=0 marginHeight=0
src="about:blank" scrolling=no></IFRAME>
<input name="xydwcopy" type=button onClick="document.getElementById('content').value += trans()" value=粘贴Ubb> <input name="xydwcopy" type=button onClick="document.getElementById('content').value += xydwtrans()" value=粘贴HTML> <a href="javascript:replac()">替换文字</a>  <a href="javascript:checklength(FORM)">查看长度</a>
<SCRIPT>
xydwcopy.document.designMode="On";
</SCRIPT>
{$htmlonlines}
</td></tr>
         <tr bgcolor=$bcolor>
           <td height="20" colspan=2 align=center><input name=submit value='提 交' type=submit></td>
         </tr>

	  </form>
      </table>
	</td>
  </tr>
</table>


<!--
xydw_end;
?>
-->

⌨️ 快捷键说明

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