Reviews-a module for a farm

Download for free Feedback module for fruit farm

Installation:

 

file index in the root folder

case “otziv”: include(“pages/_otziv.php “); break; // Reviews

file.htaccess

# Reviews
RewriteRule ^otziv(/?)+$ index.php?menu=otziv [L]

top menu file in the inc folder

<li><a href=”/otziv” <?=(isset($_GET[“menu”]) AND strtolower($_GET[“menu”]) == “otziv”) ? ‘class=”current”‘ : False; ?>>Reviews</a></li>

CREATE TABLE IF NOT EXISTS `db_otziv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(55) COLLATE utf8_unicode_ci NOT NULL,
`user_id` int(11) NOT NULL,
`date` int(11) NOT NULL,
`text` text COLLATE utf8_unicode_ci NOT NULL,
`neg` int(1) NOT NULL,
`img` text COLLATE utf8_unicode_ci NOT NULL,
`like` int(12) NOT NULL DEFAULT ‘0’,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `db_vote_otziv` (
`id` int(12) NOT NULL AUTO_INCREMENT,
`user_id` int(12) NOT NULL,
`dislike` int(12) NOT NULL,
`oklike` int(12) NOT NULL,
`id_news` int(12) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;

 

 



 

Check Also

FAKE CRYPTO EXCHANGE SCRIPT

FAKE CRYPTO EXCHANGE SCRIPT

Main Features: – Automatic address generation for each user – Automatic verification of deposits to …

Leave a Reply

Your email address will not be published. Required fields are marked *