This repository has been archived on 2020-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
phunk/application/views/games/add.php
2013-04-17 09:00:16 +07:00

14 lines
835 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php echo Request::factory('header/standard')->post('title',"Добавить игру")->post('styles','main.css')->execute() ?>
<div id="error"><?php if(!empty($error)) echo $error;?></div>
<div id="message"><?php if(!empty($message)) echo $message;?></div>
<h2>Добавление игры</h2>
<?php echo form::open('games/add', array('enctype' => 'multipart/form-data')) ?>
<p><?php echo form::label('name','Название: '); echo form::input('name','') ?></p>
<p><?php echo form::label('description','Описание: '); echo form::input('description','') ?></p>
<p><?php echo form::label('file','Файл с игрой: '); echo form::file('file'); ?></p>
<p><?php echo form::submit('submit','Отправить') ?></p>
<?php echo form::close() ?>
<?php echo Request::factory('footer/standard')->execute() ?>