Changeset 16 for ListQuests.php


Ignore:
Timestamp:
Sep 30, 2008, 10:24:14 PM (16 years ago)
Author:
maron
Message:

Přidáno zkontrolování adminem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ListQuests.php

    r4 r16  
    125125      }
    126126
     127      if(array_key_exists('nocheck', $_GET)) {
     128        echo '<a Title="Zobrazit questy podle vlasního filtru" href="npc_list.php?filter">Filtr questsù</a> ->
     129        <a Title="Zatím nezkontrolované questy" href="npc_list.php?nocheck">Nezkontrolované questy</a><br><br>';
     130
     131          WritePages('ListQuests.php?nocheck'," WHERE Language <> 0 AND quests.Complete = '1' AND admin_check <> 1");
     132
     133        WriteQuests("SELECT *, (SELECT user.user FROM user WHERE user.id = quests.user) as User
     134         FROM quests  WHERE Language <> 0 AND quests.Complete = '1' AND admin_check <> 1", $_SESSION['limitx'].','.$_SESSION['limity'],'nocheck');
     135      }
     136
     137      if(array_key_exists('check', $_GET)) {
     138        echo '<a Title="Zobrazit questy podle vlasního filtru" href="npc_list.php?filter">Filtr questù</a> ->
     139        <a Title="Zkontrolované questy" href="npc_list.php?nocheck">Zkontrolované questy</a><br><br>';
     140
     141          WritePages('ListQuests.php?nocheck'," WHERE Language <> 0 AND quests.Complete = '1' AND admin_check = 1");
     142
     143        WriteQuests("SELECT *, (SELECT user.user FROM user WHERE user.id = quests.user) as User
     144         FROM quests  WHERE Language <> 0 AND quests.Complete = '1' AND admin_check = 1", $_SESSION['limitx'].','.$_SESSION['limity'],'check');
     145      }
     146
    127147      if(array_key_exists('notvote', $_GET)) {
    128148        echo '<a Title="Zobrazit questy podle vlastního filtru" href="ListQuests.php?filter">Filtr questù</a> ->
Note: See TracChangeset for help on using the changeset viewer.