Changeset 50 for trunk/dictionary.php
- Timestamp:
- Jan 30, 2009, 11:31:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dictionary.php
r49 r50 50 50 } 51 51 52 echo('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 53 <HTML> 54 <HEAD> 55 <META http-equiv="Content-Language" content="cs"> 56 <META http-equiv="Content-Type" content="text/html; charset='.$Config['Web']['Charset'].'"> 57 <META HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT"> 58 <link rel="SHORTCUT ICON" href="/images/favicon.ico"> 59 <TITLE>Projekt překládání textů do WoW</TITLE> 60 </HEAD> 61 <body>'); 52 echo('<?xml version="1.0" encoding="'.$Config['Web']['Charset'].'"?> 53 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 54 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 55 <head> 56 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 57 <link rel="stylesheet" href="'.$Config['Web']['BaseURL'].'style.css" type="text/css" media="all" /> 58 <script type="text/javascript" src="'.$Config['Web']['BaseURL'].'global.js"></script> 59 <link rel="SHORTCUT ICON" href="'.$Config['Web']['BaseURL'].'images/favicon.ico" /> 60 <title>Projekt překládání textů WoW - slovníček</title> 61 </head> 62 <body>'); 62 63 63 64 if(array_key_exists('insert', $_GET)) 64 65 { 65 66 echo('<form action="dictionary.php" method="post"> 66 <input type="text" name="AJWord"> Anglické slovo<br >67 <input type="text" name="CZWord"> České slovo<br >68 <input type="text" name="description"> Popis<br >67 <input type="text" name="AJWord"> Anglické slovo<br /> 68 <input type="text" name="CZWord"> České slovo<br /> 69 <input type="text" name="description"> Popis<br /> 69 70 <input type="submit" value="Uložit"> 70 71 </form>'); … … 85 86 } 86 87 87 echo('<table border="1" width="100%">'); 88 echo('<form action="dictionary.php" method="get"> 89 <table border="1" width="100%">'); 88 90 89 91 if(array_key_exists('search', $_GET)) … … 95 97 } 96 98 97 echo('<tr><td> <form action="dictionary.php" method="get">98 <input type="text" value="'.$Search.'" name="search" size="30" >99 <input type="submit" value="Vyhledat" >');99 echo('<tr><td> 100 <input type="text" value="'.$Search.'" name="search" size="30" /> 101 <input type="submit" value="Vyhledat" />'); 100 102 if(Licence(0)) 101 103 echo(' <a href="dictionary.php?insert">Vložit slovo</a>'); 102 104 103 echo('</ form></td></tr>');105 echo('</td></tr>'); 104 106 echo('<tr><td> 105 < pstyle=" overflow: auto; width: 100%; height: '.$WinWidth.'px;">');107 <div style=" overflow: auto; width: 100%; height: '.$WinWidth.'px;">'); 106 108 //todo select 107 109 if($Search <> '') … … 126 128 echo('</table>'); 127 129 128 echo('</ td></tr>');130 echo('</div></td></tr>'); 129 131 130 echo('</table></ body>');132 echo('</table></form></body></html>'); 131 133 132 134 ?>
Note:
See TracChangeset
for help on using the changeset viewer.