very nice
- Joined
- Jul 5, 2013
- Messages
- 518
- Reaction score
- 80
NOTE: the js & css scripts / images are not mine
Config.php
SQL Connection
Website Title
Website Description
SpinEvery (allowed to Spin every x hours) 8 by default
RegisterLink (Link to your website's register page)
ForgotpwLink (Link to your website's password recovery page)
WinMessage (when you win x silks a message appears this message is what you want to show to the player/user don't remove xxx because we replace it with the silk amount)
rewards (silk only) are stored in array
silkType (1=silk_own,2=silk_gift,3=silk_point)
Login (With Register,Forgot pw links see images)
PrizeLog (Database table that contains winning logs shouldn't be truncated)
Calculates time remaining for the next Spin!
Images
SQL Table
Code:
DROP TABLE [dbo].[_PrizeLog]
GO
CREATE TABLE [dbo].[_PrizeLog] (
[ID] int NOT NULL IDENTITY(1,1) ,
[Username] varchar(50) NOT NULL ,
[Prize] int NOT NULL ,
[Date] datetime NOT NULL
)
GO
DBCC CHECKIDENT(N'[dbo].[_PrizeLog]', RESEED, 1006)
GO
-- ----------------------------
-- Indexes structure for table _PrizeLog
-- ----------------------------
-- ----------------------------
-- Primary Key structure for table _PrizeLog
-- ----------------------------
ALTER TABLE [dbo].[_PrizeLog] ADD PRIMARY KEY ([ID])
GO
and as always download in attachments
Attachments
You must be registered for see attachments list