31 include_once
'inc.php';
32 $uri = preg_replace(
'/^http(s?):\/\//i',
'', $dolibarr_main_url_root);
33 $pos = strstr($uri,
'/');
34 if ($pos ==
'/') $pos =
'';
35 if (!defined(
'DOL_URL_ROOT'))
36 define(
'DOL_URL_ROOT', $pos);
38 $langs->loadLangs(array(
"other", $langs->load(
"help")));
46 print '<br>'.$langs->trans(
"HelpCenterDesc1").
"<br>\n";
47 print $langs->trans(
"HelpCenterDesc2").
"<br>\n";
51 $homeurl = DOL_URL_ROOT.
'/';
52 if (
GETPOST(
'dol_hide_toptmenu')) $homeurl .= (strpos($homeurl,
'?') ===
false ?
'?' :
'&').
'dol_hide_toptmenu=1';
53 if (
GETPOST(
'dol_hide_leftmenu')) $homeurl .= (strpos($homeurl,
'?') ===
false ?
'?' :
'&').
'dol_hide_leftmenu=1';
54 if (
GETPOST(
'dol_no_mouse_hover')) $homeurl .= (strpos($homeurl,
'?') ===
false ?
'?' :
'&').
'dol_no_mouse_hover=1';
55 if (
GETPOST(
'dol_use_jmobile')) $homeurl .= (strpos($homeurl,
'?') ===
false ?
'?' :
'&').
'dol_use_jmobile=1';
56 print $langs->trans(
"ToGoBackToDolibarr", $homeurl);
60 $style1 =
'color: #333344; font-size: 16px; font-weight: bold';
61 $style2 =
'color: #5D4455; font-weight: bold;';
64 print '<div style="width: 100%; text-align: center"><div class="inline-block blocksupport">';
68 print '<table class="login tablesupport" width="100%">';
69 print '<tr class="title" valign="top">';
70 print '<td width="100%" align="left" valign="middle">';
72 print '<table summary="who"><tr><td>'.img_picto(
'',
'who.png',
'class="valigntextbottom"', 1).
'</td><td>';
74 print '<font style="'.$style1.
'">'.$langs->trans(
"CommunitySupport").
'</font>';
75 print '<br>'.$langs->trans(
"TypeOfSupport").
': <font style="'.$style2.
'">'.$langs->trans(
"TypeSupportCommunauty").
'</font>';
76 print '<br>'.$langs->trans(
"TypeOfHelp").
'/'.$langs->trans(
"Efficiency").
'/'.$langs->trans(
"Price").
': ';
77 print $langs->trans(
"TypeHelpDev").
'/'.
img_picto_common(
'',
'redstar',
'class="valigntextbottom"', 1).img_picto_common(
'',
'redstar',
'class="valigntextbottom"', 1).
'/'.
img_picto_common(
'',
'star',
'class="valigntextbottom"', 1).img_picto_common(
'',
'star',
'class="valigntextbottom"', 1).img_picto_common(
'',
'star',
'class="valigntextbottom"', 1).img_picto_common(
'',
'star',
'class="valigntextbottom"', 1);
79 print '</td></tr></table>';
84 print '<td align="center" valign="middle">';
86 print '<table class="nocellnopadd">';
87 print '<tr><td align="center">';
88 $urlwiki =
'https://wiki.dolibarr.org';
89 if (preg_match(
'/fr/i', $langs->defaultlang)) $urlwiki =
'https://wiki.dolibarr.org/index.php/Accueil';
90 if (preg_match(
'/es/i', $langs->defaultlang)) $urlwiki =
'https://wiki.dolibarr.org/index.php/Portada';
91 if (preg_match(
'/de/i', $langs->defaultlang)) $urlwiki =
'https://wiki.dolibarr.org/index.php/Hauptseite';
92 print '<br>'.$langs->trans(
"ForDocumentationSeeWiki", $urlwiki, $urlwiki);
94 $urlforum =
'https://www.dolibarr.org/forum/';
95 $urlforumlocal =
'https://www.dolibarr.org/forum/';
96 if (preg_match(
'/fr/i', $langs->defaultlang)) $urlforumlocal =
'https://www.dolibarr.fr/forum/';
97 if (preg_match(
'/es/i', $langs->defaultlang)) $urlforumlocal =
'https://www.dolibarr.es/foro/';
98 if (preg_match(
'/it/i', $langs->defaultlang)) $urlforumlocal =
'http://www.dolibarr.it/forum/';
99 if (preg_match(
'/gr/i', $langs->defaultlang)) $urlforumlocal =
'https://www.dolibarr.gr/forum/';
100 if (preg_match(
'/de/i', $langs->defaultlang)) $urlforumlocal =
'https://www.dolibarr.de/forum/';
101 print '<br>'.$langs->trans(
"ForAnswersSeeForum", $urlforumlocal, $urlforumlocal).
'<br>';
102 if ($urlforumlocal != $urlforum)
print '<b><a href="'.$urlforum.
'">'.$urlforum.
'</a></b>';
103 print '</td></tr></table>';
106 print '</table>'.
"\n";
109 print '</div><div class="inline-block blocksupport">';
112 print '<table class="login tablesupport" width="100%">';
113 print '<tr class="title" valign="top">';
114 print '<td width="100%" align="left" valign="middle">';
116 print '<table summary="mail"><tr><td>'.img_picto(
'',
'mail.png',
'class="valigntextbottom"', 1).
'</td><td>';
118 print '<font style="'.$style1.
'">'.$langs->trans(
"EMailSupport").
'</font>';
119 print '<br>'.$langs->trans(
"TypeOfSupport").
': <font style="'.$style2.
'">'.$langs->trans(
"TypeSupportCommercial").
'</font>';
120 print '<br>'.$langs->trans(
"TypeOfHelp").
'/'.$langs->trans(
"Efficiency").
'/'.$langs->trans(
"Price").
': ';
121 print $langs->trans(
"TypeHelpOnly").
'/'.
img_picto_common(
'',
'redstar',
'class="valigntextbottom"', 1).img_picto_common(
'',
'redstar',
'class="valigntextbottom"', 1).img_picto_common(
'',
'redstar',
'class="valigntextbottom"', 1).
'/'.
img_picto_common(
'',
'star',
'class="valigntextbottom"', 1).img_picto_common(
'',
'star',
'class="valigntextbottom"', 1);
123 print '</td></tr></table>';
127 $urlwiki =
'https://partners.dolibarr.org';
128 print '<td align="center" valign="top">';
129 print '<table class="nocellnopadd">';
130 print '<tr><td align="center">';
131 print '<br>'.$langs->trans(
"ToSeeListOfAvailableRessources").
'<br>';
132 print '<b><a href="'.$urlwiki.
'">'.$langs->trans(
"ClickHere").
'</a></b><br>';
135 print '</td></tr></table>';
138 print '</table>'.
"\n";
141 print '</div><div class="inline-block blocksupport">';
145 print '<table class="login tablesupport" width="100%">';
146 print '<tr class="title">';
147 print '<td width="100%" align="left" valign="middle">';
149 print '<table summary="special"><tr><td>'.img_picto(
'',
'pagemaster.png',
'class="valigntextbottom"', 1).
'</td><td>';
151 print '<font style="'.$style1.
'">'.$langs->trans(
"OtherSupport").
'</font>';
152 print '<br>'.$langs->trans(
"TypeOfSupport").
': <font style="'.$style2.
'">'.$langs->trans(
"TypeSupportCommercial").
'</font>';
154 print '<br>'.$langs->trans(
"TypeOfHelp").
'/'.$langs->trans(
"Efficiency").
'/'.$langs->trans(
"Price").
': ';
155 print $langs->trans(
"TypeHelpDevForm").
'/?/?';
157 print '</td></tr></table>';
161 $urlwiki =
'https://partners.dolibarr.org';
162 print '<td align="center" valign="top">';
163 print '<table class="nocellnopadd">';
164 print '<tr><td align="center">';
165 print '<br>'.$langs->trans(
"ToSeeListOfAvailableRessources").
'<br>';
166 print '<b><a href="'.$urlwiki.
'">'.$langs->trans(
"ClickHere").
'</a></b><br>';
169 print '</td></tr></table>';
172 print '</table>'.
"\n";
176 print '<div style="clear: both"></div>';
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.
img_picto_common($titlealt, $picto, $moreatt= '', $pictoisfullpath=0)
Show picto (generic function)
print $_SERVER["PHP_SELF"]
Edit parameters.
pFooter($nonext=0, $setuplang= '', $jscheckfunction= '', $withpleasewait=0)
Print HTML footer of install pages.
print
Draft customers invoices.