main_config 1.4 KB

12345678910111213141516171819202122232425
  1. <?php return array (
  2. 'time' => 1449932346,
  3. 'table' => 'main_config',
  4. 'create' => 'DROP TABLE IF EXISTS `main_config`;CREATE TABLE `main_config`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'网站ID\',`name` VARCHAR(32) NOT NULL DEFAULT \'\' COMMENT \'网站名称\',`logo` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'网站LOGO-192X197\',`info` TEXT(255) COMMENT \'网站介绍视频-请输入视频代码\',`title` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'网站TITLE\',`keyword` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'网站KEYWORD\',`description` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'网站DESCRIPTION\',`icp` VARCHAR(100) NOT NULL DEFAULT \'\' COMMENT \'备案信息\',`code` TEXT(255) COMMENT \'尾部代码-一般为统计代码\',`tel` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'客服电话\',`reg_tel` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'注册电话\',`android` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'安卓下载连接\',`appstore` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'APPSTORE下载\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\')',
  5. 'struct' =>
  6. array (
  7. 'id' => 0,
  8. 'hr1' => 1,
  9. 'name' => 2,
  10. 'logo' => 3,
  11. 'info' => 4,
  12. 'hr2' => 5,
  13. 'title' => 6,
  14. 'keyword' => 7,
  15. 'description' => 8,
  16. 'hr3' => 9,
  17. 'icp' => 10,
  18. 'code' => 11,
  19. 'tel' => 12,
  20. 'reg_tel' => 13,
  21. 'android' => 14,
  22. 'appstore' => 15,
  23. 'cdate' => 16,
  24. ),
  25. );