12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <html>
- <style type="text/css">
- input[type=submit] {
- width: 15em; height: 4em;
- }
- input[id=version] {
- text-align:center;
- }
- </style>
-
- <body>
- <!-- <div align="center"> -->
- <form method="get" action="business.php">
- <input type="radio" name="location" checked="true" value="trunk"/> trunk <input type="text" value="/repository/source/ios/trunk" readonly="readonly" size="32" /> <br/><br/>
- <input type="radio" name="location" value="tag"/> tags 
- <select name="tag_name">
- <?php
- $tags_cmd = "svn ls svn://firstlinkapp.com/repository/source/ios/tags --username wangyongbin --password aabb1234 --no-auth-cache";
- $output = shell_exec($tags_cmd);
- foreach (array_reverse(explode("/",$output)) as $value) {
- $string = str_replace(' ', '', $value);
- $string = str_replace("\n",'', $string);
- if (strlen($string)>0) {
- echo "<option value = ". $string ." > /tags/". $string ." </option>";
- }
- }
- ?>
- </select>
-
- <br/><br/>
- mode  
- <select name="mode">
- <option value = "Release" >Release</option>
- <option value = "Debug" >Debug</option>
- </select>
- <br/><br/>
- version <input id="version" type="text" size="8" name="version" value="Latest" /> <br />
-
- <br/>
- <input type="submit" value="Submit"/>
- </form>
- <!-- </div> -->
- </body>
- </html>
|