📄 installsql.php
字号:
");
//######### CREATE bhost_members
mysql_query("CREATE TABLE `bhost_members` (
`m_id` int(8) NOT NULL auto_increment,
`u_id` int(8) NOT NULL default '0',
`member_u_id` int(8) NOT NULL default '0',
PRIMARY KEY (`m_id`)
)
");
//######### CREATE bhost_profile
mysql_query("CREATE TABLE `bhost_profile` (
`p_id` int(8) NOT NULL auto_increment,
`u_id` int(8) NOT NULL default '0',
`About_Me_2` text,
PRIMARY KEY (`p_id`)
)
");
//######### INSERT DEFAULTS INTO bhost_profile
mysql_query("INSERT INTO `bhost_profile` VALUES (1, 0, '32')");
//######### CREATE bhost_templates
mysql_query("CREATE TABLE `bhost_templates` (
`t_id` int(8) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
`image` varchar(255) NOT NULL default '',
`example` varchar(255) NOT NULL default '',
`html` text NOT NULL,
PRIMARY KEY (`t_id`)
)
");
//######### INSERT DEFAULTS INTO bhost_templates
//--------- Classic Black/Blue
mysql_query("INSERT INTO `bhost_templates` (`t_id`, `name`, `image`, `html`) VALUES (1, 'Classic Black/Blue', '../images/templates/classic_blackblue_pic.gif', '<html>\r\n<head>\r\n<title><%WindowTitle%></title>\r\n<style type=''text/css''>\r\n\r\np {\r\nmargin: 0px;\r\n}\r\n\r\nbody {\r\nmargin-left: 0px;\r\nmargin-top: 20px;\r\nbackground: #374B83;\r\n}\r\n\r\ntd {\r\nfont-family: verdana, arial, tahoma, sans-serif;\r\nfont-size: 8pt;\r\nline-height: 1.7;\r\ncolor: #FFFFFF;\r\n}\r\n\r\ntd.top {\r\npadding: 5px;\r\nbackground: #000000;\r\ncolor: #FFFFFF;\r\n}\r\n\r\ntd.middle {\r\npadding: 5px;\r\nbackground: #FFFFFF;\r\nfont-size: 8pt;\r\ncolor: #333333;\r\n}\r\n\r\ntd.bottom {\r\npadding: 5px;\r\nbackground: #DDDDDD;\r\nfont-size: 8pt;\r\ncolor: #333333;\r\n}\r\n\r\ndiv.author {\r\nmargin-top: 3px;\r\n}\r\n\r\nfont.disabled {\r\ncolor: #333333;\r\n}\r\n\r\na.menu:link { color: #FFFFFF; }\r\na.menu:visited { color: #FFFFFF; }\r\na.menu:hover { color: #EEEEEE; }\r\n\r\na:link { color: #000000; }\r\na:visited { color: #000000; }\r\na:hover { color: #333333; }\r\n\r\n</style>\r\n</head>\r\n<body>\r\n<center>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr>\r\n <td><b><%Title%></b></td>\r\n <td align=''right''><a class=''menu'' href=''<%MainPageURL%>''>Home</a> | <a class=''menu'' href=''<%ProfileURL%>''>Profile</a> | <a class=''menu'' href=''<%ArchiveURL%>''>Archives</a> | <a class=''menu'' href=''<%FriendsPageURL%>''>Friends</a></td>\r\n </tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''bottom''><%Description%></td></tr>\r\n</table>\r\n\r\n\r\n\r\n<!-- ARCHIVE PAGE -->\r\n<IfArchivePage>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b>Archives</b></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%ArchiveInfo%></td></tr>\r\n</table>\r\n</IfArchivePage>\r\n\r\n\r\n\r\n<!-- MAIN PAGE -->\r\n<IfMainPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfMainPage>\r\n\r\n\r\n\r\n<!-- ENTRY PAGE -->\r\n<IfEntryPage>\r\n<Entry>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><IfCommentPostAllowed><a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed></IfCommentsAllowed></td></tr>\r\n</table>\r\n\r\n<IfCommentsAllowed>\r\n<Comment>\r\n<br>\r\n\r\n<table width=''500'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' colspan=''2''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><a class=''dark'' class=''menu'' href=''<%CommentURL%>''><b><%CommentTitle%></b></a></td><td align=''right''><%CommentDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle'' colspan=''2''><%CommentBody%></td></tr>\r\n<tr><td class=''bottom''>Posted by <%CommentAuthor%> <%CommentAuthorIP%></td><td class=''bottom'' align=''right''><CommentEdit>Edit</CommentEdit> <CommentDelete>Delete</CommentDelete></td></tr>\r\n</table>\r\n</Comment>\r\n</IfCommentsAllowed>\r\n</Entry>\r\n</IfEntryPage>\r\n\r\n\r\n\r\n<!-- FRIENDS PAGE -->\r\n<IfFriendsPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><br><div class=''author''>(Posted by <%EntryAuthor%>)</div></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfFriendsPage>\r\n\r\n\r\n\r\n<IfPages>\r\n<br>\r\n\r\n<table cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' align=''center''><b><IfMainPage>Page</IfMainPage><IfFriendsPage>Page</IfFriendsPage><IfEntryPage>Entry</IfEntryPage> <%CurrentPage%> of <%TotalPages%></b></td></tr>\r\n<tr><td class=''bottom'' align=''center'' NOWRAP>\r\n<font class=''disabled''><LaterLink>Last Page</LaterLink></font> | <font class=''disabled''><EarlierLink>Next Page</LaterLink></font>\r\n</td></tr>\r\n</table>\r\n</IfPages>\r\n\r\n</center>\r\n</body>\r\n</html>')");
//--------- Classic Black/White
mysql_query("INSERT INTO `bhost_templates` (`t_id`, `name`, `image`, `html`) VALUES (2, 'Classic Black/White', '../images/templates/classic_blackwhite_pic.gif', '<html>\r\n<head>\r\n<title><%WindowTitle%></title>\r\n<style type=''text/css''>\r\n\r\np {\r\nmargin: 0px;\r\n}\r\n\r\nbody {\r\nmargin-left: 0px;\r\nmargin-top: 20px;\r\nbackground: #FFFFFF;\r\n}\r\n\r\ntd {\r\nfont-family: verdana, arial, tahoma, sans-serif;\r\nfont-size: 8pt;\r\nline-height: 1.7;\r\ncolor: #FFFFFF;\r\n}\r\n\r\ntd.top {\r\npadding: 5px;\r\nbackground: #000000;\r\ncolor: #FFFFFF;\r\n}\r\n\r\ntd.middle {\r\npadding: 5px;\r\nbackground: #FFFFFF;\r\nfont-size: 8pt;\r\ncolor: #333333;\r\nborder: 1px solid #666666;\r\nborder-bottom: none;\r\n}\r\n\r\ntd.bottom {\r\npadding: 5px;\r\nbackground: #DDDDDD;\r\nfont-size: 8pt;\r\ncolor: #333333;\r\nborder: 1px solid #666666;\r\nborder-top: none;\r\n}\r\n\r\nfont.disabled {\r\ncolor: #333333;\r\n}\r\n\r\ndiv.author {\r\nmargin-top: 3px;\r\n}\r\n\r\na.menu:link { color: #FFFFFF; }\r\na.menu:visited { color: #FFFFFF; }\r\na.menu:hover { color: #EEEEEE; }\r\n\r\na:link { color: #000000; }\r\na:visited { color: #000000; }\r\na:hover { color: #333333; }\r\n\r\n</style>\r\n</head>\r\n<body>\r\n<center>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr>\r\n <td><b><%Title%></b></td>\r\n <td align=''right''><a class=''menu'' href=''<%MainPageURL%>''>Home</a> | <a class=''menu'' href=''<%ProfileURL%>''>Profile</a> | <a class=''menu'' href=''<%ArchiveURL%>''>Archives</a> | <a class=''menu'' href=''<%FriendsPageURL%>''>Friends</a></td>\r\n </tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''bottom''><%Description%></td></tr>\r\n</table>\r\n\r\n\r\n\r\n<!-- ARCHIVE PAGE -->\r\n<IfArchivePage>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b>Archives</b></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle'' style=''border-bottom: 1px solid #666666;''><%ArchiveInfo%></td></tr>\r\n</table>\r\n</IfArchivePage>\r\n\r\n\r\n<!-- MAIN PAGE -->\r\n<IfMainPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfMainPage>\r\n\r\n\r\n\r\n<!-- ENTRY PAGE -->\r\n<IfEntryPage>\r\n<Entry>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><IfCommentPostAllowed><a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed></IfCommentsAllowed></td></tr>\r\n</table>\r\n\r\n<IfCommentsAllowed>\r\n<Comment>\r\n<br>\r\n\r\n<table width=''500'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' colspan=''2''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><a class=''dark'' class=''menu'' href=''<%CommentURL%>''><b><%CommentTitle%></b></a></td><td align=''right''><%CommentDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle'' colspan=''2''><%CommentBody%></td></tr>\r\n<tr><td class=''bottom''>Posted by <%CommentAuthor%> <%CommentAuthorIP%></td><td class=''bottom'' align=''right''><CommentEdit>Edit</CommentEdit> <CommentDelete>Delete</CommentDelete></td></tr>\r\n</table>\r\n</Comment>\r\n</IfCommentsAllowed>\r\n</Entry>\r\n</IfEntryPage>\r\n\r\n\r\n\r\n<!-- FRIENDS PAGE -->\r\n<IfFriendsPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><br><div class=''author''>(Posted by <%EntryAuthor%>)</div></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfFriendsPage>\r\n\r\n\r\n<IfPages>\r\n<br>\r\n\r\n<table cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' align=''center''><b><IfMainPage>Page</IfMainPage><IfFriendsPage>Page</IfFriendsPage><IfEntryPage>Entry</IfEntryPage> <%CurrentPage%> of <%TotalPages%></b></td></tr>\r\n<tr><td class=''bottom'' align=''center'' NOWRAP>\r\n<font class=''disabled''><LaterLink>Last Page</LaterLink></font> | <font class=''disabled''><EarlierLink>Next Page</LaterLink></font>\r\n</td></tr>\r\n</table>\r\n</IfPages>\r\n\r\n</center>\r\n</body>\r\n</html>')");
//--------- Classic Blue/Gray
mysql_query("INSERT INTO `bhost_templates` (`t_id`, `name`, `image`, `html`) VALUES (3, 'Classic Blue/Gray', '../images/templates/classic_bluegray_pic.gif', '<html>\r\n<head>\r\n<title><%WindowTitle%></title>\r\n<style type=''text/css''>\r\n\r\np {\r\nmargin: 0px;\r\n}\r\n\r\nbody {\r\nmargin-left: 0px;\r\nmargin-top: 20px;\r\nbackground: #DDDDDD;\r\n}\r\n\r\ntd {\r\nfont-family: verdana, arial, tahoma, sans-serif;\r\nfont-size: 9pt;\r\nline-height: 1.7;\r\n}\r\n\r\ntd.title {\r\ncolor: #FFFFFF;\r\n}\r\n\r\ntd.top {\r\npadding: 5px;\r\nbackground: #3366CC;\r\nborder: 1px solid #3366CC;\r\ncolor: #FFFFFF;\r\n}\r\n\r\ntd.middle {\r\npadding: 5px;\r\nbackground: #FFFFFF;\r\nborder: 1px solid #3366CC;\r\nborder-bottom: none;\r\nfont-size: 8pt;\r\n}\r\n\r\ntd.bottom {\r\npadding: 5px;\r\nbackground: #D4E1FB;\r\nborder: 1px solid #3366CC;\r\nborder-top: none;\r\nfont-size: 8pt;\r\n}\r\n\r\nfont.disabled {\r\ncolor: #333333;\r\n}\r\n\r\ndiv.author {\r\nmargin-top: 3px;\r\n}\r\n\r\na.menu:link { color: #FFFFFF; }\r\na.menu:visited { color: #FFFFFF; }\r\na.menu:hover { color: #EEEEEE; }\r\n\r\na:link { color: #000000; }\r\na:visited { color: #000000; }\r\na:hover { color: #333333; }\r\n\r\n</style>\r\n</head>\r\n<body>\r\n<center>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr>\r\n <td class=''title''><b><%Title%></b></td>\r\n <td class=''title'' align=''right''><a class=''menu'' href=''<%MainPageURL%>''>Home</a> | <a class=''menu'' href=''<%ProfileURL%>''>Profile</a> | <a class=''menu'' href=''<%ArchiveURL%>''>Archives</a> | <a class=''menu'' href=''<%FriendsPageURL%>''>Friends</a></td>\r\n </tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''bottom''><%Description%></td></tr>\r\n</table>\r\n\r\n\r\n<!-- ARCHIVE PAGE -->\r\n<IfArchivePage>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td class=''title''><b>Archives</b></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle'' style=''border-bottom: 1px solid #666666;''><%ArchiveInfo%></td></tr>\r\n</table>\r\n</IfArchivePage>\r\n\r\n\r\n<!-- MAIN PAGE -->\r\n<IfMainPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td class=''title''><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfMainPage>\r\n\r\n\r\n\r\n<!-- ENTRY PAGE -->\r\n<IfEntryPage>\r\n<Entry>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td class=''title''><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><IfCommentPostAllowed><a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed></IfCommentsAllowed></td></tr>\r\n</table>\r\n\r\n<IfCommentsAllowed>\r\n<Comment>\r\n<br>\r\n\r\n<table width=''500'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' colspan=''2''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td class=''title''><a class=''dark'' class=''menu'' href=''<%CommentURL%>''><b><%CommentTitle%></b></a></td><td align=''right''><%CommentDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle'' colspan=''2''><%CommentBody%></td></tr>\r\n<tr><td class=''bottom'' style=''border-right: none;''>Posted by <%CommentAuthor%> <%CommentAuthorIP%></td><td class=''bottom'' align=''right'' style=''border-left: none;''><CommentEdit>Edit</CommentEdit> <CommentDelete>Delete</CommentDelete></td></tr>\r\n</table>\r\n</Comment>\r\n</IfCommentsAllowed>\r\n</Entry>\r\n</IfEntryPage>\r\n\r\n\r\n<!-- FRIENDS PAGE -->\r\n<IfFriendsPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td class=''title''><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><br><div class=''author''>(Posted by <%EntryAuthor%>)</div></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfFriendsPage>\r\n\r\n\r\n\r\n<IfPages>\r\n<br>\r\n\r\n<table cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' align=''center''><b><IfMainPage>Page</IfMainPage><IfFriendsPage>Page</IfFriendsPage><IfEntryPage>Entry</IfEntryPage> <%CurrentPage%> of <%TotalPages%></b></td></tr>\r\n<tr><td class=''bottom'' align=''center'' NOWRAP>\r\n<font class=''disabled''><LaterLink>Last Page</LaterLink></font> | <font class=''disabled''><EarlierLink>Next Page</LaterLink></font>\r\n</td></tr>\r\n</table>\r\n</IfPages>\r\n\r\n</center>\r\n</body>\r\n</html>')");
//--------- Classic Blue/Yellow
mysql_query("INSERT INTO `bhost_templates` (`t_id`, `name`, `image`, `html`) VALUES (4, 'Classic Blue/Yellow', '../images/templates/classic_blueyellow_pic.gif', '<html>\r\n<head>\r\n<title><%WindowTitle%></title>\r\n<style type=''text/css''>\r\n\r\np {\r\nmargin: 0px;\r\n}\r\n\r\nbody {\r\nmargin-left: 0px;\r\nmargin-top: 20px;\r\nbackground: #FFFDCF;\r\n}\r\n\r\ntd {\r\nfont-family: "Trebuchet MS", verdana;\r\nfont-size: 8pt;\r\nline-height: 1.7;\r\ncolor: #222222;\r\n}\r\n\r\ntd.top {\r\npadding: 5px;\r\nbackground: #BBE3FF;\r\ncolor: #222222;\r\nborder-bottom: dashed 2px #BBE3FF;\r\n}\r\n\r\ntd.middle {\r\npadding: 5px;\r\nbackground: #FFFFFF;\r\nfont-size: 8pt;\r\ncolor: #333333;\r\n}\r\n\r\ntd.bottom {\r\npadding: 5px;\r\nbackground: #F0F9FF;\r\nfont-size: 8pt;\r\ncolor: #333333;\r\n}\r\n\r\nfont.disabled {\r\ncolor: #333333;\r\n}\r\n\r\ndiv.author {\r\nmargin-top: 3px;\r\n}\r\n\r\na.menu:link { color: #222222; }\r\na.menu:visited { color: #222222; }\r\na.menu:hover { color: #57828A; }\r\n\r\na:link { color: #000000; }\r\na:visited { color: #000000; }\r\na:hover { color: #57828A; }\r\n\r\n</style>\r\n</head>\r\n<body>\r\n<center>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr>\r\n <td><b><%Title%></b></td>\r\n <td align=''right''><a class=''menu'' href=''<%MainPageURL%>''>Home</a> | <a class=''menu'' href=''<%ProfileURL%>''>Profile</a> | <a class=''menu'' href=''<%ArchiveURL%>''>Archives</a> | <a class=''menu'' href=''<%FriendsPageURL%>''>Friends</a></td>\r\n </tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''bottom''><%Description%></td></tr>\r\n</table>\r\n\r\n\r\n<!-- ARCHIVE PAGE -->\r\n<IfArchivePage>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b>Archives</b></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%ArchiveInfo%></td></tr>\r\n</table>\r\n</IfArchivePage>\r\n\r\n<!-- MAIN PAGE -->\r\n<IfMainPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfMainPage>\r\n\r\n\r\n<!-- ENTRY PAGE -->\r\n<IfEntryPage>\r\n<Entry>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><IfCommentPostAllowed><a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed></IfCommentsAllowed></td></tr>\r\n</table>\r\n\r\n<IfCommentsAllowed>\r\n<Comment>\r\n<br>\r\n\r\n<table width=''500'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' colspan=''2''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><a class=''dark'' class=''menu'' href=''<%CommentURL%>''><b><%CommentTitle%></b></a></td><td align=''right''><%CommentDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle'' colspan=''2''><%CommentBody%></td></tr>\r\n<tr><td class=''bottom''>Posted by <%CommentAuthor%> <%CommentAuthorIP%></td><td class=''bottom'' align=''right''><CommentEdit>Edit</CommentEdit> <CommentDelete>Delete</CommentDelete></td></tr>\r\n</table>\r\n</Comment>\r\n</IfCommentsAllowed>\r\n</Entry>\r\n</IfEntryPage>\r\n\r\n\r\n<!-- FRIENDS PAGE -->\r\n<IfFriendsPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><br><div class=''author''>(Posted by <%EntryAuthor%>)</div></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfFriendsPage>\r\n\r\n\r\n<IfPages>\r\n<br>\r\n\r\n<table cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' align=''center''><b><IfMainPage>Page</IfMainPage><IfFriendsPage>Page</IfFriendsPage><IfEntryPage>Entry</IfEntryPage> <%CurrentPage%> of <%TotalPages%></b></td></tr>\r\n<tr><td class=''bottom'' align=''center'' NOWRAP>\r\n<font class=''disabled''><LaterLink>Last Page</LaterLink></font> | <font class=''disabled''><EarlierLink>Next Page</LaterLink></font>\r\n</td></tr>\r\n</table>\r\n</IfPages>\r\n\r\n</center>\r\n</body>\r\n</html>')");
//--------- Classic Ivy/White
mysql_query("INSERT INTO `bhost_templates` (`t_id`, `name`, `image`, `html`) VALUES (5, 'Classic Ivy/White', '../images/templates/classic_ivywhite_pic.gif', '<html>\r\n<head>\r\n<title><%WindowTitle%></title>\r\n<style type=''text/css''>\r\n\r\np {\r\nmargin: 0px;\r\n}\r\n\r\nbody {\r\nmargin-left: 0px;\r\nmargin-top: 20px;\r\nbackground: #FFFFFF;\r\n}\r\n\r\ntd {\r\nfont-family: verdana, arial, tahoma, sans-serif;\r\nfont-size: 8pt;\r\nline-height: 1.7;\r\ncolor: #000000;\r\n}\r\n\r\ntd.top {\r\npadding: 5px;\r\nbackground: #B8D1BB;\r\nborder: 1px solid #666666;\r\nborder-bottom: none;\r\ncolor: #000000;\r\n}\r\n\r\ntd.middle {\r\npadding: 5px;\r\nbackground: #FFFFFF;\r\nfont-size: 8pt;\r\ncolor: #333333;\r\nborder: 1px solid #666666;\r\nborder-bottom: none;\r\nborder-top: none;\r\n}\r\n\r\ntd.bottom {\r\npadding: 5px;\r\nbackground: #EEEEEE;\r\nfont-size: 8pt;\r\ncolor: #333333;\r\nborder: 1px solid #666666;\r\nborder-top: none;\r\n}\r\n\r\nfont.disabled {\r\ncolor: #333333;\r\n}\r\n\r\ndiv.author {\r\nmargin-top: 3px;\r\n}\r\n\r\na.menu:link { color: #000000; }\r\na.menu:visited { color: #000000; }\r\na.menu:hover { color: #000000; }\r\n\r\na:link { color: #000000; }\r\na:visited { color: #000000; }\r\na:hover { color: #333333; }\r\n\r\n</style>\r\n</head>\r\n<body>\r\n<center>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr>\r\n <td><b><%Title%></b></td>\r\n <td align=''right''><a class=''menu'' href=''<%MainPageURL%>''>Home</a> | <a class=''menu'' href=''<%ProfileURL%>''>Profile</a> | <a class=''menu'' href=''<%ArchiveURL%>''>Archives</a> | <a class=''menu'' href=''<%FriendsPageURL%>''>Friends</a></td>\r\n </tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''bottom''><%Description%></td></tr>\r\n</table>\r\n\r\n<!-- ARCHIVE PAGE -->\r\n<IfArchivePage>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b>Archives</b></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle'' style=''border-bottom: 1px solid #666666;''><%ArchiveInfo%></td></tr>\r\n</table>\r\n</IfArchivePage>\r\n\r\n\r\n<!-- MAIN PAGE -->\r\n<IfMainPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfMainPage>\r\n\r\n\r\n<!-- ENTRY PAGE -->\r\n<IfEntryPage>\r\n<Entry>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><IfCategoriesAllowed><br><div class=''author''>(Posted in <%EntryCategory%>)</div></IfCategoriesAllowed></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><IfCommentPostAllowed><a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed></IfCommentsAllowed></td></tr>\r\n</table>\r\n\r\n<IfCommentsAllowed>\r\n<Comment>\r\n<br>\r\n\r\n<table width=''500'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' colspan=''2''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><a class=''dark'' class=''menu'' href=''<%CommentURL%>''><b><%CommentTitle%></b></a></td><td align=''right''><%CommentDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle'' colspan=''2''><%CommentBody%></td></tr>\r\n<tr><td class=''bottom''>Posted by <%CommentAuthor%> <%CommentAuthorIP%></td><td class=''bottom'' align=''right''><CommentEdit>Edit</CommentEdit> <CommentDelete>Delete</CommentDelete></td></tr>\r\n</table>\r\n</Comment>\r\n</IfCommentsAllowed>\r\n</Entry>\r\n</IfEntryPage>\r\n\r\n\r\n<!-- FRIENDS PAGE -->\r\n<IfFriendsPage>\r\n<Entry>\r\n<br>\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b><%EntryTitle%></b></td><td align=''right''><%EntryDate%></td></tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''middle''><%EntryBody%><br><div class=''author''>(Posted by <%EntryAuthor%>)</div></td></tr>\r\n<tr><td class=''bottom''><IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''><%EntryCommentCount%> Comments</a><IfCommentPostAllowed> | <a class=''dark'' href=''<%CommentPostURL%>''>Post Comment</a></IfCommentPostAllowed> | </IfCommentsAllowed><a class=''dark'' href=''<%EntryURL%>''>Permanent Link</a></td></tr>\r\n</table>\r\n</Entry>\r\n</IfFriendsPage>\r\n\r\n\r\n<IfPages>\r\n<br>\r\n\r\n<table cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top'' align=''center''><b><IfMainPage>Page</IfMainPage><IfFriendsPage>Page</IfFriendsPage><IfEntryPage>Entry</IfEntryPage> <%CurrentPage%> of <%TotalPages%></b></td></tr>\r\n<tr><td class=''bottom'' align=''center'' NOWRAP>\r\n<font class=''disabled''><LaterLink>Last Page</LaterLink></font> | <font class=''disabled''><EarlierLink>Next Page</LaterLink></font>\r\n</td></tr>\r\n</table>\r\n</IfPages>\r\n\r\n</center>\r\n</body>\r\n</html>')");
//--------- Classic Pink/Black
mysql_query("INSERT INTO `bhost_templates` (`t_id`, `name`, `image`, `html`) VALUES (6, 'Classic Pink/Black', '../images/templates/classic_pinkblack_pic.gif', '<html>\r\n<head>\r\n<title><%WindowTitle%></title>\r\n<style type=''text/css''>\r\n\r\np {\r\nmargin: 0px;\r\n}\r\n\r\nbody {\r\nmargin-left: 0px;\r\nmargin-top: 20px;\r\nbackground: #000000;\r\n}\r\n\r\ntd {\r\nfont-family: "Courier New", verdana, arial, tahoma, sans-serif;\r\nfont-size: 8pt;\r\nline-height: 1.7;\r\n}\r\n\r\ntd.top {\r\npadding: 5px;\r\nbackground: #FF99FF;\r\nborder-bottom: 1px dashed #CCCCCC;\r\n}\r\n\r\ntd.middle {\r\npadding: 5px;\r\nbackground: #FFFFFF;\r\nfont-size: 8pt;\r\nborder-bottom: 1px solid #CCCCCC;\r\n}\r\n\r\ntd.bottom {\r\npadding: 5px;\r\nbackground: #FFE2FF;\r\nfont-size: 8pt;\r\n}\r\n\r\nfont.disabled {\r\ncolor: #333333;\r\n}\r\n\r\ndiv.author {\r\nmargin-top: 3px;\r\n}\r\n\r\na.menu:link { color: #000000; }\r\na.menu:visited { color: #000000; }\r\na.menu:hover { color: #000033; }\r\n\r\na:link { color: #000000; }\r\na:visited { color: #000000; }\r\na:hover { color: #333333; }\r\n\r\n</style>\r\n</head>\r\n<body>\r\n<center>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr>\r\n <td><b><%Title%></b></td>\r\n <td align=''right''><a class=''menu'' href=''<%MainPageURL%>''>Home</a> | <a class=''menu'' href=''<%ProfileURL%>''>Profile</a> | <a class=''menu'' href=''<%ArchiveURL%>''>Archives</a> | <a class=''menu'' href=''<%FriendsPageURL%>''>Friends</a></td>\r\n </tr>\r\n </table>\r\n</td></tr>\r\n<tr><td class=''bottom''><%Description%></td></tr>\r\n</table>\r\n\r\n\r\n<!-- ARCHIVE PAGE -->\r\n<IfArchivePage>\r\n<br>\r\n\r\n<table width=''600'' cellpadding=''0'' cellspacing=''0'' align=''center''>\r\n<tr><td class=''top''>\r\n <table width=''100%'' cellpadding=''0'' cellspacing=''0''>\r\n <tr><td><b>Archives</b></
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -