Changeset 11780 for trunk/www/db_po/view_po.php
- Timestamp:
- 08/05/11 12:07:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/view_po.php
r11600 r11780 51 51 printf("<td bgcolor='#DCDCFF'>Date: \n"); 52 52 //buttons to show next/prev timestamp 53 printf("<button onClick='get_timestamp(%s, \"prev\");get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' id='prevtimestamp%s' style='display:inline'>Prev Time Stamp</button>\n", $i, $i); 53 54 printf("<button onClick='get_timestamp(%s, \"next\");get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' id='nexttimestamp%s' style='display:inline'>Next Time Stamp</button>\n", $i, $i); 54 printf("<button onClick='get_timestamp(%s, \"prev\");get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' id='prevtimestamp%s' style='display:inline'>Prev Time Stamp</button>\n", $i, $i); 55 //reset date button 56 printf("<button onClick='reset_dates(\"year\", \"empty\", \"empty\", %d);get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' id='resetdate%d' style='display:inline'>Reset Date</button>\n", $i, $i); 55 57 //input field 56 58 printf("<br>\n", $i); 57 59 printf("<div id='dateinput%d' style='display:none'>(YYYY-MM-DD hh:mm:ss) \n", $i); 58 printf("<input id=\"statusdate%d\" type=\"text\" size=\"19\" maxlength=\"19\"> <br>\n", $i);60 printf("<input id=\"statusdate%d\" type=\"text\" size=\"19\" maxlength=\"19\">\n", $i); 59 61 printf("</div>\n"); 60 62 … … 64 66 printf("<div id='yearselect%d' style='display:inline'>\n", $i); 65 67 printf("<select id='year%d' onchange=\"get_dates('month', this.value, this.value, %d, 'yes')\">\n", $i, $i); 66 printf("<option value='empty'> year</option>\n");68 printf("<option value='empty'>YYYY</option>\n"); 67 69 while ($row0 = mysql_fetch_row($result0)) 68 70 { … … 71 73 } 72 74 printf("</select></div>\n"); 75 73 76 //select for months 74 77 printf("<div id='monthselect%d' style='display:inline'>\n", $i); 75 78 printf("<select id='month%d' onchange=\"get_dates('day', this.value, 'empty', %d, 'yes')\">\n", $i, $i); 76 printf("<option value='empty'> month</option>\n");79 printf("<option value='empty'>MM</option>\n"); 77 80 printf("</select>\n"); 78 81 printf("</div>\n"); … … 80 83 printf("<div id='dayselect%d' style='display:inline'>\n", $i); 81 84 printf("<select id='day%d' onchange=\"get_dates('hour', this.value, 'empty', %d, 'yes')\">\n", $i, $i); 82 printf("<option value='empty'> day</option>\n");85 printf("<option value='empty'>DD</option>\n"); 83 86 printf("</select>\n"); 84 87 printf("</div>\n"); … … 86 89 printf("<div id='hourselect%d' style='display:inline'>\n", $i); 87 90 printf("<select id='hour%d' onchange=\"get_dates('min', this.value, 'empty', %d, 'yes')\">\n", $i, $i); 88 printf("<option value='empty'>h our</option>\n");91 printf("<option value='empty'>hh</option>\n"); 89 92 printf("</select>\n"); 90 93 printf("</div>\n"); … … 92 95 printf("<div id='minselect%d' style='display:inline'>\n", $i); 93 96 printf("<select id='min%d' onchange=\"get_dates('sec', this.value, 'empty', %d, 'yes')\">\n", $i, $i); 94 printf("<option value='empty'>m in</option>\n");97 printf("<option value='empty'>mm</option>\n"); 95 98 printf("</select>\n"); 96 99 printf("</div>\n"); … … 98 101 printf("<div id='secselect%d' style='display:inline'>\n", $i); 99 102 printf("<select id='sec%d'>\n", $i, $i); 100 printf("<option value='empty'>s ec</option>\n");103 printf("<option value='empty'>ss</option>\n"); 101 104 printf("</select>\n"); 102 105 printf("</div>\n"); 103 //buttton to show next timestamp 104 //printf("<button onClick='get_timestamp(%s, \"next\");get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' id='nexttimestamp%s' style='display:inline'>Next Time Stamp</button>\n", $i, $i); 105 //printf("<button onClick='get_timestamp(%s, \"prev\");get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' id='prevtimestamp%s' style='display:inline'>Prev Time Stamp</button>\n", $i, $i); 106 106 107 printf("</div>\n"); 107 108 printf("<br>\n"); … … 151 152 //list of POs 152 153 printf("<tr>\n"); 153 printf("<td bgcolor='#BEFFBE' colspan='2' ><div id='valuefield2'></div></td>\n");154 printf("<td bgcolor='#BEBEFF' colspan='2' ><div id='valuefield3'></div></td>\n");154 printf("<td bgcolor='#BEFFBE' colspan='2' valign='top'><div id='valuefield2'></div></td>\n"); 155 printf("<td bgcolor='#BEBEFF' colspan='2' valign='top'><div id='valuefield3'></div></td>\n"); 155 156 printf("</tr>\n"); 156 157
Note:
See TracChangeset
for help on using the changeset viewer.