Changeset 307 for minimanager/events.php


Ignore:
Timestamp:
Mar 13, 2008, 8:18:42 PM (17 years ago)
Author:
george
Message:

Aktualizace na minimanager 0.1.6g.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • minimanager/events.php

    r304 r307  
    2626 $dir = ($dir) ? 0 : 1;
    2727
    28  $result = $sql->query("SELECT `description`, `start`, `end`, `occurence`, `length` FROM `game_event` WHERE `start` <> `end` ORDER BY $order_by $order_dir");
     28 $result = $sql->query("SELECT `description`, `start_time`, `end_time`, `occurence`, `length` FROM `game_event` WHERE `start_time` <> `end_time` ORDER BY $order_by $order_dir");
    2929 $total_found = $sql->num_rows($result);
    3030
     
    3838   <tr>
    3939        <th width=\"35%\"><a href=\"events.php?order_by=description&amp;start=$start&amp;dir=$dir\">".($order_by=='description' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_events['descr']}</a></th>
    40         <th width=\"25%\"><a href=\"events.php?order_by=start&amp;start=$start&amp;dir=$dir\">".($order_by=='start' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_events['start']}</a></th>
     40        <th width=\"25%\"><a href=\"events.php?order_by=start_time&amp;start=$start&amp;dir=$dir\">".($order_by=='start' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_events['start']}</a></th>
    4141        <th width=\"20%\"><a href=\"events.php?order_by=occurence&amp;start=$start&amp;dir=$dir\">".($order_by=='occurence' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_events['occur']}</a></th>
    4242        <th width=\"20%\"><a href=\"events.php?order_by=length&amp;start=$start&amp;dir=$dir\">".($order_by=='length' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_events['length']}</a></th>
     
    7272  $output .= "<tr valign=top>
    7373        <td align=left>$events[description]</td>
    74         <td>".$events['start']."</td>
     74        <td>".$events['start_time']."</td>
    7575        <td>$event_occurance</td>
    7676        <td>$event_duration</td>
Note: See TracChangeset for help on using the changeset viewer.