Hello Steemians!
How are you all, I hope you will be good, by the grace of God, I am also well. Today I am here with new development on steemwatcher.com that I have completed last night. In the previous development, i have develop a tool for getting transection history by username. It was necessary to catch the plagiarism and nepotism activity.
In this development phase, I develop new two features to maintain this list of blacklisted users and whitelisted user in our own database. it is necessary to store these records for user investigation and inspection. Two tables are created to in database to store the record of these users. one table is for whitelisted user and secord table is for blacklisted user.
when a user will blacklisted by steemwatcher team. then "B" will place with his/her username. the same hierarchy will follow by whitelisted user. the aim of whitelisted user is to maintain the record of those users whose appeal has been accepted.
Same as it is, if a user exist in the whitelisted user list then a green colour indicator with "W" alphabet word will show against the username as you can see in the below screenshot.
Here is the interface to add the blacklisted user on portal. it is restricted for general users and detective. only admin can add blacklisted and whitelisted users to run the things smoothly. in the side nav bar. you can see the the both options. it is login by using admin credentials thats why it is showing in side nav bar.
I am doing development by using PhP, JavaScript at back end. Html and css is use to make the front end. to make the mobile responsive, i am using bootstrap. the core code is sharing with you for knowledge.
<?php
if ($count_result = $conn->query($sqlii)) {
while ($count_row = $count_result->fetch_assoc()) {
if ($count_row['USERNAME'] == $rows['USER_ID']) {
echo '
<div style="position: relative; display: inline-block; white-space: nowrap;">
<div style="background-color: Black; width: 25px; border-radius: 50%; text-align: center; font-weight: bold; color: white; white-space: nowrap;">
B
</div>
</div>';
break;
} } }
?>
<?php
if ($count_result = $conn->query($sqliii)) {
while ($count_row = $count_result->fetch_assoc()) {
if ($count_row['USERNAME'] == $rows['USER_ID']) {
echo '
<div style="position: relative; display: inline-block; white-space: nowrap;">
<div style="background-color: Green; width: 25px; border-radius: 50%; text-align: center; font-weight: bold; color: white; white-space: nowrap;">
W
</div>
</div>';
break;
} }
}
?>
If anyone have any suggestion, then must share with us in the comment section. we will focus on it and try to apply it if it will suitable.
Here is the Link of official Steemwatcher.
www.steemwatcher.com
Please cast witness vote to @bangla.Witness or set proxy to @rme.
_
Vote bangla.witness as witness
Set Proxy rme as proxy
Special Thanks.
Cc: @rme
Cc: @hungry-griffin
Cc: @steemcurator01
Cc: @steemchiller
Thanks for giving your precious time to my post.
Follow | Upvote | Share | Comments
Follow me on Instagram.
Instagram
🆃🅷🅰️🅽🅺 🆈🅾️🆄
Upvoted! Thank you for supporting witness @jswit.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit