Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
25 righe
823 B
25 righe
823 B
<? |
|
if (!isset($root)) { |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
if (!$_SESSION["utente"]->check(true)) { |
|
die(); |
|
} |
|
} |
|
if (!empty($_SESSION["utente"]) && !empty($_SESSION["utente"]->oe)) { |
|
|
|
$badge = publicStipula::getCountBadge(); |
|
|
|
$badge2 = count(publicStipula::getList(["b_contratti.stato"=>"attesa"],[],0,1)); |
|
|
|
if (!empty($badge2)) { |
|
$badge = $badge + $badge2; |
|
} |
|
|
|
if ($badge > 0) { |
|
// echo "<span class='pr-2 float-right'><span data-target='/backend/contratti/badge.php' class='badge badge-danger badge-count'>". $badge ."</span></span>"; |
|
echo "<span class='pr-2 float-right'><span data-target='/comunicazioni/badge.php' class='fa fa-circle text-warning'></span></span>"; |
|
} |
|
} |
|
|
|
?>
|
|
|