Changeset 61 for trunk/client_files/Generate/define.php
- Timestamp:
- Feb 4, 2009, 9:51:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client_files/Generate/define.php
r40 r61 61 61 "Footer" => "};if not ".$wow."WOW_BookPage then ".$wow."WOW_BookPage=0; end; ".$wow."WOW_BookPage=".$wow."WOW_BookPage", 62 62 "sql" => "SELECT DISTINCT entry, ( 63 SELECT Text FROM page _textas text_cz WHERE text_cz.entry = page_text_distric.entry AND Language = 2 AND complete = 164 ORDER BY vote DESC LIMIT 1 65 ) as cz, ( 66 SELECT Text FROM page _textas text_en WHERE text_en.entry = page_text_distric.entry AND Language = 0 LIMIT 167 ) as en FROM page _textas page_text_distric63 SELECT Text FROM page as text_cz WHERE text_cz.entry = page_text_distric.entry AND Language = 2 AND complete = 1 64 ORDER BY vote DESC LIMIT 1 65 ) as cz, ( 66 SELECT Text FROM page as text_en WHERE text_en.entry = page_text_distric.entry AND Language = 0 LIMIT 1 67 ) as en FROM page as page_text_distric 68 68 WHERE $where_sk $limit", 69 69 ); … … 73 73 for ($j=0;$j<2 ;++$j ) { 74 74 $sql = $sql."SELECT DISTINCT entry, ( 75 SELECT text".$i."_$j FROM npc _textas text_cz WHERE text_cz.entry = npc_text_distric.entry AND Language = 2 AND complete = 176 ORDER BY vote DESC LIMIT 1 77 ) as cz, ( 78 SELECT text".$i."_$j FROM npc _textas text_en WHERE text_en.entry = npc_text_distric.entry AND Language = 0 LIMIT 179 ) as en FROM npc _textas npc_text_distric75 SELECT text".$i."_$j FROM npc as text_cz WHERE text_cz.entry = npc_text_distric.entry AND Language = 2 AND complete = 1 76 ORDER BY vote DESC LIMIT 1 77 ) as cz, ( 78 SELECT text".$i."_$j FROM npc as text_en WHERE text_en.entry = npc_text_distric.entry AND Language = 0 LIMIT 1 79 ) as en FROM npc as npc_text_distric 80 80 WHERE $where $limit UNION "; 81 81 } … … 145 145 "Footer" => "};if not ".$wow."WOW_BookPage then ".$wow."WOW_BookPage=0; end; ".$wow."WOW_BookPage=".$wow."WOW_BookPage", 146 146 "sql" => "SELECT DISTINCT entry, ( 147 SELECT Text FROM page _textas text_cz WHERE text_cz.entry = page_text_distric.entry AND Language = 1 AND complete = 1148 ORDER BY vote DESC LIMIT 1 149 ) as cz, ( 150 SELECT Text FROM page _textas text_en WHERE text_en.entry = page_text_distric.entry AND Language = 0 LIMIT 1151 ) as en FROM page _textas page_text_distric147 SELECT Text FROM page as text_cz WHERE text_cz.entry = page_text_distric.entry AND Language = 1 AND complete = 1 148 ORDER BY vote DESC LIMIT 1 149 ) as cz, ( 150 SELECT Text FROM page as text_en WHERE text_en.entry = page_text_distric.entry AND Language = 0 LIMIT 1 151 ) as en FROM page as page_text_distric 152 152 WHERE $where $limit", 153 153 ); … … 158 158 for ($j=0;$j<2 ;++$j ) { 159 159 $sql = $sql."SELECT DISTINCT entry, ( 160 SELECT text".$i."_$j FROM npc _textas text_cz WHERE text_cz.entry = npc_text_distric.entry AND Language = 1 AND complete = 1161 ORDER BY vote DESC LIMIT 1 162 ) as cz, ( 163 SELECT text".$i."_$j FROM npc _textas text_en WHERE text_en.entry = npc_text_distric.entry AND Language = 0 LIMIT 1164 ) as en FROM npc _textas npc_text_distric160 SELECT text".$i."_$j FROM npc as text_cz WHERE text_cz.entry = npc_text_distric.entry AND Language = 1 AND complete = 1 161 ORDER BY vote DESC LIMIT 1 162 ) as cz, ( 163 SELECT text".$i."_$j FROM npc as text_en WHERE text_en.entry = npc_text_distric.entry AND Language = 0 LIMIT 1 164 ) as en FROM npc as npc_text_distric 165 165 WHERE $where $limit UNION "; 166 166 }
Note:
See TracChangeset
for help on using the changeset viewer.