25 require
'../main.inc.php';
27 require_once DOL_DOCUMENT_ROOT.
'/core/class/html.formcompany.class.php';
28 require_once DOL_DOCUMENT_ROOT.
'/core/class/html.formfile.class.php';
29 require_once DOL_DOCUMENT_ROOT.
'/core/class/html.formprojet.class.php';
30 require_once DOL_DOCUMENT_ROOT.
'/projet/class/project.class.php';
31 require_once DOL_DOCUMENT_ROOT.
'/core/lib/project.lib.php';
32 require_once DOL_DOCUMENT_ROOT.
'/eventorganization/class/conferenceorbooth.class.php';
33 require_once DOL_DOCUMENT_ROOT.
'/eventorganization/lib/eventorganization_conferenceorbooth.lib.php';
34 require_once DOL_DOCUMENT_ROOT.
'/categories/class/categorie.class.php';
36 global $dolibarr_main_url_root;
39 $langs->loadLangs(array(
"eventorganization",
"projects"));
41 $action =
GETPOST(
'action',
'aZ09');
42 $confirm =
GETPOST(
'confirm',
'alpha');
43 $cancel =
GETPOST(
'cancel',
'aZ09');
44 $contextpage =
GETPOST(
'contextpage',
'aZ') ?
GETPOST(
'contextpage',
'aZ') :
'conferenceorboothcard';
45 $backtopage =
GETPOST(
'backtopage',
'alpha');
46 $backtopageforcancel =
GETPOST(
'backtopageforcancel',
'alpha');
51 $withproject =
GETPOST(
'withproject',
'int');
52 $mode =
GETPOST(
'mode',
'alpha');
57 $projectstatic =
new Project($db);
58 $diroutputmassaction = $conf->eventorganization->dir_output.
'/temp/massgeneration/'.$user->id;
59 $hookmanager->initHooks(array(
'conferenceorboothcard',
'globalcard'));
62 $extrafields->fetch_name_optionals_label($object->table_element);
64 $search_array_options = $extrafields->getOptionalsFromPost($object->table_element,
'',
'search_');
67 $search_all =
GETPOST(
"search_all",
'alpha');
69 foreach ($object->fields as $key => $val) {
70 if (
GETPOST(
'search_'.$key,
'alpha')) {
71 $search[$key] =
GETPOST(
'search_'.$key,
'alpha');
75 if (empty($action) && empty($id) && empty($ref)) {
80 include DOL_DOCUMENT_ROOT.
'/core/actions_fetchobject.inc.php';
82 $permissiontoread = $user->rights->eventorganization->read;
83 $permissiontoadd = $user->rights->eventorganization->write;
84 $permissiontodelete = $user->rights->eventorganization->delete || ($permissiontoadd && isset($object->status) && $object->status == $object::STATUS_DRAFT);
85 $permissionnote = $user->rights->eventorganization->write;
86 $permissiondellink = $user->rights->eventorganization->write;
87 $upload_dir = $conf->eventorganization->multidir_output[isset($object->entity) ? $object->entity : 1];
90 if ($user->socid > 0) {
93 $isdraft = (($object->status== $object::STATUS_DRAFT) ? 1 : 0);
94 $result =
restrictedArea($user,
'eventorganization', $object->id,
'',
'',
'fk_soc',
'rowid', $isdraft);
96 if (!$permissiontoread) {
105 $parameters = array();
106 $reshook = $hookmanager->executeHooks(
'doActions', $parameters, $object, $action);
111 if (empty($reshook)) {
114 $backurlforlist =
dol_buildpath(
'/eventorganization/conferenceorbooth_list.php', 1);
116 if (empty($backtopage) || ($cancel && empty($id))) {
117 if (empty($backtopage) || ($cancel && strpos($backtopage,
'__ID__'))) {
118 if (empty($id) && (($action !=
'add' && $action !=
'create') || $cancel)) {
119 $backtopage = $backurlforlist;
121 $backtopage =
dol_buildpath(
'/eventorganization/conferenceorbooth_card.php', 1).
'?id='.($id > 0 ? $id :
'__ID__').($withproject ?
'&withproject=1' :
'');
126 $triggermodname =
'EVENTORGANIZATION_CONFERENCEORBOOTH_MODIFY';
129 include DOL_DOCUMENT_ROOT.
'/core/actions_addupdatedelete.inc.php';
132 include DOL_DOCUMENT_ROOT.
'/core/actions_dellink.inc.php';
135 include DOL_DOCUMENT_ROOT.
'/core/actions_printing.inc.php';
141 include DOL_DOCUMENT_ROOT.
'/core/actions_builddoc.inc.php';
143 if ($action ==
'set_thirdparty' && $permissiontoadd) {
144 $object->setValueFrom(
'fk_soc',
GETPOST(
'fk_soc',
'int'),
'',
'',
'date',
'', $user, $triggermodname);
146 if ($action ==
'classin' && $permissiontoadd) {
147 $object->setProject(
GETPOST(
'projectid',
'int'));
151 $triggersendname =
'EVENTORGANIZATION_CONFERENCEORBOOTH_SENTBYMAIL';
152 $autocopy =
'MAIN_MAIL_AUTOCOPY_CONFERENCEORBOOTH_TO';
153 $trackid =
'conferenceorbooth'.$object->id;
154 include DOL_DOCUMENT_ROOT.
'/core/actions_sendmails.inc.php';
165 $title = $langs->trans(
"ConferenceOrBooth");
169 if ($action ==
'create') {
170 $result = $projectstatic->fetch(
GETPOST(
'fk_project'));
172 $result = $projectstatic->fetch($object->fk_project);
174 if (!empty($conf->global->PROJECT_ALLOW_COMMENT_ON_PROJECT) && method_exists($projectstatic,
'fetchComments') && empty($projectstatic->comments)) {
175 $projectstatic->fetchComments();
177 if (!empty($projectstatic->socid)) {
178 $projectstatic->fetch_thirdparty();
182 $object->project = clone $projectstatic;
184 if (!empty($withproject)) {
186 $tab =
'eventorganisation';
187 $withProjectUrl =
"&withproject=1";
191 print
dol_get_fiche_head($head, $tab, $langs->trans(
"Project"), -1, ($projectstatic->public ?
'projectpub' :
'project'), 0,
'',
'');
193 $param = ($mode ==
'mine' ?
'&mode=mine' :
'');
197 $linkback =
'<a href="'.DOL_URL_ROOT.
'/projet/list.php?restore_lastsearch_values=1">'.$langs->trans(
"BackToList").
'</a>';
199 $morehtmlref =
'<div class="refidno">';
201 $morehtmlref .= $projectstatic->title;
203 if (isset($projectstatic->thirdparty->id) && $projectstatic->thirdparty->id > 0) {
204 $morehtmlref .=
'<br>'.$langs->trans(
'ThirdParty').
' : '.$projectstatic->thirdparty->getNomUrl(1,
'project');
206 $morehtmlref .=
'</div>';
209 if (empty($user->rights->project->all->lire)) {
210 $objectsListId = $projectstatic->getProjectsAuthorizedForUser($user, 0, 0);
211 $projectstatic->next_prev_filter =
" rowid IN (".$db->sanitize(count($objectsListId) ?join(
',', array_keys($objectsListId)) :
'0').
")";
214 dol_banner_tab($projectstatic,
'project_ref', $linkback, 1,
'ref',
'ref', $morehtmlref);
216 print
'<div class="fichecenter">';
217 print
'<div class="fichehalfleft">';
218 print
'<div class="underbanner clearboth"></div>';
220 print
'<table class="border tableforfield centpercent">';
223 if (!empty($conf->global->PROJECT_USE_OPPORTUNITIES) || empty($conf->global->PROJECT_HIDE_TASKS) || !empty($conf->eventorganization->enabled)) {
224 print
'<tr><td class="tdtop">';
225 print $langs->trans(
"Usage");
228 if (!empty($conf->global->PROJECT_USE_OPPORTUNITIES)) {
229 print
'<input type="checkbox" disabled name="usage_opportunity"'.(GETPOSTISSET(
'usage_opportunity') ? (
GETPOST(
'usage_opportunity',
'alpha') !=
'' ?
' checked="checked"' :
'') : ($projectstatic->usage_opportunity ?
' checked="checked"' :
'')).
'"> ';
230 $htmltext = $langs->trans(
"ProjectFollowOpportunity");
231 print
$form->textwithpicto($langs->trans(
"ProjectFollowOpportunity"), $htmltext);
234 if (empty($conf->global->PROJECT_HIDE_TASKS)) {
235 print
'<input type="checkbox" disabled name="usage_task"'.(GETPOSTISSET(
'usage_task') ? (
GETPOST(
'usage_task',
'alpha') !=
'' ?
' checked="checked"' :
'') : ($projectstatic->usage_task ?
' checked="checked"' :
'')).
'"> ';
236 $htmltext = $langs->trans(
"ProjectFollowTasks");
237 print
$form->textwithpicto($langs->trans(
"ProjectFollowTasks"), $htmltext);
240 if (empty($conf->global->PROJECT_HIDE_TASKS) && !empty($conf->global->PROJECT_BILL_TIME_SPENT)) {
241 print
'<input type="checkbox" disabled name="usage_bill_time"'.(GETPOSTISSET(
'usage_bill_time') ? (
GETPOST(
'usage_bill_time',
'alpha') !=
'' ?
' checked="checked"' :
'') : ($projectstatic->usage_bill_time ?
' checked="checked"' :
'')).
'"> ';
242 $htmltext = $langs->trans(
"ProjectBillTimeDescription");
243 print
$form->textwithpicto($langs->trans(
"BillTime"), $htmltext);
246 if (!empty($conf->eventorganization->enabled)) {
247 print
'<input type="checkbox" disabled name="usage_organize_event"'.(GETPOSTISSET(
'usage_organize_event') ? (
GETPOST(
'usage_organize_event',
'alpha') !=
'' ?
' checked="checked"' :
'') : ($projectstatic->usage_organize_event ?
' checked="checked"' :
'')).
'"> ';
248 $htmltext = $langs->trans(
"EventOrganizationDescriptionLong");
249 print
$form->textwithpicto($langs->trans(
"ManageOrganizeEvent"), $htmltext);
255 print
'<tr><td class="titlefield">'.$langs->trans(
"Visibility").
'</td><td>';
256 if ($projectstatic->public) {
257 print $langs->trans(
'SharedProject');
259 print $langs->trans(
'PrivateProject');
264 print
'<tr><td>'.$langs->trans(
"DateStart").
' - '.$langs->trans(
"DateEnd").
'</td><td>';
266 print ($start ? $start :
'?');
269 print ($end ? $end :
'?');
270 if ($projectstatic->hasDelay()) {
276 print
'<tr><td>'.$langs->trans(
"Budget").
'</td><td>';
277 if (strcmp($projectstatic->budget_amount,
'')) {
278 print
price($projectstatic->budget_amount,
'', $langs, 1, 0, 0, $conf->currency);
284 $objectconf = $object;
285 $object = $projectstatic;
286 include DOL_DOCUMENT_ROOT.
'/core/tpl/extrafields_view.tpl.php';
287 $object = $objectconf;
293 print
'<div class="fichehalfright">';
294 print
'<div class="underbanner clearboth"></div>';
296 print
'<table class="border tableforfield centpercent">';
299 print
'<td class="tdtop">'.$langs->trans(
"Description").
'</td><td>';
300 print nl2br($projectstatic->description);
305 print
'<tr><td class="valignmiddle">'.$langs->trans(
"Categories").
'</td><td>';
306 print
$form->showCategories($projectstatic->id, Categorie::TYPE_PROJECT, 1);
311 $typeofdata =
'checkbox:'.($projectstatic->accept_conference_suggestions ?
' checked="checked"' :
'');
312 $htmltext = $langs->trans(
"AllowUnknownPeopleSuggestConfHelp");
313 print
$form->editfieldkey(
'AllowUnknownPeopleSuggestConf',
'accept_conference_suggestions',
'', $projectstatic, 0, $typeofdata,
'', 0, 0,
'projectid', $htmltext);
315 print
$form->editfieldval(
'AllowUnknownPeopleSuggestConf',
'accept_conference_suggestions',
'1', $projectstatic, 0, $typeofdata,
'', 0, 0,
'', 0,
'',
'projectid');
319 $typeofdata =
'checkbox:'.($projectstatic->accept_booth_suggestions ?
' checked="checked"' :
'');
320 $htmltext = $langs->trans(
"AllowUnknownPeopleSuggestBoothHelp");
321 print
$form->editfieldkey(
'AllowUnknownPeopleSuggestBooth',
'accept_booth_suggestions',
'', $projectstatic, 0, $typeofdata,
'', 0, 0,
'projectid', $htmltext);
323 print
$form->editfieldval(
'AllowUnknownPeopleSuggestBooth',
'accept_booth_suggestions',
'1', $projectstatic, 0, $typeofdata,
'', 0, 0,
'', 0,
'',
'projectid');
327 print
$form->editfieldkey(
$form->textwithpicto($langs->trans(
'PriceOfBooth'), $langs->trans(
"PriceOfBoothHelp")),
'price_booth',
'', $projectstatic, 0,
'amount',
'', 0, 0,
'projectid');
329 print
$form->editfieldval(
$form->textwithpicto($langs->trans(
'PriceOfBooth'), $langs->trans(
"PriceOfBoothHelp")),
'price_booth', $projectstatic->price_booth, $projectstatic, 0,
'amount',
'', 0, 0,
'', 0,
'',
'projectid');
333 print
$form->editfieldkey(
$form->textwithpicto($langs->trans(
'PriceOfRegistration'), $langs->trans(
"PriceOfRegistrationHelp")),
'price_registration',
'', $projectstatic, 0,
'amount',
'', 0, 0,
'projectid');
335 print
$form->editfieldval(
$form->textwithpicto($langs->trans(
'PriceOfRegistration'), $langs->trans(
"PriceOfRegistrationHelp")),
'price_registration', $projectstatic->price_registration, $projectstatic, 0,
'amount',
'', 0, 0,
'', 0,
'',
'projectid');
338 print
'<tr><td valign="middle">'.$langs->trans(
"EventOrganizationICSLink").
'</td><td>';
340 $urlwithouturlroot = preg_replace(
'/'.preg_quote(DOL_URL_ROOT,
'/').
'$/i',
'', trim($dolibarr_main_url_root));
341 $urlwithroot = $urlwithouturlroot.DOL_URL_ROOT;
344 $message =
'<a target="_blank" rel="noopener noreferrer" href="'.$urlwithroot.
'/public/agenda/agendaexport.php?format=ical'.($conf->entity > 1 ?
"&entity=".$conf->entity :
"");
345 $message .=
'&exportkey='.urlencode(
getDolGlobalString(
'MAIN_AGENDA_XCAL_EXPORTKEY',
'...'));
346 $message .=
"&project=".$projectstatic->id.
'&module='.urlencode(
'@eventorganization').
'&status='.ConferenceOrBooth::STATUS_CONFIRMED.
'">'.$langs->trans(
'DownloadICSLink').img_picto(
'',
'download',
'class="paddingleft"').
'</a>';
353 print
$form->textwithpicto($langs->trans(
"SuggestOrVoteForConfOrBooth"), $langs->trans(
"EvntOrgRegistrationHelpMessage"));
356 $linksuggest = $dolibarr_main_url_root.
'/public/project/index.php?id='.((int) $projectstatic->id);
357 $encodedsecurekey =
dol_hash(
getDolGlobalString(
'EVENTORGANIZATION_SECUREKEY').
'conferenceorbooth'.((
int) $projectstatic->id),
'md5');
358 $linksuggest .=
'&securekey='.urlencode($encodedsecurekey);
361 print
'<div class="tdoverflowmax200 inline-block valignmiddle"><a target="_blank" href="'.$linksuggest.
'" class="quatrevingtpercent">'.$linksuggest.
'</a></div>';
362 print
'<a target="_blank" rel="noopener noreferrer" href="'.$linksuggest.
'">'.
img_picto(
'',
'globe').
'</a>';
370 print $langs->trans(
"PublicAttendeeSubscriptionGlobalPage");
373 $link_subscription = $dolibarr_main_url_root.
'/public/eventorganization/attendee_new.php?id='.((int) $projectstatic->id).
'&type=global';
374 $encodedsecurekey =
dol_hash(
getDolGlobalString(
'EVENTORGANIZATION_SECUREKEY').
'conferenceorbooth'.((
int) $projectstatic->id),
'md5');
375 $link_subscription .=
'&securekey='.urlencode($encodedsecurekey);
378 print
'<div class="tdoverflowmax200 inline-block valignmiddle"><a target="_blank" href="'.$link_subscription.
'" class="quatrevingtpercent">'.$link_subscription.
'</a></div>';
379 print
'<a target="_blank" rel="noopener noreferrer" rel="noopener noreferrer" href="'.$link_subscription.
'">'.
img_picto(
'',
'globe').
'</a>';
389 print
'<div class="clearboth"></div>';
397 if ($action ==
'create') {
398 print
load_fiche_titre($langs->trans(
"NewObject", $langs->transnoentitiesnoconv(
"ConferenceOrBooth")),
'',
'object_'.$object->picto);
400 print
'<form method="POST" action="'.$_SERVER[
"PHP_SELF"].
'">';
401 print
'<input type="hidden" name="token" value="'.newToken().
'">';
402 print
'<input type="hidden" name="action" value="add">';
404 print
'<input type="hidden" name="backtopage" value="'.$backtopage.
'">';
406 if ($backtopageforcancel) {
407 print
'<input type="hidden" name="backtopageforcancel" value="'.$backtopageforcancel.
'">';
412 print
'<table class="border centpercent tableforfieldcreate">'.
"\n";
415 include DOL_DOCUMENT_ROOT.
'/core/tpl/commonfields_add.tpl.php';
418 include DOL_DOCUMENT_ROOT.
'/core/tpl/extrafields_add.tpl.php';
420 print
'</table>'.
"\n";
424 print
$form->buttonsSaveCancel(
"Create");
432 if (($id || $ref) && $action ==
'edit') {
433 print
load_fiche_titre($langs->trans(
"ConferenceOrBooth"),
'',
'object_'.$object->picto);
435 print
'<form method="POST" action="'.$_SERVER[
"PHP_SELF"].
'">';
436 print
'<input type="hidden" name="token" value="'.newToken().
'">';
437 if (!empty($withProjectUrl)) {
438 print
'<input type="hidden" name="withproject" value="1">';
440 print
'<input type="hidden" name="action" value="update">';
441 print
'<input type="hidden" name="id" value="'.$object->id.
'">';
443 print
'<input type="hidden" name="backtopage" value="'.$backtopage.
'">';
445 if ($backtopageforcancel) {
446 print
'<input type="hidden" name="backtopageforcancel" value="'.$backtopageforcancel.
'">';
451 print
'<table class="border centpercent tableforfieldedit">'.
"\n";
454 include DOL_DOCUMENT_ROOT.
'/core/tpl/commonfields_edit.tpl.php';
457 include DOL_DOCUMENT_ROOT.
'/core/tpl/extrafields_edit.tpl.php';
463 print
$form->buttonsSaveCancel();
469 if ($object->id > 0 && (empty($action) || ($action !=
'edit' && $action !=
'create'))) {
470 $res = $object->fetch_optionals();
474 print
dol_get_fiche_head($head,
'card', $langs->trans(
"ConferenceOrBooth"), -1, $object->picto);
479 if ($action ==
'delete') {
480 $formconfirm =
$form->formconfirm($_SERVER[
"PHP_SELF"].
'?id='.$object->id.$withProjectUrl, $langs->trans(
'DeleteConferenceOrBooth'), $langs->trans(
'ConfirmDeleteObject'),
'confirm_delete',
'', 0, 1);
483 if ($action ==
'clone') {
485 $formquestion = array();
486 $formconfirm =
$form->formconfirm($_SERVER[
"PHP_SELF"].
'?id='.$object->id.$withProjectUrl, $langs->trans(
'ToClone'), $langs->trans(
'ConfirmCloneAsk', $object->ref),
'confirm_clone', $formquestion,
'yes', 1);
491 if ($action ==
'xxx') {
492 $formquestion = array();
503 $formconfirm =
$form->formconfirm($_SERVER[
"PHP_SELF"].
'?id='.$object->id, $langs->trans(
'XXX'), $text,
'confirm_xxx', $formquestion, 0, 1, 220);
508 $reshook = $hookmanager->executeHooks(
'formConfirm', $parameters, $object, $action);
509 if (empty($reshook)) {
511 } elseif ($reshook > 0) {
520 $linkback =
'<a href="'.dol_buildpath(
'/eventorganization/conferenceorbooth_list.php', 1).
'?projectid='.$object->fk_project.$withProjectUrl.
'">'.$langs->trans(
"BackToList").
'</a>';
522 $morehtmlref =
'<div class="refidno">';
523 $morehtmlref .=
'</div>';
526 dol_banner_tab($object,
'ref', $linkback, 1,
'ref',
'ref', $morehtmlref);
528 print
'<div class="fichecenter">';
529 print
'<div class="fichehalfleft">';
530 print
'<div class="underbanner clearboth"></div>';
531 print
'<table class="border centpercent tableforfield">'.
"\n";
537 $keyforbreak=
'num_vote';
539 include DOL_DOCUMENT_ROOT.
'/core/tpl/commonfields_view.tpl.php';
543 include DOL_DOCUMENT_ROOT.
'/core/tpl/extrafields_view.tpl.php';
549 print
'<div class="clearboth"></div>';
555 if ($action !=
'presend' && $action !=
'editline') {
556 print
'<div class="tabsAction">'.
"\n";
557 $parameters = array();
558 $reshook = $hookmanager->executeHooks(
'addMoreActionsButtons', $parameters, $object, $action);
563 if (empty($reshook)) {
565 if (empty($user->socid)) {
566 print
dolGetButtonAction($langs->trans(
'SendMail'),
'',
'default', $_SERVER[
"PHP_SELF"].
'?id='.$object->id.$withProjectUrl.
'&action=presend&token='.
newToken().
'&mode=init#formmailbeforetitle');
569 print
dolGetButtonAction($langs->trans(
'Modify'),
'',
'default', $_SERVER[
"PHP_SELF"].
'?id='.$object->id.$withProjectUrl.
'&action=edit&token='.
newToken().
'',
'', $permissiontoadd);
572 print
dolGetButtonAction($langs->trans(
'ToClone'),
'',
'default', $_SERVER[
'PHP_SELF'].
'?id='.$object->id.$withProjectUrl.
'&socid='.$object->socid.
'&action=clone&token='.
newToken().
'&object=scrumsprint',
'', $permissiontoadd);
575 print
dolGetButtonAction($langs->trans(
'Delete'),
'',
'delete', $_SERVER[
'PHP_SELF'].
'?id='.$object->id.$withProjectUrl.
'&action=delete&token='.
newToken().
'',
'', $permissiontodelete || ($object->status == $object::STATUS_DRAFT && $permissiontoadd));
582 if (
GETPOST(
'modelselected')) {
586 if ($action !=
'presend') {
587 print
'<div class="fichecenter"><div class="fichehalfleft">';
588 print
'<a name="builddoc"></a>';
590 $includedocgeneration = 1;
593 if ($includedocgeneration) {
595 $relativepath = $objref.
'/'.$objref.
'.pdf';
596 $filedir = $conf->eventorganization->dir_output.
'/'.$object->element.
'/'.$objref;
597 $urlsource = $_SERVER[
"PHP_SELF"].
"?id=".$object->id;
598 $genallowed = $user->rights->eventorganization->read;
599 $delallowed = $user->rights->eventorganization->write;
600 print $formfile->showdocuments(
'eventorganization', $object->element.
'/'.$objref, $filedir, $urlsource, 0, $delallowed, $object->model_pdf, 0, 0, 0, 28, 0,
'',
'',
'', $langs->defaultlang);
607 $object->fetchObjectLinked();
609 if (is_array($object->linkedObjects) && count($object->linkedObjects)>0 && array_key_exists(
"facture", $object->linkedObjects)) {
610 foreach ($object->linkedObjects[
"facture"] as $fac) {
611 if (empty($fac->paye)) {
612 $key =
'paymentlink_'.$fac->id;
614 print
img_picto(
'',
'globe').
' <span class="opacitymedium">'.$langs->trans(
"ToOfferALinkForOnlinePayment", $langs->transnoentitiesnoconv(
'Online')) .
' '. $fac->ref.
'</span><br>';
616 $sourcetouse =
'boothlocation';
617 $reftouse = $fac->id;
619 $url = getOnlinePaymentUrl(0, $sourcetouse, $reftouse);
620 $url .=
'&booth='.$object->id;
622 print
'<div class="urllink"><input type="text" id="onlinepaymenturl" class="quatrevingtpercent" value="'.$url.
'">';
623 print
'<a href="'.$url.
'" target="_blank" rel="noopener noreferrer">'.
img_picto(
'',
'globe',
'class="paddingleft"').
'</a></div>';
628 print
'</div><div class="fichehalfright">';
629 print
'</div></div>';
633 if (
GETPOST(
'modelselected')) {
638 $modelmail =
'conferenceorbooth';
639 $defaulttopic =
'InformationMessage';
640 $diroutput = $conf->eventorganization->dir_output;
641 $trackid =
'conferenceorbooth'.$object->id;
643 include DOL_DOCUMENT_ROOT.
'/core/tpl/card_presend.tpl.php';