<summary> <h3>Synopsis</h3> </summary> <p class="synopsis"><?php echo outputArrayValueIfExists($filmData, 'fil_synopsis'); ?> </p> </details> </div> <div class="leftcol"> <object data=<?php echo outputArrayValueIfExists($filmData, 'fil_affiche'); ?> ></object> <div><?php echo outputArrayValueIfExists($filmData, 'fil_annee', 'Sorti en '); ?> </div> <div><?php echo outputArrayValueIfExists($filmData, 'sup_nom', 'Support: '); ?> </div> <a href="form_film.php?id=<?php echo outputArrayValueIfExists($filmData, 'fil_id'); ?> ">Modify</a> </div> </fieldset> </main> </body> </html>
<option<?php echo outputArrayValueIfExists($category, 'cat_id', ' value="', '"'); echo outputTextIfArrayValueEquals($filmData, 'cat_id', $category['cat_id'], ' selected="selected"'); ?> ><?php echo outputArrayValueIfExists($category, 'cat_nom'); ?> </option><?php } ?> </select> </label> <label>Description: <textarea name="description"><?php echo outputArrayValueIfExists($filmData, 'fil_description'); ?> </textarea></label> <label>Actors: <textarea name="actors" spellcheck="false"><?php echo outputArrayValueIfExists($filmData, 'fil_acteurs'); ?> </textarea></label> <label>Synopsis: <textarea name="synopsis"><?php echo outputArrayValueIfExists($filmData, 'fil_synopsis'); ?> </textarea></label> <button name="delete">Delete</button> <button name="validate">Validate</button> </form> </fieldset> </main> </body> </html>
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <link rel="stylesheet" type="text/css" href="css/gclf.css"/> <title><?php echo $title; ?> </title> </head> <body> <nav> <ul> <li><a href="//localhost/25/gclf/">Home</a></li> <li><a href="//localhost/25/gclf/form_categorie.php">Categories</a></li> <li><a href="//localhost/25/gclf/form_film.php">Add a film</a></li> </ul> <form action="catalogue.php"> <input type="search" name="q"<?php echo outputArrayValueIfExists($_GET, 'q', ' value="', '"'); ?> /> <button>Find</button> </form> </nav>