本文整理匯總了PHP中DB_D函數的典型用法代碼示例。如果您正苦於以下問題:PHP DB_D函數的具體用法?PHP DB_D怎麽用?PHP DB_D使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了DB_D函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_common_sphinxcounter`;");
DB_C("CREATE TABLE `pre_common_sphinxcounter` (
`indexid` tinyint(1) NOT NULL,
`maxid` int(10) NOT NULL,
PRIMARY KEY (`indexid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例2: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_forum_forumrecommend`;");
DB_C("CREATE TABLE `pre_forum_forumrecommend` (
`fid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`tid` mediumint(8) unsigned NOT NULL,
`typeid` smallint(6) NOT NULL,
`displayorder` tinyint(1) NOT NULL,
`subject` char(80) NOT NULL,
`author` char(15) NOT NULL,
`authorid` mediumint(8) NOT NULL,
`moderatorid` mediumint(8) NOT NULL,
`expiration` int(10) unsigned NOT NULL,
`position` tinyint(1) NOT NULL DEFAULT '0',
`highlight` tinyint(1) NOT NULL DEFAULT '0',
`aid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`filename` char(100) NOT NULL DEFAULT '',
PRIMARY KEY (`tid`),
KEY `displayorder` (`fid`,`displayorder`),
KEY `position` (`position`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例3: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_portal_topic_pic`;");
DB_C("CREATE TABLE `pre_portal_topic_pic` (
`picid` mediumint(8) NOT NULL AUTO_INCREMENT,
`topicid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`username` varchar(15) NOT NULL DEFAULT '',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
`filename` varchar(255) NOT NULL DEFAULT '',
`title` varchar(255) NOT NULL DEFAULT '',
`size` int(10) unsigned NOT NULL DEFAULT '0',
`filepath` varchar(255) NOT NULL DEFAULT '',
`thumb` tinyint(1) NOT NULL DEFAULT '0',
`remote` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`picid`),
KEY `topicid` (`topicid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例4: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_ucenter_members`;");
DB_C("CREATE TABLE `pre_ucenter_members` (
`uid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`username` char(15) NOT NULL DEFAULT '',
`password` char(32) NOT NULL DEFAULT '',
`email` char(32) NOT NULL DEFAULT '',
`myid` char(30) NOT NULL DEFAULT '',
`myidkey` char(16) NOT NULL DEFAULT '',
`regip` char(15) NOT NULL DEFAULT '',
`regdate` int(10) unsigned NOT NULL DEFAULT '0',
`lastloginip` int(10) NOT NULL DEFAULT '0',
`lastlogintime` int(10) unsigned NOT NULL DEFAULT '0',
`salt` char(6) NOT NULL,
`secques` char(8) NOT NULL DEFAULT '',
PRIMARY KEY (`uid`),
UNIQUE KEY `username` (`username`),
KEY `email` (`email`)
) ENGINE=MyISAM AUTO_INCREMENT=37 DEFAULT CHARSET=utf8");
DB_I("replace into `pre_ucenter_members` values('1','admin','bb219edf5e101c6b3e382221a761c516','admin@admin.com','','','hidden','1348342328','0','0','171195','');");
DB_I("replace into `pre_ucenter_members` values('2','音樂精靈520','e635e12ea8280edbedd49333632d760a','369828392@qq.com','','','111.173.199.33','1348363243','0','0','bddb06','');");
DB_I("replace into `pre_ucenter_members` values('3','zhouge85901101','7e3e7ebc88034351c10a79c036c20b58','270006344@qq.com','','','119.96.117.95','1348366504','0','0','860657','');");
DB_I("replace into `pre_ucenter_members` values('4','coco78721','e3fb235cd830dcaf18c999e0c75154c6','29373657@qq.com','','','123.93.2.98','1348388383','0','0','f4e56b','');");
DB_I("replace into `pre_ucenter_members` values('5','mindie','bc637c0070028ad3a75ecbb56d12047b','330911968@qq.com','','','123.93.2.98','1348388573','0','0','d3f27a','');");
示例5: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_common_template`;");
DB_C("CREATE TABLE `pre_common_template` (
`templateid` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL DEFAULT '',
`directory` varchar(100) NOT NULL DEFAULT '',
`copyright` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`templateid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8");
DB_I("replace into `pre_common_template` values('1','默認模板套係','./template/default','北京康盛新創科技有限責任公司');");
?>
示例6: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_home_album_category`;");
DB_C("CREATE TABLE `pre_home_album_category` (
`catid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`upid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`catname` varchar(255) NOT NULL DEFAULT '',
`num` mediumint(8) unsigned NOT NULL DEFAULT '0',
`displayorder` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`catid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例7: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `lzh_feedback`;");
DB_C("CREATE TABLE `lzh_feedback` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` tinyint(3) unsigned NOT NULL,
`name` varchar(30) NOT NULL,
`contact` varchar(50) NOT NULL,
`msg` varchar(500) NOT NULL,
`ip` varchar(16) NOT NULL,
`add_time` int(10) unsigned NOT NULL,
`status` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8");
?>
示例8: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `lzh_friend`;");
DB_C("CREATE TABLE `lzh_friend` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`link_txt` varchar(50) NOT NULL,
`link_href` varchar(50) NOT NULL,
`link_img` varchar(100) NOT NULL DEFAULT ' ',
`link_order` int(1) NOT NULL DEFAULT '0',
`link_type` int(1) NOT NULL DEFAULT '0',
`is_show` int(1) NOT NULL DEFAULT '1',
`game_id` int(11) NOT NULL DEFAULT '0',
`game_name` char(50) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `game_id` (`game_id`)
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=utf8");
DB_I("replace into `lzh_friend` values('26','網貸點評網','http://www.wangdaidp.com','./UF/Uploads/Friends/wangdaidp4.gif','20','1','1','0','');");
?>
示例9: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_home_pokearchive`;");
DB_C("CREATE TABLE `pre_home_pokearchive` (
`pid` mediumint(8) NOT NULL AUTO_INCREMENT,
`pokeuid` int(10) unsigned NOT NULL DEFAULT '0',
`uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`fromuid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`note` varchar(255) NOT NULL DEFAULT '',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
`iconid` smallint(6) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`pid`),
KEY `pokeuid` (`pokeuid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例10: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_portal_comment_moderate`;");
DB_C("CREATE TABLE `pre_portal_comment_moderate` (
`id` int(10) unsigned NOT NULL DEFAULT '0',
`idtype` varchar(15) NOT NULL DEFAULT '',
`status` tinyint(3) NOT NULL DEFAULT '0',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idtype` (`idtype`,`status`,`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例11: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `lzh_member_login`;");
DB_C("CREATE TABLE `lzh_member_login` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL,
`ip` varchar(15) NOT NULL,
`add_time` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `uid` (`uid`,`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9430 DEFAULT CHARSET=utf8");
DB_I("replace into `lzh_member_login` values('1','1','222.244.2.23','1338898110');");
DB_I("replace into `lzh_member_login` values('2','1','222.244.2.23','1338899110');");
DB_I("replace into `lzh_member_login` values('3','1','127.0.0.1','1338898927');");
DB_I("replace into `lzh_member_login` values('4','1','127.0.0.1','1338950597');");
DB_I("replace into `lzh_member_login` values('5','1','127.0.0.1','1338958832');");
DB_I("replace into `lzh_member_login` values('6','1','127.0.0.1','1338963100');");
DB_I("replace into `lzh_member_login` values('7','1','127.0.0.1','1338965020');");
DB_I("replace into `lzh_member_login` values('8','1','127.0.0.1','1338972184');");
DB_I("replace into `lzh_member_login` values('9','1','127.0.0.1','1338986696');");
DB_I("replace into `lzh_member_login` values('10','1','127.0.0.1','1339038026');");
DB_I("replace into `lzh_member_login` values('11','1','127.0.0.1','1339121112');");
DB_I("replace into `lzh_member_login` values('12','1','127.0.0.1','1339123713');");
DB_I("replace into `lzh_member_login` values('13','1','127.0.0.1','1339131321');");
DB_I("replace into `lzh_member_login` values('14','1','127.0.0.1','1339148449');");
示例12: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_home_visitor`;");
DB_C("CREATE TABLE `pre_home_visitor` (
`uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`vuid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`vusername` char(15) NOT NULL DEFAULT '',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`uid`,`vuid`),
KEY `vuid` (`vuid`),
KEY `dateline` (`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例13: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_common_mailqueue`;");
DB_C("CREATE TABLE `pre_common_mailqueue` (
`qid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`cid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`subject` text NOT NULL,
`message` text NOT NULL,
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`qid`),
KEY `mcid` (`cid`,`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例14: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_forum_threadtype`;");
DB_C("CREATE TABLE `pre_forum_threadtype` (
`typeid` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
`fid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`displayorder` smallint(6) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL DEFAULT '',
`icon` varchar(255) NOT NULL DEFAULT '',
`special` smallint(6) NOT NULL DEFAULT '0',
`modelid` smallint(6) unsigned NOT NULL DEFAULT '0',
`expiration` tinyint(1) NOT NULL DEFAULT '0',
`template` text NOT NULL,
`stemplate` text NOT NULL,
`ptemplate` text NOT NULL,
`btemplate` text NOT NULL,
PRIMARY KEY (`typeid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8");
?>
示例15: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_forum_forum`;");
DB_C("CREATE TABLE `pre_forum_forum` (
`fid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`fup` mediumint(8) unsigned NOT NULL DEFAULT '0',
`type` enum('group','forum','sub') NOT NULL DEFAULT 'forum',
`name` char(50) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '0',
`displayorder` smallint(6) NOT NULL DEFAULT '0',
`styleid` smallint(6) unsigned NOT NULL DEFAULT '0',
`threads` mediumint(8) unsigned NOT NULL DEFAULT '0',
`posts` mediumint(8) unsigned NOT NULL DEFAULT '0',
`todayposts` mediumint(8) unsigned NOT NULL DEFAULT '0',
`lastpost` char(110) NOT NULL DEFAULT '',
`domain` char(15) NOT NULL DEFAULT '',
`allowsmilies` tinyint(1) NOT NULL DEFAULT '0',
`allowhtml` tinyint(1) NOT NULL DEFAULT '0',
`allowbbcode` tinyint(1) NOT NULL DEFAULT '0',
`allowimgcode` tinyint(1) NOT NULL DEFAULT '0',
`allowmediacode` tinyint(1) NOT NULL DEFAULT '0',
`allowanonymous` tinyint(1) NOT NULL DEFAULT '0',
`allowpostspecial` smallint(6) unsigned NOT NULL DEFAULT '0',
`allowspecialonly` tinyint(1) unsigned NOT NULL DEFAULT '0',
`allowappend` tinyint(1) unsigned NOT NULL DEFAULT '0',