Changeset 80 for trunk/comparison.php
- Timestamp:
- Feb 10, 2009, 3:22:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/comparison.php
r79 r80 43 43 $Textentry = $_GET['entry']; 44 44 45 $DataID = $Database->SQLCommand('SELECT * FROM '.$Table.' Where entry = '.$Textentry); 45 46 if ((array_key_exists('ID1', $_GET)) and ($_GET['ID1'] <> -1)) { //porovnání pouze 2 textů 47 $TextID1 = $_GET['ID1']; 48 $TextID2 = $_GET['ID2']; 49 $WhereID = " AND (ID = $TextID1 OR ID = $TextID2 OR Language = 0)"; 50 } else $WhereID = ''; 51 52 $DataID = $Database->SQLCommand('SELECT * FROM '.$Table.' Where entry = '.$Textentry.$WhereID); 46 53 $i = 0; 47 54 while($Line = mysql_fetch_assoc($DataID)) { … … 86 93 <th>'.$TextItem['Name'].'</th>'); 87 94 for ($i = 0; $i < count($Line); $i++) { 88 if ($i > =1) {95 if ($i > 1) { 89 96 echo ('<td>'); 90 97 CompareString($Line[$i][$TextItem['Column']],$Line[$i-1][$TextItem['Column']]);
Note:
See TracChangeset
for help on using the changeset viewer.