Hello, this is something that i putted togheter very fast.
The layout ain't the best, but it works.
Admin can generate key with an amount of points that a use can redeem.
Can be funny for ingame events or whatever you find this useful for.
Hope someone find it useful
Start of with run this in your database:
How to run a query?
Now, download the website files.
Your job is to know where to place them, should not be to hard?
Download: https://www.dropbox.com/s/wtwjmj92qavkra1/redeem.rar?dl=0
Warning, i just put some input fields there, therefor it looks just weird. Do whatever u like with it.
The layout ain't the best, but it works.
Admin can generate key with an amount of points that a use can redeem.
Can be funny for ingame events or whatever you find this useful for.
Hope someone find it useful
Start of with run this in your database:
How to run a query?
Code:
CREATE TABLE IF NOT EXISTS `__cornex_redeem` (
`id` int(11) NOT NULL,
`points` int(11) NOT NULL,
`used_by` int(11) NOT NULL DEFAULT '0',
`time` int(11) NOT NULL,
`ip` int(11) NOT NULL,
`code` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `__cornex_redeem`
ADD PRIMARY KEY (`id`);
ALTER TABLE `__cornex_redeem`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
Now, download the website files.
Your job is to know where to place them, should not be to hard?
Download: https://www.dropbox.com/s/wtwjmj92qavkra1/redeem.rar?dl=0
Warning, i just put some input fields there, therefor it looks just weird. Do whatever u like with it.
Last edited by a moderator: