Changeset 20 for page_list.php
- Timestamp:
- Oct 2, 2008, 9:38:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
page_list.php
r18 r20 105 105 106 106 if(array_key_exists('nocheck', $_GET)) { 107 echo '<a Title="Zobrazit page_texty podle vlasního filtru" href="page_list.php?filter">Filtr page_text ù</a> ->107 echo '<a Title="Zobrazit page_texty podle vlasního filtru" href="page_list.php?filter">Filtr page_textsù</a> -> 108 108 <a Title="Zatím nezkontrolované page_texty" href="page_list.php?nocheck">Nezkontrolované page_texty</a><br><br>'; 109 109 110 WritePages('page_list.php?nocheck'," WHERE Language <> 0 AND page_text.Complete = '1' AND admin_check <> 1"); 110 WritePages('page_list.php?nocheck'," WHERE Language <> 0 AND page_text.Complete = '1' 111 AND NOT EXISTS(SELECT 1 FROM tag WHERE ID_user = ".$_SESSION['UserID']." AND tag.type_translation = 3 AND tag.ID_translation = page_text.ID)"); 111 112 112 113 Write_page_text("SELECT *, (SELECT user.user FROM user WHERE user.id = page_text.user) as User 113 FROM page_text WHERE Language <> 0 AND page_text.Complete = '1' AND admin_check <> 1", $_SESSION['limitx'].','.$_SESSION['limity'],'nocheck'); 114 FROM page_text WHERE Language <> 0 AND page_text.Complete = '1' 115 AND NOT EXISTS(SELECT 1 FROM tag WHERE ID_user = ".$_SESSION['UserID']." AND tag.type_translation = 3 AND tag.ID_translation = page_text.ID)", $_SESSION['limitx'].','.$_SESSION['limity'],'nocheck'); 114 116 } 115 117 … … 118 120 <a Title="Zkontrolované page_texty" href="page_list.php?nocheck">Zkontrolované page_texty</a><br><br>'; 119 121 120 WritePages('page_list.php?nocheck'," WHERE Language <> 0 AND page_text.Complete = '1' AND admin_check = 1"); 121 122 /* WritePages('page_list.php?nocheck'," WHERE Language <> 0 AND page_text.Complete = '1' 123 AND EXISTS(SELECT 1 FROM tag WHERE ID_user = ".$_SESSION['UserID']." AND 124 tag.type_translation = 3 AND tag.ID_translation = page_text.ID)"); 125 */ 122 126 Write_page_text("SELECT *, (SELECT user.user FROM user WHERE user.id = page_text.user) as User 123 FROM page_text WHERE Language <> 0 AND page_text.Complete = '1' AND admin_check = 1", $_SESSION['limitx'].','.$_SESSION['limity'],'check'); 124 } 127 FROM page_text WHERE Language <> 0 AND page_text.Complete = '1' AND 128 EXISTS(SELECT 1 FROM tag WHERE ID_user = ".$_SESSION['UserID']." AND 129 tag.type_translation = 3 AND tag.ID_translation = page_text.ID)", $_SESSION['limitx'].','.$_SESSION['limity'],'check'); 130 } 131 125 132 if(array_key_exists('notvote', $_GET)) { 126 133 echo '<a Title="Zobrazit page_texty podle vlastního filtru" href="page_list.php?filter">Filtr page_textù</a> ->
Note:
See TracChangeset
for help on using the changeset viewer.