X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=update_db.php;h=26c14ee5fc1f4e5246c83de37dd812a8931fa128;hb=348062667e6a96e9849bf25de0f2a426b4f0b9c6;hp=4b14ad703f426a5d49256919a6033e164a9d2591;hpb=9a3a8ed9f332f5483e049a82795d7215a79b1f99;p=fa-stable.git diff --git a/update_db.php b/update_db.php index 4b14ad70..26c14ee5 100644 --- a/update_db.php +++ b/update_db.php @@ -1,16 +1,54 @@ \n" + . "function fixPNG(myImage)\n" + . "{\n" + . " var arVersion = navigator.appVersion.split(\"MSIE\")\n" + . " var version = parseFloat(arVersion[1])\n" + . " if ((version >= 5.5) && (version < 7) && (document.body.filters))\n" + . " {\n" + . " var imgID = (myImage.id) ? \"id='\" + myImage.id + \"' \" : \"\"\n" + . " var imgClass = (myImage.className) ? \"class='\" + myImage.className + \"' \" : \"\"\n" + . " var imgTitle = (myImage.title) ?\n" + . " \"title='\" + myImage.title + \"' \" : \"title='\" + myImage.alt + \"' \"\n" + . " var imgStyle = \"display:inline-block;\" + myImage.style.cssText\n" + . " var strNewHTML = \"\"\n" + . " myImage.outerHTML = strNewHTML\n" + . " }\n" + . "}\n" + . "\n"; + return $js; +} + +function get_js_set_focus($name) +{ + $js = "\n\n"; + return $js; +} + function display_error($msg, $center=true) { echo "
@@ -95,15 +133,17 @@ if (isset($_POST["submit"])) } if (!isset($_POST['passwd'])) $_POST['passwd'] = ""; +if (!isset($_POST['user'])) + $_POST['user'] = ""; echo "\n"; echo "
\n"; -text_row_ex("Database User", "user", 20); -label_row("Password", ""); -label_row("Upload Script", ""); -submit_row("submit", "Update"); +echo ""; +echo ""; +echo ""; +echo ""; echo "
Database User
Password
Upload Script
 
\n";;