- Timestamp:
- 09/13/11 21:03:37 (13 years ago)
- Location:
- trunk/www/db_po
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/get_values.php
r12021 r12097 130 130 } 131 131 else 132 printf("<tr id='%scompare%s' style='display:' bgcolor='white'>\n", $_GET["fGetValCase"], $row0[12]); 132 { 133 if ($_GET["fGetValCase"]==2) 134 printf("<tr id='%scompare%s' style='display:' bgcolor='FAFFFA'>\n", $_GET["fGetValCase"], $row0[12]); 135 if ($_GET["fGetValCase"]==3) 136 printf("<tr id='%scompare%s' style='display:' bgcolor='FAFAFF'>\n", $_GET["fGetValCase"], $row0[12]); 137 } 133 138 134 139 //printf("<td class='indices%d' style='display:%s'> %s / %s / %s <div id='%dorigindex%s' style='display:none'>%s</div> </td>\n", … … 152 157 printf("<td id='2key%s'>%s</td>\n", $row0[0], $row0[11]); 153 158 //value 154 printf("<td align='right' id='val%s' align='right'>%s</td>\n", $row0[0], $row0[4]); 159 // string -> align left 160 // rest -> align right 161 if (strcmp('string', $row0[7])==0) 162 printf("<td align='left' id='val%s' align='right'>%s</td>\n", $row0[0], $row0[4]); 163 else 164 printf("<td align='right' id='val%s' align='right'>%s</td>\n", $row0[0], $row0[4]); 155 165 //type 156 166 printf("<td id='type%s'>%s</td>\n", $row0[0], $row0[7]); -
trunk/www/db_po/view_po.php
r11780 r12097 31 31 32 32 33 printf("<table border='0' cell spacing='2px'><tbody>\n");33 printf("<table border='0' cellpadding='3px' style='border-spacing:10px 3px'><tbody>\n"); 34 34 35 35 printf("<tr>\n"); 36 36 printf("<th bgcolor='#DCFFDC'>Configuration 1</th>\n"); 37 printf("<td colspan='2' align='center' >\n");37 printf("<td colspan='2' align='center' bgcolor='#EEEEEE'>\n"); 38 38 printf("<button onClick='get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' id='showpo' style='display:inline'>Show /<br>Compare</button>\n"); 39 39 printf("</td>\n"); … … 118 118 119 119 if ($i==2) 120 printf("<td colspan='2' align='center' ><button onClick='reset_dates(\"year\", \"empty\", \"empty\", 2);reset_dates(\"year\", \"empty\", \"empty\", 3);get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' id='resetdates' style='display:inline'>Reset Dates</button></td>\n");120 printf("<td colspan='2' align='center' bgcolor='#EEEEEE'><button onClick='reset_dates(\"year\", \"empty\", \"empty\", 2);reset_dates(\"year\", \"empty\", \"empty\", 3);get_values(2,\"all\",\"all\");get_values(3,\"all\",\"all\");CompareValues();' id='resetdates' style='display:inline'>Reset Dates</button></td>\n"); 121 121 } 122 122 printf("</tr>\n");
Note:
See TracChangeset
for help on using the changeset viewer.