Subversion Repositories cheapmusic

Rev

Rev 109 | Rev 116 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 109 Rev 110
Line 318... Line 318...
318
    if ($result = mysqli_query($conn, $sql)) {
318
    if ($result = mysqli_query($conn, $sql)) {
319
        if (mysqli_num_rows($result) > 0) {
319
        if (mysqli_num_rows($result) > 0) {
320
            if ($row = mysqli_fetch_assoc($result)) {
320
            if ($row = mysqli_fetch_assoc($result)) {
321
                $_SESSION['priceMonitor']['created'] = $row['created'];
321
                $_SESSION['priceMonitor']['created'] = $row['created'];
322
                $_SESSION['priceMonitor']['access'] = $row['access'];
322
                $_SESSION['priceMonitor']['access'] = $row['access'];
323
                if (!empty($_SESSION['priceMonitor']['created']) && !empty($_SESSION['priceMonitor']['access'])
-
 
324
                    && $_SESSION['priceMonitor']['created'] > $_SESSION['priceMonitor']['access']) {
323
                if ($_SESSION['priceMonitor']['created'] > $_SESSION['priceMonitor']['access']) {
325
                    $_SESSION['priceMonitor']['newFlag'] = true;
324
                    $_SESSION['priceMonitor']['newFlag'] = true;
326
                } else {
325
                } else {
327
                    $_SESSION['priceMonitor']['newFlag'] = false;
326
                    $_SESSION['priceMonitor']['newFlag'] = false;
328
                }
327
                }
329
 
328