<?php exit("Powered by www.wikin.cn"); ?>
<!--{if $thread['freemessage']}-->
<div id="postmessage_$pid" class="t_f">$thread[freemessage]</div>
<!--{/if}-->
<!--{if empty($_GET['archiver'])}-->

<div class="locked">
  
    <em class="right">
        <!--{if $thread[payers]}-->{lang have} $thread[payers] {lang people_buy}&nbsp; <!--{/if}-->
    </em>
    <!--{if $_G[forum_thread][price] > 0}-->{lang pay_comment}<!--{/if}-->
    <!--{if $thread[endtime]}--><br/>{lang pay_free_time}<!--{/if}-->
      <br><a id="pay_thread" href="forum.php?mod=misc&action=pay&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET['from'])}&from=$_GET['from']{/if}" class="viewpay" title="{lang pay}">{lang pay}</a>
</div>
 <script type="text/javascript" reload="1">
        $('#pay_thread').click(function () {
            var obj = $(this);
            $.ajax({
                type: 'POST',
                url: obj.attr('href') + '&inajax=1',
                data: {},
                dataType: 'xml'
            }).success(function (s) {
                popup.open(s.lastChild.firstChild.nodeValue);
            }).error(function () {
                window.location.href = obj.attr('href');
                popup.close();
            });
            return false;
        });
    </script>

<!--{else}-->
<!--{if $thread[payers]}-->{lang have} $thread[payers] {lang people_buy}&nbsp; <!--{/if}-->
<!--{if $_G[forum_thread][price] > 0}-->{lang pay_comment}<!--{/if}-->
<!--{if $thread[endtime]}--><br />{lang pay_free_time}<!--{/if}-->
<!--{/if}-->