View file modules/forum/views/index/add_topic.php

File size: 932B
<div class="title"><?=Lang::get('forum_add_topic', 'forum'); ?></div>
<?php if($err != false): ?>
<div class="error"><?=$err; ?></div>
<?php endif; ?>
<div class="post">
	<form action="/forum/add_topic-<?=$id?>?add" method="post" enctype="multipart/form-data">
		<?=Lang::get('forum_name', 'forum'); ?>:<br/>
		<input type="text" name="name" /><br/>
		<?=Lang::get('forum_message', 'forum'); ?>:<br/>
		<?=System::textarea(6, 28); ?><br/> 
		<?=Lang::get('forum_add_file', 'forum'); ?>:<br/>
		<input type="file" name="file" /><br/>
		<input type="submit" value="<?=Lang::get('add');?>"/>
	</form>
</div>
<div class="block">
<?=System::image('back.png'); ?> <a href="/forum/section-<?=$id?>"><?=Lang::get('back'); ?></a><br/>
<?=System::image('back.png'); ?> <a href="/forum/"><?=Lang::get('forum_title', 'forum'); ?></a><br/>
<?=System::image('back.png'); ?> <a href="/"><?=Lang::get('mainpage'); ?></a>
</div>