Browse Source

initialisation Git

Frédéric 3 years ago
parent
commit
71c97d3529
100 changed files with 5063 additions and 0 deletions
  1. 6
    0
      .buildpath
  2. 9
    0
      .htaccess
  3. 16
    0
      .settings/.jsdtscope
  4. 3
    0
      .settings/org.eclipse.core.resources.prefs
  5. 3
    0
      .settings/org.eclipse.core.runtime.prefs
  6. 4
    0
      .settings/org.eclipse.php.core.prefs
  7. 208
    0
      .settings/org.eclipse.php.formatter.core.prefs
  8. 7
    0
      .settings/org.eclipse.php.ui.prefs
  9. 49
    0
      .settings/org.eclipse.wst.jsdt.ui.prefs
  10. 1
    0
      .settings/org.eclipse.wst.jsdt.ui.superType.container
  11. 1
    0
      .settings/org.eclipse.wst.jsdt.ui.superType.name
  12. 8
    0
      .settings/org.eclipse.wst.validation.prefs
  13. 4
    0
      _version.json
  14. 1633
    0
      accesbd.php
  15. 58
    0
      aide_theme.php
  16. 129
    0
      auth/login.php
  17. 155
    0
      auto-update.php
  18. 1
    0
      cache/.htaccess
  19. 28
    0
      config.php
  20. 144
    0
      const.php
  21. 312
    0
      css/defaut.css
  22. 75
    0
      css/filterNav.css
  23. BIN
      css/images_generiques/add.png
  24. BIN
      css/images_generiques/bg_helpbox.png
  25. BIN
      css/images_generiques/bg_reponse.png
  26. BIN
      css/images_generiques/corbeille.gif
  27. BIN
      css/images_generiques/cross.png
  28. BIN
      css/images_generiques/dernier.png
  29. BIN
      css/images_generiques/erreur_msg_icon.gif
  30. BIN
      css/images_generiques/etoile.png
  31. BIN
      css/images_generiques/firstPage.png
  32. BIN
      css/images_generiques/fond-centre.jpg
  33. BIN
      css/images_generiques/fond-haut.jpg
  34. BIN
      css/images_generiques/fond-menu.jpg
  35. BIN
      css/images_generiques/fond-onglet.jpg
  36. BIN
      css/images_generiques/fond-onglet.png
  37. BIN
      css/images_generiques/fond-page.jpg
  38. BIN
      css/images_generiques/fond-sous-menu.jpg
  39. BIN
      css/images_generiques/fond-survol.jpg
  40. BIN
      css/images_generiques/fond-tab-header-asc.jpg
  41. BIN
      css/images_generiques/fond-tab-header-desc.jpg
  42. BIN
      css/images_generiques/fond-tab-header.jpg
  43. BIN
      css/images_generiques/fond-tab.jpg
  44. BIN
      css/images_generiques/fond-tel.png
  45. BIN
      css/images_generiques/gradation.png
  46. BIN
      css/images_generiques/help.png
  47. 0
    0
      css/images_generiques/index.html
  48. BIN
      css/images_generiques/info_special.gif
  49. BIN
      css/images_generiques/lastPage.png
  50. BIN
      css/images_generiques/menu_secondaire/icone_agenda.png
  51. BIN
      css/images_generiques/menu_secondaire/icone_import.png
  52. BIN
      css/images_generiques/menu_secondaire/icone_liste.png
  53. BIN
      css/images_generiques/menu_secondaire/icone_next.png
  54. BIN
      css/images_generiques/menu_secondaire/icone_nouveau.png
  55. BIN
      css/images_generiques/menu_secondaire/icone_preview.png
  56. BIN
      css/images_generiques/menu_secondaire/icone_previous.png
  57. BIN
      css/images_generiques/menu_secondaire/icone_supprimer.png
  58. 0
    0
      css/images_generiques/menu_secondaire/index.htm
  59. BIN
      css/images_generiques/nextPage.png
  60. BIN
      css/images_generiques/nom_module.psd
  61. BIN
      css/images_generiques/precedent.png
  62. BIN
      css/images_generiques/premier.png
  63. BIN
      css/images_generiques/prevPage.png
  64. BIN
      css/images_generiques/search.png
  65. BIN
      css/images_generiques/sortDown.gif
  66. BIN
      css/images_generiques/sortNone.gif
  67. BIN
      css/images_generiques/sortUp.gif
  68. BIN
      css/images_generiques/succes_msg_icon.gif
  69. BIN
      css/images_generiques/suivant.png
  70. BIN
      css/images_generiques/user_go.png
  71. 0
    0
      css/index.html
  72. 303
    0
      css/stat.css
  73. 608
    0
      css/style-generique.css
  74. 32
    0
      db/db.php
  75. 46
    0
      db/db_tenant.php
  76. 1
    0
      dbvalue.php
  77. 27
    0
      getvue.php
  78. 20
    0
      i18n/const.php
  79. 85
    0
      i18n/control/LangueControl.php
  80. 0
    0
      i18n/control/index.htm
  81. 29
    0
      i18n/create.sql
  82. 0
    0
      i18n/css/index.php
  83. 180
    0
      i18n/css/style.css
  84. 878
    0
      i18n/i18n.php
  85. BIN
      i18n/images/fond-centre.jpg
  86. BIN
      i18n/images/fond-haut.jpg
  87. BIN
      i18n/images/fond-menu-onglet.jpg
  88. BIN
      i18n/images/fond-menu.jpg
  89. BIN
      i18n/images/fond-onglet.jpg
  90. BIN
      i18n/images/fond-page.jpg
  91. BIN
      i18n/images/fond-sous-menu.jpg
  92. BIN
      i18n/images/fond-survol.jpg
  93. BIN
      i18n/images/fond-tab.jpg
  94. BIN
      i18n/images/fond_ban.jpg
  95. BIN
      i18n/images/fond_titre_menu.jpg
  96. BIN
      i18n/images/icon.jpg
  97. BIN
      i18n/images/icon.png
  98. BIN
      i18n/images/icon2.png
  99. 0
    0
      i18n/images/index.htm
  100. 0
    0
      i18n/images/nom_module.png

+ 6
- 0
.buildpath View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<buildpath>
3
+	<buildpathentry kind="src" path=""/>
4
+	<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
5
+	<buildpathentry combineaccessrules="false" kind="prj" path="/turboprod"/>
6
+</buildpath>

+ 9
- 0
.htaccess View File

@@ -0,0 +1,9 @@
1
+#
2
+# Encodage
3
+#
4
+AddDefaultCharset UTF-8
5
+
6
+#
7
+# Listing des dossiers
8
+#
9
+Options -Indexes

+ 16
- 0
.settings/.jsdtscope View File

@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<classpath>
3
+	<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="">
4
+		<attributes>
5
+			<attribute name="provider" value="org.eclipse.wst.jsdt.web.core.internal.project.ModuleSourcePathProvider"/>
6
+		</attributes>
7
+	</classpathentry>
8
+	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
9
+	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
10
+	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
11
+		<attributes>
12
+			<attribute name="hide" value="true"/>
13
+		</attributes>
14
+	</classpathentry>
15
+	<classpathentry kind="output" path=""/>
16
+</classpath>

+ 3
- 0
.settings/org.eclipse.core.resources.prefs View File

@@ -0,0 +1,3 @@
1
+#Wed Jan 09 14:41:03 CET 2013
2
+eclipse.preferences.version=1
3
+encoding/<project>=UTF-8

+ 3
- 0
.settings/org.eclipse.core.runtime.prefs View File

@@ -0,0 +1,3 @@
1
+#Wed Jan 09 14:41:03 CET 2013
2
+eclipse.preferences.version=1
3
+line.separator=\n

+ 4
- 0
.settings/org.eclipse.php.core.prefs View File

@@ -0,0 +1,4 @@
1
+eclipse.preferences.version=1
2
+include_path=0;/mod_turbolead\u00052;/turboprod
3
+phpVersion=php5.6
4
+useShortTags=false

+ 208
- 0
.settings/org.eclipse.php.formatter.core.prefs View File

