YOTA

setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); echo '
'; echo "\n"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "\n"; foreach($conn->query("SELECT * FROM activities ORDER BY `id` DESC") as $row) { echo ""; echo ""; if ($row['approved']) echo ""; else echo ""; //echo ""; //echo ""; //echo ""; //echo ""; //echo ""; //echo ""; //echo ""; //echo ""; //echo ""; //echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "\n"; } echo "
IDApprovedOperator SignQSOFromToFrequenciesModesSpecial signOperator NameOperator EmailOperator PhoneActions
" . $row['id'] . "" . $row['operatorCall'] . "" . $row['fromTime'] . "" . $row['toTime'] . "" . $row['frequencies'] . "" . $row['modes'] . "" . $row['specialCall'] . "" . $row['operatorName'] . "" . $row['operatorEmail'] . "" . $row['operatorPhone'] . "" . $row['qso'] . "
" . $row['operatorCall'] . "
" . $row['qso'] . "
" . $row['fromTime'] . "
" . $row['toTime'] . "
" . $row['frequencies'] . "
" . $row['modes'] . "
" . $row['specialCall'] . "
" . $row['operatorName'] . "
" . $row['operatorEmail'] . "
" . $row['operatorPhone'] . "
"; echo ""; echo ""; echo ""; echo "
\n
\n"; } catch (PDOException $e) { echo "

Error!: " . $e->getMessage() . "

"; } } else { # Bad pass check... if (isset($_SESSION['admin']) && $_SESSION['admin'] == false) echo "Bad credentials!"; # Login form echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; } ?>