?? 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">使用內部短信提醒經(jīng)辦人</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">使用手機短信提醒經(jīng)辦人</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 + -