@@ -0,0 +1,208 @@
1
+eclipse.preferences.version=1
2
+formatterProfile=_Turbolead PHP Convention
3
+indentationChar=\t
4
+insert_space_after_opening_paren_in_declare=false
5
+insert_space_before_closing_paren_in_declare=false
6
+insert_space_before_opening_paren_in_declare=false
7
+org.eclipse.php.core.formatter.insert_new_line_in_function_invoke=0
8
+org.eclipse.php.formatter.core.formatter.alignment_for_arguments_in_allocation_expression_force_split=false
9
+org.eclipse.php.formatter.core.formatter.alignment_for_arguments_in_allocation_expression_indent_policy=0
10
+org.eclipse.php.formatter.core.formatter.alignment_for_arguments_in_allocation_expression_line_wrap_policy=0
11
+org.eclipse.php.formatter.core.formatter.alignment_for_arguments_in_method_invocation_force_split=false
12
+org.eclipse.php.formatter.core.formatter.alignment_for_arguments_in_method_invocation_indent_policy=0
13
+org.eclipse.php.formatter.core.formatter.alignment_for_arguments_in_method_invocation_line_wrap_policy=0
14
+org.eclipse.php.formatter.core.formatter.alignment_for_assignment_force_split=false
15
+org.eclipse.php.formatter.core.formatter.alignment_for_assignment_indent_policy=0
16
+org.eclipse.php.formatter.core.formatter.alignment_for_assignment_line_wrap_policy=0
17
+org.eclipse.php.formatter.core.formatter.alignment_for_binary_expression_force_split=false
18
+org.eclipse.php.formatter.core.formatter.alignment_for_binary_expression_indent_policy=0
19
+org.eclipse.php.formatter.core.formatter.alignment_for_binary_expression_line_wrap_policy=0
20
+org.eclipse.php.formatter.core.formatter.alignment_for_compact_if_force_split=false
21
+org.eclipse.php.formatter.core.formatter.alignment_for_compact_if_indent_policy=0
22
+org.eclipse.php.formatter.core.formatter.alignment_for_compact_if_line_wrap_policy=0
23
+org.eclipse.php.formatter.core.formatter.alignment_for_conditional_expression_force_split=false
24
+org.eclipse.php.formatter.core.formatter.alignment_for_conditional_expression_indent_policy=0
25
+org.eclipse.php.formatter.core.formatter.alignment_for_conditional_expression_line_wrap_policy=0
26
+org.eclipse.php.formatter.core.formatter.alignment_for_expressions_in_array_initializer_force_split=true
27
+org.eclipse.php.formatter.core.formatter.alignment_for_expressions_in_array_initializer_indent_policy=0
28
+org.eclipse.php.formatter.core.formatter.alignment_for_expressions_in_array_initializer_line_wrap_policy=3
29
+org.eclipse.php.formatter.core.formatter.alignment_for_parameters_in_method_declaration_force_split=false
30
+org.eclipse.php.formatter.core.formatter.alignment_for_parameters_in_method_declaration_indent_policy=0
31
+org.eclipse.php.formatter.core.formatter.alignment_for_parameters_in_method_declaration_line_wrap_policy=0
32
+org.eclipse.php.formatter.core.formatter.alignment_for_superclass_in_type_declaration_force_split=false
33
+org.eclipse.php.formatter.core.formatter.alignment_for_superclass_in_type_declaration_indent_policy=0
34
+org.eclipse.php.formatter.core.formatter.alignment_for_superclass_in_type_declaration_line_wrap_policy=0
35
+org.eclipse.php.formatter.core.formatter.alignment_for_superinterfaces_in_type_declaration_force_split=false
36
+org.eclipse.php.formatter.core.formatter.alignment_for_superinterfaces_in_type_declaration_indent_policy=0
37
+org.eclipse.php.formatter.core.formatter.alignment_for_superinterfaces_in_type_declaration_line_wrap_policy=0
38
+org.eclipse.php.formatter.core.formatter.blank_lines_before_field=0
39
+org.eclipse.php.formatter.core.formatter.blank_lines_before_member_type=0
40
+org.eclipse.php.formatter.core.formatter.blank_lines_before_method=0
41
+org.eclipse.php.formatter.core.formatter.blank_lines_between_type_declarations=0
42
+org.eclipse.php.formatter.core.formatter.brace_position_for_block=1
43
+org.eclipse.php.formatter.core.formatter.brace_position_for_lambda_function_declaration=1
44
+org.eclipse.php.formatter.core.formatter.brace_position_for_method_declaration=1
45
+org.eclipse.php.formatter.core.formatter.brace_position_for_switch=1
46
+org.eclipse.php.formatter.core.formatter.brace_position_for_type_declaration=1
47
+org.eclipse.php.formatter.core.formatter.comment.clear_blank_lines_in_block_comment=false
48
+org.eclipse.php.formatter.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
49
+org.eclipse.php.formatter.core.formatter.comment.format_block_comments=true
50
+org.eclipse.php.formatter.core.formatter.comment.format_header=false
51
+org.eclipse.php.formatter.core.formatter.comment.format_html=true
52
+org.eclipse.php.formatter.core.formatter.comment.format_javadoc_comments=true
53
+org.eclipse.php.formatter.core.formatter.comment.format_line_comments=true
54
+org.eclipse.php.formatter.core.formatter.comment.format_source_code=true
55
+org.eclipse.php.formatter.core.formatter.comment.indent_parameter_description=true
56
+org.eclipse.php.formatter.core.formatter.comment.indent_root_tags=true
57
+org.eclipse.php.formatter.core.formatter.comment.insert_new_line_before_root_tags=true
58
+org.eclipse.php.formatter.core.formatter.comment.insert_new_line_for_parameter=true
59
+org.eclipse.php.formatter.core.formatter.comment.line_length=9999
60
+org.eclipse.php.formatter.core.formatter.comment.never_format_unknown_tags=true
61
+org.eclipse.php.formatter.core.formatter.comment.new_lines_at_block_boundaries=true
62
+org.eclipse.php.formatter.core.formatter.comment.new_lines_at_javadoc_boundaries=true
63
+org.eclipse.php.formatter.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
64
+org.eclipse.php.formatter.core.formatter.continuation_indentation=1
65
+org.eclipse.php.formatter.core.formatter.continuation_indentation_for_array_initializer=1
66
+org.eclipse.php.formatter.core.formatter.disabling_tag=@formatter\:off
67
+org.eclipse.php.formatter.core.formatter.enabling_tag=@formatter\:on
68
+org.eclipse.php.formatter.core.formatter.format_guardian_clause_on_one_line=false
69
+org.eclipse.php.formatter.core.formatter.format_line_comment_starting_on_first_column=true
70
+org.eclipse.php.formatter.core.formatter.indent_body_declarations_compare_to_type_header=true
71
+org.eclipse.php.formatter.core.formatter.indent_breaks_compare_to_cases=true
72
+org.eclipse.php.formatter.core.formatter.indent_empty_lines=false
73
+org.eclipse.php.formatter.core.formatter.indent_statements_compare_to_block=true
74
+org.eclipse.php.formatter.core.formatter.indent_statements_compare_to_body=true
75
+org.eclipse.php.formatter.core.formatter.indent_switchstatements_compare_to_cases=true
76
+org.eclipse.php.formatter.core.formatter.indent_switchstatements_compare_to_switch=true
77
+org.eclipse.php.formatter.core.formatter.indentation.size=1
78
+org.eclipse.php.formatter.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=false
79
+org.eclipse.php.formatter.core.formatter.insert_new_line_before_catch_in_try_statement=true
80
+org.eclipse.php.formatter.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=true
81
+org.eclipse.php.formatter.core.formatter.insert_new_line_before_else_in_if_statement=true
82
+org.eclipse.php.formatter.core.formatter.insert_new_line_before_finally_in_try_statement=true
83
+org.eclipse.php.formatter.core.formatter.insert_new_line_before_while_in_do_statement=true
84
+org.eclipse.php.formatter.core.formatter.insert_new_line_in_empty_block=true
85
+org.eclipse.php.formatter.core.formatter.insert_new_line_in_empty_method_body=true
86
+org.eclipse.php.formatter.core.formatter.insert_new_line_in_empty_type_declaration=true
87
+org.eclipse.php.formatter.core.formatter.insert_space_after_arrow_in_array_creation=true
88
+org.eclipse.php.formatter.core.formatter.insert_space_after_arrow_in_field_access=false
89
+org.eclipse.php.formatter.core.formatter.insert_space_after_arrow_in_foreach=true
90
+org.eclipse.php.formatter.core.formatter.insert_space_after_arrow_in_method_invocation=false
91
+org.eclipse.php.formatter.core.formatter.insert_space_after_arrow_in_yield=true
92
+org.eclipse.php.formatter.core.formatter.insert_space_after_assignment_operator=true
93
+org.eclipse.php.formatter.core.formatter.insert_space_after_binary_operator=true
94
+org.eclipse.php.formatter.core.formatter.insert_space_after_closing_brace_in_block=true
95
+org.eclipse.php.formatter.core.formatter.insert_space_after_closing_paren_in_cast=false
96
+org.eclipse.php.formatter.core.formatter.insert_space_after_colon_in_conditional=true
97
+org.eclipse.php.formatter.core.formatter.insert_space_after_coloncolon_in_field_access=false
98
+org.eclipse.php.formatter.core.formatter.insert_space_after_coloncolon_in_method_invocation=false
99
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_array_creation=false
100
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_echo=true
101
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_for_inits=true
102
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_global=true
103
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_list=true
104
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_method_declaration_parameters=true
105
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_method_invocation_arguments=true
106
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_multiple_constant_declarations=true
107
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_multiple_field_declarations=true
108
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_static=true
109
+org.eclipse.php.formatter.core.formatter.insert_space_after_comma_in_superinterfaces=true
110
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_bracket_in_array_reference=false
111
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_array_creation=false
112
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_cast=false
113
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_catch=false
114
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_for=false
115
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_foreach=false
116
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_if=false
117
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_list=false
118
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_method_declaration=false
119
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_method_invocation=false
120
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=false
121
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_switch=false
122
+org.eclipse.php.formatter.core.formatter.insert_space_after_opening_paren_in_while=false
123
+org.eclipse.php.formatter.core.formatter.insert_space_after_postfix_operator=false
124
+org.eclipse.php.formatter.core.formatter.insert_space_after_prefix_operator=false
125
+org.eclipse.php.formatter.core.formatter.insert_space_after_question_in_conditional=true
126
+org.eclipse.php.formatter.core.formatter.insert_space_after_semicolon_in_for=true
127
+org.eclipse.php.formatter.core.formatter.insert_space_after_unary_operator=false
128
+org.eclipse.php.formatter.core.formatter.insert_space_before_arrow_in_array_creation=true
129
+org.eclipse.php.formatter.core.formatter.insert_space_before_arrow_in_field_access=false
130
+org.eclipse.php.formatter.core.formatter.insert_space_before_arrow_in_foreach=true
131
+org.eclipse.php.formatter.core.formatter.insert_space_before_arrow_in_method_invocation=false
132
+org.eclipse.php.formatter.core.formatter.insert_space_before_arrow_in_yield=true
133
+org.eclipse.php.formatter.core.formatter.insert_space_before_assignment_operator=true
134
+org.eclipse.php.formatter.core.formatter.insert_space_before_binary_operator=true
135
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_bracket_in_array_reference=false
136
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_array_creation=false
137
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_cast=false
138
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_catch=false
139
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_for=false
140
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_foreach=false
141
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_if=false
142
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_list=false
143
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_method_declaration=false
144
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_method_invocation=false
145
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=false
146
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_switch=false
147
+org.eclipse.php.formatter.core.formatter.insert_space_before_closing_paren_in_while=false
148
+org.eclipse.php.formatter.core.formatter.insert_space_before_colon_in_case=false
149
+org.eclipse.php.formatter.core.formatter.insert_space_before_colon_in_conditional=true
150
+org.eclipse.php.formatter.core.formatter.insert_space_before_colon_in_default=false
151
+org.eclipse.php.formatter.core.formatter.insert_space_before_coloncolon_in_field_access=false
152
+org.eclipse.php.formatter.core.formatter.insert_space_before_coloncolon_in_method_invocation=false
153
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_array_creation=false
154
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_echo=false
155
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_for_inits=false
156
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_global=false
157
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_list=false
158
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_method_declaration_parameters=false
159
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_method_invocation_arguments=false
160
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_multiple_constant_declarations=false
161
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_multiple_field_declarations=false
162
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_static=false
163
+org.eclipse.php.formatter.core.formatter.insert_space_before_comma_in_superinterfaces=false
164
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_brace_in_block=true
165
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_brace_in_method_declaration=true
166
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_brace_in_switch=true
167
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_brace_in_type_declaration=true
168
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_bracket_in_array_reference=false
169
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_array_creation=false
170
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_catch=true
171
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_for=true
172
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_foreach=true
173
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_if=true
174
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_list=false
175
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_method_declaration=false
176
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_method_invocation=false
177
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_switch=true
178
+org.eclipse.php.formatter.core.formatter.insert_space_before_opening_paren_in_while=true
179
+org.eclipse.php.formatter.core.formatter.insert_space_before_postfix_operator=false
180
+org.eclipse.php.formatter.core.formatter.insert_space_before_prefix_operator=false
181
+org.eclipse.php.formatter.core.formatter.insert_space_before_question_in_conditional=true
182
+org.eclipse.php.formatter.core.formatter.insert_space_before_semicolon=false
183
+org.eclipse.php.formatter.core.formatter.insert_space_before_semicolon_in_for=false
184
+org.eclipse.php.formatter.core.formatter.insert_space_before_unary_operator=false
185
+org.eclipse.php.formatter.core.formatter.insert_space_between_brackets_in_array_type_reference=false
186
+org.eclipse.php.formatter.core.formatter.insert_space_between_empty_parens_in_method_declaration=false
187
+org.eclipse.php.formatter.core.formatter.insert_space_between_empty_parens_in_method_invocation=false
188
+org.eclipse.php.formatter.core.formatter.join_lines_in_comments=true
189
+org.eclipse.php.formatter.core.formatter.keep_else_statement_on_same_line=false
190
+org.eclipse.php.formatter.core.formatter.keep_elseif_statement_on_same_line=true
191
+org.eclipse.php.formatter.core.formatter.keep_imple_if_on_one_line=false
192
+org.eclipse.php.formatter.core.formatter.keep_then_statement_on_same_line=false
193
+org.eclipse.php.formatter.core.formatter.lineSplit=300
194
+org.eclipse.php.formatter.core.formatter.never_indent_block_comments_on_first_column=false
195
+org.eclipse.php.formatter.core.formatter.never_indent_line_comments_on_first_column=false
196
+org.eclipse.php.formatter.core.formatter.number_of_blank_lines_after_namespace=1
197
+org.eclipse.php.formatter.core.formatter.number_of_blank_lines_after_use_statements=1
198
+org.eclipse.php.formatter.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
199
+org.eclipse.php.formatter.core.formatter.number_of_blank_lines_at_end_of_class_body=0
200
+org.eclipse.php.formatter.core.formatter.number_of_blank_lines_at_end_of_method_body=0
201
+org.eclipse.php.formatter.core.formatter.number_of_blank_lines_before_namespace=1
202
+org.eclipse.php.formatter.core.formatter.number_of_blank_lines_before_use_statements=0
203
+org.eclipse.php.formatter.core.formatter.number_of_blank_lines_between_namespaces=0
204
+org.eclipse.php.formatter.core.formatter.number_of_blank_lines_between_use_statements=0
205
+org.eclipse.php.formatter.core.formatter.number_of_empty_lines_to_preserve=1
206
+org.eclipse.php.formatter.core.formatter.put_empty_statement_on_new_line=true
207
+org.eclipse.php.formatter.core.formatter.tabulation.size=4
208
+org.eclipse.php.formatter.core.formatter.use_on_off_tags=false

+ 7
- 0
.settings/org.eclipse.php.ui.prefs View File

@@ -0,0 +1,7 @@
1
+cleanup.format.on.save=false
2
+cleanup.organize.on.save=false
3
+cleanup.remove_trailing_whitespaces=true
4
+cleanup.remove_trailing_whitespaces_all=true
5
+cleanup.remove_trailing_whitespaces_ignore_empty=false
6
+eclipse.preferences.version=1
7
+org.eclipse.php.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>

+ 49
- 0
.settings/org.eclipse.wst.jsdt.ui.prefs View File

@@ -0,0 +1,49 @@
1
+eclipse.preferences.version=1
2
+editor_save_participant_org.eclipse.wst.jsdt.ui.postsavelistener.cleanup=true
3
+sp_cleanup.add_default_serial_version_id=true
4
+sp_cleanup.add_generated_serial_version_id=false
5
+sp_cleanup.add_missing_annotations=true
6
+sp_cleanup.add_missing_deprecated_annotations=true
7
+sp_cleanup.add_missing_nls_tags=false
8
+sp_cleanup.add_missing_override_annotations=true
9
+sp_cleanup.add_serial_version_id=false
10
+sp_cleanup.always_use_blocks=true
11
+sp_cleanup.always_use_parentheses_in_expressions=false
12
+sp_cleanup.always_use_this_for_non_static_field_access=false
13
+sp_cleanup.always_use_this_for_non_static_method_access=false
14
+sp_cleanup.convert_to_enhanced_for_loop=false
15
+sp_cleanup.format_source_code=false
16
+sp_cleanup.make_local_variable_final=false
17
+sp_cleanup.make_parameters_final=false
18
+sp_cleanup.make_private_fields_final=true
19
+sp_cleanup.make_variable_declarations_final=true
20
+sp_cleanup.never_use_blocks=false
21
+sp_cleanup.never_use_parentheses_in_expressions=true
22
+sp_cleanup.on_save_use_additional_actions=true
23
+sp_cleanup.organize_imports=true
24
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
25
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
26
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
27
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
28
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
29
+sp_cleanup.remove_private_constructors=true
30
+sp_cleanup.remove_trailing_whitespaces=true
31
+sp_cleanup.remove_trailing_whitespaces_all=true
32
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
33
+sp_cleanup.remove_unnecessary_casts=true
34
+sp_cleanup.remove_unnecessary_nls_tags=false
35
+sp_cleanup.remove_unused_imports=false
36
+sp_cleanup.remove_unused_local_variables=false
37
+sp_cleanup.remove_unused_private_fields=true
38
+sp_cleanup.remove_unused_private_members=false
39
+sp_cleanup.remove_unused_private_methods=true
40
+sp_cleanup.remove_unused_private_types=true
41
+sp_cleanup.sort_members=false
42
+sp_cleanup.sort_members_all=false
43
+sp_cleanup.use_blocks=false
44
+sp_cleanup.use_blocks_only_for_return_and_throw=false
45
+sp_cleanup.use_parentheses_in_expressions=false
46
+sp_cleanup.use_this_for_non_static_field_access=false
47
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
48
+sp_cleanup.use_this_for_non_static_method_access=false
49
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true

