slitaz-forge view usbkey/main.php @ rev 237

boot: utf-8 & russian added
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 06 17:43:01 2012 +0300 (2012-04-06)
parents fd08fdffece4
children 87d4ccc604d7
line source
1 <?php include("../head.php"); ?>
2 <!-- Block -->
3 <div id="block">
4 <!-- Navigation -->
5 <div id="block_nav">
6 <?php echo $howto ?>
7 </div>
8 <!-- Information/image -->
9 <div id="block_info">
10 <?php echo $characteristics ?>
11 <h4><?php system("../helper.sh --stats confirmed"); echo $stats ?></h4>
12 </div>
13 </div>
15 <!-- Content top. -->
16 <div id="content_top">
17 <div class="top_left"></div>
18 <div class="top_right"></div>
19 </div>
21 <!-- Content -->
22 <div id="content">
24 <a name="pictures"></a>
25 <?php echo $pictures ?>
26 <a href="../img/IMAG0222.jpg"><img src="../img/IMAG0222small.jpg" alt="Wide" width="19%" /></a>
27 <a href="../img/IMAG0224.jpg"><img src="../img/IMAG0224small.jpg" alt="Close" width="19%" /></a>
28 <a href="../img/IMAG0111.jpg"><img src="../img/IMAG0111small.jpg" alt="Close" width="19%" /></a>
29 <a href="../img/IMAG0225.jpg"><img src="../img/IMAG0225small.jpg" alt="Closer" width="19%" /></a>
30 <a href="../img/IMAG0209.jpg"><img src="../img/IMAG0209small.jpg" alt="Detail" width="19%" /></a>
31 <p>
32 <?php echo $note ?>
33 </p>
35 <a name="form"></a>
36 <?php echo $form ?>
38 <script type="text/javascript">
39 <!--
40 function valid(f)
41 {
42 if (f.email.value.indexOf("@",0) < 0) {
43 alert("<?php echo $enter_email ?>")
44 f.email.focus()
45 return
46 }
47 if (f.name.value == "") {
48 alert("<?php echo $enter_name ?>")
49 f.name.focus()
50 return
51 }
52 if (f.surname.value == "") {
53 alert("<?php echo $enter_surname ?>")
54 f.surname.focus()
55 return
56 }
57 if (f.address.value == "") {
58 alert("<?php echo $enter_address ?>")
59 f.address.focus()
60 return
61 }
62 if (f.city.value == "") {
63 alert("<?php echo $enter_city ?>")
64 f.city.focus()
65 return
66 }
67 if (f.country.value == "") {
68 alert("<?php echo $enter_country ?>")
69 f.country.focus()
70 return
71 }
72 if (true) {
73 f.submit()
74 }
75 }
76 //-->
77 </script>
78 <form method="post" action="../preorder.php">
79 <input type="hidden" name="lang" value="<?php echo $lang ?>" />
80 <table width="100%">
81 <tbody>
82 <tr>
83 <td align="right">&nbsp;<?php echo $name ?></td>
84 <td><input type="text" name="name" /></td>
85 </tr>
86 <tr>
87 <td align="right"><?php echo $surname ?></td>
88 <td><input type="text" name="surname" /></td>
89 </tr>
90 <tr>
91 <td align="right"><?php echo $email ?></td>
92 <td><input type="text" name="email" /></td>
93 </tr>
94 <tr>
95 <td align="right"><?php echo $address ?></td>
96 <td><input type="text" name="address" /></td>
97 </tr>
98 <tr>
99 <td align="right"><?php echo "$zip <br /> $city"; ?></td>
100 <td><input type="text" name="zip" style="width: 80px;" />
101 <input type="text" name="city" style="width: 363px;" /></td>
102 </tr>
103 <tr>
104 <td align="right"><?php echo $country ?></td>
105 <td><input type="text" name="country" /></td>
106 </tr>
107 <tr>
108 <td align="right"><?php echo $count ?></td>
109 <td><input type="text" name="count" value="1" size="5"
110 onblur="if (this.value &lt; 1) {this.value='1'}" style="width: 80px;"/>
111 <?php echo $size ?>
112 <select name="size">
113 <option><?php echo $shell ?></option>
114 <option selected="selected">4 <?php echo $gb ?></option>
115 <option>8 <?php echo $gb ?></option>
116 <option>16 <?php echo $gb ?></option>
117 <option>32 <?php echo $gb ?></option>
118 <option>64 <?php echo $gb ?></option>
119 </select>
120 </td>
121 </tr>
122 <tr>
123 <td align="right"><?php echo $soft ?></td>
124 <td>
125 <select name="soft">
126 <option value="none"><?php echo $none ?></option>
127 <option value="core"><?php echo $core ?></option>
128 <option value="pkgs"><?php echo $pkgs ?></option>
129 <option value="web"><?php echo $web ?></option>
130 <option selected="selected" value="all"><?php echo $all ?></option>
131 </select>
132 </td>
133 </tr>
134 <tr>
135 <td align="right"><?php echo $comments ?></td>
136 <td colspan="4"><textarea name="comments" rows="5" cols="70%"></textarea></td>
137 </tr>
138 </tbody>
139 </table>
140 <input type="submit" name="register" value="<?php echo "$register" ?>" />
141 </form>
143 <!-- End of content with round corner -->
144 </div>
146 <?php include("../tail.php"); ?>