31include_once
'inc.php';
33$uri = preg_replace(
'/^http(s?):\/\//i',
'', $dolibarr_main_url_root);
34$pos = strstr($uri,
'/');
38if (!defined(
'DOL_URL_ROOT')) {
39 define(
'DOL_URL_ROOT', $pos);
42$langs->loadLangs(array(
"other",
"help"));
49pHeader($langs->trans(
"DolibarrHelpCenter"), $_SERVER[
"PHP_SELF"]);
51print
'<br><span class="opacitymedium">'.$langs->trans(
"HelpCenterDesc1").
"<br>\n";
52print $langs->trans(
"HelpCenterDesc2").
"</span><br>\n";
56$homeurl = DOL_URL_ROOT.
'/';
57if (
GETPOST(
'dol_hide_toptmenu')) {
58 $homeurl .= (strpos($homeurl,
'?') ===
false ?
'?' :
'&').
'dol_hide_toptmenu=1';
60if (
GETPOST(
'dol_hide_leftmenu')) {
61 $homeurl .= (strpos($homeurl,
'?') ===
false ?
'?' :
'&').
'dol_hide_leftmenu=1';
63if (
GETPOST(
'dol_no_mouse_hover')) {
64 $homeurl .= (strpos($homeurl,
'?') ===
false ?
'?' :
'&').
'dol_no_mouse_hover=1';
66if (
GETPOST(
'dol_use_jmobile')) {
67 $homeurl .= (strpos($homeurl,
'?') ===
false ?
'?' :
'&').
'dol_use_jmobile=1';
70if (!empty($dolibarr_main_url_root)) {
71 print $langs->trans(
"ToGoBackToDolibarr", $homeurl);
76$style1 =
'color: #333344; font-size: 16px; font-weight: bold';
77$style2 =
'color: #5D4455; font-weight: bold;';
80print
'<div style="width: 100%; text-align: center"><div class="inline-block blocksupport">';
84print
'<table class="login tablesupport" width="100%" style="margin-top: 20px">';
85print
'<tr class="title tablesupport-title" valign="top">';
86print
'<td width="100%" align="left" valign="middle">';
88print
'<table summary="who"><tr><td>'.img_picto(
'',
'who.png',
'class="valignmiddle paddingright"', 1).
'</td><td>';
90print
'<span style="'.$style1.
'">'.$langs->trans(
"CommunitySupport").
'</span>';
91print
'<span class="small">';
92print
'<br><span class="opacitymedium">'.$langs->trans(
"TypeOfSupport").
':</span> ';
93print
'<span style="'.$style2.
'">'.$langs->trans(
"TypeSupportCommunauty").
'</span>';
94print
'<br><span class="opacitymedium">'.$langs->trans(
"TypeOfHelp").
':</span> ';
95print $langs->trans(
"TypeHelpDev");
96print
'<br><span class="opacitymedium">'.$langs->trans(
"Efficiency").
':</span> ';
97print
img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1).img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1);
98print
'<br><span class="opacitymedium">'.$langs->trans(
"Price").
':</span> ';
99print
img_picto_common(
'',
'star',
'class="valignmiddle"', 1).img_picto_common(
'',
'star',
'class="valignmiddle"', 1).img_picto_common(
'',
'star',
'class="valignmiddle"', 1).img_picto_common(
'',
'star',
'class="valignmiddle"', 1).img_picto_common(
'',
'star',
'class="valignmiddle"', 1);
102print
'</td></tr></table>';
107print
'<td align="center" valign="middle">';
109print
'<table class="nocellnopadd">';
110print
'<tr><td align="center">';
111$urlwiki =
'https://wiki.dolibarr.org';
112if (preg_match(
'/fr/i', $langs->defaultlang)) {
113 $urlwiki =
'https://wiki.dolibarr.org/index.php/Accueil';
115if (preg_match(
'/es/i', $langs->defaultlang)) {
116 $urlwiki =
'https://wiki.dolibarr.org/index.php/Portada';
118if (preg_match(
'/de/i', $langs->defaultlang)) {
119 $urlwiki =
'https://wiki.dolibarr.org/index.php/Hauptseite';
121print
'<div class="wordbreak">';
122print
'<br>'.$langs->trans(
"ForDocumentationSeeWiki", $urlwiki, $urlwiki);
124$urlforum =
'https://www.dolibarr.org/forum/';
125$urlforumlocal =
'https://www.dolibarr.org/forum/';
126if (preg_match(
'/fr/i', $langs->defaultlang)) {
127 $urlforumlocal =
'https://www.dolibarr.fr/forum/';
129if (preg_match(
'/es/i', $langs->defaultlang)) {
130 $urlforumlocal =
'https://www.dolibarr.es/foro/';
132if (preg_match(
'/it/i', $langs->defaultlang)) {
133 $urlforumlocal =
'http://www.dolibarr.it/forum/';
135if (preg_match(
'/gr/i', $langs->defaultlang)) {
136 $urlforumlocal =
'https://www.dolibarr.gr/forum/';
138if (preg_match(
'/de/i', $langs->defaultlang)) {
139 $urlforumlocal =
'https://www.dolibarr.de/forum/';
141print
'<br>'.$langs->trans(
"ForAnswersSeeForum", $urlforumlocal, $urlforumlocal).
'<br>';
142if ($urlforumlocal != $urlforum) {
143 print
'<b><a href="'.$urlforum.
'">'.$urlforum.
'</a></b>';
146print
'</td></tr></table>';
149print
'</table>'.
"\n";
152print
'</div><div class="inline-block blocksupport">';
155print
'<table class="login tablesupport" width="100%" style="margin-top: 20px">';
156print
'<tr class="title tablesupport-title" valign="top">';
157print
'<td width="100%" align="left" valign="middle">';
159print
'<table summary="mail"><tr><td>'.img_picto(
'',
'mail.png',
'class="valignmiddle paddingright"', 1).
'</td><td>';
161print
'<span style="'.$style1.
'">'.$langs->trans(
"EMailSupport").
'</span>';
162print
'<span class="small">';
163print
'<br><span class="opacitymedium">'.$langs->trans(
"TypeOfSupport").
':</span> ';
164print
'<span style="'.$style2.
'">'.$langs->trans(
"TypeSupportCommercial").
'</span>';
165print
'<br><span class="opacitymedium">'.$langs->trans(
"TypeOfHelp").
':</span>';
166print $langs->trans(
"TypeHelpOnly");
167print
'<br><span class="opacitymedium">'.$langs->trans(
"Efficiency").
':</span>';
168print
img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1).img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1).img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1);
169print
'<br><span class="opacitymedium">'.$langs->trans(
"Price").
':</span> ';
170print
img_picto_common(
'',
'star',
'class="valignmiddle"', 1).img_picto_common(
'',
'star',
'class="valignmiddle"', 1);
173print
'</td></tr></table>';
177$urlwiki =
'https://partners.dolibarr.org';
178print
'<td align="center" valign="top">';
179print
'<table class="nocellnopadd">';
180print
'<tr><td align="center">';
181print
'<br><span class="opacitymedium">'.$langs->trans(
"ToSeeListOfAvailableRessources").
'</span><br>';
183print
'<b><a href="'.$urlwiki.
'">'.$langs->trans(
"ClickHere").
'</a></b><br>';
186print
'</td></tr></table>';
189print
'</table>'.
"\n";
192print
'</div><div class="inline-block blocksupport">';
196print
'<table class="login tablesupport" width="100%" style="margin-top: 20px">';
197print
'<tr class="title tablesupport-title">';
198print
'<td width="100%" align="left" valign="middle">';
200print
'<table summary="special"><tr><td>'.img_picto(
'',
'pagemaster.png',
'class="valignmiddle paddingright"', 1).
'</td><td>';
202print
'<span style="'.$style1.
'">'.$langs->trans(
"OtherSupport").
'</span>';
203print
'<span class="small">';
204print
'<br><span class="opacitymedium">'.$langs->trans(
"TypeOfSupport").
':</span> ';
205print
'<span style="'.$style2.
'">'.$langs->trans(
"TypeSupportCommercial").
'</span>';
206print
'<br><span class="opacitymedium wordbreak">'.$langs->trans(
"TypeOfHelp").
':</span>';
207print $langs->trans(
"TypeHelpDevForm");
208print
'<br><span class="opacitymedium">'.$langs->trans(
"Efficiency").
':</span>';
209print
img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1).img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1).img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1).img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1).img_picto_common(
'',
'redstar',
'class="valignmiddle"', 1);
210print
'<br><span class="opacitymedium">'.$langs->trans(
"Price").
':</span> ';
214print
'</td></tr></table>';
218$urlwiki =
'https://partners.dolibarr.org';
219print
'<td align="center" valign="top">';
220print
'<table class="nocellnopadd">';
221print
'<tr><td align="center">';
222print
'<br><span class="opacitymedium">'.$langs->trans(
"ToSeeListOfAvailableRessources").
'</span><br>';
224print
'<b><a href="'.$urlwiki.
'">'.$langs->trans(
"ClickHere").
'</a></b><br>';
227print
'</td></tr></table>';
230print
'</table>'.
"\n";
234print
'<div style="clear: both"></div>';
img_picto_common($titlealt, $picto, $moreatt='', $pictoisfullpath=0, $notitle=0)
Show picto (generic function)
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
pHeader($subtitle, $next, $action='set', $param='', $forcejqueryurl='', $csstable='main-inside')
Show HTML header of install pages.
pFooter($nonext=0, $setuplang='', $jscheckfunction='', $withpleasewait=0, $morehtml='')
Print HTML footer of install pages.