- Timestamp:
- Feb 2, 2009, 8:21:34 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/banners/banner.php
r43 r55 8 8 $Database->SelectDatabase($Config['Database']['Database']); 9 9 10 //header('Content-Type: image/png');10 header('Content-Type: image/png'); 11 11 $Referer = addslashes($_SERVER['HTTP_REFERER']); 12 $Referer = substr($Referer, strpos($Referer, '/') + 2); 13 $Referer = 'http://'.substr($Referer, 0, strpos($Referer, '/')).'/'; 12 14 $DbResult = mysql_query('SELECT * FROM `banner` WHERE `Web` = "'.$Referer.'"', $Database->id_connection); 13 15 if(mysql_num_rows($DbResult) > 0) -
trunk/sql/full.sql
r43 r55 4 4 -- 5 5 -- Počítač: localhost 6 -- Vygenerováno: Čtvrtek 29. ledna 2009, 12:487 -- Verze MySQL: 5.0. 516 -- Vygenerováno: Pondělí 02. února 2009, 19:54 7 -- Verze MySQL: 5.0.67 8 8 -- Verze PHP: 5.2.6 9 9 … … 11 11 12 12 -- 13 -- Databáze: ` quests`13 -- Databáze: `wowpreklad_1` 14 14 -- 15 15 … … 33 33 34 34 -- 35 -- Struktura tabulky `client _text`36 -- 37 38 CREATE TABLE IF NOT EXISTS `client _text` (35 -- Struktura tabulky `client` 36 -- 37 38 CREATE TABLE IF NOT EXISTS `client` ( 39 39 `ID` int(11) unsigned NOT NULL auto_increment, 40 40 `entry` int(11) unsigned NOT NULL, 41 ` text` text character set latin2 collate latin2_czech_cs,41 `Text` text character set latin2 collate latin2_czech_cs, 42 42 `id_text` text character set latin2 collate latin2_czech_cs, 43 43 `File` int(11) NOT NULL default '0', … … 48 48 `Complete` int(11) NOT NULL, 49 49 `Take` int(11) NOT NULL, 50 `admin_check` int(11) NOT NULL, 50 51 PRIMARY KEY (`ID`), 51 52 KEY `entry` (`entry`), … … 53 54 KEY `User` (`User`), 54 55 KEY `Take` (`Take`) 55 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=120 79;56 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12081 ; 56 57 57 58 -- -------------------------------------------------------- … … 70 71 KEY `IDclient` (`IDclient`) 71 72 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=85 ; 73 74 -- -------------------------------------------------------- 75 76 -- 77 -- Struktura tabulky `creature` 78 -- 79 80 CREATE TABLE IF NOT EXISTS `creature` ( 81 `ID` int(11) unsigned NOT NULL auto_increment, 82 `entry` int(11) NOT NULL, 83 `name` varchar(255) NOT NULL, 84 `subname` varchar(255) NOT NULL, 85 `Language` int(11) NOT NULL default '0', 86 `Vote` float NOT NULL, 87 `CountVote` int(11) NOT NULL, 88 `User` int(11) NOT NULL, 89 `Complete` int(11) NOT NULL, 90 `Take` int(11) NOT NULL, 91 `admin_check` int(11) NOT NULL default '0', 92 PRIMARY KEY (`ID`), 93 KEY `entry` (`entry`), 94 KEY `User` (`User`), 95 KEY `Take` (`Take`) 96 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=26294 ; 97 98 -- -------------------------------------------------------- 99 100 -- 101 -- Struktura tabulky `creature_vote` 102 -- 103 104 CREATE TABLE IF NOT EXISTS `creature_vote` ( 105 `ID` int(11) NOT NULL auto_increment, 106 `TextId` int(11) NOT NULL, 107 `IDuser` int(11) NOT NULL, 108 `vote` int(11) NOT NULL, 109 PRIMARY KEY (`ID`), 110 KEY `IDquest` (`TextId`), 111 KEY `IDuser` (`IDuser`) 112 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 72 113 73 114 -- -------------------------------------------------------- … … 89 130 90 131 -- 132 -- Struktura tabulky `gameobject` 133 -- 134 135 CREATE TABLE IF NOT EXISTS `gameobject` ( 136 `ID` int(11) unsigned NOT NULL auto_increment, 137 `entry` int(11) NOT NULL, 138 `Name` varchar(255) NOT NULL, 139 `castbarcaption` varchar(255) NOT NULL, 140 `Language` int(11) NOT NULL default '0', 141 `Vote` float NOT NULL, 142 `CountVote` int(11) NOT NULL, 143 `User` int(11) NOT NULL, 144 `Complete` int(11) NOT NULL, 145 `Take` int(11) NOT NULL, 146 `admin_check` int(11) NOT NULL default '0', 147 PRIMARY KEY (`ID`), 148 KEY `entry` (`entry`), 149 KEY `User` (`User`), 150 KEY `Take` (`Take`) 151 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=17823 ; 152 153 -- -------------------------------------------------------- 154 155 -- 156 -- Struktura tabulky `gameobject_vote` 157 -- 158 159 CREATE TABLE IF NOT EXISTS `gameobject_vote` ( 160 `ID` int(11) NOT NULL auto_increment, 161 `TextId` int(11) NOT NULL, 162 `IDuser` int(11) NOT NULL, 163 `vote` int(11) NOT NULL, 164 PRIMARY KEY (`ID`), 165 KEY `IDquest` (`TextId`), 166 KEY `IDuser` (`IDuser`) 167 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 168 169 -- -------------------------------------------------------- 170 171 -- 172 -- Struktura tabulky `group` 173 -- 174 175 CREATE TABLE IF NOT EXISTS `group` ( 176 `Id` int(11) NOT NULL auto_increment, 177 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 178 `TablePrefix` varchar(255) collate utf8_czech_ci NOT NULL, 179 `MangosTable` varchar(255) collate utf8_czech_ci NOT NULL, 180 `MangosTableIndex` varchar(255) collate utf8_czech_ci NOT NULL, 181 PRIMARY KEY (`Id`) 182 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=10 ; 183 184 -- -------------------------------------------------------- 185 186 -- 187 -- Struktura tabulky `group_item` 188 -- 189 190 CREATE TABLE IF NOT EXISTS `group_item` ( 191 `Id` int(11) NOT NULL auto_increment, 192 `Group` int(11) NOT NULL, 193 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 194 `Column` varchar(255) collate utf8_czech_ci NOT NULL, 195 `MangosColumn` varchar(255) collate utf8_czech_ci NOT NULL, 196 PRIMARY KEY (`Id`) 197 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=38 ; 198 199 -- -------------------------------------------------------- 200 201 -- 202 -- Struktura tabulky `item` 203 -- 204 205 CREATE TABLE IF NOT EXISTS `item` ( 206 `ID` int(11) unsigned NOT NULL auto_increment, 207 `entry` int(11) NOT NULL, 208 `Name` varchar(255) NOT NULL, 209 `Description` varchar(255) NOT NULL, 210 `Language` int(11) NOT NULL default '0', 211 `Vote` float NOT NULL, 212 `CountVote` int(11) NOT NULL, 213 `User` int(11) NOT NULL, 214 `Complete` int(11) NOT NULL, 215 `Take` int(11) NOT NULL, 216 `admin_check` int(11) NOT NULL default '0', 217 PRIMARY KEY (`ID`), 218 KEY `entry` (`entry`), 219 KEY `User` (`User`), 220 KEY `Take` (`Take`) 221 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=31370 ; 222 223 -- -------------------------------------------------------- 224 225 -- 226 -- Struktura tabulky `item_vote` 227 -- 228 229 CREATE TABLE IF NOT EXISTS `item_vote` ( 230 `ID` int(11) NOT NULL auto_increment, 231 `TextId` int(11) NOT NULL, 232 `IDuser` int(11) NOT NULL, 233 `vote` int(11) NOT NULL, 234 PRIMARY KEY (`ID`), 235 KEY `IDquest` (`TextId`), 236 KEY `IDuser` (`IDuser`) 237 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 238 239 -- -------------------------------------------------------- 240 241 -- 91 242 -- Struktura tabulky `log` 92 243 -- … … 101 252 PRIMARY KEY (`ID`), 102 253 KEY `user` (`user`) 103 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 647;104 105 -- -------------------------------------------------------- 106 107 -- 108 -- Struktura tabulky ` npc_text`109 -- 110 111 CREATE TABLE IF NOT EXISTS ` npc_text` (254 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=12739 ; 255 256 -- -------------------------------------------------------- 257 258 -- 259 -- Struktura tabulky `mangos_command` 260 -- 261 262 CREATE TABLE IF NOT EXISTS `mangos_command` ( 112 263 `ID` int(11) unsigned NOT NULL auto_increment, 113 264 `entry` int(11) NOT NULL, 114 `text0_0` text character set latin2 collate latin2_czech_cs, 115 `text0_1` text character set latin2 collate latin2_czech_cs, 116 `text1_0` text character set latin2 collate latin2_czech_cs, 117 `text1_1` text character set latin2 collate latin2_czech_cs, 118 `text2_0` text character set latin2 collate latin2_czech_cs, 119 `text2_1` text character set latin2 collate latin2_czech_cs, 120 `text3_0` text character set latin2 collate latin2_czech_cs, 121 `text3_1` text character set latin2 collate latin2_czech_cs, 122 `text4_0` text character set latin2 collate latin2_czech_cs, 123 `text4_1` text character set latin2 collate latin2_czech_cs, 124 `text5_0` text character set latin2 collate latin2_czech_cs, 125 `text5_1` text character set latin2 collate latin2_czech_cs, 126 `text6_0` text character set latin2 collate latin2_czech_cs, 127 `text6_1` text character set latin2 collate latin2_czech_cs, 128 `text7_0` text character set latin2 collate latin2_czech_cs, 129 `text7_1` text character set latin2 collate latin2_czech_cs, 130 `Language` int(11) NOT NULL default '0', 131 `Vote` float NOT NULL, 132 `CountVote` int(11) NOT NULL, 133 `User` int(11) NOT NULL, 134 `Complete` int(11) NOT NULL, 135 `Take` int(11) NOT NULL, 136 `admin_check` int(11) NOT NULL default '0', 137 PRIMARY KEY (`ID`), 138 KEY `entry` (`entry`), 139 KEY `User` (`User`), 140 KEY `Take` (`Take`) 141 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=16777687 ; 265 `help` varchar(255) NOT NULL, 266 `Language` int(11) NOT NULL default '0', 267 `Vote` float NOT NULL, 268 `CountVote` int(11) NOT NULL, 269 `User` int(11) NOT NULL, 270 `Complete` int(11) NOT NULL, 271 `Take` int(11) NOT NULL, 272 `admin_check` int(11) NOT NULL default '0', 273 PRIMARY KEY (`ID`), 274 KEY `entry` (`entry`), 275 KEY `User` (`User`), 276 KEY `Take` (`Take`) 277 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 278 279 -- -------------------------------------------------------- 280 281 -- 282 -- Struktura tabulky `mangos_command_vote` 283 -- 284 285 CREATE TABLE IF NOT EXISTS `mangos_command_vote` ( 286 `ID` int(11) NOT NULL auto_increment, 287 `TextId` int(11) NOT NULL, 288 `IDuser` int(11) NOT NULL, 289 `vote` int(11) NOT NULL, 290 PRIMARY KEY (`ID`), 291 KEY `IDquest` (`TextId`), 292 KEY `IDuser` (`IDuser`) 293 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 294 295 -- -------------------------------------------------------- 296 297 -- 298 -- Struktura tabulky `mangos_string` 299 -- 300 301 CREATE TABLE IF NOT EXISTS `mangos_string` ( 302 `ID` int(11) unsigned NOT NULL auto_increment, 303 `entry` int(11) NOT NULL, 304 `content_default` varchar(255) NOT NULL, 305 `Language` int(11) NOT NULL default '0', 306 `Vote` float NOT NULL, 307 `CountVote` int(11) NOT NULL, 308 `User` int(11) NOT NULL, 309 `Complete` int(11) NOT NULL, 310 `Take` int(11) NOT NULL, 311 `admin_check` int(11) NOT NULL default '0', 312 PRIMARY KEY (`ID`), 313 KEY `entry` (`entry`), 314 KEY `User` (`User`), 315 KEY `Take` (`Take`) 316 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=680 ; 317 318 -- -------------------------------------------------------- 319 320 -- 321 -- Struktura tabulky `mangos_string_vote` 322 -- 323 324 CREATE TABLE IF NOT EXISTS `mangos_string_vote` ( 325 `ID` int(11) NOT NULL auto_increment, 326 `TextId` int(11) NOT NULL, 327 `IDuser` int(11) NOT NULL, 328 `vote` int(11) NOT NULL, 329 PRIMARY KEY (`ID`), 330 KEY `IDquest` (`TextId`), 331 KEY `IDuser` (`IDuser`) 332 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; 333 334 -- -------------------------------------------------------- 335 336 -- 337 -- Struktura tabulky `npc` 338 -- 339 340 CREATE TABLE IF NOT EXISTS `npc` ( 341 `ID` int(11) unsigned NOT NULL auto_increment, 342 `entry` int(11) NOT NULL, 343 `Text0_0` text character set latin2 collate latin2_czech_cs, 344 `Text0_1` text character set latin2 collate latin2_czech_cs, 345 `Text1_0` text character set latin2 collate latin2_czech_cs, 346 `Text1_1` text character set latin2 collate latin2_czech_cs, 347 `Text2_0` text character set latin2 collate latin2_czech_cs, 348 `Text2_1` text character set latin2 collate latin2_czech_cs, 349 `Text3_0` text character set latin2 collate latin2_czech_cs, 350 `Text3_1` text character set latin2 collate latin2_czech_cs, 351 `Text4_0` text character set latin2 collate latin2_czech_cs, 352 `Text4_1` text character set latin2 collate latin2_czech_cs, 353 `Text5_0` text character set latin2 collate latin2_czech_cs, 354 `Text5_1` text character set latin2 collate latin2_czech_cs, 355 `Text6_0` text character set latin2 collate latin2_czech_cs, 356 `Text6_1` text character set latin2 collate latin2_czech_cs, 357 `Text7_0` text character set latin2 collate latin2_czech_cs, 358 `Text7_1` text character set latin2 collate latin2_czech_cs, 359 `Language` int(11) NOT NULL default '0', 360 `Vote` float NOT NULL, 361 `CountVote` int(11) NOT NULL, 362 `User` int(11) NOT NULL, 363 `Complete` int(11) NOT NULL, 364 `Take` int(11) NOT NULL, 365 `admin_check` int(11) NOT NULL default '0', 366 PRIMARY KEY (`ID`), 367 KEY `entry` (`entry`), 368 KEY `User` (`User`), 369 KEY `Take` (`Take`) 370 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=16779063 ; 142 371 143 372 -- -------------------------------------------------------- … … 160 389 161 390 -- 162 -- Struktura tabulky `page _text`163 -- 164 165 CREATE TABLE IF NOT EXISTS `page _text` (391 -- Struktura tabulky `page` 392 -- 393 394 CREATE TABLE IF NOT EXISTS `page` ( 166 395 `ID` int(11) NOT NULL auto_increment, 167 396 `entry` int(11) unsigned NOT NULL default '0', 168 ` text` text character set latin2 collate latin2_czech_cs,397 `Text` text character set latin2 collate latin2_czech_cs, 169 398 `Language` int(11) NOT NULL, 170 399 `Vote` float NOT NULL, … … 178 407 KEY `User` (`User`), 179 408 KEY `Take` (`Take`) 180 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Item System' AUTO_INCREMENT=1 527 ;409 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Item System' AUTO_INCREMENT=1737 ; 181 410 182 411 -- -------------------------------------------------------- … … 219 448 `CountVote` int(11) NOT NULL, 220 449 `User` int(11) NOT NULL, 221 ` complete` int(11) NOT NULL default '1',450 `Complete` int(11) NOT NULL default '1', 222 451 `Take` int(11) NOT NULL, 223 452 `admin_check` int(11) NOT NULL default '0', … … 225 454 KEY `entry` (`entry`), 226 455 KEY `User` (`User`) 227 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT= 8780;456 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=10696 ; 228 457 229 458 -- -------------------------------------------------------- … … 249 478 CREATE TABLE IF NOT EXISTS `quests_vote` ( 250 479 `ID` int(11) NOT NULL auto_increment, 251 ` IDquest` int(11) NOT NULL,252 `IDuser` int(11) NOT NULL, 253 `vote` int(11) NOT NULL, 254 PRIMARY KEY (`ID`), 255 KEY `IDquest` (` IDquest`),480 `TextId` int(11) NOT NULL, 481 `IDuser` int(11) NOT NULL, 482 `vote` int(11) NOT NULL, 483 PRIMARY KEY (`ID`), 484 KEY `IDquest` (`TextId`), 256 485 KEY `IDuser` (`IDuser`) 257 486 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3278 ; … … 270 499 `IP` text character set latin2 collate latin2_czech_cs NOT NULL, 271 500 PRIMARY KEY (`ID`) 272 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=44 8;501 ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=449 ; 273 502 274 503 -- -------------------------------------------------------- … … 285 514 `tag` int(11) NOT NULL, 286 515 PRIMARY KEY (`ID`) 287 ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=33 4;516 ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=335 ; 288 517 289 518 -- --------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.