 <?php  include("../template/usertop.php");?>
<body>
<?php  include("../template/menu.php");?>
<script src="/public/Front/js/jquery.zclip.min.js"></script> 
<div class="head-wrap">
<div class="main_top_1">
<div class="mt" style="position:relative;">
<?php  include("../template/user_left.php");?> 
<div class="user_zx_right">
<div class="box">
<div class="tagMenu">
<ul class="menu">
<li class="current"><a href="/user/promotion_links.php">推广链接</a></li>
<li><a href="/user/promotion_record.php">推广记录</a></li>
<li><a href="/user/offline_record.php">下线分成</a></li>
</ul>
<div class="hite"> <span id="account"></span> </div>
</div>
</div>
<?php 
	//$url = $_SERVER['HTTP_HOST'].'/register.php?user='.$userConfig['username']; 

	$url = 'p4.tdiant.com/register.php?user='.$userConfig['username']; ?>
<div class="myinfo" style="padding: 20px; margin-bottom: 15px;background:#fff;">
<p style="margin:15px 0px;">尊敬的<?php echo configW('webname'); ?>会员，以下是您在<?php echo configW('webname'); ?>的推广链接。</p>
<p style="margin:30px 0px; background:#CCCCCC; height:41px; line-height:30px; padding:5px; color:#FFFFFF; font-size:14px;">您的邀请链接：<input size="50" value="<?php echo $url; ?>" style="height: 31px;
color: black;" id="link"> <span id="copyBtn">复制链接</span>
<script>
$('#copyBtn').zclip({
    path: "/public/Front/js/ZeroClipboard.swf",
    copy: function(){
        return $('#link').val();
　　　 　　}
});
</script>
</p>
<p style="margin:30px 0px;">您可以通过QQ、MSN、微博、邮件等方式发送以上链接邀请好友加入；</p>
<p>亲爱的<?php echo configW('webname'); ?>用户，即日起邀请好友注册<?php echo configW('webname'); ?>即可获得<?php echo configW('webname'); ?>现金奖励的机会;</p>
<p>各位用户可登录<?php echo configW('webname'); ?>“我的帐户”—“我要推广—“推广链接”一栏，复制邀请链接并通过QQ、MSN、微博、邮件等方式发送至好友处；</p>
<p>凡成功邀请好友注册<?php echo configW('webname'); ?>，您将获得此注册者的投资金额2%~10%（根据项目）;</p>
</div>
</div>
</div>
</div>
<?php  include("../template/foot.php");?> 
</body></html>