Small update
[iDB.git] / inc / sqlthemes.php
blobc1d5720eb72442b9d405ba1b68935225eb69be6b
1 <?php
2 /*
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the Revised BSD License.
6 This program is distributed in the hope that it will be useful,
7 but WITHOUT ANY WARRANTY; without even the implied warranty of
8 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 Revised BSD License for more details.
11 Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
12 Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
14 $FileInfo: sqlthemes.php - Last Update: 08/02/2019 SVN 905 - Author: cooldude2k $
16 $File3Name = basename($_SERVER['SCRIPT_NAME']);
17 if ($File3Name=="sqlthemes.php"||$File3Name=="/sqlthemes.php") {
18 require('index.php');
19 exit(); }
20 // Change SQLThemes to iDB Themes Settings
21 $ThemeSet = array();
22 $ThemeSet['ThemeName'] = sql_result($themeresult,0,"ThemeName");
23 if($ThemeSet['ThemeName']=="") { $ThemeSet['ThemeName'] = null; }
24 $ThemeSet['ThemeMaker'] = sql_result($themeresult,0,"ThemeMaker");
25 if($ThemeSet['ThemeMaker']=="") { $ThemeSet['ThemeMaker'] = null; }
26 $ThemeSet['ThemeVersion'] = sql_result($themeresult,0,"ThemeVersion");
27 if($ThemeSet['ThemeVersion']=="") { $ThemeSet['ThemeVersion'] = null; }
28 $ThemeSet['ThemeVersionType'] = sql_result($themeresult,0,"ThemeVersionType");
29 if($ThemeSet['ThemeVersionType']=="") { $ThemeSet['ThemeVersionType'] = null; }
30 $ThemeSet['ThemeSubVersion'] = sql_result($themeresult,0,"ThemeSubVersion");
31 if($ThemeSet['ThemeSubVersion']=="") { $ThemeSet['ThemeSubVersion'] = null; }
32 $ThemeSet['MakerURL'] = sql_result($themeresult,0,"MakerURL");
33 if($ThemeSet['MakerURL']=="") { $ThemeSet['MakerURL'] = null; }
34 $ThemeSet['CopyRight'] = sql_result($themeresult,0,"CopyRight");
35 if($ThemeSet['CopyRight']=="") { $ThemeSet['CopyRight'] = null; }
36 $ThemeSet['WrapperString'] = sql_result($themeresult,0,"WrapperString");
37 if($ThemeSet['WrapperString']=="") { $ThemeSet['WrapperString'] = null; }
38 $ThemeSet['CSS'] = sql_result($themeresult,0,"CSS");
39 if($ThemeSet['CSS']=="") { $ThemeSet['CSS'] = null; }
40 $ThemeSet['CSSType'] = sql_result($themeresult,0,"CSSType");
41 if($ThemeSet['CSSType']=="") { $ThemeSet['CSSType'] = null; }
42 $ThemeSet['FavIcon'] = sql_result($themeresult,0,"FavIcon");
43 if($ThemeSet['FavIcon']=="") { $ThemeSet['FavIcon'] = null; }
44 $ThemeSet['TableStyle'] = sql_result($themeresult,0,"TableStyle");
45 if($ThemeSet['TableStyle']=="") { $ThemeSet['TableStyle'] = null; }
46 $ThemeSet['MiniPageAltStyle'] = sql_result($themeresult,0,"MiniPageAltStyle");
47 if($ThemeSet['MiniPageAltStyle']=="") { $ThemeSet['MiniPageAltStyle'] = null; }
48 $ThemeSet['PreLogo'] = sql_result($themeresult,0,"PreLogo");
49 if($ThemeSet['PreLogo']=="") { $ThemeSet['PreLogo'] = null; }
50 $ThemeSet['Logo'] = sql_result($themeresult,0,"Logo");
51 if($ThemeSet['Logo']=="") { $ThemeSet['Logo'] = null; }
52 $ThemeSet['LogoStyle'] = sql_result($themeresult,0,"LogoStyle");
53 if($ThemeSet['LogoStyle']=="") { $ThemeSet['LogoStyle'] = null; }
54 $ThemeSet['SubLogo'] = sql_result($themeresult,0,"SubLogo");
55 if($ThemeSet['SubLogo']=="") { $ThemeSet['SubLogo'] = null; }
56 $ThemeSet['TopicIcon'] = sql_result($themeresult,0,"TopicIcon");
57 if($ThemeSet['TopicIcon']=="") { $ThemeSet['TopicIcon'] = null; }
58 $ThemeSet['MovedTopicIcon'] = sql_result($themeresult,0,"MovedTopicIcon");
59 if($ThemeSet['MovedTopicIcon']=="") { $ThemeSet['MovedTopicIcon'] = $ThemeSet['TopicIcon']; }
60 $ThemeSet['HotTopic'] = sql_result($themeresult,0,"HotTopic");
61 if($ThemeSet['HotTopic']=="") { $ThemeSet['HotTopic'] = null; }
62 $ThemeSet['MovedHotTopic'] = sql_result($themeresult,0,"MovedHotTopic");
63 if($ThemeSet['MovedHotTopic']=="") { $ThemeSet['MovedHotTopic'] = $ThemeSet['HotTopic']; }
64 $ThemeSet['PinTopic'] = sql_result($themeresult,0,"PinTopic");
65 if($ThemeSet['PinTopic']=="") { $ThemeSet['PinTopic'] = null; }
66 $ThemeSet['AnnouncementTopic'] = sql_result($themeresult,0,"AnnouncementTopic");
67 if($ThemeSet['AnnouncementTopic']=="") { $ThemeSet['AnnouncementTopic'] = $ThemeSet['PinTopic']; }
68 $ThemeSet['MovedPinTopic'] = sql_result($themeresult,0,"MovedPinTopic");
69 if($ThemeSet['MovedPinTopic']=="") { $ThemeSet['MovedPinTopic'] = $ThemeSet['PinTopic']; }
70 $ThemeSet['HotPinTopic'] = sql_result($themeresult,0,"HotPinTopic");
71 if($ThemeSet['HotPinTopic']=="") { $ThemeSet['HotPinTopic'] = null; }
72 $ThemeSet['MovedHotPinTopic'] = sql_result($themeresult,0,"MovedHotPinTopic");
73 if($ThemeSet['MovedHotPinTopic']=="") { $ThemeSet['MovedHotPinTopic'] = $ThemeSet['HotPinTopic']; }
74 $ThemeSet['ClosedTopic'] = sql_result($themeresult,0,"ClosedTopic");
75 if($ThemeSet['ClosedTopic']=="") { $ThemeSet['ClosedTopic'] = null; }
76 $ThemeSet['MovedClosedTopic'] = sql_result($themeresult,0,"MovedClosedTopic");
77 if($ThemeSet['MovedClosedTopic']=="") { $ThemeSet['MovedClosedTopic'] = $ThemeSet['ClosedTopic']; }
78 $ThemeSet['HotClosedTopic'] = sql_result($themeresult,0,"HotClosedTopic");
79 if($ThemeSet['HotClosedTopic']=="") { $ThemeSet['HotClosedTopic'] = null; }
80 $ThemeSet['MovedHotClosedTopic'] = sql_result($themeresult,0,"MovedHotClosedTopic");
81 if($ThemeSet['MovedHotClosedTopic']=="") { $ThemeSet['MovedHotClosedTopic'] = $ThemeSet['HotClosedTopic']; }
82 $ThemeSet['PinClosedTopic'] = sql_result($themeresult,0,"PinClosedTopic");
83 if($ThemeSet['PinClosedTopic']=="") { $ThemeSet['PinClosedTopic'] = null; }
84 $ThemeSet['MovedPinClosedTopic'] = sql_result($themeresult,0,"MovedPinClosedTopic");
85 if($ThemeSet['MovedPinClosedTopic']=="") { $ThemeSet['MovedPinClosedTopic'] = $ThemeSet['PinClosedTopic']; }
86 $ThemeSet['HotPinClosedTopic'] = sql_result($themeresult,0,"HotPinClosedTopic");
87 if($ThemeSet['HotPinClosedTopic']=="") { $ThemeSet['HotPinClosedTopic'] = null; }
88 $ThemeSet['MovedHotPinClosedTopic'] = sql_result($themeresult,0,"MovedHotPinClosedTopic");
89 if($ThemeSet['MovedHotPinClosedTopic']=="") { $ThemeSet['MovedHotPinClosedTopic'] = $ThemeSet['HotPinClosedTopic']; }
90 $ThemeSet['MessageRead'] = sql_result($themeresult,0,"MessageRead");
91 if($ThemeSet['MessageRead']=="") { $ThemeSet['MessageRead'] = null; }
92 $ThemeSet['MessageUnread'] = sql_result($themeresult,0,"MessageUnread");
93 if($ThemeSet['MessageUnread']=="") { $ThemeSet['MessageUnread'] = null; }
94 $ThemeSet['Profile'] = sql_result($themeresult,0,"Profile");
95 if($ThemeSet['Profile']=="") { $ThemeSet['Profile'] = null; }
96 $ThemeSet['WWW'] = sql_result($themeresult,0,"WWW");
97 if($ThemeSet['WWW']=="") { $ThemeSet['WWW'] = null; }
98 $ThemeSet['PM'] = sql_result($themeresult,0,"PM");
99 if($ThemeSet['PM']=="") { $ThemeSet['PM'] = null; }
100 $ThemeSet['TopicLayout'] = sql_result($themeresult,0,"TopicLayout");
101 if($ThemeSet['TopicLayout']=="") { $ThemeSet['TopicLayout'] = null; }
102 $ThemeSet['AddReply'] = sql_result($themeresult,0,"AddReply");
103 if($ThemeSet['AddReply']=="") { $ThemeSet['AddReply'] = null; }
104 $ThemeSet['FastReply'] = sql_result($themeresult,0,"FastReply");
105 if($ThemeSet['FastReply']=="") { $ThemeSet['FastReply'] = null; }
106 $ThemeSet['NewTopic'] = sql_result($themeresult,0,"NewTopic");
107 if($ThemeSet['NewTopic']=="") { $ThemeSet['NewTopic'] = null; }
108 $ThemeSet['QuoteReply'] = sql_result($themeresult,0,"QuoteReply");
109 if($ThemeSet['QuoteReply']=="") { $ThemeSet['QuoteReply'] = null; }
110 $ThemeSet['EditReply'] = sql_result($themeresult,0,"EditReply");
111 if($ThemeSet['EditReply']=="") { $ThemeSet['EditReply'] = null; }
112 $ThemeSet['DeleteReply'] = sql_result($themeresult,0,"DeleteReply");
113 if($ThemeSet['DeleteReply']=="") { $ThemeSet['DeleteReply'] = null; }
114 $ThemeSet['Report'] = sql_result($themeresult,0,"Report");
115 if($ThemeSet['Report']=="") { $ThemeSet['Report'] = null; }
116 $ThemeSet['LineDivider'] = sql_result($themeresult,0,"LineDivider");
117 if($ThemeSet['LineDivider']=="") { $ThemeSet['LineDivider'] = null; }
118 $ThemeSet['ButtonDivider'] = sql_result($themeresult,0,"ButtonDivider");
119 if($ThemeSet['ButtonDivider']=="") { $ThemeSet['ButtonDivider'] = null; }
120 $ThemeSet['LineDividerTopic'] = sql_result($themeresult,0,"LineDividerTopic");
121 if($ThemeSet['LineDividerTopic']=="") { $ThemeSet['LineDividerTopic'] = null; }
122 $ThemeSet['TitleDivider'] = sql_result($themeresult,0,"TitleDivider");
123 if($ThemeSet['TitleDivider']=="") { $ThemeSet['TitleDivider'] = null; }
124 $ThemeSet['ForumStyle'] = sql_result($themeresult,0,"ForumStyle");
125 if($ThemeSet['ForumStyle']=="") { $ThemeSet['ForumStyle'] = null; }
126 $ThemeSet['ForumIcon'] = sql_result($themeresult,0,"ForumIcon");
127 if($ThemeSet['ForumIcon']=="") { $ThemeSet['ForumIcon'] = null; }
128 $ThemeSet['SubForumIcon'] = sql_result($themeresult,0,"SubForumIcon");
129 if($ThemeSet['SubForumIcon']=="") { $ThemeSet['SubForumIcon'] = null; }
130 $ThemeSet['RedirectIcon'] = sql_result($themeresult,0,"RedirectIcon");
131 if($ThemeSet['RedirectIcon']=="") { $ThemeSet['RedirectIcon'] = null; }
132 $ThemeSet['TitleIcon'] = sql_result($themeresult,0,"TitleIcon");
133 if($ThemeSet['TitleIcon']=="") { $ThemeSet['TitleIcon'] = null; }
134 $ThemeSet['NavLinkIcon'] = sql_result($themeresult,0,"NavLinkIcon");
135 if($ThemeSet['NavLinkIcon']=="") { $ThemeSet['NavLinkIcon'] = null; }
136 $ThemeSet['NavLinkDivider'] = sql_result($themeresult,0,"NavLinkDivider");
137 if($ThemeSet['NavLinkDivider']=="") { $ThemeSet['NavLinkDivider'] = null; }
138 $ThemeSet['BoardStatsIcon'] = sql_result($themeresult,0,"BoardStatsIcon");
139 if($ThemeSet['BoardStatsIcon']=="") { $ThemeSet['BoardStatsIcon'] = null; }
140 $ThemeSet['MemberStatsIcon'] = sql_result($themeresult,0,"MemberStatsIcon");
141 if($ThemeSet['MemberStatsIcon']=="") { $ThemeSet['MemberStatsIcon'] = null; }
142 $ThemeSet['BirthdayStatsIcon'] = sql_result($themeresult,0,"BirthdayStatsIcon");
143 if($ThemeSet['BirthdayStatsIcon']=="") { $ThemeSet['BirthdayStatsIcon'] = null; }
144 $ThemeSet['EventStatsIcon'] = sql_result($themeresult,0,"EventStatsIcon");
145 if($ThemeSet['EventStatsIcon']=="") { $ThemeSet['EventStatsIcon'] = null; }
146 $ThemeSet['OnlineStatsIcon'] = sql_result($themeresult,0,"OnlineStatsIcon");
147 if($ThemeSet['OnlineStatsIcon']=="") { $ThemeSet['OnlineStatsIcon'] = null; }
148 $ThemeSet['NoAvatar'] = sql_result($themeresult,0,"NoAvatar");
149 if($ThemeSet['NoAvatar']=="") { $ThemeSet['NoAvatar'] = null; }
150 $ThemeSet['NoAvatarSize'] = sql_result($themeresult,0,"NoAvatarSize");
151 if($ThemeSet['NoAvatarSize']=="") { $ThemeSet['NoAvatarSize'] = null; }