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

📄 post.htm

📁 Discuz功能源码(开源)
💻 HTM
📖 第 1 页 / 共 3 页
字号:
						<textarea class="autosave{if ($action != 'edit' || !$attachments) && (!$swfupload || !$swfattachs)} max{/if}" name="message" id="{$editorid}_textarea" tabindex="1"{if empty($infloat)} class="txt" style="height:300px"{/if}>{if $action == 'edit'}$postinfo[message]{else}$message{/if}</textarea>					</td></tr>				</table>			</div>		</div><div class="popupmenu_popup" id="imgpreview_menu" style="position:absolute;width:180px;height:150px;display: none;"></div>		<div class="post_tablelist postbox" id="attachlist"{if ($action != 'edit' || !$attachments) && (!$swfupload || !$swfattachs)} style="display: none"{/if}>			<!--{if $allowpostattach}-->				<table cellpadding="0" cellspacing="0" border="0" width="100%">					<tr>						<td class="attachnum"></td>						<td class="attachctrl"></td>						<td class="attachname">{lang filename}</td>						<!--{if $allowsetattachperm}--><td class="attachview">{lang readperm}</td><!--{/if}-->						<!--{if $maxprice}--><td class="attachpr"><!--{if $extcredits[$creditstransextra[1]][img]}-->{$extcredits[$creditstransextra[1]][img]} <!--{/if}-->{$extcredits[$creditstransextra[1]][title]}</td><!--{/if}-->						<td class="attachdel"></td>					</tr>				</table>				<div id="uploadlist" class="upfilelist"{if empty($infloat)} style="height:auto"{/if}>				<!--{if $action == 'edit'}-->					{template post_attachlist}				<!--{/if}-->				<table cellpadding="0" cellspacing="0" border="0" width="100%">					<tbody id="attachbodyhidden" style="display:none"><tr>						<td class="attachnum"><span id="localno[]"><img src="images/attachicons/common_new.gif" /></span></td>						<td class="attachctrl"><span id="cpadd[]"></span></td>						<td class="attachname">							<span id="deschidden[]" style="display:none">								<a href="javascript:;" onclick='parentNode.innerHTML="<input type=\"text\" name=\"attachdesc[]\" size=\"25\" class=\"txt\" />"'>{lang description}</a>								<span id="localfile[]"></span>							</span>							<input type="hidden" name="localid[]" />						</td>						<!--{if $allowsetattachperm}--><td class="attachview"><input type="text" name="attachperm[]" value="0"size="1" class="txt" /></td><!--{/if}-->						<!--{if $maxprice}--><td class="attachpr"><input type="text" name="attachprice[]" value="0" size="1" class="txt" /></td><!--{/if}-->						<td class="attachdel"><span id="cpdel[]"></span></td>					</tr></tbody>				</table>				<input type="hidden" name="attachdesc[]" />				<!--{if $swfupload}-->					<div id="swfattachlist">					<!--{if $swfattachs}-->						<table cellpadding="0" cellspacing="0" border="0" width="100%">						<tr><td class="attachnum"></td><td>{lang attachment_uploaded} &nbsp;						<a href="javascript:;" onclick="swfattachlistupdate()">{lang use}</a> &nbsp; <a href="javascript:;" onclick="attachlist()">{lang ignore}</a>						</td></tr>						</table>					<!--{/if}-->					</div>				<!--{/if}-->				<table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%"><tbody id="attachbody"></tbody></table>				</div>			<!--{/if}-->		</div>		<div id="img_hidden" alt="1" style="position:absolute;top:-100000px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='image');width:{$thumbwidth}px;height:{$thumbheight}px"></div>		</div>		<!--{if $swfupload}-->			<div id="swfuploadbox" class="floatbox floatbox1 floatboxswf" style="display: none">				<h3 class="float_ctrl">					<em{if empty($infloat)} style="display:none"{/if}><button onclick="pagescrolls('swfreturn');return false">{lang return}</button></em>					<!--{if empty($infloat)}--><em>{lang batch_upload}</em><!--{/if}-->					<span id="swfclosebtn" style="display:none">						<a href="javascript:;" class="float_close" onclick="swfuploadwin()" title="{lang close}">{lang close}</a>					</span>				</h3>				<div id="swfbox" style="display: none">					<script type="text/javascript" reload="1">					$('swfbox').innerHTML = AC_FL_RunContent(						'width', '570', 'height', '318',						'src', 'images/common/upload.swf?site={$boardurl}misc.php',						'quality', 'high',						'id', 'swfupload',						'menu', 'false',						'allowScriptAccess', 'always'					);					</script>				</div>			</div>		<!--{/if}-->	</div>	<div style="clear:both;<!--{if !empty($infloat)}--> width:2500px<!--{/if}-->">	<!--{if !empty($infloat)}--><div class="floatbox floatbox1" id="extcreditbox2"></div><!--{/if}-->	<div class="floatbox floatbox1">		<h3 class="float_ctrl"{if empty($infloat)} style="display:none"{/if}>			<em><button onclick="pagescrolls('editorreturn');return false">{lang return}</button></em>			<span>				<a href="javascript:;" onclick="pagescrolls('credit2')" title="{lang credits_policy}">{lang credits_policy}</a>				<!--{if !empty($infloat)}-->					<a href="javascript:;" class="float_close" onclick="closeEditorwin()" title="{lang close}">{lang close}</a>				<!--{/if}-->			</span>		</h3>		<div class="postbox">			<!--{if $action == 'newthread' || $action == 'edit' && $isfirstpost}-->				<!--{if $tagstatus}-->					<div class="posttags">						<p><strong>{lang post_tag}:</strong> {lang tag_comment}</p>						<p><input type="text" name="tags" id="tags" class="txt" value="$threadtags" tabindex="1" /><button name="addtags" onclick="relatekw();return false">+{lang searchtags}</button> <span id="tagselect"></span></p>					</div>				<!--{/if}-->				<div class="columntype">					<!--{if $allowsetreadperm}-->						<p><strong>{lang readperm}:</strong></p>						<p><input type="text" name="readperm" value="$thread[readperm]" class="txt" tabindex="1" /> {lang post_zero_is_nopermission}</p>					<!--{/if}-->					<!--{if $maxprice && !$special}-->						<p><strong>{lang price}</strong>({$extcredits[$creditstransextra[1]][title]}):</p>						<p><input type="text" name="price" value="$thread[pricedisplay]" class="txt" tabindex="1" /> {$extcredits[$creditstransextra[1]][unit]} {lang post_price_comment}&nbsp;<!--{if $maxincperthread}-->{lang post_price_income_comment}<!--{/if}--><!--{if $maxchargespan}-->{lang post_price_charge_comment}<!--{/if}-->						{lang post_price_free_comment}</p>					<!--{/if}-->				</div>			<!--{/if}-->			<div class="columntype">				<h4>{lang post_option}:</h4>				<table cellpadding="0" cellspacing="0" border="0">					<tr>						<td class="firstlist">							<!--{if $forum['allowhtml'] && $allowhtml}-->								<p><input type="checkbox" name="htmlon" id="htmlon" value="1" $htmloncheck /><label for="htmlon">{lang post_html}</label></p>							<!--{else}-->								<p><input type="checkbox" name="htmlon" id="htmlon" value="0" disabled /><label for="htmlon">{lang post_html}</label></p>							<!--{/if}-->							<p><input type="checkbox" id="allowimgcode" disabled{if $forum['allowimgcode']} checked="checked"{/if} /><label for="allowimgcode">{lang post_imgcode}</label></p>						</td>						<td>							<p><input type="checkbox" name="parseurloff" id="parseurloff" value="1" $urloffcheck tabindex="1" /><label for="parseurloff">{lang disable} {lang post_parseurl}</label></p>							<p><input type="checkbox" name="smileyoff" id="smileyoff" value="1" $smileyoffcheck tabindex="1" /><label for="smileyoff">{lang disable} {faq smilies}</label></p>							<p><input type="checkbox" name="bbcodeoff" id="bbcodeoff" value="1" $codeoffcheck tabindex="1" /><label for="bbcodeoff">{lang disable} {faq discuzcode}</label></p>							<!--{if $tagstatus && ($action == 'newthread' || $action == 'edit' && $isfirstpost)}-->								<p><input type="checkbox" name="tagoff" id="tagoff" {if !empty($tagoffcheck)}checked="checked"{/if} tabindex="1" /><label for="tagoff">{lang disable} {lang tag_parse}</label></p>							<!--{/if}-->						</td>						<td>							<p><input type="checkbox" name="usesig" id="usesig" value="1" $usesigcheck tabindex="1" /><label for="usesig">{lang post_show_sig}</label></p>							<!--{if $action != 'edit'}-->								<!--{if $allowanonymous}--><p><input type="checkbox" name="isanonymous" id="isanonymous" value="1" tabindex="1" /><label for="isanonymous">{lang post_anonymous}</label></p><!--{/if}-->							<!--{else}-->								<!--{if $allowanonymous || (!$allowanonymous && $orig['anonymous'])}--><p><input type="checkbox" name="isanonymous" value="1" {if $orig['anonymous']}checked="checked"{/if} tabindex="1" /><label for="isanonymous">{lang post_anonymous}</label></p><!--{/if}-->							<!--{/if}-->							<!--{if $action != 'edit'}--><p><input type="checkbox" name="emailnotify" id="emailnotify" $notifycheck tabindex="1" /><label for="emailnotify">{lang post_email_notify}</label></p><!--{/if}-->						</td>						<td>						<!--{if $action == 'newthread' && $forum['ismoderator'] && ($allowdirectpost || !$forum['modnewposts'])}-->							<!--{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 $uc['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" style="display:none;">							<div class="cornerlayger">								{lang attachment_size}: <strong><!--{if $maxattachsize_mb}-->{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 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>

⌨️ 快捷键说明

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