Ejemplo n.º 1
0
?>
" />
    <input type="hidden" name="previousMetaID" value="<?php 
echoParam($actualMetaID);
?>
" />
	<input type="hidden" name="poziadavka_prebrata" value="<?php 
echoParam($poziadavka_prebrata);
?>
" />
    <div id="mainForm">
        <?php 
fb($requirement, "requirement");
generateLayoutHtml(0, "a", $capacities, $types, $roomsByName, $requirement["layouts"]["a"], $student_count, $poziadavka_prebrata);
generateLayoutHtml(1, "b", $capacities, $types, $roomsByName, $requirement["layouts"]["b"], $student_count, $poziadavka_prebrata);
generateLayoutHtml(2, "c", $capacities, $types, $roomsByName, $requirement["layouts"]["c"], $student_count, $poziadavka_prebrata);
?>
    </div>
</form>
<?php 
if (!empty($actualMetaID) && !$poziadavka_prebrata) {
    ?>
<form style="margin: 0px;" method="post" action="pract/requirements/saveComment">
    <div class="row" style="margin-bottom: 10px;">
        <?php 
    /* ten komentar musi byt tu inac blbo scrolluje */
    ?>
        <a name="komentare"></a>
        Komentár k diskusii:<br/>
        <textarea rows="3" style="height:52px;" cols="70" name='commentText'></textarea><br />
        <input type="submit" value="Odošli komentár" />
Ejemplo n.º 2
0
    } else {
        echo "";
    }
    ?>
">
                <div id="switch3" class="heading">Rozloženie 3</div>
            </div>
        </div>
    </div>

    <div id='mainForm'>
<?php 
    fb($requirement, "requirement");
    generateLayoutHtml(0, "a", $requirement["layouts"]["a"], $rooms_nazvy, $types);
    generateLayoutHtml(1, "b", $requirement["layouts"]["b"], $rooms_nazvy, $types);
    generateLayoutHtml(2, "c", $requirement["layouts"]["c"], $rooms_nazvy, $types);
    ?>
    </div>
</form>
<?php 
}
//koniec poziadavky
?>

<form id="requirements" id="nove" style="margin: 0px;" method="post" action="scheduler/req_cvicenie/saveComment">
    <div class="row" style="margin-bottom: 10px;">
        <div id="left_side">Komentar k diskusii:</div>
        <div id="right_side"><textarea rows="3" style="height:52px;" cols="70" name='commentText'></textarea></div>
        <input type="submit" value="Odošli komentár" />
    </div>
    <input type="hidden" name="course_id" value="<?php