Пример #1
0
?>
" required>

				    </div>
				    <div class="am-form-group">
				        <label for="Sort">分类:</label>
				    	  <select name='Sort'>
				    	  	<option>CSS</option>
				    	  	<option>PHP</option>
				    	  	<option>HTML</option>
                          </select>
                    </div>
				    <div class="am-form-group">
				         <label for="doc-ta-1">内容:</label>
				         <textarea class="am-text-sm am-radius php-textarea" rows="5" name="content"><?php 
echo session_read_post('content');
echo $_SESSION['article']['content'];
?>
</textarea>
				    </div>
				
					<div style="display:inline-block">
					<label class="am-checkbox-inline">
					<input type="checkbox" name='pass' value="false"> 仅自己可见				
                    </label>					
					</div>					               	
				
				    <p>
				    <button type="submit" class="am-btn am-btn-primary am-radius am-text-sm">发布</button>
					<a href="<?php 
echo $host_url;
Пример #2
0
						      <input type="password" name="password" placeholder="密码 8 ~ 24 位字符"class="am-form-field am-radius" required>
						    </div>
					    </div>
						<div class="am-form-group am-form-icon">
						    <label for="doc-ipt-3" class="am-u-sm-2 am-form-label">确认密码:</label>
						    <div class="am-u-sm-10">
						      <i class="am-icon-key php-input-icon"></i>
						      <input type="password" name="password_again" placeholder="密码 8 ~ 24 位字符"class="am-form-field am-radius" required>
						    </div>
						</div>
						<div class="am-form-group am-form-icon">
						    <label for="doc-ipt-3" class="am-u-sm-2 am-form-label">邮箱:</label>
						    <div class="am-u-sm-10">
						      <i class="am-icon-envelope php-input-icon"></i>
						      <input type="email" name="email" placeholder="用户绑定的邮箱" class="php-input am-radius" id="js-email" required value="<?php 
echo session_read_post('email');
?>
">
						    </div>
						</div>
						<div class="am-form-group am-form-icon">
						    <label for="doc-ipt-3" class="am-u-sm-2 am-form-label">验证码:</label>
						    <div class="am-u-sm-10">
						      <i class="am-icon-code php-input-icon"></i>
						      <input type="text" name="verifycode" placeholder="验证码" class="php-input am-radius" required style="width:76%;display:inline-block">
						      <span class="am-btn am-btn-success am-radius php-button" id="js-get-verify-code">获取验证码</span>
						    </div>
						</div>
						<div class="am-form-group ">
						    <div class="am-u-sm-offset-2 am-u-sm-10">
						      	<button type="submit" class="am-btn am-btn-primary am-round am-btn-lg" style="display:inline-block">确认</button>
                                <?php 
}
?>
                            </div>
                            <hr>
                            <form class="am-form" method="post" action="<?php 
echo $host_url;
?>
read_article.php?aid=<?php 
echo $aid;
?>
">
                                <div class="am-form-group">
                                    <label for="doc-ta-1">回复:</label>
                                    <textarea class=" am-radius php-textarea" rows="3" name="comment"><?php 
echo session_read_post('comment');
?>
</textarea>
                                </div>
                                <p><button type="submit" class="am-btn am-btn-primary am-radius am-text-sm">发表评论</button></p>
                            </form>                            
					  </div>
				</section>
    		</div>
    	</section>
    </div>
	<?php 
include './includes/footer.php';
?>
</body>
<?php