added profile viewed count for ads

This commit is contained in:
vedatakd 2019-09-14 10:25:22 +03:00
parent 85f4f450e9
commit 7afd45b858
2 changed files with 11 additions and 1 deletions

View File

@ -42,4 +42,13 @@
.balance-widget {
background: #2f89fc;
}
.profile-ad-viewed {
position: absolute;
background-color: rgba(207,0,15,0.9);
padding: 5px;
color: white;
font-weight: 700;
z-index: 999999;
}

View File

@ -79,7 +79,8 @@ function advs(type) {
priceFormat(advs.price.toString())
top += "<div class='oc-item row adv" + advs.id + "'>" +
"<div class='item-image-box col-sm-4'>" +
"<div class='item-image'><a href='/advs/adv/" + advs.id + "'>" +
"<div class='item-image'><div class='profile-ad-viewed'><i class='fas fa-eye'></i> "+advs.count_show_ad+"</div>" +
"<a href='/advs/adv/" + advs.id + "'>" +
"<img src='" + resim + "' alt='Image' class='img-respon sive'></a>" +
"</div></div><div class='item-info col-sm-8'><div class='ad-info'>" +
"<h3 class='item-price'>" + priceFormat(advs.price.toString()) + " " + advs.currency + "</h3>" +