Exemplo n.º 1
0
echo $ten->title;
?>
</legend>
		<a href="/tenders/<?php 
echo $dno;
?>
">
			<input class="pure-button" type="button" value="Back To Details">
		</a>
		<fieldset>
			<legend>SOQ</legend>
			<table class="pure-table">
			<thead><tr><th>Specification</th><th>Quantity</th><th>EMD</th><th>Bid</th></tr></thead>
			<tbody>
			<?php 
if ($soq = $ten->getSOQ()) {
    foreach ($soq as $key => $value) {
        echo "<tr><td>{$value->specification}</td><td>{$value->quantity}</td><td>{$value->emd}</td><td><input type='text' name='soq{$key}' required></td></tr>";
    }
} else {
    echo "SOQ unavailable";
}
?>
			</tbody>
			</table>
		</fieldset>
		<fieldset>
			<legend>Questionnaire</legend>
			<div id="questionnaire">
			<?php 
if ($questionnaire = $ten->getQuestionnaire()) {