Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div style='float: left;'>
- <?php
- $result = mysqli_query("SELECT id FROM prodocts WHERE seller = '$prodoct_seller'");
- $topseller = 0;
- while ($row = mysql_fetch_array($result)) {
- if ( ( $chart_rating($row['id']) < 25 ) )
- $topseller = 1;
- }
- if ($topseller = 1)
- echo "<img src='/medals/topseller.png' />";
- ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement