Skip to content

Instantly share code, notes, and snippets.

Created May 13, 2017 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2ddcbdd39c6a492bbb1fb1a1374ab16e to your computer and use it in GitHub Desktop.
Save anonymous/2ddcbdd39c6a492bbb1fb1a1374ab16e to your computer and use it in GitHub Desktop.
<?php
$comando = "SELECT ID_Item FROM tbl_compras WHERE user='$login_cookie'";
$verifica2 = mysqli_query($connect, $comando);
?>
<?php
while ($row = mysqli_fetch_row($verifica2)){
if ($row[0] == 10){
echo"<div style='height:200px;width:350px;position:static;margin-left:120px;border-style:solid'>
<img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:gray;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>FREE HACK - Wallhack</h2>
<p style='margin-left:15px;'>You already have this product.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: gray'>Cost: 50P</p>
</div>";
}
else{
echo"<div style='height:200px;width:350px;position:static;margin-left:120px;border-style:solid'>
<a href='spincoin.php?itemid=10' style='border-bottom: none;'><img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:white;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>FREE HACK - Wallhack</h2>
<p style='margin-left:15px;'>See all through the wall with the free hack.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: white'>Cost: 50P</p></a>
</div>";
}
if ($row[0] == 5){
echo"<div style='height:200px;width:350px;position:static;margin-left:630px;margin-top:-200px;border-style:solid'>
<img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:gray;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - 10% OFF</h2>
<p style='margin-left:15px;'>Buy the external hack with 10% discount.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: gray'>Cost: 60P</p>
</div><br><br>";
}
else if ($row[0] != 0){
$disc = ($row[1] + 1);
echo"<div style='height:200px;width:350px;position:static;margin-left:630px;margin-top:-200px;border-style:solid'>
<a href='spincoin.php?itemid=$' style='border-bottom: none;'><img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:white;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - $disc0% OFF</h2>
<p style='margin-left:15px;'>Buy the external hack with $disc0% discount.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: white'>Cost: 60P</p></a>
</div><br><br>";
}
else{
echo"<div style='height:200px;width:350px;position:static;margin-left:630px;margin-top:-200px;border-style:solid'>
<a href='spincoin.php?itemid=1' style='border-bottom: none;'><img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:white;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - 10% OFF</h2>
<p style='margin-left:15px;'>Buy the external hack with 10% discount.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: white'>Cost: 60P</p></a>
</div><br><br>";
}
if ($row[0] == 6){
echo"<div style='height:200px;width:350px;position:static;margin-left:120px;border-style:solid'>
<img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:gray;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - 1 Day</h2>
<p style='margin-left:15px;'>Buy the full External hack for 1 day.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: gray'>Cost: 200P</p>
</div>";
}
else{
echo"<div style='height:200px;width:350px;position:static;margin-left:120px;border-style:solid'>
<a href='spincoin.php?itemid=6' style='border-bottom: none;'><img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:white;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - 1 Day</h2>
<p style='margin-left:15px;'>Buy the full External hack for 1 day.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: white'>Cost: 200P</p></a>
</div>";
}
if ($row[0] == 7){
echo"<div style='height:200px;width:350px;position:static;margin-left:630px;margin-top:-200px;border-style:solid'>
<img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:gray;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - 7 Days</h2>
<p style='margin-left:15px;'>Buy the full External hack for 7 days.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: gray'>Cost: 500P</p>
</div><br><br>";
}
else{
echo"<div style='height:200px;width:350px;position:static;margin-left:630px;margin-top:-200px;border-style:solid'>
<a href='spincoin.php?itemid=7' style='border-bottom: none;'><img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:white;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - 7 Days</h2>
<p style='margin-left:15px;'>Buy the full External hack for 7 days.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: white'>Cost: 500P</p></a>
</div><br><br>";
}
if ($row[0] == 8){
echo"<div style='height:200px;width:350px;position:static;margin-left:120px;border-style:solid'>
<img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:gray;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - 30 Days</h2>
<p style='margin-left:15px;'>Buy the full External hack for 30 days.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: gray'>Cost: 1200P</p>
</div>";
}
else{
echo"<div style='height:200px;width:350px;position:static;margin-left:120px;border-style:solid'>
<a href='spincoin.php?itemid=8' style='border-bottom: none;'><img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:white;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - 30 Days</h2>
<p style='margin-left:15px;'>Buy the full External hack for 30 days.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: white'>Cost: 1200P</p></a>
</div>";
}
if ($row[0] == 9){
echo"<div style='height:200px;width:350px;position:static;margin-left:630px;margin-top:-200px;border-style:solid'>
<img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:gray;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - Lifetime</h2>
<p style='margin-left:15px;'>Buy the full External hack. Lifetime license.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: gray'>Cost: 2000P</p>
</div>";
}
else{
echo"<div style='height:200px;width:350px;position:static;margin-left:630px;margin-top:-200px;border-style:solid'>
<a href='spincoin.php?itemid=9' style='border-bottom: none;'><img style='width: 360px;' src='images/btn.png'/>
<h2 style='color:white;font-size:24px;position:absolule;margin-top:-180px;margin-left:15px;'>External - Lifetime</h2>
<p style='margin-left:15px;'>Buy the full External hack. Lifetime license.</p>
<p style='margin-right:10px; text-align: right; margin-top:53px; font-size: 25px; color: white'>Cost: 2000P</p></a>
</div>";
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment