index.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 58 行

PHP
58
字号
<?
  include_once 'inc/auth.php';
  include_once 'inc/utility_all.php';
  echo '
<html>
<head>
<title>客户资料转交</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<s';
  echo 'cript Language="JavaScript">
function CheckForm()
{
   if(document.form1.TO_NAME.value=="")
   { alert("销售员不能为空!");
     return (false);
   }
   return (true);
}
function LoadWindow()
{
  URL="/module/user_select_single";
  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
  loc_y=document.body.scrollTop+event.clientY-event.offsetY+200;
  window.showModalDialog(';
  echo 'URL,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:350px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}
</script>
</head>
<body class="bodycolor" topmargin="5">
<br>
 <table border="0" width="100%" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
  <form action="submit.php"  method="post" name="form1" onsubmit="return CheckF';
  echo 'orm();">
    <tr>
      <td nowrap class="TableData">销售员:</td>
      <td class="TableData">
         <input type="text" name="TO_NAME" size="15" class="BigStatic" readonly>
         <input type="button" value="选择" class="SmallButton" onClick="LoadWindow()" title="指定销售员" name="button">
         <input type="hidden" name="TO_ID" value="admin">
      </td>
    </tr>
    <tr align="center" c';
  echo 'lass="TableControl">
      <td colspan="2" nowrap>
      	<input type="hidden" value="';
  echo $delete_str;
  echo '" name="delete_str">&nbsp;&nbsp;
        <input type="submit" value="确定" class="SmallButton">&nbsp;&nbsp;
        <input type="button" value="关闭" class="SmallButton" onclick="window.close();">
      </td>
    </tr>
  </table>
</form>
</body>
</html>';
?>

⌨️ 快捷键说明

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