📄 others_free.php
字号:
<?
include_once("inc/auth.php");
include_once("../../prcs_role.php");
if(!run_role($RUN_ID,$PRCS_ID))
exit;
?>
<html>
<head>
<title>委托代办人</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script Language="JavaScript">
function CheckForm()
{
if (document.form1.TO_ID.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(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">
<?
$query = "SELECT * from FLOW_TYPE WHERE FLOW_ID=$FLOW_ID";
$cursor1= exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor1))
{
$FLOW_NAME=$ROW["FLOW_NAME"];
}
$query = "SELECT * from FLOW_RUN WHERE RUN_ID=$RUN_ID";
$cursor= exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor))
{
$RUN_NAME=$ROW["RUN_NAME"];
}
?>
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/green_arrow.gif" align="absmiddle"><span class="big3"> 委托代办人</span><br>
</td>
</tr>
</table>
<br>
<form action="others_submit_free.php" method="post" name="form1" onsubmit="return CheckForm();">
<table border="0" cellspacing="1" class="small" bgcolor="#000000" cellpadding="3" align="center" width="90%">
<tr class="TableHeader">
<td nowrap align="center" class="Big" colspan="2"><b><?=$FLOW_NAME?></b></td>
</tr>
<tr class="TableData">
<td nowrap width="10%">第<?=$PRCS_ID?>步骤:(当前步骤)</td>
<td nowrap>请指定当前步骤的代办人:<br>
<input type="text" name="TO_NAME" size="10" class="BigInput" readonly>
<input type="button" value="指 定" class="SmallButton" onClick="LoadWindow()" title="指定代办人" name="button">
<input type="hidden" name="TO_ID" value="">
</td>
</tr>
<tr class="TableHeader">
<td colspan="2"><b>短信提醒</b></td>
</tr>
<tr class="TableData">
<td colspan="2">
<input type="checkbox" name="SMS_REMIND" id="SMS_REMIND" <?if($SMS_REMIND=="1" or $SMS_REMIND=="") echo "checked";?>><label for="SMS_REMIND">使用内部短信提醒经办人</label>
<?
$query = "select * from SMS2_PRIV";
$cursor=exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor))
$TYPE_PRIV=$ROW["TYPE_PRIV"];
if(find_id($TYPE_PRIV,7)) //检查该模块是否允许手机提醒
{
?>
<input type="checkbox" name="SMS2_REMIND" id="SMS2_REMIND"><label for="SMS2_REMIND">使用手机短信提醒经办人</label>
<?
}
$SMS_CONTENT="工作流委托提醒:".$RUN_NAME;
?>
<br>
短信内容:<input type="text" name="SMS_CONTENT" value="<?=$SMS_CONTENT?>" size="62" maxlength="100" class="SmallInput">
</td>
</tr>
<tr class="TableControl">
<td nowrap align="center" colspan="2">
<input type="hidden" name="RUN_ID" value="<?=$RUN_ID?>">
<input type="hidden" name="PRCS_ID" value="<?=$PRCS_ID?>">
<input type="hidden" name="MENU_FLAG" value="<?=$MENU_FLAG?>">
<input type="hidden" name="FLOW_ID" value="<?=$FLOW_ID?>">
<input type="submit" value="确定" class="BigButton" name="submit">
<input type="button" value="返回" class="BigButton" name="back" onClick="history.back();">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -