Comment URLs for now

This commit is contained in:
Marcus Hill
2022-01-27 21:45:21 +00:00
parent 9283893f7e
commit 58603e7550

View File

@@ -199,32 +199,32 @@
?> ?>
<!-- URLs --> <!-- URLs -->
<?php <!-- --><?php
if($sql_logins OR $sql_urls){ ?> // if($sql_logins OR $sql_urls){ ?>
<h5><i class="nav-icon fas fa-link"></i> URLs</h5> <!-- <h5><i class="nav-icon fas fa-link"></i> URLs</h5>-->
<ul> <!-- <ul>-->
<?php <!-- --><?php
// Reset the $sql_assets pointer to the start // // Reset the $sql_assets pointer to the start
mysqli_data_seek($sql_assets, 0); // mysqli_data_seek($sql_assets, 0);
//
// Showing URLs linked to logins // // Showing URLs linked to logins
while($row = mysqli_fetch_array($sql_assets)){ // while($row = mysqli_fetch_array($sql_assets)){
if(!empty($row['login_uri'])){ // if(!empty($row['login_uri'])){
echo "<li><a href=\"$row[login_uri]\">$row[login_uri]</a></li>"; // echo "<li><a href=\"$row[login_uri]\">$row[login_uri]</a></li>";
} // }
} // }
//
// Showing explicitly linked URLs // // Showing explicitly linked URLs
while($row = mysqli_fetch_array($sql_urls)){ // while($row = mysqli_fetch_array($sql_urls)){
if(!empty($row['service_uri'])){ // if(!empty($row['service_uri'])){
echo "<li><a href=\"$row[service_uri]\">$row[service_uri]</a></li>"; // echo "<li><a href=\"$row[service_uri]\">$row[service_uri]</a></li>";
} // }
} // }
?> // ?>
</ul> <!-- </ul>-->
<?php <!-- --><?php
} // }
?> // ?>
<!-- <h5><i class="nav-icon fas fa-lock"></i> Certificates</h5>--> <!-- <h5><i class="nav-icon fas fa-lock"></i> Certificates</h5>-->
<!-- <ul>--> <!-- <ul>-->