1 | <?php
|
---|
2 | session_start();
|
---|
3 |
|
---|
4 | ?>
|
---|
5 |
|
---|
6 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
---|
7 | <HTML>
|
---|
8 | <HEAD>
|
---|
9 | <META http-equiv="Content-Language" content="cs">
|
---|
10 | <META http-equiv="Content-Type" content="text/html; charset=windows-1250">
|
---|
11 | <META HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT">
|
---|
12 | <link rel="SHORTCUT ICON" href="/images/favicon.ico">
|
---|
13 | <TITLE>WoW server Heroes of Fantasy - Projek pøekládání Questù do CZ</TITLE>
|
---|
14 | </HEAD>
|
---|
15 | <html>
|
---|
16 | <body>
|
---|
17 |
|
---|
18 | <?php
|
---|
19 |
|
---|
20 | include 'panel.php';
|
---|
21 |
|
---|
22 | if(array_key_exists('entry', $_GET)) {
|
---|
23 | $entry = mysql_escape_string($_GET['entry']);
|
---|
24 | $User = $_SESSION['User'];
|
---|
25 | include 'DatabaseConection.php';
|
---|
26 | $Database = new Database('localhost','root','');
|
---|
27 | $Database->SelectDatabase('Quests');
|
---|
28 | $LineAJ = mysql_fetch_array($Database->SQLCommand("SELECT * FROM ajquests Where entry = $entry"));
|
---|
29 |
|
---|
30 | $Line = mysql_fetch_array($Database->SQLCommand("SELECT * FROM czquests Where entry = $entry"));
|
---|
31 |
|
---|
32 |
|
---|
33 | echo '<br>Identifikaèní èíslo: <b>'.$LineAJ['entry'].'</b><br>';
|
---|
34 | echo 'Jméno Questu: <b>'.$LineAJ['Title'].'</b> ';
|
---|
35 |
|
---|
36 |
|
---|
37 | $Database->Disconnect();
|
---|
38 | ?>
|
---|
39 | <form action="Action.php" method="get">
|
---|
40 | <input type="submit" value="Uloit">
|
---|
41 | <input type="hidden" name="entry" value="<?php echo $LineAJ['entry']?>">
|
---|
42 |
|
---|
43 | <table border="1">
|
---|
44 | <tr>
|
---|
45 | <th>Nepøeloené - Title</th>
|
---|
46 | <th>Pøeloené - Title</th>
|
---|
47 | </tr>
|
---|
48 | <tr>
|
---|
49 | <td width="300"><?php echo $LineAJ['Title']?></td>
|
---|
50 | <td><input type="text" size="45" name="Title" value="<?php echo $Line['Title']?>"></td>
|
---|
51 | </tr>
|
---|
52 | <tr>
|
---|
53 | <th>Nepøeloené - Details</th>
|
---|
54 | <th>Pøeloené - Details</th>
|
---|
55 | </tr>
|
---|
56 | <tr>
|
---|
57 | <td width="300"><?php echo $LineAJ['Details']?></td>
|
---|
58 | <td><textarea style="width: 300px; height: 100%;" name="Details"><?php echo $Line['Details']?></textarea></td>
|
---|
59 | </tr>
|
---|
60 | <tr>
|
---|
61 | <th>Nepøeloené - Objectives</th>
|
---|
62 | <th>Pøeloené - Objectives</th>
|
---|
63 | </tr>
|
---|
64 | <tr>
|
---|
65 | <td width="300"><?php echo $LineAJ['Objectives']?></td>
|
---|
66 | <td><textarea style="width: 300px; height: 120;" name="Objectives"><?php echo $Line['Objectives']?></textarea></td>
|
---|
67 | </tr>
|
---|
68 | <tr>
|
---|
69 | <th>Nepøeloené - OfferRewardText</th>
|
---|
70 | <th>Pøeloené - OfferRewardText</th>
|
---|
71 | </tr>
|
---|
72 | <tr>
|
---|
73 | <td width="300"><?php echo $LineAJ['OfferRewardText']?></td>
|
---|
74 | <td><textarea style="width: 300px; height: 120;" name="OfferRewardText"><?php echo $Line['OfferRewardText']?></textarea></td>
|
---|
75 | </tr>
|
---|
76 | <tr>
|
---|
77 | <th>Nepøeloené - RequestItemsText</th>
|
---|
78 | <th>Pøeloené - RequestItemsText</th>
|
---|
79 | </tr>
|
---|
80 | <tr>
|
---|
81 | <td width="300"><?php echo $LineAJ['RequestItemsText']?></td>
|
---|
82 | <td><textarea style="width: 300px; height: 120;" cols="25" name="RequestItemsText"><?php echo $Line['RequestItemsText']?></textarea></td>
|
---|
83 | </tr>
|
---|
84 | </table>
|
---|
85 | </form>
|
---|
86 | <?php
|
---|
87 |
|
---|
88 | } else {
|
---|
89 | include 'ListQuests.php';
|
---|
90 |
|
---|
91 | }
|
---|
92 |
|
---|
93 |
|
---|
94 | ?>
|
---|
95 |
|
---|
96 | </body>
|
---|
97 | </html>
|
---|
98 |
|
---|