1041 XOOPS模組開發
<{$toolbar}>
<{if $uid}>
<h1>編輯「<{$ebook.ebook_title}>」文章</h1>
<div class="alert alert-info">
「<{$ebook.ebook_title}>」
投稿截止時間:<{$ebook.ebook_post_date}>
本期出刊時間:<{$ebook.ebook_publish_date}>
</div>
<form action="post.php" method="post" id="my_form" class="form-horizontal">
<div class="control-group">
<label class="control-label" for="page_tag">選擇投稿單元</label>
<div class="controls">
<select name="page_tag" id="page_tag">
<option disabled selected style="display:no-ne;">選擇單元</option>
<option value="小說">小說單元</option>
<option value="散文">散文單元</option>
<option value="笑話">笑話單元</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="page_title">文章標題</label>
<div class="controls">
<input type="text" name="page_title" id="page_title" placeholder="請輸入文章標題" class="span12">
</div>
</div>
<div class="control-group">
<label class="control-label" for="page_content">文章內容</label>
<div class="controls">
<{$editor}>
</div>
</div>
<div class="control-group">
<label class="control-label"></label>
<div class="controls text-center">
<{$HiddenToken}>
<input type="hidden" name="op" value="insert_page">
<input type="hidden" name="ebook_sn" value="<{$ebook.ebook_sn}>">
<button type="submit" class="btn btn-primary btn-large">儲存</button>
</div>
</div>
</form>
<{else}>
<div class="well">
<h1>請先登入</h1>
</div>
<{/if}>