PHP Classes
elePHPant
Icontem

File: View/Pictures/add.ctp

Recommend this page to a friend!
  Classes of Andraž  >  pingvincek  >  View/Pictures/add.ctp  >  Download  
File: View/Pictures/add.ctp
Role: Example script
Content type: text/plain
Description: Example script
Class: pingvincek
Manage a site for organizing dates between people
Author: By
Last change:
Date: 2 years ago
Size: 691 bytes
 

 

Contents

Class file image Download
<div class="span-19">
    <h1>Nalo?i novo sliko</h1>
    <?php
   
echo "<p>Na sliki morate biti obvezno vi, prav tako mora biti viden va? obraz. <br>Ni povoljeno nalagati pornografskih slik!<br></p>";
    echo
$this->Form->create('Picture', array('action' => 'add', 'type' => 'file'));
    echo
'<fieldset>';
    echo
'<legend>Slika</legend>';
    echo
$this->Form->input('picture', array('type'=>'file', 'class' => 'text', 'class' => 'text', 'label' => 'Slika'));
    echo
$this->Form->input('description', array('label' => 'Opis', 'class' => 'text'));
    echo
$this->Form->button('Nalo?i', array('type' => 'submit'));
    echo
$this->Form->end();
    echo
'</fieldset>';
   
?>
</div>