diff --git a/www/account.php b/www/account.php index b5e61b0..bcd6e00 100644 --- a/www/account.php +++ b/www/account.php @@ -1,6 +1,6 @@ $title\n"); } @@ -157,17 +155,17 @@ switch ($op) $email = htmlspecialchars($email, ENT_QUOTES); print("
" - ."

\n" + ."
\n" ."" ."\n" ."" ."\n" + ."maxsize='255' value='$name'>\n" ."" ."\n" + ."maxsize='255' value='$email'>\n" ."" ."\n" ."" ."\n" + ."maxsize='255'>\n" ."" ."\n" - ."\n" + ."\n" - ."
Published:"); select_is_published($is_published); print("
Username:
EMail:
Access Level:
Password:
Password Again:
" + ."maxsize='255'>
" ."

\n"); + ."\n"); } html_footer(); @@ -319,7 +317,7 @@ switch ($op) $email = htmlspecialchars($email, ENT_QUOTES); print("
" - ."

\n" + ."
\n" ."" ."\n" ."" ."\n" + ."maxsize='255' value='$email'>\n" ."" ."\n" ."" ."\n" + ."maxsize='255'>\n" ."" ."\n" - ."\n" + ."\n" - ."
Published:"); select_is_published($is_published); @@ -328,12 +326,12 @@ switch ($op) ."$name
EMail:
Access Level:"); if ($LOGIN_USER == $name) - print("" + print("" . $levels[$level]); else { @@ -354,13 +352,13 @@ switch ($op) print("
Password:
Password Again:
" + ."maxsize='255'>
" ."

\n"); + ."\n"); } html_footer(); @@ -384,10 +382,10 @@ switch ($op) if ($row["is_published"] == 0) $email .= " Private"; + ."border='0' align='middle' alt='Private'>"; html_start_row(); - print("" + print("" ."$name" ."" ."$email" @@ -396,15 +394,13 @@ switch ($op) html_end_row(); } - html_start_row("header"); - print(" 
" ."" ."" ."" - .""); - html_end_row(); - - html_end_table(); + ."

"); html_start_links(1); html_link("Add Account", "$PHP_SELF?Aadd"); @@ -443,7 +439,7 @@ switch ($op) $id = $row['id']; $title = htmlspecialchars($row['title'], ENT_QUOTES) . " Private"; + ."border='0' align='middle' alt='Private'>"; $abstract = htmlspecialchars($row['abstract'], ENT_QUOTES); $date = date("M d, Y", $row['modify_date']); @@ -488,7 +484,7 @@ switch ($op) $title = htmlspecialchars($row['name'], ENT_QUOTES) . " " . htmlspecialchars($row['version'], ENT_QUOTES) . " Private"; + ."border='0' align='middle' alt='Private'>"; $date = date("M d, Y", $row['modify_date']); if ($row["is_category"]) @@ -537,7 +533,7 @@ switch ($op) if ($row['is_published'] == 0) $summabbr .= " Private"; + ."border='0' align='middle' alt='Private'>"; html_start_row(); @@ -580,16 +576,16 @@ switch ($op) while ($row = db_next($result)) { - $create_date = date("M d, Y", $row['date']); + $create_date = date("M d, Y", $row['create_date']); $create_user = sanitize_email($row['create_user']); $contents = sanitize_text($row['contents']); $location = str_replace("_", "?", $row['url']); print("
  • $row[url] " ." by $create_user on $create_date " - ."[ Edit " - ."| Delete " - ."]
    $contents
  • \n"); + ."Edit " + ."· Delete" + ."
    $contents\n"); } print("\n"); @@ -615,16 +611,16 @@ switch ($op) else { print("
    " - ."

    \n" + ."
    \n" ."" ."\n" + ."maxsize='255'>\n" ."" ."\n" - ."\n" + ."\n" - ."
    Password:
    Password Again:
    " + ."maxsize='255'>
    " ."

    \n"); + ."\n"); } html_footer(); @@ -652,6 +648,6 @@ switch ($op) // -// End of "$Id: account.php,v 1.10 2004/05/20 21:37:57 mike Exp $". +// End of "$Id$". // ?> diff --git a/www/login.php b/www/login.php index 59b33db..601cd06 100644 --- a/www/login.php +++ b/www/login.php @@ -85,8 +85,7 @@ if ($REQUEST_METHOD == "POST") html_link("Enable Account", "$PHP_SELF?E"); html_end_links(); - print("

    Login Registration

    \n" - ."Thank you for requesting an account. You should receive an " + print("Thank you for requesting an account. You should receive an " ."email from $PROJECT_EMAIL shortly with instructions on " ."completing your registration.

    \n"); html_footer(); @@ -148,13 +147,12 @@ else if ($argc == 0 || $argv[0] != "E") // Header + start of table... html_header("Login"); - print("

    Login

    \n" - ."

    \n" ."\n" + ."
    \n"); // Existing users... - print("

    Current Users

    \n"); + print("

    Current Users

    \n"); if ($argc == 0 && $usererror != "") print("

    $usererror

    \n"); @@ -162,29 +160,29 @@ else if ($argc == 0 || $argv[0] != "E") print("

    If you are a registered $PROJECT_NAME developer, please enter " ."your username and password to login:

    \n" ."
    " - ."

    \n" + ."
    \n" ."" ."\n" + print(">\n" ."" - ."\n" - ."\n" - ."
    Username:
    Password:" + ."" ."

    \n"); + ."
    \n"); // Separator... print("" ."    " - ."" + ."" ."    " ."\n"); // New users... - print("

    New Users

    \n"); + print("

    New Users

    \n"); if ($argc == 1 && $usererror != "") print("

    $usererror

    \n"); @@ -196,25 +194,25 @@ else if ($argc == 0 || $argv[0] != "E") ."in the form below to register. An email will be sent to the " ."address you supply to confirm the registration:

    \n" ."
    " - ."

    \n" + ."
    \n" ."" ."\n" + ." value='$username'>\n" ."" ."\n" + ." value='$email'>\n" ."" - ."\n" ."" - ."\n" - ."\n" - ."
    Username:
    EMail:
    Password:" + ."" ."
    Password Again:" + ."" ."

    \n"); + ."\n" + ."\n"); // End table print("\n" - ."

    \n"); + ."\n"); html_footer(); } @@ -222,8 +220,6 @@ else { html_header("Enable Account"); - print("

    Enable Account

    \n"); - if ($usererror != NULL) print("

    $usererror

    \n"); @@ -236,15 +232,15 @@ else ."
    \n" ."" ."\n" ."" ."\n" + ."value='$username'>\n" ."" - ."\n" - ."\n" + ."\n" ."
    Registration Code:" + ."value = '$register'>" ."
    Username:
    Password:" + ."" ."
    \n"); html_footer();