暂无描述

package.php 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <html>
  2. <style type="text/css">
  3. input[type=submit] {
  4. width: 15em; height: 4em;
  5. }
  6. input[id=version] {
  7. text-align:center;
  8. }
  9. </style>
  10. <body>
  11. <!-- <div align="center"> -->
  12. <form method="get" action="business.php">
  13. <input type="radio" name="location" checked="true" value="trunk"/> trunk <input type="text" value="/repository/source/ios/trunk" readonly="readonly" size="32" /> <br/><br/>
  14. <input type="radio" name="location" value="tag"/> tags&nbsp
  15. <select name="tag_name">
  16. <?php
  17. $tags_cmd = "svn ls svn://firstlinkapp.com/repository/source/ios/tags --username wangyongbin --password aabb1234 --no-auth-cache";
  18. $output = shell_exec($tags_cmd);
  19. foreach (array_reverse(explode("/",$output)) as $value) {
  20. $string = str_replace(' ', '', $value);
  21. $string = str_replace("\n",'', $string);
  22. if (strlen($string)>0) {
  23. echo "<option value = ". $string ." > /tags/". $string ." </option>";
  24. }
  25. }
  26. ?>
  27. </select>
  28. <br/><br/>
  29. mode&nbsp&nbsp
  30. <select name="mode">
  31. <option value = "Release" >Release</option>
  32. <option value = "Debug" >Debug</option>
  33. </select>
  34. <br/><br/>
  35. version <input id="version" type="text" size="8" name="version" value="Latest" /> <br />
  36. <br/>
  37. <input type="submit" value="Submit"/>
  38. </form>
  39. <!-- </div> -->
  40. </body>
  41. </html>