+ 1
- 0
.settings/org.eclipse.wst.jsdt.ui.superType.container View File

@@ -0,0 +1 @@
1
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary

+ 1
- 0
.settings/org.eclipse.wst.jsdt.ui.superType.name View File

@@ -0,0 +1 @@
1
+Window

+ 8
- 0
.settings/org.eclipse.wst.validation.prefs View File

@@ -0,0 +1,8 @@
1
+DELEGATES_PREFERENCE=delegateValidatorList
2
+USER_BUILD_PREFERENCE=enabledBuildValidatorList
3
+USER_MANUAL_PREFERENCE=enabledManualValidatorList
4
+USER_PREFERENCE=overrideGlobalPreferencesfalse
5
+eclipse.preferences.version=1
6
+override=false
7
+suspend=false
8
+vf.version=3

+ 4
- 0
_version.json View File

@@ -0,0 +1,4 @@
1
+{
2
+	"version": "2.211",
3
+	"channel": "mod_turbolead"
4
+}

+ 1633
- 0
accesbd.php
File diff suppressed because it is too large
View File


+ 58
- 0
aide_theme.php View File

@@ -0,0 +1,58 @@
1
+<?php
2
+include_once(dirname(__FILE__).'/utilisateur/classes/template/EXTRANETTemplate.php');
3
+include_once(dirname(__FILE__).'/mod/website/classes/AideTheme.php');
4
+include_once(dirname(__FILE__).'/language/lang_descriptionTheme_fr.php');
5
+
6
+//Appel du template
7
+$tpl =new EXTRANETTemplate();
8
+
9
+//Appel de la classe AideTheme
10
+$aideWebsite=new AideTheme();
11
+//Ajout des données du template à l'objet AideTheme
12
+$aideWebsite->setTemplate($tpl);
13
+
14
+//Ajout du fichier langue à l'objet AideTheme
15
+if(isset($_REQUEST['langue'])) $cheminFichierLangue=dirname(__FILE__).'/language/lang_descriptionTheme_'.$_REQUEST['langue'].'.php';
16
+else $cheminFichierLangue =dirname(__FILE__).'/language/lang_descriptionTheme_fr.php';	
17
+$aideWebsite->setFichierLangueTheme($cheminFichierLangue);
18
+
19
+//Liste des themes que l'on souhaite afficher dans l'aide de website
20
+$listeTheme['3']=array('module'=>'1','description'=>_TEXT_DESCRIPTION_3);
21
+
22
+$aideWebsite->setListeTheme($listeTheme);	
23
+
24
+
25
+//Liste WebParam
26
+$listeWebParam[]['3']=array('nomWebParam'=>'acces_intra',	'description'=>_TEXT_WEBPARAM_3_ACCES_INTRA);	
27
+$listeWebParam[]['3']=array('nomWebParam'=>'acces_extra','description'=>_TEXT_WEBPARAM_3_ACCES_EXTRA);
28
+$listeWebParam[]['3']=array('nomWebParam'=>'etat_compte','description'=>_TEXT_WEBPARAM_3_ETAT);
29
+$listeWebParam[]['3']=array('nomWebParam'=>'mail_contact','description'=>_TEXT_WEBPARAM_3_MAIL);
30
+$listeWebParam[]['3']=array('nomWebParam'=>'groupe_user','description'=>_TEXT_WEBPARAM_3_GPEUSER);
31
+
32
+
33
+
34
+
35
+		
36
+$aideWebsite->setListeWebParam($listeWebParam);	
37
+
38
+
39
+//Liste JS
40
+$listeJS=array();
41
+//$listeJS[]['20024']=array('nomJS'=>'id_aspect','description'=>_TEXT_JS_20024_ID_ASPECT);
42
+$aideWebsite->setListeJS($listeJS);	
43
+
44
+//Liste Configuration
45
+$listeConfiguration=array();
46
+$aideWebsite->setListeConfiguration($listeConfiguration);		
47
+
48
+//Liste Exemple
49
+$listeExemple[]['3']=array('nomExemple'=>_TEXT_EXEMPLE_3_APPEL,'code'=>_TEXT_EXEMPLE_3_CODE_EXEMPLE_1);
50
+
51
+$aideWebsite->setListeExemple($listeExemple);
52
+
53
+if(isset($_REQUEST['numTheme'])){
54
+	$aideWebsite->setTheme($_REQUEST['numTheme']);
55
+}
56
+
57
+echo $aideWebsite->afficherPageAide();
58
+?>

+ 129
- 0
auth/login.php View File

@@ -0,0 +1,129 @@
1
+<?php 
2
+require_once(dirname(__FILE__).'/../tools/sessions.php');
3
+include_once(dirname(__FILE__).'/../utilisateur/model/UtilisateurHome.php');
4
+//========================================================================
5
+/* login
6
+*Description : Fonction de connexion : affichage du formulaire de connexion
7
+*
8
+*Entree :   néant	
9
+*
10
+*Sortie :	néant
11
+*
12
+*Auteur : Julien Chalendard - Version : 2.0 
13
+*
14
+*/
15
+function login()
16
+{
17
+include_once(dirname(__FILE__).'/../language/language.php');
18
+?>
19
+
20
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
21
+<html xmlns="http://www.w3.org/1999/xhtml">
22
+<head><title><?php echo _TURBO_INTRANET_TITLE ?></title>
23
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
24
+<meta http-equiv="Content-Script-Type" content="text/javascript" />
25
+<link href="style.css"  rel="stylesheet"  type="text/css"  />
26
+</head>
27
+<body>
28
+
29
+<div id="container_login">
30
+
31
+<h1><?php echo _HEADING_LOGINTURBOLEAD; ?></h1>
32
+<form name="login_turbolead" id="login_turbolead" method="post" action="index.php">
33
+<fieldset>
34
+	<legend><?php echo _LEGEND_LOGINTURBOLEAD; ?></legend>
35
+	
36
+	<label><?php echo _ENTRY_NAME; ?></label>
37
+	<input type="text" name="nom" id="nom" /><br />
38
+	
39
+	<label><?php echo _ENTRY_PASSWORD; ?></label>
40
+	<input type="password" name="motdepasse" id="motdepasse" /><br />
41
+</fieldset>
42
+<div class="validation">&nbsp;<input type="submit" name="submit" id="submit" value="<?php echo _ENTRY_VALIDATE ?>" class="submit"/></div>
43
+</form>
44
+
45
+</div>
46
+
47
+</body>
48
+</html>
49
+<?php
50
+}
51
+//========================================================================
52
+/* logout
53
+*Description : Fonction de deconnexion
54
+*				suppression du contenu du tableau des variables de session
55
+*				destruction de la session
56
+*				rappel de la fonction de connexion
57
+*
58
+*Entree :   néant	
59
+*
60
+*Sortie :	néant
61
+*
62
+*Auteur : J.Chalendard - Version : 1.1 
63
+*Modification : ajout de la recuperation du chemin d'appel de la fonction 
64
+*/
65
+function logout(){
66
+	$_SESSION = array();
67
+	session_destroy();
68
+	
69
+	//Redirection vers la page de login
70
+	$chemin=test_url();
71
+	if ($chemin!=false)
72
+		header("Location: $chemin");
73
+
74
+	login();
75
+	exit();
76
+}
77
+
78
+//============================================================
79
+//vérification du login et du mot de passe
80
+//on recupere l'identifiant de l'utilisateur
81
+/*
82
+if (!isset($_SESSION['login']))  //personne n'est connecte	
83
+{	
84
+	if ((!isset($_REQUEST['nom']))||(!isset($_REQUEST['motdepasse']))) $login=false;
85
+	else {
86
+		$homeUser=&UtilisateurHome::getInstance('UtilisateurHome');
87
+		$login=$homeUtilisateur->getUtilisateurByNomAndMdp($_REQUEST['nom'],$_REQUEST['motdepasse']);
88
+	}
89
+	if ($login==false){
90
+			
91
+		//Recuperation du chemin pour revenir a la page de login
92
+		$chemin=test_url();
93
+		if ($chemin!=false) header("Location: $chemin");
94
+		login();
95
+		exit();
96
+	}
97
+	else{			
98
+		$_SESSION['login']=$login;
99
+	}
100
+}
101
+*/
102
+
103
+/*
104
+Nom fonction : test_url
105
+Description  : renvoie le chemin de la page de login
106
+Entrees      : aucune	
107
+Sorties      : false ou l'adresse de la page de login	
108
+Globales     : aucune
109
+Auteur       : J. Chalendard V:1.0
110
+*/
111
+function test_url() {
112
+	$url=$_SERVER["PHP_SELF"];
113
+	$test="mod_";
114
+
115
+	//Test si la page est appelée a partir d'un module
116
+	$pos=strpos($url,$test);
117
+
118
+	//Reconstruction de la page de login
119
+	if ($pos!=false){
120
+		$chaine= substr($url,$pos+4,strlen($url));
121
+		$pos1=strpos($chaine,$test);
122
+		if ($pos1!=false){
123
+			return (substr($url,0,$pos+$pos1+4));
124
+		}
125
+		return false;
126
+	}
127
+	return false;
128
+}
129
+?>

+ 155
- 0
auto-update.php View File

@@ -0,0 +1,155 @@
1
+<?php
2
+#
3
+# auto-update.php
4
+#
5
+include_once(dirname(__FILE__).'/db/db.php');
6
+include_once(dirname(__FILE__).'/const.php');
7
+//require_once(dirname(__FILE__)."/accesbd.php");
8
+
9
+
10
+//==============================================================
11
+// Première install ?
12
+//==============================================================
13
+$prmiere_install = false;
14
+
15
+if (!isTableExistsAuto('libelle'))
16
+{
17
+	$prmiere_install = true;
18
+	print('<b>Première installation</b>');
19
+	print('<br />');
20
+}
21
+
22
+
23
+//==============================================================
24
+// INSTALLATION TURBOLEAD
25
+//==============================================================
26
+include_once(dirname(__FILE__).'/install.php');
27
+
28
+
29
+//==============================================================
30
+// Module statistique
31
+//==============================================================
32
+include_once(dirname(__FILE__).'/utilisateur/model/ModuleHome.php');
33
+$homeModule = ModuleHome::getInstance('ModuleHome');
34
+$homeModule->addModule('statistiques','_NAME_STATISTIC');
35
+
36
+//==============================================================
37
+// Module localisation
38
+//==============================================================
39
+include_once(dirname(__FILE__).'/localisation/install.php');
40
+//include_once(dirname(__FILE__).'/vizir/install.php');
41
+
42
+
43
+echo 'Auto-update Turbolead Termin&eacute;<br/>';
44
+
45
+// lancement de l'autoupdate sur les modules spécifiques
46
+echo 'Auto-update des modules sp&eacute;cifiques<br/>';
47
+
48
+
49
+//==============================================================
50
+// INSTALLATION DES MODULES
51
+//==============================================================
52
+define('TURBO_MOD_PATH',dirname(__FILE__).'/mod');
53
+
54
+$modules = $homeModule->getAllModule();
55
+$home_recherche = array();
56
+
57
+foreach ($modules as $module)
58
+{
59
+	$moduleName = $module->getAttribut('nom_module');
60
+	
61
+	//1- Installation
62
+	$installFilePath = TURBO_MOD_PATH.'/'.$moduleName.'/install.php';
63
+	
64
+	if (is_file($installFilePath))
65
+	{
66
+		print('Include du fichier&nbsp;: <b>'.$installFilePath.'</b>');
67
+		print("<br />\n");
68
+		include_once($installFilePath);
69
+	}
70
+	
71
+	//2- Recherche globale
72
+	$dasFilePath = TURBO_MOD_PATH.'/'.$moduleName.'/model/das.php';
73
+	
74
+	if (is_file($dasFilePath))
75
+	{
76
+		$oDAS = DAS::create($dasFilePath,$moduleName);
77
+		
78
+		if (is_array($oDAS->searchengine))
79
+		{
80
+			foreach ($oDAS->searchengine as $tableName => $tableSearchEngine)
81
+			{
82
+				$tableHomeName = $oDAS->getHomeByTableName($tableName);
83
+				$home_recherche[] = $moduleName.'|'.$tableHomeName;
84
+			}
85
+		}
86
+	}
87
+}
88
+
89
+//==============================================================
90
+// Recherche globale
91
+//==============================================================
92
+$homeConfig = ConfigurationHome::getInstance('ConfigurationHome');
93
+$configSearchHome = $homeConfig->getParameterByName('home_recherche');
94
+
95
+if ($configSearchHome) {
96
+	$homeConfig->updateParameter('home_recherche',implode(',',$home_recherche));
97
+} else {
98
+	$homeConfig->addParameter('home_recherche',implode(',',$home_recherche),'_PARAM_HOMERECHERCHE');
99
+}
100
+
101
+
102
+//==============================================================
103
+// Mise à jour des poids des vues si cela n'a jamais été fait
104
+//==============================================================
105
+include_once(dirname(__FILE__).'/classes/medias/model/VueHome.php');
106
+
107
+$homeVue=VueHome::getInstance('VueHome');
108
+$allVue=$homeVue->getAllVueSizeVide();
109
+echo "<br>Mise a jour des vues (".sizeof($allVue).")<br>";
110
+foreach($allVue as $id_vue => $uneVue){
111
+	if(file_exists($uneVue->getAttribut('fullpathfile'))) {
112
+	    $poid=filesize($uneVue->getAttribut('fullpathfile'));
113
+	    $uneVue->setAttribut('size',$poid);
114
+	    $homeVue->updateObject($uneVue);			    
115
+	}else{			
116
+		if($uneVue->getAttribut('vue_file')=='') {
117
+			echo "Vue supprimée car le fichier n'existe pas<br>";
118
+			$homeVue->deleteObject($id_vue);				
119
+		}
120
+	}
121
+}
122
+
123
+//==============================================================
124
+// FIN
125
+//==============================================================
126
+print('<br />-----------------------<br />');
127
+print('FIN AUTO-UPDATE.PHP');
128
+print('<br />');
129
+if ($prmiere_install)
130
+{
131
+	echo '<b>Modification des droits sur mod_turbolead</b><br/>';
132
+	exec('chmod -R go+X ../mod_turbolead/');
133
+}
134
+exit(0);
135
+
136
+/**
137
+ * Vérifie l'existence d'une table dans la base
138
+ * @param $table_name
139
+ * @return bool
140
+ */
141
+function isTableExistsAuto($table_name)
142
+{
143
+	global $db;
144
+	$requete = 'SHOW TABLE STATUS';
145
+	$res_requete = $db->sql_query($requete,true);
146
+	while ($aValue = $db->sql_fetchrow($res_requete))
147
+	{
148
+		if ($aValue['Name'] == $table_name) {
149
+			return true;
150
+		}
151
+	}
152
+	return false;
153
+}
154
+
155
+?>

