新浪微博 登陆  注册   设为首页 加入收藏

学PHP >> 最新源码 >> ajax star rating 等级评定

ajax star rating 等级评定

查看次数6521 发表时间2010-06-16 23:29:40

程序名称:AJAX Star Rating
开发者/组织名称:Sudhir Chauhan
运行环境:php+mysql,php+文本
下载地址:
请下载附件中的源码,不要直接复制 (已下载 742 次)

文章来源:http://www.OSphp.com.cn
程序介绍:
It displays the current content rating level by the number of starts from 1 to 5.
An user can submit his own rating by clicking on the respective star. //OSPHP.com.CN
When a new rating is submitted, an AJAX request is triggered to send the user rating.
The AJAX request response is used to display the updated star rating level.
点击在新窗口中浏览此图片
引用
--
-- Table structure for table `ratings`
--
CREATE TABLE `ratings` (
  `id` varchar(11) NOT NULL,
  `total_votes` int(11) NOT NULL default '0',
  `total_value` int(11) NOT NULL default '0',
  `used_ips` longtext,
  PRIMARY KEY  (`id`)
);

INSERT INTO `ratings` (`id`, `total_votes`, `total_value`, `used_ips`) VALUES ('1', 8, 27, 'a:8:{i:0;s:9:"127.0.0.1";i:1;s:9:"127.0.0.1";i:2;s:9:"127.0.0.1";i:3;s:9:"127.0.0.1";i:4;s:9:"127.0.0.1";i:5;s:9:"127.0.0.1";i:6;s:9:"127.0.0.1";i:7;s:9:"127.0.0.1";}');

(转发请注明转自:学PHP)    


  相关推荐




  发表评论
昵称:
(不超过20个字符或10个汉字)
内容: