Changeset 225 for quests/dictionary.php
- Timestamp:
- Jan 14, 2008, 7:51:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/dictionary.php
r217 r225 70 70 </form> 71 71 '; 72 $WinWidth = 230; 72 73 } else { 74 $WinWidth = 345; 73 75 if (array_key_exists('AJWord', $_POST)) { 74 76 $AJWord = $_POST['AJWord']; … … 79 81 VALUES ('$AJWord', '$CZWord', '$description', '$user');"); 80 82 echo 'Záznam byl ulo¾en!'; 83 $WinWidth = 325; 81 84 } 82 85 } … … 100 103 echo '</form></td></tr>'; 101 104 echo '<tr><td> 102 <p style=" overflow: auto; width: 100%; height: 345px;">';105 <p style=" overflow: auto; width: 100%; height: '.$WinWidth.'px;">'; 103 106 //todo select 104 107 if ($Search <> '') { 105 108 $sql = "SELECT * FROM `dictionary` WHERE LOWER(AJWord) LIKE LOWER('%$Search%') OR LOWER(CZWord) LIKE LOWER('%$Search%') OR LOWER(description) LIKE LOWER('%$Search%')"; 106 109 } else { 107 $sql = "SELECT * FROM `dictionary` Limit 50";110 $sql = "SELECT * FROM `dictionary`"; 108 111 } 109 112 echo '<table border="1" cellpadding="2" cellspacing="0" width="100%">';
Note:
See TracChangeset
for help on using the changeset viewer.