alpha_full/menu/menuModePaie.php
2026-04-06 22:58:51 +02:00

102 lines
5.1 KiB
PHP
Executable File

<?php
$nomFicAppelant = basename(__FILE__);
$filtreActiv=1;
if(!isset($includePath)) $includePath="./_include";
$refresh='Oui';
include ($includePath. "/req/32-modePaie.reqSelectList.php");
$refresh='N';
if ( $affMContext === true ) echo '<div id="tablePages" ' .$mouseOverMenuContextContainer. ' onContextMenu="return mConStyle(this, \'Transverses site\', \'tablePages\', 1,\'menus\', 5, 14, event);" >';
else echo '<div id="tablePages" >';
// ---------------------------------------------------
// Titre de la page // msg titre ==> Modes de Paiement
// ---------------------------------------------------
echo '<h1 class="titresInfos" >';
dynamiqItemImage (0,0,'titresInfos', 'span', '-action-','menu', 14, 'icones','-','-');
echo '</h1>';
if ( $affMContext === true ) echo '<div class="tableInfos" class="flexToColumn" ' .$mouseOverMenuContextContainer. ' onContextMenu="return mConStyle(this, \'Informations\', \'tableInfos\', 1,\'contact\', 4, 68, event);" >';
else echo '<div class="tableInfos" class="flexToColumn" >';
if ( $affMContext === true ) echo '<span class="msgInfos"' .$mouseOverMenuContext. ' onContextMenu="return mContextuel(this, \'msgInfos\',\'contact\', 75, event);" >';
else echo '<span class="msgInfos" >';
include ("./Publication/menus/modePaie_" .$lg. ".php");
echo '</span>';
echo '</div>';
if ( $affMContext === true ) echo '<div class="tableInfos" class="flexToColumn" ' .$mouseOverMenuContextContainer. ' onContextMenu="return mConStyle(this, \'Informations\', \'tableInfos\', 1,\'contact\', 4, 68, event);" >';
else echo '<div class="tableInfos" class="flexToColumn" >';
// ---------------------------------------------------
// liste des paiements
// ---------------------------------------------------
dynamiqItemImage (0,0,'msgInfos', 'span', '-action-','cde',75, 'icones','-','-');
if (!empty($tabIdPaie)) {
for ($p=0;$p<count($tabIdPaie);$p++) {
if ( $affMContext === true ) echo '<div class="libInfosCell" ' .$mouseOverMenuContextContainer. ' onContextMenu="return mConStyle(this, \'Informations\', \'libInfosCell\', 3,\'contact\', 4, 75, event);" >';
else echo '<div class="libInfosCell" >';
// ---------------------------------------------------
// Icos des paiements
// ---------------------------------------------------
if ($tabIdPaie[$p]!=1) {
$src='';
if ( $affMContext === true ) echo '<span class="champsInfosCell" ' .$mouseOverMenuContext. ' onContextMenu="return mContextuel(this, \'champsInfosCell\',\'contact\', 75, event);" >';
else echo '<span class="champsInfosCell" >';
$varImgPt=$tabIconePaie[$p];
$test=strtolower(substr($varImgPt,-3));
if ($test=='jpg' || $test=='peg' || $test=='gif' || $test=='ico' || $test=='png' || $test=='bmp') {
$test=strtolower(substr($varImgPt,0,4));
// echo 'test' .$test;
if ($test!='http' && $_SESSION['isBackOffice']===true) {$src="../." .$varImgPt;}
else {$src=$varImgPt;}
echo '&#160;<img style="border:0;max-width:150px;vertical-align:middle;" src=' .$varImgPt. ' alt="' .$tabLibPaie[$p]. '" data-tooltip="' .$tabLibPaie[$p]. '" />';
}
else {
echo '&#160;<span style="border:0;max-width:150px;vertical-align:middle;" class="fa-2x ' .$varImgPt. '" alt="' .$tabLibPaie[$p]. '" data-tooltip="' .$tabLibPaie[$p]. '" />';
}
echo '</span>';
}
// ---------------------------------------------------
// Icos des cb :
// ---------------------------------------------------
if ($tabIdPaie[$p]==1) {
$j=0;
$filtreActiv=1;
include ($includePath. "/req/33-typeCb.reqSelectList.php");
for ($j=1;$j<=count($tabCbLib);$j++) {
// ------- liste des cb
echo '<span class="champsInfosCell" >';
echo '<span class="champsInfos" >';
echo '&#160;&#160;<span style="vertical-align:middle;" data-tooltip="' .$cdeTitle[70]. '" >&#160;' .$tabCbLib[$j]. ' ';
echo '</span>';
echo '</span>';
// ------- liste cb ico
echo '<span class="champsInfosCell" >';
echo '<span class="champsInfos" >';
echo '<img style="border:0;width:5%;vertical-align:middle;" src="' .$tabIcoTypeCB[$j]. '" alt="' .$tabCbLib[$j]. '" data-tooltip="' .$tabCbLib[$j]. '" />';
echo '</span>';
echo '</span>';
}
}
// ---------------------------------------------------
// Libellés des paiements
// ---------------------------------------------------
if ($tabIdPaie[$p]!=1) {
if ( $affMContext === true ) echo '<span class="libInfos" style="vertical-align:middle;" data-tooltip="' .$tabLibPaie[$p]. '" ' .$mouseOverMenuContext. ' onContextMenu="return mContextuel(this, \'champsInfosCell\',\'contact\', 75, event);" >';
else echo '<span class="libInfos" style="vertical-align:middle;" data-tooltip="' .$tabLibPaie[$p]. '" >';
echo $tabLibPaie[$p]. '';
echo '</span>';
}
echo '</span>';
echo '</div>';
}
}
echo '</div>';
echo '</div>'; //tablePages
?>