SHARE
TWEET

Untitled

a guest Dec 9th, 2019 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [showif [appendvar]=yes]
  2. [append db=../../databases/gallery.db&autonumber=sku]title=[title]&r_categories=[r_categories][/append]
  3. [redirect index.html]
  4. [/showif]
  5.  
  6. <html>
  7. [include file=../../includes/header.inc]
  8. <head>
  9. </head>
  10. <body>
  11. <h1> Laughing Labradors </h1>
  12. [include file=../../includes/nav.inc]
  13.  
  14.  
  15. <div class="admin">
  16. <h2> Gallery Add Form </h2>
  17. <form method="post" action="[thisurl]">
  18. <input type="hidden" value="yes" name="appendvar">
  19. gallery: <input type="text" name="title" value=""><br>
  20. <input type="submit" value="Add a record">
  21. r_categories: <br>
  22. [search db=/citi/coding/2020/km/llf/databases/categories.db&neSKUdata=findall]
  23. <select name="r_categories" id="r_categories">
  24. [founditems]
  25. <option value="[sku]" [showif [r_categories]=[sku]]selected[/showif]>[title]</option>
  26. [/founditems]
  27. </select><br>
  28. Status:
  29. <select name="status">
  30. <option value="0" [showif [status]=0]selected[/showif]>Disable</option>
  31. <option value="1" [showif [status]=1]selected[/showif]>Enable</option>
  32. </select>
  33. <input type="submit" value="Add a record">
  34. </form>
  35. </div>
  36. [include file=../../includes/footer.inc]
  37. </body>
  38.  
  39. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top