slitaz-forge annotate usbkey/main.php @ rev 477

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