apps_cancelMerge.php 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. // by 请勿倒卖,已申请软著,否则追究法律责任
  3. namespace app\index;
  4. class apps_cancelMerge extends BaseUser
  5. {
  6. function index()
  7. {
  8. $id = bees_decrypt(SafeRequest("id", "get"));
  9. $row = db('appid')->where('in_uid', $this->userid)->where('in_id', $id)->find();
  10. $row || exit(include_once dirname(__FILE__) . '/../pack/error/404.php');
  11. $result = db('appid')->where('in_uid', $this->userid)->where('in_form', '<>', $row['in_form'])->where('in_id', $row['in_kid'])->find();
  12. ?> <div class="col-md-5 text-center">
  13. <div class="funny-boxes-img">
  14. <a href="<?php echo getlink($row['in_id']);?>" target="_blank">
  15. <img src="<?php echo geticon($row['in_icon']);?>"
  16. onerror="javascript:this.src='<?php echo IN_PATH;?>static/index/image/<?php echo $row['in_form'];?>.png'"
  17. class="appicon" style="margin-top:0px;margin-bottom:14px;">
  18. </a>
  19. <p class="text-center app-name">
  20. <a href="<?php echo getlink($row['in_id']);?>" target="_blank"><?php echo $row['in_name'];?></a>
  21. </p>
  22. <p class="text-center app-name">
  23. <span class="ios"><?php echo $row['in_form'];?></span>
  24. </p>
  25. </div>
  26. </div>
  27. <div class="col-md-2 text-center">
  28. <span aria-hidden="true" class="icon-link" style="line-height:118px;font-size:30px;"></span>
  29. </div>
  30. <div class="col-md-5 text-center">
  31. <div class="funny-boxes-img">
  32. <a href="<?php echo getlink($result['in_id']);?>" target="_blank">
  33. <img src="<?php echo geticon($result['in_icon']);?>"
  34. onerror="javascript:this.src='<?php echo IN_PATH;?>static/index/image/<?php echo $result['in_form'];?>.png'"
  35. class="appicon" style="margin-top:0px;margin-bottom:14px;">
  36. </a>
  37. <p class="text-center app-name">
  38. <a href="<?php echo getlink($result['in_id']);?>"
  39. target="_blank"><?php echo $result['in_name'];?></a>
  40. </p>
  41. <p class="text-center app-name">
  42. <span class="ios"><?php echo $result['in_form'];?></span>
  43. </p>
  44. </div>
  45. </div>
  46. <div class="row" style="padding:20px 50px 50px 50px;">
  47. <div class="col-md-10 col-md-offset-1">
  48. <p>温馨提示:</p>
  49. <p>合并后的两个应用,进入任一个应用的单页,扫描二维码,会根据你的手机系统自动帮你下载相应的版本。</p>
  50. </div>
  51. </div>
  52. <?php
  53. }
  54. }