+ 1
- 0
cache/.htaccess View File

@@ -0,0 +1 @@
1
+Deny from all

+ 28
- 0
config.php View File

@@ -0,0 +1,28 @@
1
+<?php
2
+#
3
+# config.php
4
+#
5
+include_once(dirname(__FILE__)."/dbvalue.php");
6
+if (!isset($dbhost)) $dbhost = "";
7
+if (!isset($dbuname)) $dbuname = "";
8
+if (!isset($dbpass)) $dbpass = "";
9
+if (!isset($dbname)) $dbname = "";
10
+
11
+$prefix = "";
12
+$user_prefix = "";
13
+$dbtype = "mysqli";
14
+$sitekey = "";
15
+
16
+// mail du webmaster : lors d'une erreur sur la base il recevra un mail
17
+$mailwebmaster="frederic.royet@logipro.com";
18
+
19
+// si gestionerreurmail=true le webmaster reçoit un mail lors d'une erreur sur la base
20
+// sinon on a un affichage de l'erreur à l'écran
21
+$gestionerreurmail=false;
22
+
23
+//si destruction_active = true le fichier de creation est detruit
24
+//sinon il reste dans le module associe
25
+$destruction_active = false;
26
+
27
+
28
+?>

+ 144
- 0
const.php View File

@@ -0,0 +1,144 @@
1
+<?php 
2
+$uploaddir=dirname(__FILE__).'/upload/';
3
+
4
+define("_upload_dir", $uploaddir);
5
+define("_archive_dir", $uploaddir.'archive/');
6
+define("_cache_dir", $uploaddir.'cache/');
7
+define("_cache_dir_undefined", $uploaddir.'cache/undefined/'); // OOBSOLETE: ?cette constante n'a plus l'ai utilise dans le code
8
+define("_tmp_dir", $uploaddir.'tmp/');
9
+define("_xml_dir", $uploaddir.'xml/');
10
+define("_backup_dir", $uploaddir.'backup/');
11
+
12
+//define("__id_groupe_mod_turbolead",1);
13
+
14
+define("__statistiques",100);
15
+define("__statistiques_mensuelles",101);
16
+define("__statistiques_30jours",102);
17
+define("__statistiques_7jours",103);
18
+define("__statistiques_moyenne_semaine",104);
19
+define("__statistiques_12mois",105);
20
+define("__statistiques_annee",106);
21
+define("__statistiques_24h",107);
22
+define("__statistiques_pistage",108);
23
+define("__statistiques_pistage_motsclef",109);
24
+define("__statistiques_pistage_pagesvues",110);
25
+define("__statistiques_pistage_origine",111);
26
+define("__message_form_validate",112);
27
+define("__supporttechnique",113);
28
+
29
+//800-850 ==> newsletter
30
+//850-880 ==> vizir
31
+//880-900 ==> mailsender
32
+define('_code_new',800);
33
+define('_code_viz',850);
34
+define('_code_did',1000); // code du module diderot
35
+define('_code_idc',2000);
36
+define('_code_aso',3000);
37
+define('_code_imo',4000);
38
+define('_code_arc',5000);
39
+define('_code_dde',6000);
40
+define('_code_idh',7000);
41
+define('_code_heb',8000);
42
+define('_code_grh',9000);
43
+define('_code_ann',10000);
44
+define('_code_ext',11000);
45
+define('_code_cot',12000); //cyberontime theme
46
+define('_code_vrr',13000);
47
+//14000 ==> message id_commerce
48
+define('_code_rad',15000);
49
+define('_code_bus',16000);		//infobus
50
+define('_code_web',17000);
51
+define('_code_efo',18000);
52
+define('_code_son',19000);
53
+//20000 ==> Cyberontime
54
+//20100 ==> GestionPret
55
+//20200 ==> CEE
56
+define('_code_cee',20200); //CEE
57
+define('_code_her',20300); //Hermes
58
+define('_code_nta',20400); //NTA
59
+define('_code_turbolead',1); //TURBOLEAD
60
+//define('_code_commentaire',21000); //COMMENTAIRES
61
+
62
+define('_code_egee',23000); //EGEE
63
+define('_code_alvarium',24000); //ALVARIUM
64
+define('_code_agate',25000); //AGATE
65
+define('_code_gestionsite',26000); //GESTIONSITE
66
+define('_code_maincourante',27000); //MAINCOURANTE
67
+
68
+define('_code_logiformation',30000); //LOGI-FORMATION
69
+define('_code_fsuivi',31000); //FSUIVI
70
+define('_code_idagenda',32000);// IDAGENDA
71
+define('_code_agora',33000);// AGORA V2
72
+
73
+define('_code_idwebmaster',34000);// IDWEBMASTER
74
+define('_code_babel',35000);// BABEL
75
+
76
+define('_code_infobus',36000);// INFOBUS
77
+
78
+define('_code_cramoniteur',37000);// CRA Moniteur
79
+
80
+define('_code_jem',38000);// JEM
81
+
82
+define('_code_system',39000);// SYSTEM LEARNING V2
83
+define('_code_crealearning',40000);// CREA LEARNING V2
84
+
85
+define('_code_esc',41000);// SPORT SOLUTIONS (code ESC)
86
+define('_code_systemuniv',42000);// SYSTEM UNIV
87
+
88
+define('_code_winpi',43000);//WINPI
89
+define('_code_grs',44000);//GESTION RESERVATION
90
+define('_code_dinamicsoft',46000);//DINAMIC SOFT 
91
+define('_code_occitan',47000);//OCCITAN
92
+
93
+// code associations d'objets: les valeurs de ces constantes ne DOIVENT JAMAIS etre modifie car elles ont une signification dans la base de donnees
94
+//Quand TOUS les site seronts passés en version 3 de ID-Commerce 
95
+//on pourra supprimer ces 3 lignes
96
+define('_assoc_idc_famille_famille',1);
97
+define('_assoc_idc_produit_produit',2);
98
+define('_assoc_idc_produit_famille',3);
99
+
100
+
101
+//Message
102
+define ('__message_debut',14000);
103
+define ('__message_liste',14001);
104
+define ('__message_form',14002);
105
+define ('__message_formvalidate',14003);
106
+define ('__message_fin', 14019);
107
+
108
+//Type de message
109
+define ('do__turbo_messagetype_debut',14020);
110
+define ('do__turbo_messagetype_liste',14020);
111
+define ('do__turbo_messagetype_form',14021);
112
+define ('do__turbo_messagetype_validate',14022);
113
+define ('do__turbo_messagetype_delete',14023);
114
+define ('do__turbo_messagetype_fin', 14039);
115
+
116
+//message
117
+define ('do__turbo_message_debut',14040);
118
+define ('do__turbo_message_liste',14040);
119
+define ('do__turbo_message_form',14041);
120
+define ('do__turbo_message_validate',14042);
121
+define ('do__turbo_message_delete',14043);
122
+define ('do__turbo_message_fin', 14059);
123
+
124
+//Document
125
+define ('__turbodocument_debut',22000);
126
+define ('__turbodocument_liste',22001);
127
+define ('__turbodocument_form',22002);
128
+define ('__turbodocument_formvalidate',22003);
129
+define ('__turbodocument_delete',22004);
130
+define ('__turbodocument_listebymodule',22005);
131
+define ('do__turbodocument_download',22006);
132
+define ('__turbodocument_fin', 22015);
133
+
134
+//Type document
135
+define ('__turbotypedocument_debut',22100);
136
+define ('__turbotypedocument_liste',22101);
137
+define ('__turbotypedocument_form',22102);
138
+define ('__turbotypedocument_formvalidate',22103);
139
+define ('__turbotypedocument_delete',22104);
140
+define ('__turbotypedocument_fin', 22105);
141
+//INCLUDE DES CONSTATNTES DES COMMENTAIRES (POUR LES AVOIR DANS TOUS LES MODULES)
142
+// 21000 <--> 21500
143
+include_once(dirname(__FILE__).'/classes/commentaire/const.php');
144
+?>

+ 312
- 0
css/defaut.css View File

@@ -0,0 +1,312 @@
1
+.spacer{clear:both;}
2
+/*----------------------------------------------------------*/
3
+/*							MESSAGE							*/
4
+/*----------------------------------------------------------*/
5
+#messageDefaut {
6
+	min-height:23px;
7
+	margin:5px 14px 10px 14px;
8
+	-moz-border-radius: 10px;
9
+	-webkit-border-radius: 10px;
10
+	-o-border-radius: 10px;
11
+	border-radius: 10px;	
12
+	border-width:1px;
13
+	background-repeat:no-repeat ;
14
+	background-position:10px 10px;
15
+	padding:11px 8px 2px 32px;
16
+	font-size:.95em;
17
+	font-weight:bold;
18
+	clear:both;
19
+}
20
+
21
+.erreur-msg {
22
+	border:1px #f16048 solid;
23
+	color:#df280a;
24
+	background-color:#faebe7;
25
+	background-image:url(../images/erreur_msg_icon.gif);
26
+}
27
+
28
+.succes-msg {
29
+	border:1px #446423 solid;
30
+	color:#3d6611;
31
+	background-color:#eff5ea;
32
+	background-image:url(../images/succes_msg_icon.gif);
33
+}
34
+
35
+.aide-msg {
36
+	border:1px #4D62A5 solid;
37
+	color:#4D62A5;
38
+	background-color:#D3D7E4;
39
+	background-image:url(../images/aide_msg_icon.gif);
40
+}
41
+
42
+
43
+
44
+/*------------------------------------------------------*/
45
+/*							VUE							*/
46
+/*------------------------------------------------------*/
47
+h2.typeVue{
48
+	margin:2px 5px 5px 155px;	
49
+	text-align:left;
50
+	color:#73001A;		
51
+	clear:both;
52
+}
53
+
54
+.btadd_vue 
55
+{	
56
+	background: url('../images/add.png') #ccc 4px 4px no-repeat;
57
+	border-radius: 5px;
58
+	display:inline-block;
59
+	margin:10px 0 0 190px;
60
+	padding:1px 5px 1px 20px;
61
+}
62
+
63
+a.btadd_vue a {	
64
+	color:#000;
65
+}
66
+
67
+a.btadd_vue:hover {	
68
+	color:#000;
69
+}
70
+
71
+hr.separation_vue{
72
+	margin:2px 5px 5px 155px;
73
+	color: #73001A;;
74
+	background-color: #73001A;;
75
+	height: 3px;
76
+	border: 0;
77
+}
78
+
79
+div.zoneVue{
80
+	margin:2px 5px 5px 155px;	
81
+	background-color:#F3F3F7;
82
+	text-align:center;		
83
+}
84
+
85
+div.zoneVueListe{
86
+	margin:2px 5px 5px 2px;	
87
+	background-color:#F3F3F7;
88
+	text-align:center;		
89
+}
90
+div.contenuVueListe{
91
+	float: left;
92
+	text-align: left;
93
+	display: block;	
94
+	padding:10px 0 5px 10px;
95
+}
96
+
97
+.titreVueListe{
98
+	text-transform:uppercase;
99
+	font-weight:bold;
100
+}
101
+
102
+.typeVueListe{
103
+	font-style:italic;	
104
+}
105
+
106
+
107
+
108
+span.labelLangue{
109
+	font-weight:bold;
110
+	padding:2px;
111
+	width:90px;
112
+	float: left;
113
+	text-align: right;
114
+	display: block;	
115
+}
116
+
117
+span.labelClassCss{
118
+	font-weight:bold;
119
+	padding:2px;
120
+	width:90px;
121
+	float: left;
122
+	text-align: right;
123
+	display: block;	
124
+}
125
+
126
+div.vignette{
127
+	float: left;
128
+	text-align: left;
129
+	display: block;	
130
+	z-index:100;
131
+}
132
+div.contenuVue{
133
+	float: left;
134
+	text-align: left;
135
+	display: block;	
136
+}
137
+div.deleteVue{
138
+	float: left;
139
+	display: block;	
140
+
141
+}
142
+a.deleteVueBt{
143
+	background:url('../images/corbeille.gif') no-repeat;
144
+	margin:5px 0px 0px 10px;
145
+	height:16px;
146
+	width:14px;
147
+	display:block;
148
+	float:left;
149
+	vertical-align:middle;
150
+}
151
+
152
+/*------------------------------------------*/
153
+/*				menu_secondaire				*/
154
+/*------------------------------------------*/
155
+#menu_secondaire{
156
+	width:100%;
157
+	height:66px;
158
+	margin:10px 0 0 0;
159
+	background-color:#FFF4E2;
160
+	border-top:1px #FF850E solid;
161
+	border-bottom:1px #FF850E solid;
162
+}
163
+
164
+#bt_menu_secondaire{list-style:none; }
165
+
166
+#bt_menu_secondaire li{float:left; margin-right:-1px;}
167
+
168
+#bt_menu_secondaire li a{
169
+	display:block;
170
+	width:84px;	
171
+	height:24px;
172
+	margin:2px 4px 0px 3px;
173
+	padding:36px 0px 0px 0px;		
174
+	font-size:10px;	
175
+	color:#676767;
176
+	text-align:center;
177
+	font-weight:500;
178
+	line-height:10px;
179
+}
180
+
181
+#bt_menu_secondaire li a:hover{
182
+	color:#000000;
183
+}
184
+
185
+.none{margin-left:50px;}
186
+
187
+* html .none700{margin-left:390px;}
188
+.none700{margin-left:700px;}
189
+
190
+a.aide{margin:5px;background:url('../images/icones/icone_aide.png') 0 0px no-repeat;border:1px solid #999999} 
191
+a.aide:hover{margin:5px;background:url('../images/icones/icone_aide.png') 0 -60px no-repeat;border:1px solid #8F1100}  
192
+
193
+a.aide_new{margin:5px;background:url('../images/icones/icone_aide2.png') 0 0px no-repeat;border:1px solid #999999} 
194
+a.aide_new:hover{margin:5px;background:url('../images/icones/icone_aide2.png') 0 -60px no-repeat;border:1px solid #8F1100}  
195
+
196
+a.envoi_ftp{margin:5px;background:url('../images/icones/icone_envoi_ftp.png') 0 0px no-repeat;border:1px solid #999999} 
197
+a.envoi_ftp:hover{margin:5px;background:url('../images/icones/icone_envoi_ftp.png') 0 -60px no-repeat;border:1px solid #8F1100}  
198
+
199
+a.supprimer{margin:5px;background:url('../images/icones/icone_supprimer.png') 0 0px no-repeat;border:1px solid #999999} 
200
+a.supprimer:hover{margin:5px;background:url('../images/icones/icone_supprimer.png') 0 -60px no-repeat;border:1px solid #8F1100}  
201
+
202
+a.exporter{margin:5px;background:url('../images/icones/icone_export.png') 0 0px no-repeat;border:1px solid #999999} 
203
+a.exporter:hover{margin:5px;background:url('../images/icones/icone_export.png') 0 -60px no-repeat;border:1px solid #8F1100}  
204
+
205
+a.nouveau{margin:5px;background:url('../images/icones/icone_nouveau.png') 0 0px no-repeat;border:1px solid #999999} 
206
+a.nouveau:hover{margin:5px;background:url('../images/icones/icone_nouveau.png') 0 -60px no-repeat;border:1px solid #8F1100}
207
+
208
+a.excel{margin:5px;background:url('../images/icones/icone_excel.png') 0 0px no-repeat;border:1px solid #999999} 
209
+a.excel:hover{margin:5px;background:url('../images/icones/icone_excel.png') 0 -60px no-repeat;border:1px solid #8F1100}   
210
+
211
+a.liste{margin:5px;background:url('../images/icones/icone_liste.png') 0 0px no-repeat;border:1px solid #999999} 
212
+a.liste:hover{margin:5px;background:url('../images/icones/icone_liste.png') 0 -60px no-repeat;border:1px solid #8F1100}  
213
+
214
+a.print{margin:5px;background:url('../images/icones/icone_print.png') 0 0px no-repeat;border:1px solid #999999} 
215
+a.print:hover{margin:5px;background:url('../images/icones/icone_print.png') 0 -60px no-repeat;border:1px solid #8F1100}  
216
+
217
+
218
+a.statistique{margin:5px;background:url('../images/icones/icone_stat.png') 0 0px no-repeat;border:1px solid #999999} 
219
+a.statistique:hover{margin:5px;background:url('../images/icones/icone_stat.png') 0 -60px no-repeat;border:1px solid #8F1100;} 
220
+
221
+a.pdf{margin:5px;background:url('../images/icones/icone_pdf.png') 0 0px no-repeat;border:1px solid #999999} 
222
+a.pdf:hover{margin:5px;background:url('../images/icones/icone_pdf.png') 0 -60px no-repeat;border:1px solid #8F1100;} 
223
+
224
+a.save{margin:5px;background:url('../images/icones/icone_save.png') 0 0px no-repeat;border:1px solid #999999} 
225
+a.save:hover{margin:5px;background:url('../images/icones/icone_save.png') 0 -60px no-repeat;border:1px solid #8F1100;} 
226
+
227
+a.previous{margin:5px;background:url('../images/icones/icone_previous.png') 0 0px no-repeat;border:1px solid #999999} 
228
+a.previous:hover{margin:5px;background:url('../images/icones/icone_previous.png') 0 -60px no-repeat;border:1px solid #8F1100;}
229
+
230
+a.next{margin:5px;background:url('../images/icones/icone_next.png') 0 0px no-repeat;border:1px solid #999999} 
231
+a.next:hover{margin:5px;background:url('../images/icones/icone_next.png') 0 -60px no-repeat;border:1px solid #8F1100;}
232
+
233
+
234
+
235
+
236
+/*------------------------------------------------------*/
237
+/*					CHAMPS AUTO-COMPLTE					*/
238
+/*------------------------------------------------------*/
239
+.suggestionsBox {
240
+	position: relative;
241
+	left: 30px;
242
+	margin: 10px 0px 0px 0px;
243
+	width: 200px;
244
+	background-color: #212427;
245
+	-moz-border-radius: 7px;
246
+	-webkit-border-radius: 7px;
247
+	border: 2px solid #000;	
248
+	color: #fff;
249
+}
250
+	
251
+.suggestionList{
252
+	margin: 0px;
253
+	padding: 0px;
254
+}
255
+	
256
+.suggestionList li {
257
+	margin: 0px 0px 3px 0px;
258
+	padding: 3px;
259
+	cursor: pointer;
260
+}
261
+	
262
+.suggestionList li:hover {
263
+	background-color: #659CD8;
264
+}
265
+
266
+.filtre_recherche_nombre {
267
+    color:#000;
268
+    height:20px;
269
+	font: normal 12px 'Arial',  sans-serif;
270
+	padding:0px;
271
+	margin:0px 0 0 10px;
272
+}
273
+
274
+.surligne {
275
+	background-color: #FFFF00;
276
+}
277
+
278
+#centre table.cke_editor td a {
279
+	display:inline-block;
280
+	width:auto;
281
+
282
+}
283
+#centre table.cke_editor tr td:first-child{
284
+	padding:0;
285
+
286
+}
287
+
288
+#centre .ck_logipro {
289
+	float:left;
290
+	/*width:100%;*/
291
+}
292
+
293
+#centre legend{margin:-30px 0 20px\9;} 
294
+* html #centre legend{margin:-30px 0 20px;} 
295
+
296
+
297
+#centre fieldset table#table_qrcode {
298
+	margin-bottom:20px;
299
+	width:70%;
300
+}
301
+
302
+
303
+#centre fieldset table#table_qrcode th{
304
+	background-image:url('images_generiques/fond-tab.jpg');
305
+	background-color:#F9F9F9;
306
+	background-repeat:repeat-x;
307
+	text-align:center;
308
+}
309
+
310
+#centre fieldset table#table_qrcode tr{
311
+	background-color:#f0f0f0;
312
+}

+ 75
- 0
css/filterNav.css View File

@@ -0,0 +1,75 @@
1
+/*
2
+* filterNav.css
3
+* Style de FilterNavigator.
4
+*/
5
+.filterNav {
6
+	background: #666;
7
+	border: 1px solid #ccc;
8
+	color: #fff;
9
+	font-size: 1em;
10
+	margin: 0 0 3px;
11
+	padding: 5px;
12
+}
13
+
14
+.filterNav p {
15
+	display: inline;
16
+	padding: 0;
17
+	margin: 0 5px;
18
+}
19
+.filterNav select {
20
+	display: inline;
21
+	font-size: 1em;
22
+	margin: 0 5px;
23
+	padding: 0;
24
+}
25
+
26
+.filterNav ul,
27
+#centre .filterNav ul {
28
+	background: transparent;
29
+	display: inline;
30
+	list-style: none;
31
+	margin: 0 5px;
32
+	padding: 0;
33
+	width: auto;
34
+}
35
+.filterNav li {
36
+	display: inline;
37
+	margin: 0;
38
+	padding: 0;
39
+}
40
+
41
+.filterNav strong {
42
+	background: #3994e9;
43
+	border-radius: 10px;
44
+	color: #fff;
45
+	font-weight: normal;
46
+	padding: 0 5px;
47
+}
48
+
49
+.filterNav a,
50
+.filterNav a:hover,
51
+.filterNav a:active {
52
+	color: #fff;
53
+	display: inline;
54
+	font-weight: normal;
55
+	padding: 0 5px;
56
+	text-decoration: none;
57
+}
58
+.filterNav a.firstPage,
59
+.filterNav a.prevPage,
60
+.filterNav a.nextPage,
61
+.filterNav a.lastPage {
62
+	background: transparent no-repeat 0 0;
63
+	display: inline-block;
64
+	height: 16px;
65
+	margin: 0;
66
+	overflow: hidden;
67
+	padding: 0;
68
+	text-indent: 16px;
69
+	vertical-align: middle;
70
+	width: 16px;
71
+}
72
+.filterNav a.firstPage { background-image: url('images_generiques/firstPage.png'); }
73
+.filterNav a.prevPage { background-image: url('images_generiques/prevPage.png'); }
74
+.filterNav a.nextPage { background-image: url('images_generiques/nextPage.png'); }
75
+.filterNav a.lastPage { background-image: url('images_generiques/lastPage.png'); }

BIN
css/images_generiques/add.png View File


BIN
css/images_generiques/bg_helpbox.png View File


BIN
css/images_generiques/bg_reponse.png View File


BIN
css/images_generiques/corbeille.gif View File


BIN
css/images_generiques/cross.png View File


BIN
css/images_generiques/dernier.png View File


BIN
css/images_generiques/erreur_msg_icon.gif View File


BIN
css/images_generiques/etoile.png View File


BIN
css/images_generiques/firstPage.png View File


BIN
css/images_generiques/fond-centre.jpg View File


BIN
css/images_generiques/fond-haut.jpg View File


BIN
css/images_generiques/fond-menu.jpg View File


BIN
css/images_generiques/fond-onglet.jpg View File


BIN
css/images_generiques/fond-onglet.png View File


BIN
css/images_generiques/fond-page.jpg View File


BIN
css/images_generiques/fond-sous-menu.jpg View File


BIN
css/images_generiques/fond-survol.jpg View File


BIN
css/images_generiques/fond-tab-header-asc.jpg View File


BIN
css/images_generiques/fond-tab-header-desc.jpg View File


BIN
css/images_generiques/fond-tab-header.jpg View File


BIN
css/images_generiques/fond-tab.jpg View File


BIN
css/images_generiques/fond-tel.png View File


BIN
css/images_generiques/gradation.png View File


BIN
css/images_generiques/help.png View File


+ 0
- 0
css/images_generiques/index.html View File


BIN
css/images_generiques/info_special.gif View File


BIN
css/images_generiques/lastPage.png View File


BIN
css/images_generiques/menu_secondaire/icone_agenda.png View File


BIN
css/images_generiques/menu_secondaire/icone_import.png View File


BIN
css/images_generiques/menu_secondaire/icone_liste.png View File


BIN
css/images_generiques/menu_secondaire/icone_next.png View File


BIN
css/images_generiques/menu_secondaire/icone_nouveau.png View File


BIN
css/images_generiques/menu_secondaire/icone_preview.png View File


BIN
css/images_generiques/menu_secondaire/icone_previous.png View File


BIN
css/images_generiques/menu_secondaire/icone_supprimer.png View File


+ 0
- 0
css/images_generiques/menu_secondaire/index.htm View File


BIN
css/images_generiques/nextPage.png View File


BIN
css/images_generiques/nom_module.psd View File


BIN
css/images_generiques/precedent.png View File


BIN
css/images_generiques/premier.png View File


BIN
css/images_generiques/prevPage.png View File


BIN
css/images_generiques/search.png View File


BIN
css/images_generiques/sortDown.gif View File


BIN
css/images_generiques/sortNone.gif View File


BIN
css/images_generiques/sortUp.gif View File


BIN
css/images_generiques/succes_msg_icon.gif View File


BIN
css/images_generiques/suivant.png View File


BIN
css/images_generiques/user_go.png View File


+ 0
- 0
css/index.html View File


+ 303
- 0
css/stat.css View File

@@ -0,0 +1,303 @@
1
+.bordure_haut {
2
+	BORDER-TOP: black 1px solid;
3
+}
4
+
5
+TD.bordure_haut_gauche {
6
+	BORDER-TOP: black 1px solid;
7
+	BORDER-LEFT: black 1px solid;
8
+}
9
+
10
+TD.bordure {
11
+	BORDER-BOTTOM: black 1px solid;
12
+}
13
+
14
+TD.bordure_haut_bas {
15
+	BORDER-BOTTOM: black 1px solid;
16
+	BORDER-TOP: black 1px solid;
17
+}
18
+
19
+.bordure_bord_gauche {
20
+	BORDER-BOTTOM: black 1px solid;
21
+	BORDER-LEFT: black 1px solid;
22
+}
23
+
24
+TD.bordure_haut_droite {
25
+	BORDER-TOP: black 1px solid;
26
+	BORDER-RIGHT: black 1px solid;
27
+}
28
+
29
+TD.bordure_bord_droit {
30
+	BORDER-BOTTOM: black 1px solid;
31
+	BORDER-RIGHT: black 1px solid;
32
+}
33
+
34
+TD.bordure_gauche{
35
+	BORDER-LEFT: black 1px solid;
36
+}
37
+
38
+TD.bordure_droite{
39
+	BORDER-RIGHT: black 1px solid;
40
+}
41
+
42
+.bordure_gauche_droite{
43
+	BORDER-LEFT: black 1px solid;
44
+	BORDER-RIGHT: black 1px solid;
45
+}
46
+
47
+.fond{
48
+	background-repeat: repeat-y;
49
+}
50
+
51
+
52
+TD.bordure_all {
53
+	BORDER-BOTTOM: black 1px solid;
54
+	BORDER-RIGHT: black 1px solid;
55
+	BORDER-TOP: black 1px solid;
56
+	BORDER-LEFT: black 1px solid;
57
+}
58
+
59
+TABLE.bordure_all {
60
+	BORDER-BOTTOM: black 1px solid;
61
+	BORDER-RIGHT: black 1px solid;
62
+	BORDER-TOP: black 1px solid;
63
+	BORDER-LEFT: black 1px solid;
64
+}
65
+
66
+.bordure_b_g_d {
67
+	BORDER-RIGHT: black 1px solid;
68
+	BORDER-BOTTOM: black 1px solid;
69
+	BORDER-LEFT: black 1px solid;
70
+}
71
+
72
+.bordure_g_d {
73
+	BORDER-RIGHT: black 1px solid;
74
+	BORDER-LEFT: black 1px solid;
75
+}
76
+
77
+.bordure_h_g_d {
78
+	BORDER-RIGHT: black 1px solid;
79
+	BORDER-Left: black 1px solid;
80
+	BORDER-TOP: black 1px solid;
81
+}
82
+
83
+.bordure_h_b_g {
84
+	BORDER-LEFT: black 1px solid;
85
+	BORDER-BOTTOM: black 1px solid;
86
+	BORDER-TOP: black 1px solid;
87
+}
88
+
89
+.texte{
90
+	font-size: 12px;
91
+	color: black;
92
+	font-family: "Verdana";
93
+	font-weight: bold;
94
+	text-align: left;
95
+}
96
+
97
+.sous_titre{
98
+	font-size: 15px;
99
+	color: black;
100
+	font-family: "Arial, Helvetica, sans-serif";
101
+	color: #B21F3A; 
102
+	font-weight: bold;
103
+	text-align: right;
104
+}
105
+
106
+
107
+.libelle_tab{
108
+	font-size: 13px;
109
+	color: white;
110
+	font-family: "Arial, Helvetica, sans-serif";
111
+	font-weight: bold;
112
+
113
+}
114
+
115
+.nom_module{
116
+	font-size: 15px;
117
+	color: B90000;
118
+	font-family: "Arial, Helvetica, sans-serif";
119
+	font-weight: bold;
120
+
121
+}
122
+
123
+.titre_centre{
124
+	font-size: 13px;
125
+	color: white;
126
+	font-family: "Verdana";
127
+	font-weight: bold;
128
+	text-align: left;
129
+}
130
+
131
+
132
+.explication{
133
+	font-size: 12px;
134
+	color: black;
135
+	font-family: "Arial, Helvetica, sans-serif";
136
+	font-weight: normal;
137
+	text-align: right;
138
+}
139
+
140
+.explication_alerte{
141
+	font-size: 12px;
142
+	color: red;
143
+	font-family: "Arial, Helvetica, sans-serif";
144
+	font-weight: normal;
145
+	text-align: right;
146
+}
147
+
148
+.titre{
149
+	font-size: 17px;
150
+	color: white;
151
+	font-family: "Arial, Helvetica, sans-serif";
152
+	font-weight: bold;
153
+	text-align: normal;
154
+}
155
+
156
+.grand_titre{
157
+	font-size: 30px;
158
+	color: white;
159
+	font-family: "Arial, Helvetica, sans-serif";
160
+	font-weight: bold;
161
+
162
+}
163
+
164
+input {BORDER-RIGHT: black 1px solid; 
165
+	BORDER-TOP: black 1px solid; 
166
+	BACKGROUND: white; 
167
+	FONT: bold 9pt verdana; 
168
+	BORDER-LEFT: black 1px solid; 
169
+	COLOR: #000000; 
170
+	BORDER-BOTTOM: black 1px solid} 
171
+	
172
+textarea {BORDER-RIGHT: black 1px solid; 
173
+	BORDER-TOP: black 1px solid; 
174
+	BACKGROUND: white; 
175
+	FONT: bold 9pt verdana; 
176
+	BORDER-LEFT: black 1px solid; 
177
+	COLOR: #000000; 
178
+	BORDER-BOTTOM: black 1px solid}
179
+
180
+INPUT.envoyer {
181
+	BORDER-RIGHT: black 1px solid; 
182
+	BORDER-TOP: black 1px solid; 
183
+	BACKGROUND: #B0C6D1; 
184
+	FONT: bold 9pt verdana; 
185
+	BORDER-LEFT: black 1px solid; 
186
+	COLOR: #000000; 
187
+	BORDER-BOTTOM: black 1px solid
188
+}
189
+
190
+INPUT.bouton {
191
+	BORDER-RIGHT: black 1px solid; 
192
+	BORDER-TOP: black 1px solid; 
193
+	BACKGROUND: #B21F3A; 
194
+	FONT: bold 9pt verdana; 
195
+	BORDER-LEFT: black 1px solid; 
196
+	COLOR: white; 
197
+	BORDER-BOTTOM: black 1px solid
198
+}
199
+
200
+SELECT {
201
+	BORDER-RIGHT: black 1px solid; 
202
+	BORDER-TOP: black 1px solid; 
203
+	BACKGROUND: white; 
204
+	FONT: bold 9pt verdana; 
205
+	BORDER-LEFT: black 1px solid; 
206
+	COLOR: #000000; 
207
+	BORDER-BOTTOM: black 1px solid
208
+}
209
+
210
+.titre_menu{
211
+	font-size: 16px;
212
+	color: white;
213
+	font-family: "Arial";
214
+	font-weight: bold;
215
+	text-align: normal;
216
+}
217
+
218
+.titre_grand{
219
+	font-size: 35px;
220
+	color: white;
221
+	font-family: "Verdana";
222
+	font-weight: normal;
223
+	text-align: normal;
224
+}
225
+
226
+.libelle_module{
227
+	font-size: 14px;
228
+	color: white;
229
+	font-family: "Arial, Helvetica, sans-serif";
230
+	font-weight: bold;
231
+	text-align: normal;
232
+	
233
+}
234
+
235
+a {
236
+	font-size: 12px;
237
+	color: black;
238
+	font-family: "Arial, Helvetica, sans-serif";
239
+	font-weight: bold;
240
+	text-decoration: none;
241
+}
242
+
243
+a:hover {color: #9C813C;} 
244
+
245
+.menu {
246
+	font-size: 14px;
247
+	color: white;
248
+	font-family: "Arial, Helvetica, sans-serif";
249
+	font-weight: normal;
250
+}
251
+
252
+a.menu:hover {color: black;} 
253
+
254
+a.menu {text-decoration: none;}
255
+
256
+.lien_centre {
257
+	font-size: 12px;
258
+	color: black;
259
+	font-family: "Arial, Helvetica, sans-serif";
260
+	font-weight: bold;
261
+}
262
+
263
+a.lien_centre:hover {color: #B21F3A;} 
264
+
265
+a.lien_centre {text-decoration: none;}
266
+
267
+/*************************** NEW STYLE *******************************************/
268
+
269
+
270
+.contenu_centre{margin:15px;font-family: "Arial, Helvetica, sans-serif";font-size: 12px;}
271
+
272
+.libelle{width:20%;text-align:right;color:#FFFFFF;font-weight:bold;}
273
+
274
+fieldset{width:100%;text-align:left;}
275
+
276
+.contenu_centre input, .contenu_centre select, .contenu_centre textarea,.validation input,.spacer_h,.libelle,label{margin:5px 5px 0px;}
277
+
278
+legend{color:#000000}
279
+
280
+label{width:40%;text-align:right;color:#FFFFFF;font-weight:bold;float:left;}
281
+
282
+.spacer_h{width:40%;}
283
+
284
+fieldset ul {float:left;padding:0;margin:0;}
285
+
286
+/*________________________________________________________________*/
287
+/*_________________________ UTILISATEUR __________________________*/
288
+/*________________________________________________________________*/
289
+
290
+
291
+ul#menu_onglet_utilisateur{list-style:none;margin:4;padding:0;background:url('images/fond-menu-onglet.jpg');border:1px #000000 solid;}
292
+
293
+ul#menu_onglet_utilisateur li {display:inline;padding-left:10px;padding-right:40px;background:url('images/sep-menu-onglet.jpg') right no-repeat;}
294
+
295
+ul#menu_onglet_utilisateur li a{font-size:14px;color:#FFFFFF;padding:1;}
296
+
297
+ul#menu_onglet_utilisateur li a:hover{font-size:14px;color:#000000}
298
+
299
+form{padding:0;margin:0;}
300
+
301
+
302
+
303
+

+ 608
- 0
css/style-generique.css View File

@@ -0,0 +1,608 @@
1
+*{
2
+	border:0;
3
+	margin:0;
4
+	padding:0;
5
+}
6
+
7
+
8
+body{
9
+	background:url('images_generiques/fond-page.jpg') #fff repeat;
10
+	color:#000;
11
+	font: normal 12px 'Trebuchet MS', arial, sans-serif;
12
+}
13
+
14
+/*--------------------------------------------------------------------*/
15
+/*							GENERAL									  */
16
+/*--------------------------------------------------------------------*/
17
+
18
+p{
19
+	padding:5px 0px 5px 0px;
20
+	text-align:justify;
21
+}
22
+
23
+a{
24
+	text-decoration:none;
25
+	z-index:15;
26
+}
27
+
28
+input,textarea,iframe,p,img{
29
+	position:relative;
30
+	text-decoration:none;
31
+	z-index:15;
32
+}
33
+*html form{height:0;}
34
+
35
+a{color:#000;}
36
+a:hover,a:focus{color:#314C79}
37
+
38
+.spacer{
39
+	clear:both;
40
+}
41
+
42
+/*--------------------------------------------------------------------*/
43
+/*								CONTENEUR							  */
44
+/*--------------------------------------------------------------------*/
45
+
46
+#conteneur{  
47
+	background:#2B3F60; 
48
+	border:1px #5A5A5A solid;
49
+	border-top:none;
50
+	margin:0px auto;
51
+	width:95%;
52
+}
53
+
54
+/*--------------------------------------------------------------------*/
55
+/*							HAUT									  */
56
+/*--------------------------------------------------------------------*/
57
+
58
+
59
+#haut{
60
+	background:url('images_generiques/fond-haut.jpg') repeat-x;
61
+	height:78px;
62
+}
63
+#haut ul{
64
+	list-style:none;
65
+}
66
+
67
+#img_nom_module{
68
+	margin:2px 0 0 20px;
69
+}
70
+
71
+#menu_rapide{
72
+	height:50px;
73
+	margin:-40px 0 0 85%;
74
+}
75
+#menu_rapide li{
76
+	display:inline;
77
+}
78
+
79
+#menu_principal{
80
+	background:url('images_generiques/fond-menu.jpg') repeat-x;
81
+	border-bottom:1px #CCC solid;
82
+	border-top:1px #CCC solid;
83
+	height:18px;
84
+}
85
+#menu_principal ul li ul{
86
+	display:none;
87
+}
88
+#menu_principal ul li:hover>ul {
89
+	display:block;
90
+}
91
+#menu_principal ul li{
92
+	border-right:1px #CCC solid;
93
+	color:#3056AC;
94
+	cursor:hand;
95
+	float:left;
96
+	padding:0 10px;
97
+	text-transform:uppercase;
98
+}
99
+#menu_principal ul li span{
100
+	display:block;
101
+}
102
+#menu_principal ul ul{
103
+	background:url('images_generiques/fond-sous-menu.jpg') #f1ece6 repeat-x;
104
+	border:1px #A4C6D8 solid;
105
+	padding:3px 1px;
106
+	position:absolute;
107
+	width:220px;
108
+	z-index:50;
109
+}
110
+#menu_principal ul ul li {
111
+	border:none;
112
+	float:none;
113
+	text-transform:none;
114
+}
115
+#menu_principal ul ul li a{
116
+	border-bottom:1px #A4C6D8 solid;
117
+	display:block;
118
+	padding:2px;
119
+}
120
+*html #menu_principal ul ul li a{
121
+	height:12px;
122
+	line-height:12px;
123
+	padding:2px;
124
+}
125
+#menu_principal ul ul li a:hover,
126
+#menu_principal ul ul li a:focus{
127
+	color:#fff;
128
+	background:url('images_generiques/fond-survol.jpg') #B099C5 no-repeat;	
129
+}
130
+
131
+/*--------------------------------------------------------------------*/
132
+/*						MENU SECONDAIRE								  */
133
+/*--------------------------------------------------------------------*/
134
+
135
+#menu_secondaire{
136
+	background:#377D85;
137
+	border-bottom:2px #6589A3 solid;
138
+	border-top:2px #6589A3 solid;
139
+	height:66px;
140
+	margin:10px 0 24px 0;
141
+	width:100%;
142
+}
143
+#bt_menu_secondaire{
144
+	list-style:none;
145
+}
146
+#bt_menu_secondaire li{
147
+	float:left; 
148
+	margin-right:-1px;
149
+}
150
+#bt_menu_secondaire li a{
151
+	color:#676767;
152
+	display:block;
153
+	font-size:10px;
154
+	font-weight:500;
155
+	height:24px;
156
+	line-height:10px;
157
+	margin:2px 4px 0px 3px;
158
+	padding:36px 0px 0px 0px;
159
+	position:relative;
160
+	text-align:center;
161
+	width:84px;
162
+}
163
+
164
+a.ajouter,a.nouveau{margin:5px;background:url('images_generiques/menu_secondaire/icone_nouveau.png') 0 0px no-repeat;border:1px solid #999999} 
165
+a.ajouter:hover,a.nouveau:hover{margin:5px;background:url('images_generiques/menu_secondaire/icone_nouveau.png') 0 -60px no-repeat;border:1px solid #8F1100}
166
+
167
+a.retour_liste{margin:5px;background:url('images_generiques/menu_secondaire/icone_liste.png') 0 0px no-repeat;border:1px solid #999999} 
168
+a.retour_liste:hover{margin:5px;background:url('images_generiques/menu_secondaire/icone_liste.png') 0 -60px no-repeat;border:1px solid #8F1100}
169
+
170
+a.agenda{margin:5px;background:url('images_generiques/menu_secondaire/icone_agenda.png') 0 0px no-repeat;border:1px solid #999999} 
171
+a.agenda:hover{margin:5px;background:url('images_generiques/menu_secondaire/icone_agenda.png') 0 -60px no-repeat;border:1px solid #8F1100}
172
+
173
+a.supprimer{margin:5px;background:url('images_generiques/menu_secondaire/icone_supprimer.png') 0 0px no-repeat;border:1px solid #999999} 
174
+a.supprimer:hover{margin:5px;background:url('images_generiques/menu_secondaire/icone_supprimer.png') 0 -60px no-repeat;border:1px solid #8F1100}
175
+
176
+a.previous{margin:5px;background:url('images_generiques/menu_secondaire/icone_previous.png') 0 0px no-repeat;border:1px solid #999999} 
177
+a.previous:hover{margin:5px;background:url('images_generiques/menu_secondaire/icone_previous.png') 0 -60px no-repeat;border:1px solid #8F1100;}
178
+
179
+a.next{margin:5px;background:url('images_generiques/menu_secondaire/icone_next.png') 0 0px no-repeat;border:1px solid #999999} 
180
+a.next:hover{margin:5px;background:url('images_generiques/menu_secondaire/icone_next.png') 0 -60px no-repeat;border:1px solid #8F1100;}
181
+
182
+a.preview{margin:5px;background:url('images_generiques/menu_secondaire/icone_preview.png') 0 0px no-repeat;border:1px solid #999999} 
183
+a.preview:hover{margin:5px;background:url('images_generiques/menu_secondaire/icone_preview.png') 0 -60px no-repeat;border:1px solid #8F1100;}
184
+
185
+a.importer,a.import{margin:5px;background:url('images_generiques/menu_secondaire/icone_import.png') 0 0px no-repeat;border:1px solid #999999} 
186
+a.importer:hover,a.import:hover{margin:5px;background:url('images_generiques/menu_secondaire/icone_import.png') 0 -60px no-repeat;border:1px solid #8F1100}
187
+
188
+
189
+/*--------------------------------------------------------------------*/
190
+/*								CENTRE								  */
191
+/*--------------------------------------------------------------------*/
192
+
193
+#centre{
194
+	background:url('images_generiques/fond-centre.jpg') #B3B1C7 no-repeat;
195
+	clear:both;	
196
+	height:auto;
197
+	margin:40px 2%;
198
+	min-height:500px;
199
+	padding:20px;
200
+}
201
+*html #centre{
202
+	height:500px;
203
+}
204
+
205
+#conteneur h1{
206
+	color:#FFFFFF;
207
+	font-weight:normal;
208
+	font-size:20px;
209
+	margin-top:30px;
210
+	padding:0px;
211
+	position:absolute;
212
+	text-align:right;
213
+	width:94%;
214
+}
215
+
216
+#centre fieldset{
217
+	background:#fff;
218
+	display:block;
219
+	margin-bottom:1em;
220
+	padding:20px;
221
+	position:static;
222
+	width:auto;
223
+}
224
+#centre fieldset table tr.over{
225
+	background:none;
226
+}
227
+
228
+#centre legend{
229
+	background:url('images_generiques/fond-tab.jpg') #fff repeat-x;
230
+	border:1px #B9C1C6 solid;
231
+	color:#314C79;
232
+	font-size:16px;
233
+	font-weight:bold;
234
+	padding:1px 20px;
235
+	
236
+}
237
+#centre *legend{
238
+	margin:-30px 0 20px
239
+}
240
+ 
241
+* html #centre legend{margin:-30px 0 20px;}
242
+
243
+#centre .radio_group,
244
+#centre .checkbox_group {
245
+	display: block;
246
+	margin-left: 22%; /* cf. largeur des labels */
247
+}
248
+
249
+
250
+#centre label{
251
+	color:#000;
252
+	display: block;
253
+	float: left;
254
+	font-size:13px;
255
+	margin:2px 10px 2px 2px;
256
+	text-align: right;
257
+	width:20%;
258
+}
259
+
260
+#centre .radio_group label,
261
+#centre .checkbox_group label {
262
+	display: inline;
263
+	float: none;
264
+	width: auto;
265
+	margin: 0;
266
+	/*font-size: inherit;*/
267
+	text-align: inherit;
268
+	color: inherit;
269
+}
270
+#centre .validation{
271
+	background:#fff;
272
+	text-align:center;
273
+	display:block;
274
+	padding:5px 0 5px 2%;
275
+	position:relative;
276
+	width:98%;
277
+		
278
+}
279
+
280
+#centre .zone_texte{
281
+	background:#fff;
282
+	margin-bottom:20px;
283
+	padding:20px 2% 10px 2%;
284
+	width:66%;
285
+}
286
+#centre .zone_texte a{
287
+	text-decoration:underline;
288
+}
289
+
290
+#centre .libelle{
291
+	display: -moz-inline-box;
292
+	display:inline-block;
293
+	font-weight:bold;
294
+	width:20%;
295
+}
296
+
297
+#centre ul{
298
+	background-color:#fff;
299
+	margin-bottom:20px;
300
+	padding:5px 0 5px 2%;
301
+	width:68%;
302
+}
303
+#centre ul ul{
304
+	margin:0;
305
+	width:98%;
306
+}
307
+
308
+/*							______=ONGLET							_*/
309
+
310
+#centre ul.menu_onglet{
311
+	background:url('images_generiques/fond-onglet.png') no-repeat;
312
+	height:19px;
313
+	margin:-40px 0 20px 10px;
314
+	padding:0;
315
+	width:90%;
316
+}
317
+*html #centre ul.menu_onglet{
318
+	position:absolute;
319
+}
320
+
321
+ul.menu_onglet li{
322
+	border-right:1px #FFFFFF solid;
323
+	display:inline;
324
+	padding:1px 10px 0 10px;
325
+}
326
+ul.menu_onglet li a{
327
+	color:#fff;
328
+	font-size:13px;
329
+	font-weight:bold;
330
+}
331
+ul.menu_onglet li a:hover,
332
+ul.menu_onglet li a:focus{
333
+	color:#000;
334
+}
335
+
336
+/*--------------------------------------------------------------------*/
337
+/*								LISTE								  */
338
+/*--------------------------------------------------------------------*/
339
+#centre .group_action {
340
+	text-align: right;
341
+}
342
+#centre .group_action label {
343
+	display: inline;
344
+	float: none;
345
+	font-size: 13px;
346
+	margin: 0;
347
+	text-align: left;
348
+	width: auto;
349
+}
350
+
351
+/*--------------------------------------------------------------------*/
352
+/*								TABLE								  */
353
+/*--------------------------------------------------------------------*/
354
+#centre table {
355
+	margin: 0 0 1em;
356
+	width: 100%;
357
+}
358
+
359
+#centre table th{
360
+	border:1px #B9C1C6 solid;
361
+	color:#314C79;
362
+	font-size:16px;
363
+	font-weight:bold;
364
+	padding:0 5px;
365
+	text-align:left;
366
+}
367
+#centre table th.header{
368
+	padding:0 5px 0 20px;
369
+}
370
+#centre table th a.sortable {
371
+	background-position: 0 50%;
372
+	background-repeat: no-repeat;
373
+	padding-left: 16px;
374
+}
375
+#centre table th a.sortNone { background-image: url("images_generiques/sortNone.gif"); }
376
+#centre table th a.sortUp { background-image: url("images_generiques/sortUp.gif"); }
377
+#centre table th a.sortDown { background-image: url("images_generiques/sortDown.gif"); }
378
+
379
+#centre table tr {
380
+	font-size:12px;
381
+	height:23px;
382
+}
383
+#centre table td {
384
+	padding:0 5px;
385
+}
386
+.even{background:#e7e7e7;}
387
+.odd{background:#ccc;}
388
+
389
+#centre table tr.over,#centre fieldset table tr.over {
390
+	background:#415B86;
391
+}
392
+#centre table td a {
393
+	display:block; 
394
+	width:100%;
395
+}
396
+
397
+#centre table td a:hover,
398
+#centre table td a:focus{
399
+	color:#b3b1c7;
400
+}
401
+
402
+#centre table thead th{
403
+	background:url('images_generiques/fond-tab.jpg') #fff repeat-x;
404
+	height:24px;
405
+}
406
+
407
+
408
+*html #centre table thead {
409
+	padding:0px 2px 0px 25px;
410
+}
411
+
412
+
413
+#centre table thead .header {
414
+	background:url(images_generiques/fond-tab-header.jpg) no-repeat;
415
+	cursor: pointer;
416
+	height: auto;
417
+}
418
+
419
+#centre table thead .headerSortUp {
420
+	background: url(images_generiques/fond-tab-header-asc.jpg);
421
+	height: auto;
422
+	padding:0px 2px 0px 25px;
423
+}
424
+
425
+#centre table thead .headerSortDown {
426
+	background: url(images_generiques/fond-tab-header-desc.jpg);
427
+	height: auto;
428
+	padding:0px 2px 0px 25px;
429
+}
430
+					
431
+/*--------------------------------------------------------------------*/
432
+/*					ELEMENT FORMULAIRE		 						  */
433
+/*--------------------------------------------------------------------*/
434
+
435
+span.formOutput {
436
+	background: #ccc;
437
+	display: inline-block;
438
+	font-size: 13px;
439
+	margin: 2px 0;
440
+	padding: 3px;
441
+}
442
+
443
+input,textarea,select{
444
+	background:#C8C6DC;
445
+	border:1px #314C79 solid;
446
+	color:#000;
447
+	font-size:13px;
448
+	margin:2px 0;
449
+	padding:2px;
450
+}
451
+
452
+input.readonly {
453
+	background:#fff;
454
+	border:1px #fff solid;	
455
+}
456
+
457
+input.formtableau_similaire {
458
+	background:#00FF00;
459
+	border:1px #00FF00 solid;		
460
+}
461
+
462
+input.formtableau_different {
463
+	background:#F00;
464
+	border:1px #F00 solid;	
465
+}
466
+
467
+input[type="submit"],
468
+input[type="button"] {
469
+	padding: 2px 4px;
470
+	font-weight: normal;
471
+	background: #C8C6DC url('images_generiques/gradation.png') repeat-x 0 100%;
472
+	border: 1px solid #314C79;
473
+}
474
+input[type="submit"]:hover,
475
+input[type="button"]:hover {
476
+	border-color: #314C79;
477
+}
478
+/*--------------------------------------------------------------------*/
479
+/*						ERREUR										  */
480
+/*--------------------------------------------------------------------*/
481
+
482
+div.erreur{
483
+	background:#f00;
484
+	color:#fff;
485
+	font-size:13px;
486
+	font-weight:bold;
487
+	margin-bottom:20px;
488
+	padding:2px 1% 2px 1%;
489
+	width:78%;
490
+}
491
+
492
+span.textEsapce{
493
+	color:#3056AC;
494
+	display:block;
495
+	float:right;
496
+	margin-right:4px;
497
+}
498
+
499
+
500
+/*--------------------------------------------------------------------*/
501
+/*						Tooltip										  */
502
+/*--------------------------------------------------------------------*/
503
+
504
+#tooltip {
505
+	border: 1px solid #8F1100;
506
+	/*
507
+	background-color: #F3E4DD;
508
+	margin:12px 0px 0px -20px;
509
+	opacity: 0.85;
510
+	padding: 3px;
511
+	*/
512
+    -moz-border-radius: 5px 5px 5px 5px;
513
+    background: none repeat scroll 0 0 #F3E4DD;
514
+    margin: 10px 0 0 -50px;
515
+    opacity: 0.85;
516
+    padding: 3px 5px;	
517
+}
518
+
519
+#tooltip h3, #tooltip p { margin:2px;color:#8F1100;border:0;font-size:12px; }
520
+
521
+/*------------------------------------------------------*/
522
+/*							VUE							*/
523
+/*------------------------------------------------------*/
524
+div.zoneVue{
525
+	margin:2px 5px 5px 20%;	
526
+	background-color:#F3F3F7;
527
+	text-align:center;		
528
+}
529
+span.labelLangue{
530
+	font-weight:bold;
531
+	padding:2px;
532
+	width:90px;
533
+	float: left;
534
+	text-align: right;
535
+	display: block;	
536
+}
537
+
538
+
539
+div.vignette{
540
+	float: left;
541
+	text-align: left;
542
+	display: block;	
543
+	z-index:100;
544
+}
545
+div.contenuVue{
546
+	float: left;
547
+	text-align: left;
548
+	display: block;	
549
+}
550
+div.deleteVue{
551
+	float: left;
552
+	display: block;	
553
+
554
+}
555
+a.deleteVueBt{
556
+	background:url('images_generiques/corbeille.gif') no-repeat;
557
+	margin:5px 0px 0px 10px;
558
+	height:16px;
559
+	width:14px;
560
+	display:block;
561
+	float:left;
562
+	vertical-align:middle;
563
+}
564
+
565
+
566
+/*----------------------*/
567
+/*		Pagination		*/
568
+/*----------------------*/
569
+
570
+.pagination{padding-left:15px;background-color:#377D85;height:20px;width:98%;padding-top:4px;color:#C8C6DC; font-weight:bold; border:1px #2B3F60 solid;}
571
+.pagination a{font-weight:normal;display:block;float:left;height:16px;width:16px;margin:0px 2px 0px 2px;color:#C8C6DC;}
572
+
573
+span.pagination_actu{height:16px;width:16px;display:block;font-weight:bold;float:left;text-decoration:underline;}
574
+
575
+span.pagination_premier{display:none;}
576
+a.lien_premier{background:url('images_generiques/premier.png') no-repeat;height:16px;width:16px;display:block;float:left;margin-top:1px;}
577
+
578
+span.pagination_precedant{display:none;}
579
+a.lien_precedant {background:url('images_generiques/precedent.png') no-repeat;height:16px;width:16px;display:block;float:left;margin-top:1px;}
580
+
581
+span.pagination_suivant{display:none;}
582
+a.lien_suivant {background:url('images_generiques/suivant.png') no-repeat;height:16px;width:16px;display:block;float:left;margin-top:1px;}
583
+
584
+span.pagination_dernier{display:none;}
585
+a.lien_dernier {background:url('images_generiques/dernier.png') no-repeat;height:16px;width:16px;display:block;float:left;margin-top:1px;}
586
+
587
+.pagination select.filtre_recherche_nombre{
588
+
589
+}
590
+/*----------------------*/
591
+/*		  Aide			*/
592
+/*----------------------*/
593
+.aide-champ img {
594
+	margin: -4px 0 0 2px;
595
+	vertical-align: middle;
596
+}
597
+.cluetip-helpbox {
598
+	padding: 5px;
599
+	color: #ccc;
600
+	background: url('images_generiques/bg_helpbox.png');
601
+	-moz-border-radius: 9px;
602
+	-webkit-border-radius: 9px;
603
+	border-radius: 9px;
604
+}
605
+
606
+
607
+
608
+

+ 32
- 0
db/db.php View File

@@ -0,0 +1,32 @@
1
+<?php
2
+/**
3
+ * Initialise la connexion à la base de données de façon globale.
4
+ */
5
+//==============================================================================
6
+// INCLUDE
7
+//==============================================================================
8
+include_once(dirname(__FILE__)."/../classes/db/Databases.php");
9
+include_once(dirname(__FILE__)."/../classes/dbconnection/DBConnectionFactory.php");
10
+require_once(dirname(__FILE__)."/../config.php");
11
+
12
+//==============================================================================
13
+// CONNEXION A LA BASE
14
+//==============================================================================
15
+/**
16
+ * @deprecated Cette variable globale est utile pour la rétro
17
+ * compatibilité, mais désormais il faut Databases::getInstance()
18
+ * puis récupérer la connexion avec getDB.
19
+ * 
20
+ * @var DBConnectionInterface $db
21
+ */
22
+global $db;
23
+
24
+$db = DBConnectionFactory::factoryConnection($dbtype, $dbhost, $dbuname, $dbpass, $dbname, true);
25
+if (!$db->is_connected()) {
26
+	exit("Could not connect to the database. <a href=\"index.php\">Clic HERE</a><br>Impossible de se connecter a la base de données. <a href=\"index.php\">CLIQUEZ ICI</a>");
27
+}
28
+
29
+$databases = Databases::getInstance();
30
+$databases->addDB('principal', $db);
31
+
32
+?>

+ 46
- 0
db/db_tenant.php View File

@@ -0,0 +1,46 @@
1
+<?php
2
+#
3
+# db_tenant.php
4
+#
5
+
6
+//========================================================
7
+// Turbo_tenant_id
8
+//========================================================
9
+if (defined('TURBO_TENANT_ID'))
10
+{
11
+	$GLOBALS['turbo_tenant_id'] = TURBO_TENANT_ID;
12
+}
13
+elseif (isset($_SESSION['turbo_tenant_id']))
14
+{
15
+	$GLOBALS['turbo_tenant_id'] = $_SESSION['turbo_tenant_id'];
16
+}
17
+//print($turbo_tenant_id);
18
+
19
+//========================================================
20
+// Environnement tenant
21
+//========================================================
22
+$tenant_dbname = null;
23
+if (isset($GLOBALS['turbo_tenant_id']))
24
+{
25
+	global $turbo_tenant_id;
26
+	if ($turbo_tenant_id !== null) //null = Aucune restriction
27
+	{
28
+		$idTenant = intval($turbo_tenant_id);
29
+		if ($idTenant > 0)
30
+		{
31
+			$tenant_dbname = $dbname.'_tenant_'.$idTenant;
32
+		}
33
+	}
34
+}
35
+
36
+//========================================================
37
+// Handle sur la base
38
+//========================================================
39
+global $db;
40
+if ($db && $tenant_dbname)
41
+{
42
+	$db->select_db($tenant_dbname);
43
+	//print($tenant_dbname);
44
+}
45
+
46
+?>

+ 1
- 0
dbvalue.php View File

@@ -0,0 +1 @@
1
+<?php $dbhost='localhost'; $dbname='modturbo'; $dbpass='admin'; $dbuname='admin'; ?>

+ 27
- 0
getvue.php View File

@@ -0,0 +1,27 @@
1
+<?php
2
+/**
3
+ * getvue.php
4
+ * 
5
+ * Script d'accès contrôlé aux vues turbolead
6
+ * 
7
+ */
8
+//error_reporting(E_ALL & ~E_STRICT);
9
+
10
+
11
+//===================================================================
12
+// INCLUDE
13
+//===================================================================
14
+include_once(dirname(__FILE__).'/classes/prepend_turbolead.php');
15
+include_once(dirname(__FILE__).'/classes/medias/control/VueControl.php');
16
+
17
+
18
+//===================================================================
19
+// CONTROLEUR
20
+//===================================================================
21
+$controller = new VueControl();
22
+
23
+$controller->setAction('getvue');
24
+$controller->switchAction();
25
+
26
+
27
+?>

+ 20
- 0
i18n/const.php View File

@@ -0,0 +1,20 @@
1
+<?php
2
+#
3
+# const.php
4
+#
5
+
6
+// Groupes
7
+define('groupe_i18n_gestion_langue',17);
8
+
9
+// Droits
10
+define('__id_droit_mod_gestion_langue',19);
11
+
12
+// Actions
13
+define("__langue_debut_langue",12);
14
+define("__langue_liste_langue",12);
15
+define("__langue_form_langue",13);
16
+define("__langue_form_validate_langue",14);
17
+define("__langue_delete_langue",15);
18
+define("__langue_fin_langue",18);
19
+
20
+?>

+ 85
- 0
i18n/control/LangueControl.php View File

@@ -0,0 +1,85 @@
1
+<?php
2
+include_once(dirname(__FILE__)."/../../classes/tpb/control/ClassicControl.php");
3
+
4
+include_once(dirname(__FILE__)."/../model/LangueHome.php");
5
+include_once(dirname(__FILE__)."/../view/LangueViewForm.php");
6
+include_once(dirname(__FILE__)."/../view/LangueViewListe.php");
7
+
8
+include_once(dirname(__FILE__)."/../view/ThemeView.php");
9
+
10
+
11
+include_once(dirname(__FILE__).'/../../utilisateur/model/UtilisateurHome.php');
12
+
13
+include_once(dirname(__FILE__).'/../const.php');
14
+
15
+
16
+class LangueControl extends ObjectControl {
17
+	function LangueControl() {
18
+		$this->ObjectControl();
19
+		$this->addFonction(__langue_liste_langue,'liste');
20
+		$this->addFonction(__langue_form_validate_langue,'formValidate');
21
+		$this->addFonction(__langue_form_langue,'form');
22
+		$this->addFonction(__langue_delete_langue,'supprimer');
23
+	}
24
+
25
+	function supprimer() {
26
+		$this->liste();
27
+	}
28
+
29
+	function liste() {
30
+		$vueTheme=new ThemeView();
31
+		$homeLangue=&LangueHome::getInstance('LangueHome');
32
+		
33
+		$lesLangues=$homeLangue->getAllLangue();
34
+		$vueListe=new LangueViewListe($lesLangues,'id_langue',__langue_form_langue);
35
+		$vueTheme->HTMLThemeHaut("Gestion des langues","Accueil");
36
+		$vueListe->HTMLListe();
37
+		$vueTheme->HTMLThemeBas();
38
+	}
39
+	
40
+	function formValidate() {
41
+		$vueTheme=new ThemeView();
42
+
43
+		$homeLangue=&LangueHome::getInstance('LangueHome');
44
+		$homeUser=&UtilisateurHome::getInstance('UtilisateurHome');
45
+		$utilisateur = $homeUser->getUtilisateurLogged();
46
+	
47
+		if($utilisateur){
48
+			$uneLangue=$this->getObjectFromRequest();		
49
+			if (isset($_REQUEST['id_langue'])) $id_langue=$_REQUEST['id_langue'];
50
+			if (($id_langue=='') && $utilisateur->hasDroit(__id_droit_mod_gestion_langue)) { // creation				
51
+				$id_langue=$homeLangue->addObject($uneLangue);
52
+				$_REQUEST['id_langue']=$id_langue;
53
+				$message="Ajout effectue";
54
+			} else { // creation rapide ou modification
55
+				if ( $utilisateur->hasDroit(__id_droit_mod_gestion_langue)){	
56
+					$homeLangue->updateObject($uneLangue);
57
+					$message="Modif effectue";
58
+				}
59
+			}	
60
+			$this->liste();		
61
+		}else{
62
+			$this->liste();
63
+		}
64
+	
65
+	}
66
+
67
+	function form() {
68
+		$vueTheme=new ThemeView();
69
+		$homeLangue=&LangueHome::getInstance('LangueHome');
70
+
71
+		if (isset($_REQUEST['id_langue'])) $id=$_REQUEST['id_langue'];
72
+		if ($id>0) $aLangue=$homeLangue->get($id);
73
+		else $aLangue=$homeLangue->create();
74
+
75
+		$vueForm=new LangueViewForm($aLangue,__langue_form_validate_langue,__langue_delete_langue);
76
+		$vueTheme->HTMLThemeHaut("Gestion des langues","Edition d'un langue");
77
+		$vueForm->HTMLForm();
78
+		$vueTheme->HTMLThemeBas();
79
+	}
80
+}
81
+
82
+
83
+
84
+
85
+?>

+ 0
- 0
i18n/control/index.htm View File


+ 29
- 0
i18n/create.sql View File

@@ -0,0 +1,29 @@
1
+#
2
+# Structure de la table `langue`
3
+#
4
+
5
+CREATE TABLE langue (
6
+  id_langue int(11) NOT NULL auto_increment,
7
+  code_langue varchar(10) NOT NULL default '',
8
+  nomlangue varchar(25) NOT NULL default '',
9
+  active int(11) NOT NULL default '0',
10
+  ordre int(11) NOT NULL default '0',
11
+  PRIMARY KEY  (id_langue),
12
+  UNIQUE KEY code_langue (code_langue)
13
+) TYPE=MyISAM COMMENT='langues proposees pour le developpement des modules';
14
+
15
+# --------------------------------------------------------
16
+
17
+#
18
+# Structure de la table `libelle`
19
+#
20
+
21
+CREATE TABLE libelle (
22
+  id_langue int(11) NOT NULL default '0',
23
+  id_libelle int(11) NOT NULL auto_increment,
24
+  texte longtext NOT NULL,
25
+  PRIMARY KEY  (id_langue,id_libelle),
26
+  KEY index_langue (id_langue),
27
+  KEY index_libelle (id_libelle),
28
+  FULLTEXT(texte)
29
+) TYPE=MyISAM COMMENT='texte des libelles dans differentes langues';

+ 0
- 0
i18n/css/index.php View File


+ 180
- 0
i18n/css/style.css View File

@@ -0,0 +1,180 @@
1
+*{padding:0;margin:0;border:0}