}); </script> <h1 class="page-header">Freunde</h1> <div class="row depot-headings" style="text-align: left;"> <div class="col-xs-12 col-sm-6"> <h3 class="sub-header">Freundschaftsanfragen</h3> <div class="well well-lg"> <?php if (getFriendRequestNbr($_SESSION['depot']) != "") { ?> <div class="table-responsive"> <table class="table table-striped"> <thead> <th>Name</th> <th>Depot</th> <th></th> </thead> <tbody> <?php $result = multiRowQuery("SELECT friends.depotID1, (SELECT depot.name FROM depot WHERE id = friends.depotID1) as name, friends.id FROM friends WHERE friends.depotID2 = '" . $_SESSION['depot'] . "' AND friends.confirmed = '0';"); while ($row = $result->fetch_assoc()) { ?>
<div class="col-md-2 sidebar"> <ul class="nav nav-sidebar"> <li class="<?php echo $activePage["dashboard"]; ?> "><a href="?p=dashboard">Übersicht <span class="sr-only">(current)</span></a></li> <li class="<?php echo $activePage["depot"]; ?> "> <a href="?p=depot">Depotinhalt</a></li> <li class="<?php echo $activePage["friends"]; ?> "> <a href="?p=friends">Freunde <span class="badge"><?php echo getFriendRequestNbr($_SESSION['depot']); ?> </span> </a></li> <li class="<?php echo $activePage["tasks"]; ?> "> <a href="?p=tasks">Aufträge</a></li> <li class="<?php echo $activePage["stocks"]; ?> "> <a href="?p=stocks">Kurse</a></li> </ul> <div class="footer"> Developed by <a href="http://www.phunsoft.de">Tim Römisch</a> </div>