<form id="invitation_form" method="post" action="http://wenda.wecenter.com/invitation/ajax/invite/" onsubmit="return false">
<div class="aw-invite-box">
邀请:
<input type="text" name="email" placeholder="<?php _e('请输入好友邮箱'); ?>..." />
<?php _e('你还有'); ?> <?php _e('%s 个<a href="/invitation/" rel="nofollow">邀请名额</a>', '<span class="aw-text-color-blue">' . $this->user_info['invitation_available'] . '</span>'); ?>
<a class="pull-right btn btn-mini btn-success" onclick="ajax_post($('#invitation_form')); return false;"><?php _e('发送邀请'); ?></a>
分享一下在网站底部加上一下邀请框的代码!
阅读全文
收起全文