mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-23 20:52:45 +00:00
hmm. debugging info.
This commit is contained in:
parent
858008ab0f
commit
f68c026b1a
2 changed files with 3 additions and 3 deletions
|
@ -148,7 +148,7 @@ CREATE TABLE members (
|
|||
" WHERE u_username='$userName'" .
|
||||
" AND u_password=ENCRYPT('$password','$userName')";
|
||||
$result = @mysql_fetch_array (@mysql_db_query (sqlDB, $query));
|
||||
|
||||
|
||||
if ($result[auth]) {
|
||||
authCreateSecret ($userName, $result[u_password]);
|
||||
} else {
|
||||
|
|
|
@ -170,7 +170,7 @@
|
|||
if ($conn) {
|
||||
$query = 'SELECT n_date, n_user, n_news FROM news_main' .
|
||||
' ORDER BY n_date DESC';
|
||||
$result = @mysql_db_query (sqlDB, $query, $conn);
|
||||
$result = mysql_db_query (sqlDB, $query, $conn);
|
||||
if ($result) {
|
||||
$numRows = @mysql_num_rows ($result);
|
||||
if ($numRows) {
|
||||
|
@ -209,7 +209,7 @@
|
|||
$date = sprintf ("%04d-%02d", $year, $month);
|
||||
|
||||
if (sqlAvail) {
|
||||
$conn = @mysql_pconnect (sqlHost, sqlUser, sqlPass);
|
||||
$conn = mysql_pconnect (sqlHost, sqlUser, sqlPass);
|
||||
if ($conn) {
|
||||
$query = 'SELECT n_date, n_user, n_news FROM news_main' .
|
||||
" WHERE n_date BETWEEN '$date-00 00:00:00'" .
|
||||
|
|
Loading…
Reference in a new issue