prepare("SELECT * FROM Gameweb.dbo.Users_Product WHERE UserUID = ? AND Status = 0"); $results->bindValue(1, $uid, PDO::PARAM_INT); $results->execute(); while ($obj = $results->fetch(PDO::FETCH_NUM)){ $qSlot = $conn->prepare("SELECT COUNT(*) FROM PS_Billing.dbo.Users_Product WHERE UserUID = ?"); $qSlot->bindValue(1, $uid, PDO::PARAM_INT); $qSlot->execute(); $slot = $qSlot->fetch(PDO::FETCH_NUM); if ($slot[0] < 241){ $slot = 0; $querySlot = $conn->prepare('SELECT Slot FROM PS_Billing.dbo.Users_Product WHERE UserUID = ?'); $querySlot->bindValue(1, $uid, PDO::PARAM_INT); $querySlot->execute(); while ($row = $querySlot->fetch(PDO::FETCH_NUM)){ if ($row[0] != $slot){ break; } else { $slot++; } } $queryInsertItem=$conn->prepare(" DECLARE @uid INT DECLARE @slot INT DECLARE @itemid INT DECLARE @itemid1 INT SET @uid = ? SET @slot = ? SET @itemid = ? INSERT INTO PS_Billing.dbo.Users_Product VALUES (@uid,@slot,@itemid,?,?,GETDATE()) SELECT @itemid1 = ItemID FROM PS_Billing.dbo.Users_Product WHERE UserUID = @uid AND Slot = @slot if @itemid = @itemid1 begin UPDATE tor_web.dbo.Users_Product SET Status = 1 WHERE UserUID = @uid AND Row = ? end"); $queryInsertItem->bindValue(1, $uid, PDO::PARAM_INT); $queryInsertItem->bindValue(2, $slot, PDO::PARAM_INT); $queryInsertItem->bindValue(3, $obj[2], PDO::PARAM_INT); $queryInsertItem->bindValue(4, $obj[3], PDO::PARAM_INT); $queryInsertItem->bindValue(5, $obj[4], PDO::PARAM_INT); $queryInsertItem->bindValue(6, $obj[0], PDO::PARAM_INT); $queryInsertItem->execute(); } } } ?>

Loot Wheel

The points spent on the wheel will not increase the Tiered Spenders.

Login'; } else { echo ''.$point.' DP'; } ?>
'; } else { echo 'Spin '; } ?>
costo 149 DP

Sorry, your browser doesn't support canvas.
Please try another.