hi all this my vote system i made to my server
but there is a problems in it any why i was going to post it
so i post it now to fix the err in it
this it
i made it vote every 12h and gave award for voting as ep
can any one help me there
PHP Code:
delete from cq_action where id >= 5846200 and id <= 5846212;
INSERT INTO `cq_action` VALUES ('5846200', '5846201', '0', '101', '0', 'Hi~%user_name~u~can~vote~for~darksiders~online~now~and~get~20k~Ep~bear~one~vote~"if~we~be~1st~here~[PM]~will~make~5kEp~drop~rate".');
INSERT INTO `cq_action` VALUES ('5846201', '5846202', '0', '102', '0', 'vote linke 1. 5846205');
INSERT INTO `cq_action` VALUES ('5846202', '5846203', '5846205', '1080', '12000', 'isexit'),
INSERT INTO `cq_action` VALUES ('5846203', '0', '0', '126', '0', 'Sorry you have done the voting in the past 12 hours.'),
INSERT INTO `cq_action` VALUES ('5846204', '4000027', '0', '102', '0', 'no~not~now~thank~u. 0');
INSERT INTO `cq_action` VALUES ('5846205', '5846206', '0', '1041', '0', 'http://topofgames.com/index.php?do=votes&id=32097');
INSERT INTO `cq_action` VALUES ('5846206', '5846207', '0000', '1001', '0', 'e_money += 500000');
INSERT INTO `cq_action` VALUES ('5846207', '5846208', '0000', '1010', '2005', 'You found 500000 EudemonPoints from a vote to us come avery day :D!');
INSERT INTO `cq_action` VALUES ('5846208', '0', '0', '125', '2011', 'Congratulations! %user_name has voted for DarkSidersEO');
delete from cq_task where id >= 5846200 and id <= 5846204;