diff --git a/Application/Home/Controller/SafeController.class.php b/Application/Home/Controller/SafeController.class.php index 55daaae66..4a4c42744 100644 --- a/Application/Home/Controller/SafeController.class.php +++ b/Application/Home/Controller/SafeController.class.php @@ -459,14 +459,33 @@ class SafeController extends BaseController{ } public function safeDocument() { + $realname = $_REQUEST['realname']; + $phone = $_REQUEST['phone']; + $email = $_REQUEST['email']; + $address = $_REQUEST['address']; + if (empty($realname)) { + $realname = '您未填写真实姓名'; + } + if (empty($email)) { + $email = '您未填写联系邮箱'; + } + if (empty($address)) { + $address = '您未填写注册地址'; + } + if (empty($phone)) { + $phone = '您未填写联系号码'; + } $time = time(); $loginPromote = $this->getLoginPromote(); $sn = date('Ymd') . '-' . strtoupper(substr(md5($loginPromote['id']), 8, 16)); - $endTime = date('Y-m-d',strtotime('+1 year')); $this->assign('time',date('Y-m-d',$time)); $this->assign('endTime',$endTime); $this->assign('sn',$sn); + $this->assign('realname',$realname); + $this->assign('email',$email); + $this->assign('address',$address); + $this->assign('phone',$phone); $this->display(); } } \ No newline at end of file diff --git a/Application/Home/View/default/Safe/modifyBaseInfo.html b/Application/Home/View/default/Safe/modifyBaseInfo.html index e645fd7a8..a40135f17 100644 --- a/Application/Home/View/default/Safe/modifyBaseInfo.html +++ b/Application/Home/View/default/Safe/modifyBaseInfo.html @@ -304,7 +304,7 @@
联系电话:13067391751
联系人:雷丽华
邮箱号:383166987@qq.com
-乙方:
-注册地址:
-联系电话:
-联系人:
-邮箱号:
+乙方:{$realname}
+注册地址:{$address}
+联系电话:{$phone}
+联系人:{$realname}
+邮箱号:{$email}
经甲乙双方协商一致,在平等互利的基础上,就乙方推广甲方拥有知识产权 或合法授权的游戏(以下简称“产品”)达成如下协议:
1 合作内容及合作期限