📄 edit.php
字号:
<?
include_once("inc/auth.php");
?>
<html>
<head>
<title>编辑快捷方式</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script Language="JavaScript">
function CheckForm()
{
if(document.form1.WIN_DESC.value=="")
{ alert("快捷方式名称不能为空!");
return (false);
}
if(document.form1.WIN_PATH.value=="")
{ alert("快捷方式路径不能为空!");
return (false);
}
}
</script>
</head>
<?
$query = "SELECT * from WINEXE where WIN_ID=$WIN_ID";
$connection=OpenConnection();
$cursor= exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor))
{
$WIN_ID=$ROW["WIN_ID"];
$WIN_NO=$ROW["WIN_NO"];
$WIN_DESC=$ROW["WIN_DESC"];
$WIN_PATH=$ROW["WIN_PATH"];
}
?>
<body class="bodycolor" topmargin="5" onload="document.form1.WIN_NO.focus();">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/edit.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 编辑快捷方式</span>
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="450" class="small" bgcolor="#000000" cellpadding="3" align="center" >
<form action="update.php" method="post" name="form1" onsubmit="return CheckForm();">
<tr>
<td nowrap class="TableData">序号:</td>
<td nowrap class="TableData">
<input type="text" name="WIN_NO" class="BigInput" size="10" maxlength="25" value="<?=$WIN_NO?>">
</td>
</tr>
<tr>
<td nowrap class="TableData">快捷方式名称:</td>
<td nowrap class="TableData">
<input type="text" name="WIN_DESC" class="BigInput" size="25" value="<?=$WIN_DESC?>">
</td>
</tr>
<tr>
<td nowrap class="TableData">程序路径:</td>
<td nowrap class="TableData">
<input type="text" name="WIN_PATH" class="BigInput" size="40" value="<?=$WIN_PATH?>"><br>
本机Windows程序路径,如<br>
C:\Program Files\Windows Media Player\wmplayer.exe<br><br>
也可以定义使用IE访问网址,如<br>
iexplore http://<?=$TD_MYOA_WEB_SITE?>
</td>
</tr>
<tr>
<td nowrap class="TableControl" colspan="2" align="center">
<input type="hidden" value="<?=$WIN_ID?>" name="WIN_ID">
<input type="submit" value="确定" class="BigButton">
<input type="button" value="返回" class="BigButton" onclick="location='index.php'">
</td>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -