Editeur Editez un fichier

Edition d'un fichier

Editez le fichier applications/nuasix/marketplace-single.php
<?php
include("scripts/Master.php");
//_________________________________________________________________________________
//Récupère les applications du Master
$reqMasterApplication                       = master_getQueries("nx_applications", array('idApplication' => encrypt_decrypt("decrypt", rawurldecode($_GET['element']), $key_user, $iv_user)));
if(!$reqMasterApplication['count'])
redirect("index.php?page_slug=marketplace");
$masterApplication                          = $reqMasterApplication['result'][0];
$reqApplication                             = getQueries("nx_applications", array('idApplication' => $masterApplication['idApplication']));
//_________________________________________________________________________________
//_________________________________________________________________________________
//CALCULS DES DONNEES
$reqRoles                                   = master_getQueries("nx_roles", array("application_id" => $masterApplication['idApplication']));
$reqPermissions                             = master_getQueries("nx_permissions", array("application_id" => $masterApplication['idApplication']));
$reqRolesPermissions                        = master_getQueries("nx_roles_as_permissions LEFT JOIN nx_roles ON nx_roles_as_permissions.role_id = nx_roles.idRole", array("nx_roles.application_id" => $masterApplication['idApplication']));
$reqCommandsPermissions                     = master_getQueries("api_commands_permissions LEFT JOIN api_commands ON api_commands_permissions.command_id = api_commands.idCommand", array("api_commands.application_id" => $masterApplication['idApplication']));

$reqPages                                   = master_getQueries("nx_pages", array("application_id" => $masterApplication['idApplication']));
$reqResources                               = master_getQueries("nx_resources", array("application_id" => $masterApplication['idApplication']));
$reqFeatures                                = master_getQueries("nx_features", array("application_id" => $masterApplication['idApplication']));
$reqMenus                                   = master_getQueries("nx_menus", array("application_id" => $masterApplication['idApplication']));

$reqIcons                                   = master_getQueries("nx_icons", array("application_id" => $masterApplication['idApplication']));
$reqTemplates                               = master_getQueries("nx_templates", array("application_id" => $masterApplication['idApplication']));
$reqForms                                   = master_getQueries("api_forms", array("application_id" => $masterApplication['idApplication']));
$reqFields                                  = master_getQueries("api_fields LEFT JOIN api_forms ON  api_fields.form_id = api_forms.idForm", array("api_forms.application_id" => $masterApplication['idApplication']));

$reqTables                                  = master_getQueries("api_infos_tables", array("application_id" => $masterApplication['idApplication']));
$reqCommands                                = master_getQueries("api_commands", array("application_id" => $masterApplication['idApplication']));
$reqFunctions                               = master_getQueries("api_info_functions", array("application_id" => $masterApplication['idApplication']));
$reqKeys                                    = master_getQueries("api_tokens", array("application_id" => $masterApplication['idApplication']));
//_________________________________________________________________________________
?>
                    <!--begin::Content-->
					<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
						<!--begin::Container-->
						<div class="container-xxl" id="kt_content_container">
							<!--begin::Layout-->
							<div class="d-flex flex-column flex-lg-row">
								<!--begin::Content-->
								<div class="flex-lg-row-fluid me-lg-15 order-2 order-lg-1 mb-10 mb-lg-0">
									<!--begin::Card-->
									<div class="card card-flush pt-3 mb-5 mb-xl-10">
										<!--begin::Card header-->
										<div class="card-header">
											<!--begin::Card title-->
											<div class="card-title">
												<h2 class="fw-bolder">Données de l'application</h2>
											</div>
											<!--begin::Card title-->
										</div>
										<!--end::Card header-->
										<!--begin::Card body-->
										<div class="card-body pt-3">
											<!--begin::Section-->
											<div class="mb-10">
												<!--begin::Title-->
												<h5 class="mb-4">Editeur:</h5>
												<!--end::Title-->
												<!--begin::Details-->
												<div class="d-flex flex-wrap py-5">
													<!--begin::Row-->
													<div class="flex-equal me-5">
														<!--begin::Details-->
														<table class="table fs-6 fw-bold gs-0 gy-2 gx-2 m-0">
															<!--begin::Row-->
															<tr>
																<td class="text-gray-400">Société:</td>
																<td class="text-gray-800">Perenne Sàrl</td>
															</tr>
															<!--end::Row-->
															<!--begin::Row-->
															<tr>
																<td class="text-gray-400 min-w-175px w-175px">Email:</td>
																<td class="text-gray-800 min-w-200px">
																	<a href="mailto:info@perenne.ch" class="text-gray-800 text-hover-primary">info@perenne.ch</a>
																</td>
															</tr>
															<!--end::Row-->
															<!--begin::Row-->
															<tr>
																<td class="text-gray-400">Adresse:</td>
																<td class="text-gray-800">Floor 10, 101 Avenue of the Light Square, New York, NY, 10050.</td>
															</tr>
															<!--end::Row-->
															<!--begin::Row-->
															<tr>
																<td class="text-gray-400">Pays:</td>
																<td class="text-gray-800">Suisse</td>
															</tr>
															<!--end::Row-->
														</table>
														<!--end::Details-->
													</div>
													<!--end::Row-->
													<!--begin::Row-->
													<div class="flex-equal">
														<!--begin::Details-->
														<table class="table fs-6 fw-bold gs-0 gy-2 gx-2 m-0">
															<!--begin::Row-->
															<tr>
																<td class="text-gray-400 min-w-175px w-175px">Nombre d'installation:</td>
																<td class="text-gray-800 min-w-200px">
																	<a href="#" class="text-gray-800 text-hover-primary">34</a>
																</td>
															</tr>
															<!--end::Row-->
															<!--begin::Row-->
															<tr>
																<td class="text-gray-400">Nombre d'application développée:</td>
																<td class="text-gray-800">7</td>
															</tr>
															<!--end::Row-->
															<!--begin::Row-->
															<tr>
																<td class="text-gray-400">Système de licence:</td>
																<td class="text-gray-800">Annuel</td>
															</tr>
															<!--end::Row-->
														</table>
														<!--end::Details-->
													</div>
													<!--end::Row-->
												</div>
												<!--end::Row-->
											</div>
											<!--end::Section-->
										</div>
										<!--end::Card body-->
									</div>
									<!--end::Card-->
									<!--begin::Row-->
                                    <div class="row g-5 g-xl-8">
                                        <!--begin::Col-->
                                        <div class="col-xl-6">
                                            <!--begin::Mixed Widget 14-->
                                            <div class="card card-xxl-stretch mb-5 mb-xl-8" style="background-color: #F7D9E3">
                                                <!--begin::Body-->
                                                <div class="card-body d-flex flex-column">
                                                    <!--begin::Wrapper-->
                                                    <div class="d-flex flex-column mb-7">
                                                        <!--begin::Title-->
                                                        <a href="#" class="text-dark text-hover-primary fw-bolder fs-3">Utilisateurs</a>
                                                        <!--end::Title-->
                                                    </div>
                                                    <!--end::Wrapper-->
                                                    <!--begin::Row-->
                                                    <div class="row g-0">
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center mb-9 me-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs043.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path opacity="0.3" d="M22 8H8L12 4H19C19.6 4 20.2 4.39999 20.5 4.89999L22 8ZM3.5 19.1C3.8 19.7 4.4 20 5 20H12L16 16H2L3.5 19.1ZM19.1 20.5C19.7 20.2 20 19.6 20 19V12L16 8V22L19.1 20.5ZM4.9 3.5C4.3 3.8 4 4.4 4 5V12L8 16V2L4.9 3.5Z" fill="currentColor" />
                                                                                <path d="M22 8L20 12L16 8H22ZM8 16L4 12L2 16H8ZM16 16L12 20L16 22V16ZM8 8L12 4L8 2V8Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqRoles['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Rôle<?= ( ($reqRoles['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center mb-9 ms-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs046.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path d="M8 22C7.4 22 7 21.6 7 21V9C7 8.4 7.4 8 8 8C8.6 8 9 8.4 9 9V21C9 21.6 8.6 22 8 22Z" fill="currentColor" />
                                                                                <path opacity="0.3" d="M4 15C3.4 15 3 14.6 3 14V6C3 5.4 3.4 5 4 5C4.6 5 5 5.4 5 6V14C5 14.6 4.6 15 4 15ZM13 19V3C13 2.4 12.6 2 12 2C11.4 2 11 2.4 11 3V19C11 19.6 11.4 20 12 20C12.6 20 13 19.6 13 19ZM17 16V5C17 4.4 16.6 4 16 4C15.4 4 15 4.4 15 5V16C15 16.6 15.4 17 16 17C16.6 17 17 16.6 17 16ZM21 18V10C21 9.4 20.6 9 20 9C19.4 9 19 9.4 19 10V18C19 18.6 19.4 19 20 19C20.6 19 21 18.6 21 18Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqPermissions['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Permission<?= ( ($reqPermissions['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center me-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs022.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path opacity="0.3" d="M11.425 7.325C12.925 5.825 15.225 5.825 16.725 7.325C18.225 8.825 18.225 11.125 16.725 12.625C15.225 14.125 12.925 14.125 11.425 12.625C9.92501 11.225 9.92501 8.825 11.425 7.325ZM8.42501 4.325C5.32501 7.425 5.32501 12.525 8.42501 15.625C11.525 18.725 16.625 18.725 19.725 15.625C22.825 12.525 22.825 7.425 19.725 4.325C16.525 1.225 11.525 1.225 8.42501 4.325Z" fill="currentColor" />
                                                                                <path d="M11.325 17.525C10.025 18.025 8.425 17.725 7.325 16.725C5.825 15.225 5.825 12.925 7.325 11.425C8.825 9.92498 11.125 9.92498 12.625 11.425C13.225 12.025 13.625 12.925 13.725 13.725C14.825 13.825 15.925 13.525 16.725 12.625C17.125 12.225 17.425 11.825 17.525 11.325C17.125 10.225 16.525 9.22498 15.625 8.42498C12.525 5.32498 7.425 5.32498 4.325 8.42498C1.225 11.525 1.225 16.625 4.325 19.725C7.425 22.825 12.525 22.825 15.625 19.725C16.325 19.025 16.925 18.225 17.225 17.325C15.425 18.125 13.225 18.225 11.325 17.525Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqRolesPermissions['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Association<?= ( ($reqRolesPermissions['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center ms-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs045.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path d="M2 11.7127L10 14.1127L22 11.7127L14 9.31274L2 11.7127Z" fill="currentColor" />
                                                                                <path opacity="0.3" d="M20.9 7.91274L2 11.7127V6.81275C2 6.11275 2.50001 5.61274 3.10001 5.51274L20.6 2.01274C21.3 1.91274 22 2.41273 22 3.11273V6.61273C22 7.21273 21.5 7.81274 20.9 7.91274ZM22 16.6127V11.7127L3.10001 15.5127C2.50001 15.6127 2 16.2127 2 16.8127V20.3127C2 21.0127 2.69999 21.6128 3.39999 21.4128L20.9 17.9128C21.5 17.8128 22 17.2127 22 16.6127Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqCommandsPermissions['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Permission<?= ( ($reqCommandsPermissions['count'] > 1) ? "s" : "" ) ?> aux commandes</div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                    </div>
                                                    <!--end::Row-->
                                                </div>
                                            </div>
                                            <!--end::Mixed Widget 14-->
                                        </div>
                                        <!--end::Col-->
                                        <!--begin::Col-->
                                        <div class="col-xl-6">
                                            <!--begin::Mixed Widget 14-->
                                            <div class="card card-xxl-stretch mb-5 mb-xl-8" style="background-color: #CBF0F4">
                                                <!--begin::Body-->
                                                <div class="card-body d-flex flex-column">
                                                    <!--begin::Wrapper-->
                                                    <div class="d-flex flex-column mb-7">
                                                        <!--begin::Title-->
                                                        <a href="#" class="text-dark text-hover-primary fw-bolder fs-3">Pages</a>
                                                        <!--end::Title-->
                                                    </div>
                                                    <!--end::Wrapper-->
                                                    <!--begin::Row-->
                                                    <div class="row g-0">
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center mb-9 me-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs043.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path opacity="0.3" d="M22 8H8L12 4H19C19.6 4 20.2 4.39999 20.5 4.89999L22 8ZM3.5 19.1C3.8 19.7 4.4 20 5 20H12L16 16H2L3.5 19.1ZM19.1 20.5C19.7 20.2 20 19.6 20 19V12L16 8V22L19.1 20.5ZM4.9 3.5C4.3 3.8 4 4.4 4 5V12L8 16V2L4.9 3.5Z" fill="currentColor" />
                                                                                <path d="M22 8L20 12L16 8H22ZM8 16L4 12L2 16H8ZM16 16L12 20L16 22V16ZM8 8L12 4L8 2V8Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqPages['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Page<?= ( ($reqPages['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center mb-9 ms-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs046.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path d="M8 22C7.4 22 7 21.6 7 21V9C7 8.4 7.4 8 8 8C8.6 8 9 8.4 9 9V21C9 21.6 8.6 22 8 22Z" fill="currentColor" />
                                                                                <path opacity="0.3" d="M4 15C3.4 15 3 14.6 3 14V6C3 5.4 3.4 5 4 5C4.6 5 5 5.4 5 6V14C5 14.6 4.6 15 4 15ZM13 19V3C13 2.4 12.6 2 12 2C11.4 2 11 2.4 11 3V19C11 19.6 11.4 20 12 20C12.6 20 13 19.6 13 19ZM17 16V5C17 4.4 16.6 4 16 4C15.4 4 15 4.4 15 5V16C15 16.6 15.4 17 16 17C16.6 17 17 16.6 17 16ZM21 18V10C21 9.4 20.6 9 20 9C19.4 9 19 9.4 19 10V18C19 18.6 19.4 19 20 19C20.6 19 21 18.6 21 18Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqMenus['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Menu<?= ( ($reqMenus['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center me-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs022.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path opacity="0.3" d="M11.425 7.325C12.925 5.825 15.225 5.825 16.725 7.325C18.225 8.825 18.225 11.125 16.725 12.625C15.225 14.125 12.925 14.125 11.425 12.625C9.92501 11.225 9.92501 8.825 11.425 7.325ZM8.42501 4.325C5.32501 7.425 5.32501 12.525 8.42501 15.625C11.525 18.725 16.625 18.725 19.725 15.625C22.825 12.525 22.825 7.425 19.725 4.325C16.525 1.225 11.525 1.225 8.42501 4.325Z" fill="currentColor" />
                                                                                <path d="M11.325 17.525C10.025 18.025 8.425 17.725 7.325 16.725C5.825 15.225 5.825 12.925 7.325 11.425C8.825 9.92498 11.125 9.92498 12.625 11.425C13.225 12.025 13.625 12.925 13.725 13.725C14.825 13.825 15.925 13.525 16.725 12.625C17.125 12.225 17.425 11.825 17.525 11.325C17.125 10.225 16.525 9.22498 15.625 8.42498C12.525 5.32498 7.425 5.32498 4.325 8.42498C1.225 11.525 1.225 16.625 4.325 19.725C7.425 22.825 12.525 22.825 15.625 19.725C16.325 19.025 16.925 18.225 17.225 17.325C15.425 18.125 13.225 18.225 11.325 17.525Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqResources['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Ressource<?= ( ($reqResources['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center ms-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs045.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path d="M2 11.7127L10 14.1127L22 11.7127L14 9.31274L2 11.7127Z" fill="currentColor" />
                                                                                <path opacity="0.3" d="M20.9 7.91274L2 11.7127V6.81275C2 6.11275 2.50001 5.61274 3.10001 5.51274L20.6 2.01274C21.3 1.91274 22 2.41273 22 3.11273V6.61273C22 7.21273 21.5 7.81274 20.9 7.91274ZM22 16.6127V11.7127L3.10001 15.5127C2.50001 15.6127 2 16.2127 2 16.8127V20.3127C2 21.0127 2.69999 21.6128 3.39999 21.4128L20.9 17.9128C21.5 17.8128 22 17.2127 22 16.6127Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqFeatures['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Fonctionnalité<?= ( ($reqFeatures['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                    </div>
                                                    <!--end::Row-->
                                                </div>
                                            </div>
                                            <!--end::Mixed Widget 14-->
                                        </div>
                                        <!--end::Col-->
                                    </div>
                                    <!--end::Row-->
                                    <!--begin::Row-->
                                    <div class="row g-5 g-xl-8">
                                        <!--begin::Col-->
                                        <div class="col-xl-6">
                                            <!--begin::Mixed Widget 14-->
                                            <div class="card card-xxl-stretch mb-5 mb-xl-8" style="background-color: #CBF0F4">
                                                <!--begin::Body-->
                                                <div class="card-body d-flex flex-column">
                                                    <!--begin::Wrapper-->
                                                    <div class="d-flex flex-column mb-7">
                                                        <!--begin::Title-->
                                                        <a href="#" class="text-dark text-hover-primary fw-bolder fs-3">Visuels</a>
                                                        <!--end::Title-->
                                                    </div>
                                                    <!--end::Wrapper-->
                                                    <!--begin::Row-->
                                                    <div class="row g-0">
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center mb-9 me-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs043.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path opacity="0.3" d="M22 8H8L12 4H19C19.6 4 20.2 4.39999 20.5 4.89999L22 8ZM3.5 19.1C3.8 19.7 4.4 20 5 20H12L16 16H2L3.5 19.1ZM19.1 20.5C19.7 20.2 20 19.6 20 19V12L16 8V22L19.1 20.5ZM4.9 3.5C4.3 3.8 4 4.4 4 5V12L8 16V2L4.9 3.5Z" fill="currentColor" />
                                                                                <path d="M22 8L20 12L16 8H22ZM8 16L4 12L2 16H8ZM16 16L12 20L16 22V16ZM8 8L12 4L8 2V8Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqIcons['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Icône<?= ( ($reqIcons['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center mb-9 ms-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs046.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path d="M8 22C7.4 22 7 21.6 7 21V9C7 8.4 7.4 8 8 8C8.6 8 9 8.4 9 9V21C9 21.6 8.6 22 8 22Z" fill="currentColor" />
                                                                                <path opacity="0.3" d="M4 15C3.4 15 3 14.6 3 14V6C3 5.4 3.4 5 4 5C4.6 5 5 5.4 5 6V14C5 14.6 4.6 15 4 15ZM13 19V3C13 2.4 12.6 2 12 2C11.4 2 11 2.4 11 3V19C11 19.6 11.4 20 12 20C12.6 20 13 19.6 13 19ZM17 16V5C17 4.4 16.6 4 16 4C15.4 4 15 4.4 15 5V16C15 16.6 15.4 17 16 17C16.6 17 17 16.6 17 16ZM21 18V10C21 9.4 20.6 9 20 9C19.4 9 19 9.4 19 10V18C19 18.6 19.4 19 20 19C20.6 19 21 18.6 21 18Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqTemplates['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Modèle<?= ( ($reqTemplates['count'] > 1) ? "s" : "" ) ?> d'email</div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center me-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs022.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path opacity="0.3" d="M11.425 7.325C12.925 5.825 15.225 5.825 16.725 7.325C18.225 8.825 18.225 11.125 16.725 12.625C15.225 14.125 12.925 14.125 11.425 12.625C9.92501 11.225 9.92501 8.825 11.425 7.325ZM8.42501 4.325C5.32501 7.425 5.32501 12.525 8.42501 15.625C11.525 18.725 16.625 18.725 19.725 15.625C22.825 12.525 22.825 7.425 19.725 4.325C16.525 1.225 11.525 1.225 8.42501 4.325Z" fill="currentColor" />
                                                                                <path d="M11.325 17.525C10.025 18.025 8.425 17.725 7.325 16.725C5.825 15.225 5.825 12.925 7.325 11.425C8.825 9.92498 11.125 9.92498 12.625 11.425C13.225 12.025 13.625 12.925 13.725 13.725C14.825 13.825 15.925 13.525 16.725 12.625C17.125 12.225 17.425 11.825 17.525 11.325C17.125 10.225 16.525 9.22498 15.625 8.42498C12.525 5.32498 7.425 5.32498 4.325 8.42498C1.225 11.525 1.225 16.625 4.325 19.725C7.425 22.825 12.525 22.825 15.625 19.725C16.325 19.025 16.925 18.225 17.225 17.325C15.425 18.125 13.225 18.225 11.325 17.525Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqForms['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Formulaire<?= ( ($reqForms['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center ms-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs045.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path d="M2 11.7127L10 14.1127L22 11.7127L14 9.31274L2 11.7127Z" fill="currentColor" />
                                                                                <path opacity="0.3" d="M20.9 7.91274L2 11.7127V6.81275C2 6.11275 2.50001 5.61274 3.10001 5.51274L20.6 2.01274C21.3 1.91274 22 2.41273 22 3.11273V6.61273C22 7.21273 21.5 7.81274 20.9 7.91274ZM22 16.6127V11.7127L3.10001 15.5127C2.50001 15.6127 2 16.2127 2 16.8127V20.3127C2 21.0127 2.69999 21.6128 3.39999 21.4128L20.9 17.9128C21.5 17.8128 22 17.2127 22 16.6127Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqFields['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Champ<?= ( ($reqFields['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                    </div>
                                                    <!--end::Row-->
                                                </div>
                                            </div>
                                            <!--end::Mixed Widget 14-->
                                        </div>
                                        <!--end::Col-->
                                        <!--begin::Col-->
                                        <div class="col-xl-6">
                                            <!--begin::Mixed Widget 14-->
                                            <div class="card card-xxl-stretch mb-5 mb-xl-8" style="background-color: #F7D9E3">
                                                <!--begin::Body-->
                                                <div class="card-body d-flex flex-column">
                                                    <!--begin::Wrapper-->
                                                    <div class="d-flex flex-column mb-7">
                                                        <!--begin::Title-->
                                                        <a href="#" class="text-dark text-hover-primary fw-bolder fs-3">API</a>
                                                        <!--end::Title-->
                                                    </div>
                                                    <!--end::Wrapper-->
                                                    <!--begin::Row-->
                                                    <div class="row g-0">
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center mb-9 me-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs043.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path opacity="0.3" d="M22 8H8L12 4H19C19.6 4 20.2 4.39999 20.5 4.89999L22 8ZM3.5 19.1C3.8 19.7 4.4 20 5 20H12L16 16H2L3.5 19.1ZM19.1 20.5C19.7 20.2 20 19.6 20 19V12L16 8V22L19.1 20.5ZM4.9 3.5C4.3 3.8 4 4.4 4 5V12L8 16V2L4.9 3.5Z" fill="currentColor" />
                                                                                <path d="M22 8L20 12L16 8H22ZM8 16L4 12L2 16H8ZM16 16L12 20L16 22V16ZM8 8L12 4L8 2V8Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqTables['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Table<?= ( ($reqTables['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center mb-9 ms-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs046.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path d="M8 22C7.4 22 7 21.6 7 21V9C7 8.4 7.4 8 8 8C8.6 8 9 8.4 9 9V21C9 21.6 8.6 22 8 22Z" fill="currentColor" />
                                                                                <path opacity="0.3" d="M4 15C3.4 15 3 14.6 3 14V6C3 5.4 3.4 5 4 5C4.6 5 5 5.4 5 6V14C5 14.6 4.6 15 4 15ZM13 19V3C13 2.4 12.6 2 12 2C11.4 2 11 2.4 11 3V19C11 19.6 11.4 20 12 20C12.6 20 13 19.6 13 19ZM17 16V5C17 4.4 16.6 4 16 4C15.4 4 15 4.4 15 5V16C15 16.6 15.4 17 16 17C16.6 17 17 16.6 17 16ZM21 18V10C21 9.4 20.6 9 20 9C19.4 9 19 9.4 19 10V18C19 18.6 19.4 19 20 19C20.6 19 21 18.6 21 18Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqCommands['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Commande<?= ( ($reqCommands['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center me-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs022.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path opacity="0.3" d="M11.425 7.325C12.925 5.825 15.225 5.825 16.725 7.325C18.225 8.825 18.225 11.125 16.725 12.625C15.225 14.125 12.925 14.125 11.425 12.625C9.92501 11.225 9.92501 8.825 11.425 7.325ZM8.42501 4.325C5.32501 7.425 5.32501 12.525 8.42501 15.625C11.525 18.725 16.625 18.725 19.725 15.625C22.825 12.525 22.825 7.425 19.725 4.325C16.525 1.225 11.525 1.225 8.42501 4.325Z" fill="currentColor" />
                                                                                <path d="M11.325 17.525C10.025 18.025 8.425 17.725 7.325 16.725C5.825 15.225 5.825 12.925 7.325 11.425C8.825 9.92498 11.125 9.92498 12.625 11.425C13.225 12.025 13.625 12.925 13.725 13.725C14.825 13.825 15.925 13.525 16.725 12.625C17.125 12.225 17.425 11.825 17.525 11.325C17.125 10.225 16.525 9.22498 15.625 8.42498C12.525 5.32498 7.425 5.32498 4.325 8.42498C1.225 11.525 1.225 16.625 4.325 19.725C7.425 22.825 12.525 22.825 15.625 19.725C16.325 19.025 16.925 18.225 17.225 17.325C15.425 18.125 13.225 18.225 11.325 17.525Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqFunctions['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Fonction<?= ( ($reqFunctions['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                        <!--begin::Col-->
                                                        <div class="col-6">
                                                            <div class="d-flex align-items-center ms-2">
                                                                <!--begin::Symbol-->
                                                                <div class="symbol symbol-40px me-3">
                                                                    <div class="symbol-label bg-white bg-opacity-50">
                                                                        <!--begin::Svg Icon | path: icons/duotune/abstract/abs045.svg-->
                                                                        <span class="svg-icon svg-icon-1 svg-icon-dark">
                                                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                                <path d="M2 11.7127L10 14.1127L22 11.7127L14 9.31274L2 11.7127Z" fill="currentColor" />
                                                                                <path opacity="0.3" d="M20.9 7.91274L2 11.7127V6.81275C2 6.11275 2.50001 5.61274 3.10001 5.51274L20.6 2.01274C21.3 1.91274 22 2.41273 22 3.11273V6.61273C22 7.21273 21.5 7.81274 20.9 7.91274ZM22 16.6127V11.7127L3.10001 15.5127C2.50001 15.6127 2 16.2127 2 16.8127V20.3127C2 21.0127 2.69999 21.6128 3.39999 21.4128L20.9 17.9128C21.5 17.8128 22 17.2127 22 16.6127Z" fill="currentColor" />
                                                                            </svg>
                                                                        </span>
                                                                        <!--end::Svg Icon-->
                                                                    </div>
                                                                </div>
                                                                <!--end::Symbol-->
                                                                <!--begin::Title-->
                                                                <div>
                                                                    <div class="fs-5 text-dark fw-bolder lh-1"><?= $reqKeys['count']?></div>
                                                                    <div class="fs-7 text-gray-600 fw-bold">Clé<?= ( ($reqKeys['count'] > 1) ? "s" : "" ) ?></div>
                                                                </div>
                                                                <!--end::Title-->
                                                            </div>
                                                        </div>
                                                        <!--end::Col-->
                                                    </div>
                                                    <!--end::Row-->
                                                </div>
                                            </div>
                                            <!--end::Mixed Widget 14-->
                                        </div>
                                        <!--end::Col-->
                                    </div>
                                    <!--end::Row-->
                                    <!--begin::Card-->
                                    <div class="card card-docs flex-row-fluid mb-5">
                                        <!--begin::Card Body-->
                                        <div class="card-body fs-6 py-15 px-10 py-lg-15 px-lg-15 text-gray-700">
                                            <!--begin::Card-->
                                            <!--begin::Section-->
                                            <div class="p-0">
                                                <!--begin::Heading-->
                                                <h1 class="anchor fw-bolder mb-5" id="overview">Pré-requis</h1>
                                                <!--end::Heading-->
                                                <!--begin::Block-->
                                                <div class="py-5">Les éléments ci-dessous sont obligatoires pour l'installation de cette application:</div>
                                                <!--begin::Table-->
                                                <div class="py-5">
                                                    <div class="table-responsive border rounded">
                                                        <table class="table table-striped table-flush align-middle mb-0">
                                                            <!--begin::Block-->
                                                            <thead>
                                                                <tr class="fs-4 fw-bolder text-dark p-6">
                                                                    <th class="min-w-200px">Nom</th>
                                                                    <th class="min-w-200px">Lien</th>
                                                                    <th class="min-w-100px">Version</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody>
                                                                <tr class="p-6">
                                                                    <td>
                                                                        <code>Abonnement Nuasix Premium</code>
                                                                    </td>
                                                                    <td>
                                                                        <a href="https://nuasix.ch/licences" target="_blank">https://nuasix.ch/licences</a>
                                                                    </td>
                                                                    <td>v14.16.0</td>
                                                                </tr>
                                                                <tr class="p-6">
                                                                    <td>
                                                                        <code>Entext</code>
                                                                    </td>
                                                                    <td>
                                                                        <a href="index.php?page_slug=marketplace" target="_blank">index.php?page_slug=marketplace</a>
                                                                    </td>
                                                                    <td>v4.0.2</td>
                                                                </tr>
                                                            </tbody>
                                                            <!--end::Block-->
                                                        </table>
                                                    </div>
                                                </div>
                                                <!--end::Table-->
                                            </div>
                                            <!--end::Section-->
                                        </div>
                                        <!--end::Card Body-->
                                    </div>
                                    <!--end::Card-->
                                    <!--begin::Card-->
                                    <div class="card card-docs flex-row-fluid mb-2">
                                        <!--begin::Card Body-->
                                        <div class="card-body fs-6 py-15 px-10 py-lg-15 px-lg-15 text-gray-700">
                                            <!--begin::Changelog-->
                                            <div class="accordion accordion-flush accordion-icon-toggle" id="kt_accordion">
                                                <!--begin::Item-->
                                                <div class="accordion-item mb-5">
                                                    <!--begin::Header-->
                                                    <div class="accordion-header py-3 d-flex" data-bs-toggle="collapse" data-bs-target="#kt_accordion_body_v8_0_38">
                                                        <span class="accordion-icon">
                                                            <!--begin::Svg Icon | path: icons/duotune/arrows/arr064.svg-->
                                                            <span class="svg-icon svg-icon-3">
                                                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                    <rect opacity="0.5" x="18" y="13" width="13" height="2" rx="1" transform="rotate(-180 18 13)" fill="currentColor" />
                                                                    <path d="M15.4343 12.5657L11.25 16.75C10.8358 17.1642 10.8358 17.8358 11.25 18.25C11.6642 18.6642 12.3358 18.6642 12.75 18.25L18.2929 12.7071C18.6834 12.3166 18.6834 11.6834 18.2929 11.2929L12.75 5.75C12.3358 5.33579 11.6642 5.33579 11.25 5.75C10.8358 6.16421 10.8358 6.83579 11.25 7.25L15.4343 11.4343C15.7467 11.7467 15.7467 12.2533 15.4343 12.5657Z" fill="currentColor" />
                                                                </svg>
                                                            </span>
                                                            <!--end::Svg Icon-->
                                                        </span>
                                                        <h3 class="fs-2 text-gray-800 fw-bolder mb-0 ms-4">Metronic v8.0.38 - 30 March, 2022</h3>
                                                    </div>
                                                    <!--end::Header-->
                                                    <!--begin::Body-->
                                                    <div id="kt_accordion_body_v8_0_38" class="fs-6 mt-1 mb-1 py-0 ps-10 collapse show" data-bs-parent="#kt_accordion">
                                                        <div class="accordion-body ps-0 pt-0">
                                                            <div class="mb-5">
                                                                <h3 class="fs-6 fw-bolder mb-1">New:</h3>
                                                                <ul class="my-0 py-0">
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Demo 22</code>-
                                                                    <a href="../../demo22/dist/index.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Demo 22 Dark Mode</code>-
                                                                    <a href="../../demo22/dist/index.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Bidding</code>dashboard -
                                                                    <a href="../../demo9/dist/dashboards/bidding.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Podcast</code>dashboard -
                                                                    <a href="../../demo9/dist/dashboards/podcast.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Projects</code>dashboard -
                                                                    <a href="../../demo9/dist/dashboards/projects.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">KTMenu</code>documentation -
                                                                    <a href="../../demo9/dist/documentation/general/menu/overview.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Select2</code>rich content example -
                                                                    <a href="../../demo9/dist/documentation/forms/select2.html#rich-content" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Select2</code>floating labels integration -
                                                                    <a href="../../demo9/dist/documentation/forms/select2.html#floating-labels" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                </ul>
                                                            </div>
                                                            <div class="mb-5">
                                                                <h3 class="fs-6 fw-bolder mb-1">Update:</h3>
                                                                <ul class="my-0 py-0">
                                                                    <li class="py-2">Documentation pages improvements with quick sidebar navigation -
                                                                    <a href="../../demo9/dist/documentation/getting-started/build/gulp.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                </ul>
                                                            </div>
                                                            <div class="mb-5">
                                                                <h3 class="fs-6 fw-bolder mb-1">Fix:</h3>
                                                                <ul class="my-0 py-0">
                                                                    <li class="py-2">
                                                                    <code class="ms-0">KTMenu</code>offset issue caused -
                                                                    <a href="../../demo9/dist/documentation/general/menu/advanced.html#toggle-dropdown" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--end::Body-->
                                                </div>
                                                <!--end::Item-->
                                                <!--begin::Item-->
                                                <div class="accordion-item mb-5">
                                                    <!--begin::Header-->
                                                    <div class="accordion-header py-3 d-flex collapsed" data-bs-toggle="collapse" data-bs-target="#kt_accordion_body_v8_0_37">
                                                        <span class="accordion-icon">
                                                            <!--begin::Svg Icon | path: icons/duotune/arrows/arr064.svg-->
                                                            <span class="svg-icon svg-icon-3">
                                                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                                                    <rect opacity="0.5" x="18" y="13" width="13" height="2" rx="1" transform="rotate(-180 18 13)" fill="currentColor" />
                                                                    <path d="M15.4343 12.5657L11.25 16.75C10.8358 17.1642 10.8358 17.8358 11.25 18.25C11.6642 18.6642 12.3358 18.6642 12.75 18.25L18.2929 12.7071C18.6834 12.3166 18.6834 11.6834 18.2929 11.2929L12.75 5.75C12.3358 5.33579 11.6642 5.33579 11.25 5.75C10.8358 6.16421 10.8358 6.83579 11.25 7.25L15.4343 11.4343C15.7467 11.7467 15.7467 12.2533 15.4343 12.5657Z" fill="currentColor" />
                                                                </svg>
                                                            </span>
                                                            <!--end::Svg Icon-->
                                                        </span>
                                                        <h3 class="fs-2 text-gray-800 fw-bolder mb-0 ms-4">Metronic v8.0.37 - 3 March, 2022</h3>
                                                    </div>
                                                    <!--end::Header-->
                                                    <!--begin::Body-->
                                                    <div id="kt_accordion_body_v8_0_37" class="fs-6 mt-1 mb-1 py-0 ps-10 collapse" data-bs-parent="#kt_accordion">
                                                        <div class="accordion-body ps-0 pt-0">
                                                            <div class="mb-5">
                                                                <h3 class="fs-6 fw-bolder mb-1">New:</h3>
                                                                <ul class="my-0 py-0">
                                                                    <li class="py-2">
                                                                    <code class="ms-0">School</code>dashboard -
                                                                    <a href="../../demo9/dist/dashboards/school.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Crypto</code>dashboard -
                                                                    <a href="../../demo9/dist/dashboards/crypto.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Finance Performance</code>dashboard -
                                                                    <a href="../../demo9/dist/dashboards/finance-performance.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Website Analytics</code>dashboard -
                                                                    <a href="../../demo9/dist/dashboards/website-analytics.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Top up Wallet</code>modal wizard flow -
                                                                    <a href="../../demo9/dist/utilities/modals/wizards/top-up-wallet.html#sorting" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Bidding</code>modal form -
                                                                    <a href="../../demo9/dist/utilities/modals/forms/bidding.html#sorting" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Underline</code>element -
                                                                    <a href="../../demo9/dist/documentation/base/underline.html#sorting" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Table</code>sort states -
                                                                    <a href="../../demo9/dist/documentation/base/tables.html#sorting" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Table</code>loading indicator -
                                                                    <a href="../../demo9/dist/documentation/base/tables.html#loading" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Draggable Modal</code>solution -
                                                                    <a href="../../demo9/dist/documentation/base/modal.html#draggable" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                </ul>
                                                            </div>
                                                            <div class="mb-5">
                                                                <h3 class="fs-6 fw-bolder mb-1">Update:</h3>
                                                                <ul class="my-0 py-0">
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Select2</code>options with image improvement -
                                                                    <a href="../../demo9/dist/documentation/forms/select2.html#countries" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Select2</code>selected option color improvement -
                                                                    <a href="../../demo9/dist/documentation/forms/select2.html#dismiss" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Popover</code>dismiss improvements -
                                                                    <a href="../../demo9/dist/documentation/base/popovers.html#dismiss" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                </ul>
                                                            </div>
                                                            <div class="mb-5">
                                                                <h3 class="fs-6 fw-bolder mb-1">Fix:</h3>
                                                                <ul class="my-0 py-0">
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Input Group</code>solid style validation state issue -
                                                                    <a href="../../demo9/dist/documentation/base/forms/input-group.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Toastr</code>animation issue -
                                                                    <a href="../../demo9/dist/documentation/general/toastr.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Demo 3</code>sticky header issues -
                                                                    <a href="../../demo3/dist/index.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Demo 9</code>eCommerce App tabs navigation style issue -
                                                                    <a href="../../demo9/dist/apps/ecommerce/settings.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Demo 20</code>tab wrap issue -
                                                                    <a href="../../demo20/dist/index.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Demo 21</code>menu display issye on mobile -
                                                                    <a href="../../demo21/dist/index.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                    <li class="py-2">
                                                                    <code class="ms-0">Dark mode</code>missing assets issue -
                                                                    <a href="../../demo9/dist/documentation/getting-started/dark-mode.html" class="fw-bold" target="_blank">Preview</a>.</li>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <!--end::Body-->
                                                </div>
                                                <!--end::Item-->
                                            </div>
                                            <!--end::Changelog-->
                                        </div>
                                        <!--end::Card Body-->
                                    </div>
                                    <!--end::Card-->
								</div>
								<!--end::Content-->
								<!--begin::Sidebar-->
								<div class="flex-column flex-lg-row-auto w-lg-250px w-xl-300px mb-10 order-1 order-lg-2">
									<!--begin::Card-->
									<div class="card card-flush mb-0" data-kt-sticky="true" data-kt-sticky-name="subscription-summary" data-kt-sticky-offset="{default: false, lg: '200px'}" data-kt-sticky-width="{lg: '250px', xl: '300px'}" data-kt-sticky-left="auto" data-kt-sticky-top="150px" data-kt-sticky-animation="false" data-kt-sticky-zindex="95">
										<!--begin::Card header-->
										<div class="card-header">
											<!--begin::Card title-->
											<div class="card-title">
												<h2><?= $masterApplication['application_name']?></h2>
											</div>
											<!--end::Card title-->
											<!--begin::Card toolbar-->
											<div class="card-toolbar">
												<!--begin::More options-->
												<a href="#" class="btn btn-sm btn-light btn-icon" data-kt-menu-trigger="click" data-kt-menu-placement="bottom-end">
													<!--begin::Svg Icon | path: icons/duotune/general/gen052.svg-->
													<span class="svg-icon svg-icon-3">
														<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
															<rect x="10" y="10" width="4" height="4" rx="2" fill="currentColor" />
															<rect x="17" y="10" width="4" height="4" rx="2" fill="currentColor" />
															<rect x="3" y="10" width="4" height="4" rx="2" fill="currentColor" />
														</svg>
													</span>
													<!--end::Svg Icon-->
												</a>
												<!--begin::Menu-->
												<div class="menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-600 menu-state-bg-light-primary fw-bold fs-6 w-200px py-4" data-kt-menu="true">
													<!--begin::Menu item-->
													<div class="menu-item px-3">
                                                    <?php
                                                    if($reqApplication['count'])
                                                        echo '<a href="/scripts/post/set_application.php?application_id='.rawurlencode(encrypt_decrypt("encrypt", $masterApplication['idApplication'], $key_user, $iv_user)).'" class="menu-link px-3">Lancer</a>';
                                                    else 
                                                        echo '<a href="/scripts/post/install_application.php?application_id='.rawurlencode(encrypt_decrypt("encrypt", $masterApplication['idApplication'], $key_user, $iv_user)).'" class="menu-link px-3">Installer</a>';
                                                    ?>
													</div>
													<!--end::Menu item-->
													<!--begin::Menu item-->
													<div class="menu-item px-3">
                                                    <?php
                                                    if($reqApplication['count'])
                                                        echo '<a href="/scripts/post/uninstall_application.php?application_id='.rawurlencode(encrypt_decrypt("encrypt", $masterApplication['idApplication'], $key_user, $iv_user)).'" class="menu-link text-danger px-3" data-kt-subscriptions-view-action="edit">Déinstaller</a>';
                                                    ?>
													</div>
													<!--end::Menu item-->
												</div>
												<!--end::Menu-->
												<!--end::More options-->
											</div>
											<!--end::Card toolbar-->
										</div>
										<!--end::Card header-->
										<!--begin::Card body-->
										<div class="card-body pt-0 fs-6">
											<!--begin::Seperator-->
											<div class="separator separator-dashed mb-7"></div>
											<!--end::Seperator-->
											<!--begin::Section-->
											<div class="mb-7">
												<!--begin::Title-->
												<h5 class="mb-4">Licence</h5>
												<!--end::Title-->
												<!--begin::Details-->
												<div class="mb-0">
													<!--begin::Plan-->
													<span class="badge badge-light-info me-2">Annuel</span>
													<!--end::Plan-->
													<!--begin::Price-->
													<span class="fw-bold text-gray-600">100.00 CHF / mois</span>
													<!--end::Price-->
												</div>
												<!--end::Details-->
												<!--begin::Details-->
												<div class="mb-0">
													<!--begin::Plan-->
													<span class="badge badge-light-success me-2">Achat unique</span>
													<!--end::Plan-->
													<!--begin::Price-->
													<span class="fw-bold text-gray-600">1'200 CHF</span>
													<!--end::Price-->
												</div>
												<!--end::Details-->
											</div>
											<!--end::Section-->
											<!--begin::Seperator-->
											<div class="separator separator-dashed mb-7"></div>
											<!--end::Seperator-->
											<!--begin::Section-->
											<div class="mb-10">
												<!--begin::Title-->
												<h5 class="mb-4">Compte client</h5>
												<!--end::Title-->
												<!--begin::Details-->
												<div class="mb-0">
													<!--begin::Plan-->
													<span class="badge badge-light-warning me-2">Aucun compte client</span>
													<!--end::Plan-->
													<!--begin::Price-->
													<span class="fw-bold text-gray-600"><a href="index.php?page_slug=settings" class="text-gray-800 text-hover-primary">Enregistrement</a></span>
													<!--end::Price-->
												</div>
												<!--end::Details-->
												<!--begin::Details-->
												<div class="mb-0">
													<!--begin::Plan-->
													<span class="badge badge-light-success me-2">Achat autorisé</span>
													<!--end::Plan-->
													<!--begin::Price-->
													<span class="fw-bold text-gray-600">Vous serez chargé sur la prochaine facture.</span>
													<!--end::Price-->
												</div>
												<!--end::Details-->
											</div>
											<!--end::Section-->
											<!--begin::Seperator-->
											<div class="separator separator-dashed mb-7"></div>
											<!--end::Seperator-->
											<!--begin::Section-->
											<div class="mb-10">
												<!--begin::Title-->
												<h5 class="mb-4">Application</h5>
												<!--end::Title-->
												<!--begin::Details-->
												<table class="table fs-6 fw-bold gs-0 gy-2 gx-2">
													<!--begin::Row-->
													<tr class="">
														<td class="text-gray-400">Application ID:</td>
														<td class="text-gray-800"><?= $masterApplication['idApplication']?></td>
													</tr>
													<!--end::Row-->
													<!--begin::Row-->
													<tr class="">
														<td class="text-gray-400">Préfixe:</td>
														<td class="text-gray-800"><?= $masterApplication['application_prefix']?></td>
													</tr>
													<!--end::Row-->
													<!--begin::Row-->
													<tr class="">
														<td class="text-gray-400">Dernière modification:</td>
														<td class="text-gray-800"><?= $masterApplication['application_date_edited']?></td>
													</tr>
													<!--end::Row-->
													<!--begin::Row-->
													<tr class="">
														<td class="text-gray-400">Next Invoice:</td>
														<td class="text-gray-800">15 Apr 2022</td>
													</tr>
													<!--end::Row-->
												</table>
												<!--end::Details-->
											</div>
											<!--end::Section-->
											<!--begin::Actions-->
											<div class="mb-0">
											    <?php
                                                if($reqApplication['count'])
                                                    echo '<a href="/scripts/post/set_application.php?application_id='.rawurlencode(encrypt_decrypt("encrypt", $masterApplication['idApplication'], $key_user, $iv_user)).'" class="btn btn-success">Lancer</a>';
                                                else 
                                                    echo '<a href="/scripts/post/install_application.php?application_id='.rawurlencode(encrypt_decrypt("encrypt", $masterApplication['idApplication'], $key_user, $iv_user)).'" class="btn btn-primary">Installer</a>';
                                                ?>
											</div>
											<!--end::Actions-->
										</div>
										<!--end::Card body-->
									</div>
									<!--end::Card-->
								</div>
								<!--end::Sidebar-->
							</div>
							<!--end::Layout-->
						</div>
						<!--end::Container-->
					</div>
					<!--end::Content-->

Conseils et liens

Liens vers des ressources utiles pour l'édition de fichier