⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
echo "\r\n<html>\r\n<head>\r\n<title>编辑网址</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n\r\n";
echo "<s";
echo "cript Language=\"JavaScript\">\r\nfunction CheckForm()\r\n{\r\n   if(document.form1.URL_DESC.value==\"\")\r\n   { alert(\"说明不能为空!\");\r\n     return (false);\r\n   }\r\n   if(document.form1.URL.value==\"\")\r\n   { alert(\"网址不能为空!\");\r\n     return (false);\r\n   }\r\n}\r\n</script>\r\n</head>\r\n\r\n";
$query = "SELECT * from URL where URL_ID={$URL_ID}";
$connection = openconnection( );
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
	$URL_ID = $ROW['URL_ID'];
	$URL_NO = $ROW['URL_NO'];
	$URL_DESC = $ROW['URL_DESC'];
	$URL = $ROW['URL'];
}
echo "\r\n<body class=\"bodycolor\" topmargin=\"5\" onload=\"document.form1.URL_NO.focus();\">\r\n <form action=\"update.php\"  method=\"post\" name=\"form1\" onsubmit=\"return CheckForm();\">  \r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\"  cellpadding=\"1\">\r\n  <tr class=\"tablehead1\">\r\n    <td><img src=\"/images/manage/systemmanage.gif\" align=\"absmiddle\">编辑网址</td>\r\n  </tr>\r\n</table>\r\n<table border=\"0\" width=\"100%\" cellspacing";
echo "=\"0\"  cellpadding=\"0\">\r\n  <tr class=\"tablehead2\">\r\n    <td height=\"30\"><input name=\"image\" type=\"image\" src=\"../../../../images/button/submit.gif\" width=\"105\" height=\"20\" border=\"0\">\r\n        <a href=\"#\" onclick=\"location='index.php'\"><img src=\"../../../images/button/return.gif\" width=\"105\" height=\"20\" border=\"0\"></a></td>\r\n  </tr>\r\n</table>\r\n<br>\r\n<table border=\"0\" cellspacing=\"1\" width=\"100%\" class=\"small\"";
echo " cellpadding=\"3\" align=\"center\" >\r\n \r\n   <tr>\r\n    <td nowrap class=\"tableline2\">序号:</td>\r\n    <td nowrap class=\"tableline1\">\r\n        <input type=\"text\" name=\"URL_NO\" class=\"BigInput\" size=\"10\" maxlength=\"25\" value=\"";
echo $URL_NO;
echo "\">\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"Tableline2\">说明:</td>\r\n    <td nowrap class=\"tableline1\">\r\n        <input type=\"text\" name=\"URL_DESC\" class=\"BigInput\" size=\"25\" maxlength=\"200\" value=\"";
echo $URL_DESC;
echo "\">\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"tableline2\">网址:</td>\r\n    <td nowrap class=\"tableline1\">\r\n        <input type=\"text\" name=\"URL\" class=\"BigInput\" size=\"25\" maxlength=\"200\" value=\"";
echo $URL;
echo "\">\r\n    </td>\r\n   </tr>\r\n  \r\n   \r\n        <input type=\"hidden\" value=\"";
echo $URL_ID;
echo "\" name=\"URL_ID\">\r\n</table>\r\n </form>\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -