<tr> <th class="id_field">id</th> <th>institution</th> <th>place</th> </tr> </thead> <tbody> <?php for ($i = 0; $i < count($institutions_records); $i++) { ?> <tr> <?php $gui->showElement($institutions_records[$i], 'id'); $gui->showElement($institutions_records[$i], 'institution'); $gui->showMultipleElements($places_records, $institutions_records[$i], 'city'); $gui->deleteButton($institutions_records[$i]); ?> </tr> <?php } ?> </tbody> </table> <?php } ?> </body> </html>
<th>technique</th> <th>technology</th> </tr> </thead> <tbody> <?php for ($i = 0; $i < count($works_records); $i++) { ?> <tr> <?php $gui->showElement($works_records[$i], 'id'); $gui->showElement($works_records[$i], 'work_title'); $gui->showElement($works_records[$i], 'work_description'); //style max-width:300px $gui->showMultipleElements($media_records, $works_records[$i], 'media_title'); $gui->showMultipleElements($categories_records, $works_records[$i], 'category'); $gui->showMultipleElements($techniques_records, $works_records[$i], 'technique'); $gui->showMultipleElements($technologies_records, $works_records[$i], 'technology'); ?> </tr> <?php } ?> </tbody> </table> <?php } ?>
<tr> <th class="id_field">id</th> <th>space</th> <th>place</th> </tr> </thead> <tbody> <?php for ($i = 0; $i < count($spaces_records); $i++) { ?> <tr> <?php $gui->showElement($spaces_records[$i], 'id'); $gui->showElement($spaces_records[$i], 'space'); $gui->showMultipleElements($places_records, $spaces_records[$i], 'city'); ?> </tr> <?php } ?> </tbody> </table> <?php } ?> <form action="" method="post"> <h4>Add new space</h4>
<?php for ($i = 0; $i < count($projects_records); $i++) { ?> <tr> <?php $gui->showElement($projects_records[$i], 'id'); $gui->showElement($project_types_records[$i], 'given_name'); $gui->showElement($projects_records[$i], 'project'); $gui->showElement($projects_records[$i], 'short_description'); $gui->showElement($projects_records[$i], 'long_description'); $gui->showElement($projects_records[$i], 'year_start'); $gui->showElement($projects_records[$i], 'year_end'); $gui->showElement($projects_records[$i], 'priority'); $gui->showElement($projects_records[$i], 'active'); $gui->showMultipleElements($categories_records, $projects_records[$i], 'category'); $gui->showMultipleElements($companies_records, $projects_records[$i], 'company'); $gui->showMultipleElements($techniques_records, $projects_records[$i], 'technique'); $gui->showMultipleElements($technologies_records, $projects_records[$i], 'technology'); $gui->showMultipleElements($places_records, $projects_records[$i], 'city'); $gui->showMultipleElements($media_records, $projects_records[$i], 'media_title'); $gui->showMultipleElements($works_records, $projects_records[$i], 'work_title'); $gui->showMultipleElements($functions_records, $projects_records[$i], 'function'); $gui->showMultipleElements($people_authors_records, $projects_records[$i], 'name'); $gui->showMultipleElements($people_collaborators_records, $projects_records[$i], 'name'); $gui->showMultipleElements($exhibitions_records, $projects_records[$i], 'exhibition'); $gui->showMultipleElements($prizes_records, $projects_records[$i], 'name'); $gui->showMultipleElements($collections_records, $projects_records[$i], 'collection'); $gui->deleteButton($projects_records[$i]); ?> </tr>
</tr> </thead> <tbody> <?php for ($i = 0; $i < count($exhibitions_records); $i++) { ?> <tr> <?php $gui->showElement($exhibitions_records[$i], 'id'); $gui->showElement($exhibition_types_records[$i], 'exhibition_type'); $gui->showElement($exhibition_kinds_records[$i], 'exhibition_kind'); $gui->showElement($exhibitions_records[$i], 'exhibition'); $gui->showElement($exhibitions_records[$i], 'year_start'); $gui->showElement($exhibitions_records[$i], 'year_end'); $gui->showMultipleElements($events_records, $exhibitions_records[$i], 'event'); $gui->showMultipleElements($spaces_records, $exhibitions_records[$i], 'space'); $gui->showMultipleElements($places_records, $exhibitions_records[$i], 'city'); $gui->showMultipleElements($projects_records, $exhibitions_records[$i], 'project'); $gui->showMultipleElements($institutions_records, $exhibitions_records[$i], 'institution'); $gui->showMultipleElements($people_org_records, $exhibitions_records[$i], 'name'); $gui->showMultipleElements($people_curatorship_records, $exhibitions_records[$i], 'name'); $gui->showMultipleElements($people_participants_records, $exhibitions_records[$i], 'name'); $gui->deleteButton($exhibitions_records[$i]); ?> </tr> <?php } ?> </tbody>