post.htm

来自「Discuz_7.0.0 是一款社区程序源码!! 国内80 的站长使用此程序」· HTM 代码 · 共 876 行 · 第 1/4 页

HTM
876
字号
							<!--{if $action == 'newthread' && $forum['ismoderator'] && ($allowdirectpost || !$forum['modnewposts'])}-->
								<p><input type="checkbox" name="sticktopic" id="sticktopic" value="1" $stickcheck tabindex="1" /><label for="sticktopic">{lang post_stick_thread}</label></p>
								<p><input type="checkbox" name="addtodigest" id="addtodigest" value="1" $digestcheck tabindex="1" /><label for="addtodigest">{lang post_digest_thread}</label></p>
							<!--{/if}-->
						<!--{elseif $action == 'edit' && $auditstatuson}-->
							<p><input type="checkbox" name="audit" id="audit" value="1"><label for="audit">{lang auditstatuson}</label></p>
						<!--{/if}-->
						<!--{if $uchome['addfeed'] && $ucappopen['UCHOME'] && $forum['allowfeed']}-->
							<p><input type="checkbox" name="addfeed" id="addfeed" value="1" $addfeedcheck><label for="addfeed"> {lang addfeed}</label></p>
						<!--{/if}-->
						</td>
					</tr>
				</table><br />
			</div>
			<div class="moreconf" id="moreconf">
				<div class="custominfoarea" id="custominfoarea" style="{if $special && $action != 'reply'}display: none;{/if}">
					<!--{if $action == 'newthread' && $sitemessage[newthread] || $action == 'reply' && $sitemessage[reply]}-->
					<a href="javascript:;" onclick="display('custominfo_post')" onblur="$('custominfo_post').style.display = 'none'"><img src="{IMGDIR}/info.gif" alt="{lang faq}" /></a>
					<div id="custominfo_post" class="sitenote">
						<div class="cornerlayger">
						<!--{if $action == 'newthread'}-->
							{echo $sitemessage[newthread][array_rand($sitemessage[newthread])]}
						<!--{elseif $action == 'reply'}-->
							{echo $sitemessage[reply][array_rand($sitemessage[reply])]}
						<!--{/if}-->
						</div>
						<div class="minicorner"></div>
					</div>
					<!--{/if}-->
				</div>
				<button type="submit" id="postsubmit" value="true" name="{if $action == 'newthread'}topicsubmit{elseif $action == 'reply'}replysubmit{elseif $action == 'edit'}editsubmit{/if}" tabindex="1">
				<!--{if $action == 'newthread'}-->
					<!--{if $special == 0}-->{lang post_newthread}
					<!--{elseif $special == 1}-->{lang post_newthreadpoll}
					<!--{elseif $special == 2}-->{lang post_newthreadtrade}
					<!--{elseif $special == 3}-->{lang post_newthreadreward}
					<!--{elseif $special == 4}-->{lang post_newthreadactivity}
					<!--{elseif $special == 5}-->{lang post_newthreaddebate}
					<!--{elseif $special == 6}-->{lang post_newthreadvideo}
					<!--{/if}-->
				<!--{elseif $action == 'reply' && !empty($addtrade)}-->{lang trade_add_post}
				<!--{elseif $action == 'reply'}-->{lang join_thread}
				<!--{elseif $action == 'edit'}-->{lang edit_thread}
				<!--{/if}-->
				</button>
				<span id="more_1"{if $advmore} style="display: none"{/if}>
				<!--{if !empty($infloat) && ($showthreadsorts || $special)}-->
					<a href="javascript:;" onclick="pagescrolls('editor')">{lang post_add_detail}<!--{if $special == 1}-->{lang thread_poll}<!--{elseif $special == 2}-->{lang thread_trade}<!--{elseif $special == 3}-->{lang thread_reward}<!--{elseif $special == 4}-->{lang thread_activity}<!--{elseif $special == 5}-->{lang thread_debate}<!--{elseif $special == 6}-->{lang thread_video}<!--{/if}-->{lang description}</a>
				<!--{/if}-->
				</span>
				<span id="more_2"{if !$advmore && !empty($infloat)} style="display: none"{/if}>
				<!--{if $allowpostattach}-->
					<span class="sim_upfile" onmouseover="$('attachinfo').style.display='';" onmouseout="$('attachinfo').style.display='none';">
						<span id="attachbtnhidden" style="display:none"><span><input type="file" name="attach[]" size="1" /></span></span>
						<span id="attachbtn"></span>
						<a href="javascript:;" onclick="return false;">{lang attachment_add}</a>
						<!--{if $swfupload}-->
							<a href="javascript:;" onclick="swfuploadwin()">{lang batch_upload}</a>
						<!--{/if}-->
						<div id="attachinfo" class="sitenote{if $action == 'newthread' || ($action == 'edit' && $isfirstpost)}{if $special} upfile_special{else} upfile{/if}{/if}" style="display:none;">
							<div class="cornerlayger">
								{lang attachment_size}: <strong><!--{if $maxattachsize}-->{lang lower_than} $maxattachsize_mb <!--{else}-->{lang size_no_limit}<!--{/if}--></strong>&nbsp;
								<!--{if $attachextensions}-->{lang attachment_allow_exts}: <strong>$attachextensions</strong>&nbsp;<!--{/if}-->
								<!--{if $maxprice}-->{lang price}: <strong>{lang post_price_comment}{$extcredits[$creditstransextra[1]][title]}<!--{if $maxincperthread}-->{lang post_price_income_comment}<!--{/if}--><!--{if $maxchargespan}-->{lang post_price_charge_comment}<!--{/if}--><!--{/if}--></strong>
							</div>
							<div class="minicorner"></div>
						</div>
					</span>
					<a href="javascript:;" onclick="attachlist()">{lang attachment_list}</a>
				<!--{/if}-->
				<!--{if !empty($infloat)}--><a href="javascript:;" id="morelink" onclick="pagescrolls('more')">{lang post_option_more}</a><!--{/if}-->
				</span>
				<!--{if $secqaacheck || $seccodecheck}--><span style="position:relative">{eval $seccheckfloat = 'floatlayout_'.$action;}{subtemplate seccheck}</span><!--{/if}-->
			</div>
		</div>
	</div>
	</form>
