notification link only for bm and admin

This commit is contained in:
ns77@siliconpin.com
2025-09-10 15:33:46 +00:00
parent 5a12de1c64
commit 4b7dc82f29

View File

@@ -203,6 +203,7 @@ $conn->close();
?> ?>
</li> </li>
<li><a href="/Admin/Signout">Signout</a></li> <li><a href="/Admin/Signout">Signout</a></li>
<?php if ($userType === 'admin' || $userType === 'bm' ) { ?>
<li> <li>
<a href="/Admin/notification" style="position: relative; display: inline-block; padding: 8px;"> <a href="/Admin/notification" style="position: relative; display: inline-block; padding: 8px;">
<?php if($pendingCount > 0) { ?> <?php if($pendingCount > 0) { ?>
@@ -210,14 +211,10 @@ $conn->close();
<?= $pendingCount > 99 ? '99+' : $pendingCount ?> <?= $pendingCount > 99 ? '99+' : $pendingCount ?>
</div> </div>
<?php } ?> <?php } ?>
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 64 64" fill="#4a5568" style="filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));"> <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 64 64" fill="#4a5568" style="filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));"><g><path fill="currentColor" d="M56,44c-1.832,0-4-2.168-4-4V20C52,8.973,43.027,0,32,0S12,8.973,12,20v20c0,1.793-2.207,4-4,4 c-2.211,0-4,1.789-4,4s1.789,4,4,4h48c2.211,0,4-1.789,4-4S58.211,44,56,44z"></path><path fill="currentColor" d="M32,64c4.418,0,8-3.582,8-8H24C24,60.418,27.582,64,32,64z"></path></g></svg>
<g>
<path fill="currentColor" d="M56,44c-1.832,0-4-2.168-4-4V20C52,8.973,43.027,0,32,0S12,8.973,12,20v20c0,1.793-2.207,4-4,4 c-2.211,0-4,1.789-4,4s1.789,4,4,4h48c2.211,0,4-1.789,4-4S58.211,44,56,44z"></path>
<path fill="currentColor" d="M32,64c4.418,0,8-3.582,8-8H24C24,60.418,27.582,64,32,64z"></path>
</g>
</svg>
</a> </a>
</li> </li>
<?php } ?>
</ul> </ul>
</div> </div>
</div> </div>