<!--{elseif $_G['uid'] && !$activityclose && $applied}-->
<div id="activityjoincancel" style="display:none">
<!--{eval updatemembercount( $_G['uid'], array('extcredits1' => + $activity['credit']), true, '积分返还', $_G['tid'], '');}-->
<form name="activity" method="post" autocomplete="off" action="forum.php?mod=misc&action=activityapplies&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_GET['from']}&from=$_GET['from']{/if}">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="c">
<table summary="{lang activity_join}" cellpadding="0" cellspacing="0" class="actl">
<tr>
<th>{lang leaveword}</th>
<td><input type="text" name="message" maxlength="200" class="px" value="" /></td>
</tr>
</table>
</div>
<div class="o pns"><button type="submit" name="activitycancel" class="pn pnc" value="true"><span>{lang submit}</span></button></div>
</form>
<!--{/if}-->
添加到此位置,刷新一次增加一次,,,
点击取消后又一个提交的信息框,点击提交后需要返还积分,然而试过,if isset $_POST['activitycancel'],以下添加增加积分代码,但是然并卵那,求大神指教啊,,,万分感谢,以上代码时,信息框的代码
|