</div>

<!--{if !empty($infloat)}-->
<div id="extcreditbox" style="display: none">
	<h3 class="float_ctrl">
		<em><button type="button" onclick="pagescrolls('creditreturn');return false">{lang return}</button></em>
		<span>
			<a href="faq.php?action=credits&fid=$fid" target="_blank">{lang credits_policy_view}</a>
		</span>
	</h3>
	<div class="postbox">
		<div class="post_tablelist extcreditbox">
			<table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%">
				<thead>
					<tr>
						<td class="extname"></td>
						<!--{loop $extcredits $id $credit}-->
							<td class="extcredits">$credit[title]</td>
						<!--{/loop}-->
						<td></td>
					</tr>
				</thead>
				<tbody>
				<!--{loop $policyarray $operation $policy}-->
					<tr>
						<td class="extname">
						<!--{if $operation == 'post'}-->
							{lang credits_policy_post}
						<!--{elseif $operation == 'reply'}-->
							{lang credits_policy_reply}
						<!--{elseif $operation == 'digest'}-->
							{lang credits_policy_digest}
						<!--{elseif $operation == 'postattach'}-->
							{lang credits_policy_postattach}
						<!--{elseif $operation == 'getattach'}-->
							{lang credits_policy_getattach}
						<!--{/if}-->
						</td>
						<!--{loop $extcredits $id $credit}-->
							<td class="extcredits">
							<!--{if $creditsarray[$operation][$id]}-->
								{$creditsarray[$operation][$id]}
							<!--{else}-->
								-
							<!--{/if}-->
							</td>
						<!--{/loop}-->
						<td></td>
					</tr>
				<!--{/loop}-->
				</tbody>
			</table>
			{lang credits_policy_formula}: $creditsformulaexp
		</div>
	</div>
</div>
<!--{/if}-->

