Вход Регистрация
Файл: protected/views/file/forms.php
Строк: 12
<?php
    $this
->pageTitle = 'Загрузка файлов';
?>

<?php $this->widget ('validationErrors', array ('model' => $model)) ?>

<form action="<?php echo $this->createUrl ('') ?>" method="post" enctype="multipart/form-data">
<?php for ($x = 1; $x <= $count; $x++): ?>
<b><?php echo $x ?></b>. Выбирете файл:<br />
    <input type="file" name="file[upload_file][]" /><br />
    <b>Или</b> URL:<br />
    <input type="text" name="file[download_file][]" value="http://" /><br />
<?php endfor; ?>

<input type="submit" value="Загрузить!" />

</form>
Онлайн: 0
Реклама