Advertisement
Guest User

bin6686

a guest
Nov 7th, 2015
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.03 KB | None | 0 0
  1. <form method="POST" action="<?php echo $editFormAction; ?>" name="new_recipe" enctype="multipart/form-data">
  2. <table width="1100" border="0" cellspacing="0" cellpadding="0">
  3. <tr>
  4. <td width="25%" height="45" align="right">Nom de la recette:&nbsp;</td>
  5. <td width="25%" height="45" align="left">&nbsp; <input class="input1" type="text" name="reci_name" id="reci_name" placeholder="Nom de la recette" /></td>
  6. <td width="25%" height="45" align="right">
  7. Préparation:&nbsp; </td>
  8. <td width="25%" height="45" align="left">&nbsp;
  9. <select class="dropdown1" name="reci_preptime_hours" id="reci_preptime_hours">
  10. <option value="00">0</option>
  11. //Many options 00 to 48//
  12. <option value="48">48</option>
  13. </select>
  14. Heure(s)
  15. <select class="dropdown1" name="reci_preptime_mins" id="reci_preptime_mins">
  16. <option value="00">00</option>
  17. //Many options 00 to 59//
  18. <option value="59">59</option>
  19. </select>
  20. Minute(s) </td>
  21. </tr>
  22. <tr>
  23. <td width="25%" height="45" align="right">Categorie:&nbsp; </td>
  24. <td width="25%" height="45" align="left">&nbsp;
  25. <select class="dropdown1" name="reci_category" id="reci_category">
  26. <option value="1">Entrée</option>
  27. <option value="2">Repas</option>
  28. <option value="4">Dessert</option>
  29. </select></td>
  30. <td width="25%" height="45" align="right">Cuisson:&nbsp; </td>
  31. <td width="25%" height="45" align="left">&nbsp;
  32. <select class="dropdown1" name="reci_cooktime_hours" id="reci_cooktime_hours">
  33. <option value="00">0</option>
  34. //Many options 00 to 48//
  35. <option value="48">48</option>
  36. </select>
  37. Heure(s)
  38. <select class="dropdown1" name="reci_cooktime_mins" id="reci_cooktime_mins">
  39. <option value="00">00</option>
  40. //Many options 00 to 59//
  41. <option value="59">59</option>
  42. </select>
  43. Minute(s)</td>
  44. </tr>
  45. <tr>
  46. <td width="25%" height="45" align="right">Nombre d'assiettes:&nbsp; </td>
  47. <td width="25%" height="45" align="left">&nbsp;
  48. <select class="dropdown1" name="reci_serving" id="reci_serving">
  49. <option value="1">1 Personnes</option>
  50. //Many options 00 to 50//
  51. <option value="50">50 Personnes</option>
  52. </select></td>
  53. <td width="25%" height="45" align="right">Refroidissement:&nbsp; </td>
  54. <td width="25%" height="45" align="left">&nbsp;
  55. <select class="dropdown1" name="reci_cooltime_hours" id="reci_cooltime_hours">
  56. <option value="00">0</option>
  57. //Many options 00 to 48//
  58. <option value="48">48</option>
  59. </select>
  60. Heure(s)
  61. <select class="dropdown1" name="reci_cooltime_mins" id="reci_cooltime_mins">
  62. <option value="00">00</option>
  63. //Many options 00 to 59//
  64. <option value="59">59</option>
  65. </select>
  66. Minute(s)</td>
  67. </tr>
  68. <tr>
  69. <td height="45" align="right">Difficulté:&nbsp;</td>
  70. <td height="45" align="left">&nbsp;
  71. <select class="dropdown1" name="reci_difficulty" id="reci_difficulty">
  72. <option value="2" <?php if (!(strcmp(2, 4))) {echo "selected=\"selected\"";} ?>>Enfant (Ne pas utiliser pour le moment)</option>
  73. <option value="4" <?php if (!(strcmp(4, 4))) {echo "selected=\"selected\"";} ?>>Débutant</option>
  74. <option value="6" <?php if (!(strcmp(6, 4))) {echo "selected=\"selected\"";} ?>>Intermédiaire</option>
  75. <option value="8" <?php if (!(strcmp(8, 4))) {echo "selected=\"selected\"";} ?>>Avancé</option>
  76. <option value="10" <?php if (!(strcmp(10, 4))) {echo "selected=\"selected\"";} ?>>Expert</option>
  77. </select></td>
  78. <td height="45" align="right">Images:&nbsp;</td>
  79. <td height="45" align="left"><input type="file" name="files[]" value="files[]" id="file-1" class="inputfile inputfile-1" data-multiple-caption="{count} files selected" multiple="multiple" />
  80. <label for="file-1"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg> <span>Ajouter photos</span></label>
  81. <br />
  82. [ Maximum de 10 photos ! ]</td>
  83. </tr>
  84. <tr>
  85. <td colspan="4" align="center"><br />
  86. <br />
  87. Entrer la liste des ingrédients ci-dessous.<br />
  88. <textarea class="textarea1" name="reci_ingredients" id="reci_ingredients" cols="45" rows="5" placeholder="Insérez la liste des ingrédients ici."></textarea>
  89. <br />
  90. <br /></td>
  91. </tr>
  92. <tr>
  93. <td colspan="4" align="center"><br />
  94. <br />
  95. Entrer les instruction ci-dessous.<br />
  96. <textarea class="textarea2" name="reci_instructions" id="reci_instructions" cols="45" rows="5" placeholder="Insérez la liste des instructions de la recette ici."></textarea></td>
  97. </tr>
  98. </table>
  99. <br />
  100. <br />
  101. Assurez-vous d'avoir relu tous les champs ainsi que la liste des ingrédients et les instructions avant d'enregistrer la recette. Une fois la recette enregistré, il vous sera impossible de la modifier.<br />
  102. <br />
  103. <table width="300" border="0" cellspacing="0" cellpadding="0">
  104. <tr>
  105. <td width="50%" height="60" align="center"><input name="return" type="button" class="button_return" id="return" onclick="MM_goToURL('parent','editorial_menu.php');return document.MM_returnValue" value="Retour" /></td>
  106. <td width="50%" height="60" align="center"><input type="hidden" name="reci_id" id="reci_id" />
  107. <input name="reci_post_author" type="hidden" id="reci_post_author" value="<?php echo $row_get_user_info['user_firstname']; ?>" />
  108. <input name="reci_post_datetime" type="hidden" id="reci_post_datetime" value="<?php echo date("d.m.Y"); ?>" />
  109. <input name="reci_update_author" type="hidden" id="reci_update_author" value="<?php echo $row_get_user_info['user_firstname']; ?>" />
  110. <input name="reci_update_datetime" type="hidden" id="reci_update_datetime" value="<?php echo date("d.m.Y"); ?>" />
  111. <input name="reci_status" type="hidden" id="reci_status" value="1" />
  112. <input type="hidden" name="MM_insert" value="new_recipe" />
  113. <input name="reci_images" type="hidden" id="reci_images" value="<?php echo $img_name ?>" /><input class="button_confirm" type="submit" value="Enregistrer" /></td>
  114. </tr>
  115. </table>
  116. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement