=".$counter; if ($_GET["fStatusDate"]!="") $query0.=" AND (fValidFrom < '".$_GET["fStatusDate"]."' OR fValidFrom like '".$_GET["fStatusDate"]."%') "; } $query0.=" ORDER BY fOriginalIndex, fIndex"; $result0=mysql_query($query0, $db_id); if ($_GET["fGetValCase"]==1) { printf("\n"); printf("\n"); printf("\n", $_GET["fProgram"], $_GET["fKey"], $key1, $key2, $type); } printf("\n", $_GET["fGetValCase"]); printf(""); printf("\n"); printf("\n"); printf("\n"); //printf("\n"); printf("\n"); printf("\n"); printf("\n"); printf("\n"); if ($_GET["fGetValCase"]==1)//show only in edit mode printf("\n", $_GET["fGetValCase"]); else printf("\n", $_GET["fGetValCase"]); if ($_GET["fGetValCase"]==1)//show only in edit mode printf("\n"); printf("\n"); printf("\n"); printf("\n"); $maxindex=0; if ($result0) while ($row0 = mysql_fetch_row($result0)) { if ($_GET["fGetValCase"]==1) { if ($row0[6]==$counter) printf("\n", $row0[0]); else printf("\n", $row0[0]); } else printf("\n", $_GET["fGetValCase"], $row0[12]); printf("\n", $row0[0], $row0[12], $row0[6], $_GET["fGetValCase"], $row0[0], $row0[12]); if (strcmp('0000-00-00 00:00:00', $row0[1])==0) printf("\n", $row0[0], $row0[1]); else printf("\n", $row0[1]); printf("\n", $row0[0], $row0[2]); //printf("\n", $row0[0], $row0[3]); printf("\n", $row0[0], $row0[10]); printf("\n", $row0[0], $row0[11]); printf("\n", $row0[0], $row0[4]); printf("\n", $row0[0], $row0[7]); if ($_GET["fGetValCase"]==1)//show only in edit mode printf("\n", $_GET["fGetValCase"], $row0[0], $row0[5]); else printf("\n", $_GET["fGetValCase"], $row0[0], $row0[5]); if ($_GET["fGetValCase"]==1)//show only in edit mode { if ($row0[6]==$counter) printf("\n", $row0[0], $row0[0]); else printf("\n", $row0[0]); } printf("\n", $row0[0], $row0[8]); printf("\n", $row0[0], $row0[9]); printf("\n"); if ($row0[0]>$maxindex) $maxindex=$row0[0]; } printf("
Index / Orig / CounterValid sinceProgramKeyKey1Key2ValueTypeDescriptionActionMinMax
%s / %s / %s %s %s %s%s%s%s%s%s%s%s%s
\n"); if ($_GET["fGetValCase"]==1) { printf("\n"); printf("\n"); printf("\n", $_GET["fProgram"], $_GET["fKey"], $key1, $key2, $type); } else { printf("\n", $_GET["fGetValCase"], $_GET["fGetValCase"]); printf("\n", $_GET["fGetValCase"], $_GET["fGetValCase"]); } if ($_GET["fGetValCase"]==3) printf("\n", $maxindex); else printf("\n", $maxindex); if ($result0) mysql_free_result($result0); mysql_close($db_id); ini_set("display_errors", "Off"); ini_set("mysql.trace_mode", "Off"); } ?>