📄 process_assign.php
字号:
<?php/* * ITMS ValleyData source file version 1.0 May 11, 2001 * * Selecting the process to assign * * * Internet Task Management System: An online system used for recording information about and assigning tasks and processes. * Copyright (C) 2001 ValleyData Programming Group * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * See file named "gpl.txt" included with source code or * visit http://www.gnu.org/copyleft/gpl.txt on the internet. */$title="Assign Process - Step 1";include("header.php");print("<IMG SRC=\"images/assign_process.jpg\" WIDTH=\"400\" HEIGHT=\"41\" BORDER=\"0\" ALT=\"Assign Process\">");print("<br><H3><B>Step 1</B></H3>");?><form method="post" action="process_assign2.php"><table><tr> <td colspan="2"> Choose Process to Assign: </td> <td colspan="2"> <SELECT name="process"> <?php db_open(); db_use(); $queryGroup = "SELECT title, pid FROM user_groups, processes " . "WHERE user_groups.user_id = '$user_id' AND processes.group_owned = '1' AND processes.owner = user_groups.gid ". "ORDER BY title"; $queryPrivate = "SELECT title, pid FROM processes " . "WHERE group_owned = '0' AND owner = '$user_id' ORDER BY title"; $resultPrivate = db_query($queryPrivate); // getting private processes while($row = db_fetch_row($resultPrivate)) { print("<option value=\"" . $row["PID"] . "\"> " . $row["TITLE"] . "</option>\n"); } $resultGroup = db_query($queryGroup); // getting group owned processes while($row = db_fetch_row($resultGroup)) { print("<option value=\"" . $row["PID"] . "\"> " . $row["TITLE"] . "</option>\n"); } ?> </SELECT> </td></tr></table><p><table><tr> <td> <INPUT TYPE="submit" value="Next"> </td></tr></table><p></form><?php include("footer.php"); ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -