| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?
- include("../config/conn.php");
- include("../config/function.php");
- sesCheck();
- $userid=returnuserid($_SESSION["SHOPUSER"]);
- $orderbh=$_GET[orderbh];
- $sj=date("Y-m-d H:i:s");
- while0("*","yjcode_order where orderbh='".$orderbh."' and ddzt='backerr' and userid=".$userid);if(!$row=mysql_fetch_array($res)){php_toheader("order.php");}
- if(sqlzhuru($_POST[jvs])=="jf"){
- zwzr();
- $txt=sqlzhuru1($_POST[content]);
- if(empty($txt)){Audit_alert("申请理由内容不得为空,返回重试!","orderjf.php?orderbh=".$orderbh);}
- intotable("yjcode_orderlog","orderbh,userid,selluserid,admin,txt,sj","'".$orderbh."',".$row[userid].",".$row[selluserid].",1,'".$txt."','".$sj."'");
- updatetable("yjcode_order","ddzt='jf' where orderbh='".$orderbh."'");
- deletetable("yjcode_db where orderbh='".$orderbh."' and userid=".$userid);
- deletetable("yjcode_tk where orderbh='".$orderbh."' and userid=".$userid);
- php_toheader("orderview.php?orderbh=".$orderbh);
- }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="x-ua-compatible" content="ie=7" />
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>用户管理面板 - <?=webname?></title>
- <? include("cssjs.html");?>
- <link href="css/buy.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="../config/ueditor/ueditor.config.js"></script>
- <script type="text/javascript" src="../config/ueditor/ueditor.all.min.js"> </script>
- <script type="text/javascript" src="../config/ueditor/lang/zh-cn/zh-cn.js"></script>
- </head>
- <body>
- <? include("../tem/top.html");?>
- <? include("top.php");?>
- <div class="yjcode">
- <? include("left.php");?>
- <!--RB-->
- <div class="userright">
-
- <!--白B-->
- <div class="rkuang">
-
- <? include("orderv.php");?>
- <script language="javascript">
- function tj(){
- if(confirm("确认要申请客服介入吗?")){}else{return false;}
- layer.msg('正在处理数据,请稍候', {icon: 16 ,time: 0,shade :0.25});
- f1.action="orderjf.php?orderbh=<?=$orderbh?>";
- }
- </script>
- <form name="f1" method="post" onsubmit="return tj()">
- <ul class="ordercz">
- <li class="l1">
- <strong>* 站长提示:</strong><br>
- * <span class="red">申请客服介入后,订单资金将被冻结在平台,直至平台处理完本次纠纷</span><br>
- * 提供详细的退款申请理由,并且附上图片,将更有助于平台处理本次纠纷,纠纷处理过程中,可以随时补充内容。
- </li>
- <li class="l5"><script id="editor" name="content" type="text/plain" style="width:856px;height:380px;"><?=$row[txt]?></script></li>
- <li class="l4"><?=tjbtnr("申请客服介入")?></li>
- </ul>
- <input type="hidden" value="jf" name="jvs" />
- <input type="hidden" value="<?=$orderbh?>" name="orderbh" />
- </form>
-
- <div class="clear clear10"></div>
- </div>
- <!--白E-->
- </div>
- <!--RE-->
- </div>
- <script language="javascript">
- //实例化编辑器
- var ue= UE.getEditor('editor'
- , {
- toolbars:[
- ['fullscreen', 'source', '|', 'undo', 'redo', '|',
- 'removeformat', 'formatmatch' ,'|', 'forecolor',
- 'fontsize', '|',
- 'link', 'unlink',
- 'insertimage', 'emotion', 'attachment']
- ]
- });
- </script>
- <div class="clear clear15"></div>
- <? include("../tem/bottom.html");?>
- </body>
- </html>
|