Lars chat #63

Merged
11291680 merged 1 commits from lars-chat into master 2017-01-18 15:55:42 +01:00
2 changed files with 25 additions and 8 deletions

View File

@@ -25,3 +25,16 @@
font-size: 14px; font-size: 14px;
cursor: pointer; cursor: pointer;
} }
.friend-item {
cursor: pointer;
}
.menu button {
background: none;
color: #333;
width: 100%;
height: 100%;
padding: 0;
text-align: left;
}

View File

@@ -34,14 +34,18 @@
// Echo the friend. // Echo the friend.
echo " echo "
<a href='#' class='$extraItem'> <li class='friend-item $extraItem'>
<li class='friend-item'> <form action='profile.php' method='get'>
<button type='submit'
name='username'
value='$username'>
<div class='friend'> <div class='friend'>
<img alt='PF' class='profile-picture' src='$pf'/> <img alt='PF' class='profile-picture' src='$pf'/>
$username $username
</div> </div>
</button>
</form>
</li> </li>
</a>
"; ";
} }
if ($i > 1) { if ($i > 1) {