echo 'UD: ' . $sql_update . '<br />'; } else { echo 'EX: ' . $sql_update . '<br />'; } } else { mysql_query($sql) or die(mysql_error()); if (mysql_affected_rows() == 1) { echo 'OK: ' . $sql . '<br />'; } else { echo 'FD: ' . $sql . '<br />'; } } } } $i = new Install(); $i->vxSetupChannels(); $i->vxSetupChannel(103, 'http://www.livid.cn/rss.php'); $i->vxSetupChannel(118, 'http://feeds.feedburner.com/wangjianshuo'); $i->vxSetupChannel(118, 'http://feeds.feedburner.com/PlayinWithIt'); $i->vxSetupChannel(118, 'http://www.livid.cn/rss.php'); $i->vxSetupChannel(118, 'http://www.wespoke.com/index.rdf'); $i->vxSetupChannel(118, 'http://blog.douban.com/feed/'); $i->vxSetupChannel(9, 'http://cn.engadget.com/rss.xml'); $i->vxSetupChannel(9, 'http://cn.autoblog.com/rss.xml'); /* $i->vxSetupSections(); // life $i->vxSetupBoard('showyourself', '秀出你自己', 2, 2, 1, 2, '自拍爱好者的大本营,大家快来贴啊!', '无数双眼睛期待你发的好图!'); $i->vxSetupBoard('being', '为人处世', 2, 2, 1, 2); $i->vxSetupBoard('pet', '宠物我爱', 2, 2, 1, 2); $i->vxSetupBoard('love', '关于爱', 2, 2, 1, 2);