📄 task_assign.php
字号:
<?php/* * ITMS ValleyData source file version 1.0 May 11, 2001 * * Select a task template or one-time-task 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 Task - Step 1";include("header.php");print("<IMG SRC=\"images/assign_tasks.jpg\" WIDTH=\"400\" HEIGHT=\"41\" BORDER=\"0\" ALT=\"Assign Task\">");print("<br><H3><B>Step 1</B></H3>");?><form method="post" action="task_assign2.php"><table><tr> <td colspan="2"> <INPUT TYPE="radio" value="previous_task" name="AT" checked>From Previous Tasks </td> <td colspan="2"> <SELECT NAME="task_type"> <?php db_open(); db_use(); $queryGroup = "SELECT title, ttid FROM user_groups, task_types " . "WHERE user_groups.user_id = '$user_id' AND task_types.group_owned = '1' " . "AND task_types.owner = user_groups.gid ORDER BY title"; $queryPrivate = "SELECT title, ttid FROM task_types " . "WHERE group_owned = '0' AND owner = '$user_id' ORDER BY title"; $resultPrivate = db_query($queryPrivate); // Get private task templates while($row = db_fetch_row($resultPrivate)) { print("<option value=\"" . $row["TTID"] . "\" width=\"30\">" . $row["TITLE"] . "</option>\n"); } $resultGroup = db_query($queryGroup); // Get group owned task templates while($row = db_fetch_row($resultGroup)) { print("<option value=\"" . $row["TTID"] . "\" width=\"30\">" . $row["TITLE"] . "</option>\n"); } ?> </SELECT> </td></tr><tr> <td colspan="2"> <INPUT TYPE="radio" name="AT" value="one_time_task">One time task </td> <td colspan="2"> <INPUT TYPE="text" NAME="task_title" value="Task Name" size="30"> </td></tr></table><p><table><tr> <td colspan="2"> <INPUT TYPE="submit" value="Next"> </td></tr></table> <br></form><?php include("footer.php"); ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -