index.php

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

PHP
114
字号
<?
  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?MANAGE_FLAG=1";
  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
  loc_y=document.body.scrollTop+event.clientY-event.offsetY+200;
  window.sh';
  echo 'owModalDialog(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=';
  echo '"return CheckForm();">
    <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 al';
  echo 'ign="center" class="TableControl">
      <td colspan="2" nowrap>
';
  if (($querstr != ''))
  {
    $urlstr1 = str_replace ('%', '&', $querstr);
    echo '        <input type="hidden" value="';
    echo $delete_str;
    echo '" name="delete_str">&nbsp;&nbsp;
        <input type="hidden" name="querstr" value="';
    echo $querstr;
    echo '">
        <input type="hidden" value="';
    echo $querstr;
    echo '&ORDERFIELD=';
    echo $ORDERFIELD;
    echo '&ORDERTYPE=';
    echo $ORDERTYPE;
    echo '&CUR_PAGE=';
    echo $CUR_PAGE;
    echo '" name="QUERY_LIST">
        <input type="hidden" value="ad_query" name="FLAGSOURCE">  
';
  }
  else
  {
    echo '          	
      	<input type="hidden" value="';
    echo $delete_str;
    echo '" name="delete_str">&nbsp;&nbsp;
      	<input type="hidden" value="CUSTOMER_NAME=';
    echo $CUSTOMER_NAME;
    echo '&SCOPE=';
    echo $SCOPE;
    echo '&CUSTOMER_CODE=';
    echo $CUSTOMER_CODE;
    echo '&CUSTOMER_SHORT=';
    echo $CUSTOMER_SHORT;
    echo '&SOURCE=';
    echo $SOURCE;
    echo '&KIND=';
    echo $KIND;
    echo '&SELLMODE=';
    echo $SELLMODE;
    echo '&ATTRIBUTE=';
    echo $ATTRIBUTE;
    echo '&ENTERTYPE=';
    echo $ENTERTYPE;
    echo '&AREACODE=';
    echo $AREACODE;
    echo '&CUR_PAGE=';
    echo $CUR_PAGE;
    echo '&ORDERFIELD=';
    echo $ORDERFIELD;
    echo '&ORDERTYPE=';
    echo $ORDERTYPE;
    echo '" name="QUERY_LIST">
        <input type="hidden" value="-1" name="FLAGSOURCE">
';
  }
  echo '        
        <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 + -
显示快捷键?