Professional Documents
Culture Documents
<div class="float-child">
<h5>Datum:</h5>
<!-- <input type="text" value="<?
=$e_p->datum_posete?>" disabled/> -->
<p><?php echo $e_p->datum_posete; ?
></p>
<h5>Ime i prezime:</h5>
<!-- <input type="text" value="<?
=$e_p->ime_prezime?>" disabled/> -->
<p><?php echo $e_p->ime_prezime; ?
></p>
<h5>Broj dokumenta:</h5>
<!-- <input type="text" value="<?
=$e_p->broj_dokumenta?>" disabled/> -->
<p><?php echo $e_p->broj_dokumenta;
?></p>
<h5>Ulaz:</h5>
<!-- <input type="text" value="<?
=$e_p->ulaz?>" disabled/> -->
<p><?php echo $e_p->ulaz; ?></p>
<h5>Izlaz:</h5>
<!-- <input type="text" value="<?
=$e_p->izlaz?>" /> -->
<p><?php echo $e_p->izlaz; ?></p>
<h5>Vozilo i br. registracije:</h5>
<!-- <input type="text" value="<?
=$e_p->broj_registracije?>" disabled/> -->
<p><?php echo $e_p-
>broj_registracije; ?></p>
</div>
<div class="float-child">
<h5>Datum:</h5>
<h5>Datum:</h5>
<h5>Datum:</h5>
<h5>Datum:</h5>
</div>
</div>
==================================================================
?>
<div class="float-container">
<div class="float-child">
<h5>Datum:</h5>
<?php
$this->widget('zii.widgets.jui.CJuiDatePicker', array(
'name' => 'Evidencijaposeta[datum]',
'id' => 'evidencijaposetadatum',
'flat' => false, //remove to hide the datepicker
'options' => array(
'showAnim' =>
'slide', //'slide','fold','slideDown','fadeIn','blind','bounce','clip','drop',
'dateFormat' => 'dd.mm.yy'),
'htmlOptions' => array(
'class' => 'span2',
'required' => true
),
));
?>
<h5>Ime i prezime:</h5>
<?php echo CHtml::textField('Evidencijaposeta[ime_prezime]', null, array('class' =>
'span2', 'required' => true)); ?>
<h5>Broj dokumenta:</h5>
<?php echo CHtml::textField('Evidencijaposeta[broj_dokumenta]', null, array('class'
=> 'span2')); ?>
<h5>Ulaz:</h5>
<?php
$this -> widget('zii.widgets.jui.CJuiDatePicker', array(
'name' => 'Evidencijaposeta[ulaz]',
'id' => 'evidencijaposetaulaz',
'flat' => false,
'options' => array('showAnim' => 'slide',
'dateFormat' => 'dd.mm.yy',
'onSelect' => 'js:function(i,j){
function JSClock() {
var temp="";
$v=$(this).val();
$(this).val($v+" "+JSClock());
}'),
'htmlOptions' => array('class' =>
'span2',
'required' => true ),
));
?>
<h5>Izlaz:</h5>
<?php
$this -> widget('zii.widgets.jui.CJuiDatePicker', array(
'name' => 'Evidencijaposeta[izlaz]',
'id' => 'evidencijaposetaizlaz',
'flat' => false,
'options' => array('showAnim' => 'slide',
'dateFormat' => 'dd.mm.yy',
'onSelect' => 'js:function(i,j){
function JSClock() {
var temp="";
return temp;
$v=$(this).val();
$(this).val($v+" "+JSClock());
}'),
'htmlOptions' => array('class' =>
'span2',),
));
?>
<h5>Vozilo i br. registracije:</h5>
<?php echo CHtml::textField('Evidencijaposeta[broj_registracije]', null,
array('class' => 'span2')); ?>
</div>
<div class="float-child">
<h5>Opis posete:</h5>
<?php echo CHtml::textField('Evidencijaposeta[opis_posete]', null, array('class' =>
'span2')); ?>
<h5>Naziv firme:</h5>
<?php echo CHtml::textField('Evidencijaposeta[naziv_firme]', null, array('class' =>
'span2')); ?>
<h5>Mesto posete:</h5>
<?php echo CHtml::textField('Evidencijaposeta[mesto_posete]', null, array('class'
=> 'span2')); ?>
<h5>Potpis čuvara:</h5>
<?php echo CHtml::textField('Evidencijaposeta[cuvar]', null, array('class' =>
'span2', 'required' => true)); ?>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-
dismiss="modal">Zatvori</button>
<button type="submit" class="btn btn-primary">Kreiraj</button>
</div>
<?php $this->endWidget(); ?>
</div>
</div>
</div>