国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shops_operations_userinfo.php 1.2KB

2 years ago
2 years ago
2 years ago
2 years ago
1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * 用户信息
  4. *
  5. * @version $Id: shops_operations_userinfo.php 1 16:09 2010年7月20日Z tianya $
  6. * @package DedeBIZ.Administrator
  7. * @copyright Copyright (c) 2022, DedeBIZ.COM
  8. * @license https://www.dedebiz.com/license
  9. * @link https://www.dedebiz.com
  10. */
  11. require_once(dirname(__FILE__)."/config.php");
  12. CheckPurview('shops_Operations');
  13. if (!isset($oid)) exit("<a href='javascript:window.close()'>无效操作!</a>");
  14. $oid = preg_replace("#[^-0-9A-Z]#", "", $oid);
  15. if (empty($oid)) exit("<a href='javascript:window.close()'>无效订单号!</a>");
  16. $rows = $dsql->GetOne("SELECT * FROM `#@__shops_userinfo` WHERE oid='$oid' LIMIT 0,1");
  17. if (!is_array($rows)) {
  18. $dsql->Close();
  19. exit("<a href='javascript:window.close()'>该订单下没相关用户信息!</a>");
  20. }
  21. $row = $dsql->GetOne("SELECT pid,dprice FROM `#@__shops_orders` WHERE oid='$oid'");
  22. if (is_array($row)) {
  23. $rs = $dsql->GetOne("SELECT dname FROM `#@__shops_delivery` WHERE pid='$row[pid]'");
  24. $rows['dname'] = $rs['dname'];
  25. $rows['dprice'] = $row['dprice'];
  26. }
  27. $rows['des'] = stripslashes($rows['des']);
  28. include DEDEADMIN."/templets/shops_operations_userinfo.htm";
  29. unset($rows);