<!--{if $forum['allowmediacode']}-->
	<div class="popupmenu_popup" id="{$editorid}_popup_media_menu" style="width: 280px;display: none" unselectable="on">
	<input type="hidden" id="{$editorid}_mediatype" value="ra">
	<table cellpadding="4" cellspacing="0" border="0">
	<tr class="popupmenu_option">
		<td nowrap>
			{lang e_media_url}:<br />
			<input id="{$editorid}_mediaurl" style="width: 98%" value="" onkeyup="setmediatype('$editorid')" />
		</td>
	</tr>
	<tr class="popupmenu_option">
		<td nowrap>
			<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_ra" onclick="$('{$editorid}_mediatype').value = 'ra'" checked="checked">RA</label>
			<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_wma" onclick="$('{$editorid}_mediatype').value = 'wma'">WMA</label>
			<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_mp3" onclick="$('{$editorid}_mediatype').value = 'mp3'">MP3</label>
			<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_rm" onclick="$('{$editorid}_mediatype').value = 'rm'">RM/RMVB</label>
			<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_wmv" onclick="$('{$editorid}_mediatype').value = 'wmv'">WMV</label>
			<label style="float: left; width: 32%"><input type="radio" name="{$editorid}_mediatyperadio" id="{$editorid}_mediatyperadio_mov" onclick="$('{$editorid}_mediatype').value = 'mov'">MOV</label>
		</td>
	</tr>
	<tr class="popupmenu_option">
		<td nowrap>
			<label style="float: left; width: 32%">{lang width}: <input id="{$editorid}_mediawidth" size="5" value="400" /></label>
			<label style="float: left; width: 32%">{lang height}: <input id="{$editorid}_mediaheight" size="5" value="300" /></label>
		</td>
	</tr>

	<tr class="popupmenu_option">
		<td align="center" colspan="2"><input type="button" value="{lang submit}" onclick="setmediacode('$editorid')"> &nbsp; <input type="button" onclick="hideMenu()" value="{lang cancel}" /></td>
	</tr>
	</table>
	</div>
<!--{/if}-->

<!--{if $_DCACHE['bbcodes_display']['img']}-->
	<div class="popupmenu_popup" id="{$editorid}_cmd_insertimage_menu" style="display: none" unselectable="on">
		<ul class="imguptype">
			<li><a href="javascript:;" hidefocus="true" class="current" id="insertimage_www"{if $ucappopen['UCHOME']} onclick="switchImage('www');"{/if}>{lang e_img_www}</a></li>
			<!--{if $ucappopen['UCHOME']}--><li><a href="javascript:;" hidefocus="true" id="insertimage_album" onclick="switchImage('album');">{lang e_img_album}</a></li><!--{/if}-->
		</ul>
		<div class="popupmenu_option" unselectable="on" id="insertimage_www_div">
			{lang e_img_inserturl}:<br /><input id="{$editorid}_cmd_insertimage_param_url" style="width: 300px;" value="" class="txt" type="text" onkeydown="editorMenuEvent_onkeydown(this);" />
			<br /><center><input id="{$editorid}_cmd_insertimage_submit" value="{lang submit}" type="button" onclick="insertimagesubmit()" /> &nbsp; <input onclick="hideMenu();" value="{lang cancel}" type="button" /></center>
		</div>
		<!--{if $ucappopen['UCHOME']}-->
			<div class="popupmenu_option" unselectable="on" id="insertimage_album_div" style="display: none;">
				<div id="uch_photoes"></div><p id="uch_createalbum" style="display: none; padding-left: 4px; magin-top: -1em;">{lang e_img_insertphoto}</p>
			</div>
			<script type="text/javascript" reload="1">
				var showalbum, prealbum;
				function switchImage(img) {
					if(img == 'www') {
						$('insertimage_www_div').style.display='';
						$('insertimage_www').className = 'current';
						$('insertimage_album_div').style.display='none';
						$('insertimage_album').className = '';
					} else if(img == 'album') {
						$('insertimage_www').className = '';
						$('insertimage_album').className = 'current';
						if($('insertimage_album_menu')) {
							showAlbums();
						} else {
							var div = document.createElement('DIV');
							div.id = 'insertimage_album_menu';
							div.className = 'popupmenu_popup';
							div.style.display = 'none';
							$('append_parent').appendChild(div);
							ajaxget('api/uchome.php?action=getalbums', 'insertimage_album_menu', 'uch_photoes', null, 'none');
							showalbum = setInterval(showAlbum, 10);
						}
					}
				}
				function showAlbum() {
					if($('insertimage_album_menu').innerHTML != '') {
						showAlbums();
						clearInterval(showalbum);
					}
				}
				function showAlbums() {
					if($('insertimage_album_menu').innerHTML == 'NOALBUM') {
						$('insertimage_www_div').style.display='none';
						$('insertimage_album_div').style.display = '';
						$('uch_photoes').style.display = '';
						$('uch_photoes').innerHTML = '{lang e_img_createalbum}';

⌨️ 快捷键说明

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