{#include file="post_header.html"#}
<div class="active-tip">
	<p><a href="{#$PB_ENV.PB_URL#}"><span>{#$uimsg.index#}</span></a> &raquo; <span>{#$uimsg.post_thread#}</span></p>
</div>
<!-- 内容 -->
<div id="container">


<!--第一步 -->
{#if $step == "2"#}

<form action="{#$actionurl#}" method="post" enctype="multipart/form-data" id="post"{#$editoronsubmit#}>

<div class="post-main">
	<h1>发布新内容 - 第二步 2/2</h1>
    <div class="post-s">
    	<div class="post-ss">{#$uimsg.title#}(<span class="red">*</span>)</div>
    	<div class="post-sss"><input type="text" id="title" name="title" size="35" onblur="checktitle()" /><span id="cktitle" class="post-cktip"></span></div>
    </div>
    {#if $title_ubb == "1"#}
    <div class="post-s">
    	<div class="post-ss">标题属性</div>
    	<div class="post-sss">{#if $title_b == "1"#}<strong>加粗</strong> <input type="checkbox" name="title_b" value="1" class="checkbox" />{#/if#}&nbsp;{#if $title_i == "1"#}<span style="font-style:italic">斜体</span> <input type="checkbox" name="title_i" value="1" class="checkbox" />{#/if#}&nbsp;{#if $title_u == "1"#}<span style="text-decoration:underline">下划线</span> <input type="checkbox" name="title_u" value="1" class="checkbox" />{#/if#}&nbsp;&nbsp;{#if $title_color == "1"#}<select name="title_color">
<option value="">标题颜色</option>
{#$color_list#}</select>{#/if#}</div>
    </div>
    {#/if#}
    <div class="post-s">
    	<div class="post-ss">{#$uimsg.tag#}</div>
    	<div class="post-sss"><input type="text" id="tag" name="tag" size="35" />&nbsp;<span>多个标签之间请用逗号分隔</span></div>
    </div>
	<div class="post-s">
    	<fieldset id="systag"><legend>系统标签</legend>
    	{#foreach from=$systags item=item#}
    	<a href="javascript:void(0);" onclick="addTag('{#$item.tagname#}')">{#$item.tagname#}({#$item.usenum#})</a>
    	{#/foreach#}
    	</fieldset>
	</div>
	{#if $uploadtopicimg == "1"#}
    <div class="post-s">
    	<div class="post-ss">{#$uimsg.topicimg#}</div>
    	<div class="post-sss"><input type="file" id="topicimg" name="topicimg" /></div>
    </div>
    {#/if#}
    <div class="post-s">
    	<div class="post-ss">{#$uimsg.content#}(<span class="red">*</span>)</div>
    	<div>{#$content#}</div>
    	<p><span id="ckcontent" class="cktip"></span></p>
    </div>
    <div class="post-s">
    	<div class="post-ss">内容摘要</div>
    	<div class="post-sss"><div><textarea id="summary" name="summary" cols="70" rows="5" class="text_editor" >{#$post.sdesc#}</textarea></div></div>
	</div>
    {#if $postanonnews eq "1"#}
    <div class="post-s">
    	<div class="post-ss">您的大名</div>
    	<div class="post-sss"><input type="text" id="anonname" name="anonname" size="15" /></div>
    </div>
    <div class="post-s">
    	<div class="post-ss">您的个人网站</div>
    	<div class="post-sss"><input type="text" id="anonsite" name="anonsite" size="35" value="http://" />&nbsp;<span>感谢您的投稿，系统将在内容页展示您的个人网站。</span></div>
    </div>
    {#/if#}
	{#if $pb_gdcheck.post eq "1"#}
    <div class="post-s">
    	<div class="post-ss">{#$uimsg.captcha#}(<span class="red">*</span>)</div>
    	<div class="post-sss"><input type="text" name="captcha" id="captcha" size="10" maxlength="4" />&nbsp;<img src="{#$PB_ENV.PB_URL#}checkcode.php" onclick="refreshCheckcode()" id="checkcode" alt="{#$uimsg.captcha_refresh#}" />&nbsp;{#$uimsg.captcha_intro#}</div>
    </div>
	{#/if#}
</div>

{#if $showupload == "1"#}
<!-- 上传 -->
<div class="post-side">
	<h1>上传附件</h1>
	<div class="jj">{#$attaupload#}</div>
<link href="{#$PB_ENV.PB_URL#}templates/digg2008/js/swfupload/swfupload.css" rel="stylesheet" type="text/css" />
<!-- swf -->
<div id="swfupload">
	<div class="flash" id="uploadProgress"><div class="progressWrapper" id="divFileProgress"><div class="progressContainer"><div class="progressName">&nbsp;</div><div class="progressBarStatus">&nbsp;</div><div class="progressBarInProgress">&nbsp;</div></div></div></div>
	<div class="addnew">
		<span id="buttonPlaceHolder"></span>&nbsp;
		<img src="{#$PB_ENV.PB_URL#}templates/{#$PB_ENV.PB_TEMPLATE#}/images/cancel.png" id="cancelButton" alt="取消" onclick="swfu.cancelUpload();" disabled="disabled" /><br />
	</div>
</div>
<!-- swf -->
<div id="uploaded"></div>
</div>
{#/if#}
<div class="post-right"><strong>注意事项</strong>
<br /><br />
1、投递新闻请尊重网络道德及中华人民共和国各项法律，严禁发布虚假、淫秽、诽谤等信息； <br /><br />
2、编辑可能对文章进行部分修改以适应发布要求。我们不保证每一篇新闻都能发布，但我们会认真阅读您投递来的每一行文字； <br /><br />
3、转载新闻请注明原文地址，因转载而引起的版权纠纷由投递者负责；
 <br /><br />4、本站欢迎原创，您的独家新闻是PBDigg全体网友的宝贵财富，经常投递优秀新闻的网友将有机会得到PBDigg提供的意外惊喜；<br /><br />
5、所有内容仅代表作者观点，不代表本站立场，投递者须承担本新闻导致的一切民事或刑事责任。  </div>
<div class="clear"></div>


<div class="post-s">
<input type="hidden" name="submitted" value="1" />
<input type="hidden" name="verifyhash" value="{#$verifyhash#}" />
<input type="hidden" name="fsid" value="{#$fsid#}" />
<input type="submit" id="submit" name="submit" value="{#$uimsg.submit#}" class="button" />
<input type="button" id="cancel" name="cancel" value="{#$uimsg.cancel#}" class="button" onclick="history.go(-1);" /></div>
</form>
</div>

<script type="text/javascript">
<!--
var pb_url = '{#$PB_ENV.PB_URL#}';
var pb_template = 'digg2008';
var verifyhash = '{#$verifyhash#}';
var title_min = {#$title_min#};
var title_max = {#$title_max#};
var title_tip = '{#$title_tip#}';
var content_min = {#$content_min#};
var content_max = {#$content_max#};
var content_tip = '{#$content_tip#}';
var sourcelink_tip = '{#$uimsg.illegal_source#}';
var ajax_response_loading = '{#$uimsg.ajax_response_loading#}';
var ajax_response_failed = '{#$uimsg.ajax_response_failed#}';
var captcha_error = '{#$uimsg.captcha_error#}';
var topicimg_cancel = '{#$uimsg.cancel#}';
var topicimg_edit = '{#$uimsg.edit#}';
var fsid = '{#$fsid#}';
var editormod = '{#$pb_editor#}';
//-->
</script>
{#else#}
<script src="templates/pbdigg/js/post.js" type="text/javascript"></script>
<div class="post-main">
	<h1>发布新内容 - 第一步 1 / 2</h1>
	<form action="post.php" method="post" id="post" name="post" onsubmit="return postsumit_one(this);">
	<div class="post-s">
    	<div class="post-ss">合适的分类</div>
    	<div class="post-sss">{#$cateoption#}</div>
	</div>
	<div class="post-s">
    	<div class="post-ss">内容原地址</div>
    	<div class="post-sss"><input type="text" size="50" id="source" name="source" value="{#$post.source#}" onblur="checksource()" />（如果是原创文章请留空）</div>
	</div>
	<div class="post-s"><input type="hidden" value="2" name="step" /><input type="submit" value="下一步" name="submit" class="button" /></div>
	</form>
</div>


<div class="post-right"><strong>注意事项</strong>
<br /><br />
1、发表请尊重网上道德，遵守互联网电子公告服务管理规定及中华人民共和国各项法律； <br /><br />
2、严禁发表危害国家安全、破坏民族团结、破坏国家宗教政策、破坏社会稳定、侮辱、诽谤、教唆、淫秽等内容的牢骚； <br /><br />
3、所有内容仅代表作者观点，不代表本站立场。承担一切因您的行为而导致的民事或刑事法律责任。 </div>

{#/if#}

<div class="clear"></div></div>
<!-- footer -->
{#include file="footer.html"#}
<!-- footer end -->

</body>
</html>