📄 process_assign2.php
字号:
<?php/* * ITMS ValleyData source file version 1.0 May 11, 2001 * * Gathering quantities of each task template in the process * * * * 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 2";include("header.php");print("<IMG SRC=\"images/assign_process.jpg\" WIDTH=\"400\" HEIGHT=\"41\" BORDER=\"0\" ALT=\"Assign Process\">");print("<br><H3><B>Step 2: " . get_process_name($process) . "</B></H3>");?><form method="post" action="process_assign3.php" name="pa2_form"><input type="hidden" name="process" value="<?php print($process) ?>">Enter the quantity of each task type:<br><table border="0"> <?php db_open(); db_use(); $query = "SELECT title, task_types.ttid FROM task_types, process_tasks " . "WHERE pid = '$process' AND task_types.ttid = process_tasks.ttid ORDER BY title"; $result = db_query($query); // get task templates in process $row_separator_num = 0; while($row = db_fetch_row($result)) { $row_separator_num++; if($row_separator_num % 2 == 0) $table_separator_string = "table-separator-even"; else $table_separator_string = "table-separator-odd"; $name = $row["TITLE"]; $ttid = $row["TTID"]; print("<tr class=\"$table_separator_string\"><td>\n"); print("Amt: <INPUT TYPE=\"text\" NAME=\"amt$ttid\" value=\"1\" size=\"2\" onblur=\"verify_int(this)\"> $name"); print("</tr></td>\n"); } ?></table><p><INPUT TYPE="submit" value="Next"><INPUT TYPE="button" value="Cancel" onClick="location='index.php'"></form><?php include("footer.php"); ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -