Comment URLs for now

This commit is contained in:
Marcus Hill 2022-01-27 21:45:21 +00:00
parent 9283893f7e
commit 58603e7550
1 changed files with 26 additions and 26 deletions

View File

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