PHP Classes
elePHPant
Icontem

File: View/Messages/newm.ctp

Recommend this page to a friend!
  Classes of Andraž  >  pingvincek  >  View/Messages/newm.ctp  >  Download  
File: View/Messages/newm.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: 884 bytes
 

 

Contents

Class file image Download
<div class="span-19">
    <h1>Novo privatno sporo?ilo</h1>

<?php
   
echo $this->Form->create('Message', array('action' => 'newm', 'class' => 'formStyle'));
    echo
'<p>';
    echo
$this->Form->input('to_user_name', array('label' => 'Za', 'readonly'=>TRUE, 'div' => FALSE));
    echo
'<br>';
    echo
$this->Form->input('subject', array('label' => 'Zadeva', 'style' => 'width: 450px;', 'div' => FALSE));
    echo
'<br>';
    echo
$this->Form->input('message', array('label' => 'Sporo?ilo', 'rows' => '7', 'style' => 'width: 450px;', 'div' => FALSE));
    echo
'<br>';
    echo
'<br>';

    echo
$this->Form->hidden('to_user_id');
    echo
$this->Form->hidden('from_user_id');
    echo
$this->Form->hidden('read');
    echo
$this->Form->hidden('parent_id');
    echo
$this->Form->button('Po?lji', array('type' => 'submit'));
    echo
'</p>';
    echo
$this->Form->end();
?>
</div>