Stellow
C++/C#/PHP/LUA
I have updated and implemented new features from the original buy/sell characters by @Raggaer
New features:
-Sell/Buy at the same page
-Purchase history log
-Option to remove offer
-Magic and Skills at the description
SQL:
SQL 2:
PHPFILE:
https://www.dropbox.com/s/unan0x215vp4bu3/characterauction.php?dl=0
New features:
-Sell/Buy at the same page
-Purchase history log
-Option to remove offer
-Magic and Skills at the description
SQL:
Code:
CREATE TABLE IF NOT EXISTS `sellchar_history` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`seller` int(11) NOT NULL,
`buyer` int(11) NOT NULL,
`price` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
ALTER TABLE `sellchar_history`
ADD PRIMARY KEY (`id`);
ALTER TABLE `sellchar_history`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=1;
SQL 2:
Code:
CREATE TABLE IF NOT EXISTS `sellchar` (
`id` int(11) NOT NULL,
`name` varchar(40) NOT NULL,
`vocation` int(11) NOT NULL,
`price` int(11) NOT NULL,
`status` varchar(40) NOT NULL,
`oldid` varchar(40) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;
ALTER TABLE `sellchar`
ADD PRIMARY KEY (`id`);
ALTER TABLE `sellchar`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=1;
PHPFILE:
https://www.dropbox.com/s/unan0x215vp4bu3/characterauction.php?dl=0