资质认证电子文档

master
sk 5 years ago
parent c612fbc5fd
commit d98bfa04b9

@ -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();
}
}

@ -304,7 +304,7 @@
<tr>
<td class="l"></td>
<td class="r"><input type="checkbox" class="input txt" id="agree" style="margin-left:20px" name="agree" >我已仔细阅读,并同意<a href="{:U('safe/safeDocument',array('username'=>$promoteinfo['account']))}"><span style="color:#26c7dbd4" id="read">《游戏推广服务框架协议》</span></a>
<td class="r"><input type="checkbox" class="input txt" id="agree" style="margin-left:20px" name="agree" >我已仔细阅读,并同意<a href="{:U('safe/safeDocument',array('username'=>$promoteinfo['account'],'email'=>$promoteinfo['email'],'realname'=>$promoteinfo['real_name'],'phone'=>$promoteinfo['mobile_phone'],'address'=>$promoteinfo['address']))}"><span style="color:#26c7dbd4" id="read">《游戏推广服务框架协议》</span></a>
<span id="confirm_password_tip"></span></td>
</tr>
<tr>

@ -57,11 +57,11 @@ and open the template in the editor.
<p>联系电话13067391751</p>
<p>联系人:雷丽华</p>
<p>邮箱号383166987@qq.com</p>
<p>乙方:</p>
<p>注册地址:</p>
<p>联系电话:</p>
<p>联系人:</p>
<p>邮箱号:</p>
<p>乙方:{$realname}</p>
<p>注册地址:{$address}</p>
<p>联系电话:{$phone}</p>
<p>联系人:{$realname}</p>
<p>邮箱号:{$email}</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;经甲乙双方协商一致,在平等互利的基础上,就乙方推广甲方拥有知识产权
或合法授权的游戏(以下简称“产品”)达成如下协议:</p>
<p style="font-weight: bold">1 合作内容及合作期限</p>

Loading…
Cancel
Save