this points to the wrong page

This commit is contained in:
biglyderv 2024-11-29 17:15:08 -05:00
parent fe53505bb7
commit e77f82cffb

View file

@ -91,12 +91,12 @@
get_handler(); get_handler();
?> ?>
<form class="banner" enctype="multipart/form-data" method="POST" action="/user.php?id=<?php echo $user ?>&type=follow"> <form class="banner" enctype="multipart/form-data" method="POST" action="/user.php?id=<?php echo $user ?>&type=follow">
<img class="banner-background" src="/pfp/<?php echo $username ?>.png"> <img class="banner-background" src="/pfp/<?php echo $user ?>.png">
<div class="banner-content"> <div class="banner-content">
<div class="form-message"></div> <div class="form-message"></div>
<div class="avatar"> <div class="avatar">
<img src="/pfp/<?php echo $username ?>.png" class="avatar-img"> <img src="/pfp/<?php echo $user ?>.png" class="avatar-img">
<b>@<?php echo $username ?></b> <b>@<?php echo $user ?></b>
<input class="form-button" type="submit" value="Follow"> <input class="form-button" type="submit" value="Follow">
</div> </div>
@ -104,7 +104,7 @@
<b><?php echo count($followers) ?> followers</b> <b><?php echo count($followers) ?> followers</b>
<b><?php echo count($following) ?> following</b> <b><?php echo count($following) ?> following</b>
</div> </div>
<input name="target" hidden="" value="<?php echo $username ?>"> <input name="target" hidden="" value="<?php echo $user ?>">
<pre><?php echo htmlspecialchars($bio) ?></pre> <pre><?php echo htmlspecialchars($bio) ?></pre>
</div> </div>