PageRenderTime 27ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/wip/include/array.php

https://github.com/gimoz71/giorgioconti
PHP | 107 lines | 102 code | 5 blank | 0 comment | 0 complexity | 380260026fdbdfdc1911275785a2d3ae MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?php
  2. $news=array(
  3. array(
  4. nome=>'tipo_news',
  5. label=>'Tipo notizia',
  6. tipo=>'select',
  7. voci=>array(
  8. 'last'=>'fotografia',
  9. 'news'=>'pittura'
  10. )
  11. ),
  12. array(
  13. nome=>'data_news',
  14. label=>'Data (Es. 15/12/2007)',
  15. tipo=>'text',
  16. controllo=>'data',
  17. valore=>date('d/m/Y')
  18. ),
  19. array(
  20. nome=>'titolo_news_it',
  21. label=>'Titolo italiano',
  22. tipo=>'text',
  23. controllo=>'*'
  24. ),
  25. array(
  26. nome=>'testo_news_it',
  27. label=>'Testo italiano',
  28. tipo=>'textarea',
  29. editor=>'simple'
  30. ),
  31. array(
  32. nome=>'nome_foto',
  33. label=>'Foto',
  34. tipo=>'file'
  35. ),
  36. array(
  37. nome=>'pubblicata',
  38. label=>'Pubblica',
  39. tipo=>'checkbox'
  40. ),
  41. array(
  42. nome=>'home',
  43. label=>'Pubblicata su home',
  44. tipo=>'checkbox'
  45. )
  46. );
  47. $foto=array(
  48. array(
  49. nome=>'id_gallerie',
  50. label=>'Galleria',
  51. tipo=>'select',
  52. db=>'gallerie',
  53. campi=>array(
  54. 1=>'nome_galleria_it'
  55. )
  56. ),
  57. array(
  58. nome=>'titolo_foto_it',
  59. label=>'Titolo italiano',
  60. tipo=>'text',
  61. controllo=>'*'
  62. ),
  63. array(
  64. nome=>'descrizione_foto_it',
  65. label=>'Descrizione italiano',
  66. tipo=>'textarea'
  67. ),
  68. array(
  69. nome=>'nome_foto',
  70. label=>'Foto',
  71. tipo=>'file'
  72. )
  73. );
  74. $gallerie=array(
  75. array(
  76. nome=>'tipo_galleria',
  77. label=>'Tipo galleria',
  78. tipo=>'select',
  79. voci=>array(
  80. 'last'=>'fotografia',
  81. 'news'=>'pittura'
  82. )
  83. ),
  84. array(
  85. nome=>'nome_galleria_it',
  86. label=>'Titolo galleria italiano',
  87. tipo=>'text',
  88. controllo=>'*'
  89. ),
  90. array(
  91. nome=>'home',
  92. label=>'Principale',
  93. tipo=>'checkbox',
  94. unico=>'1'
  95. ),
  96. array(
  97. nome=>'pubblicata',
  98. label=>'Pubblica',
  99. tipo=>'checkbox'
  100. ),
  101. );
  102. ?>