Files
web-discuz/template/bygsjw_sj/touch/home/spacecp_promotion.php
2025-06-27 21:04:18 +08:00

75 lines
3.2 KiB
PHP

<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>{lang memcp_promotion}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{subtemplate home/spacecp_header}-->
<!--{hook/spacecp_promotion_top}-->
<!--{if $_G['setting']['creditspolicy']['promotion_visit'] || $_G['setting']['creditspolicy']['promotion_register']}-->
<div id="append_parent"></div>
<style type="text/css">
.post_promotion_t{ margin: .1rem; padding: .08rem; border: 1px dashed #eee; background: #ffe; border-radius: .02rem; font-size: .14rem;}
.post_promotion_t .xi1{ color: red;}
.post_promotion_c{ padding: .15rem .1rem; background: #fff;}
.post_promotion_c .z{ font-size: .15rem; line-height: .28rem;}
.post_promotion_c .y{ width: 2.7rem;}
.post_promotion_c .px{ width: 2.58rem; padding: .04rem; line-height: .18rem; font-size: .15rem; border: 1px solid #eee;}
.post_promotion_c .pn{ isplay: block; width: 1rem; line-height: .28rem; margin-top: .1rem;}
</style>
<div class="post_promotion_t">
<!--{if $_G['setting']['creditspolicy']['promotion_visit']}--><p>
{lang post_promotion_url}
</p><!--{/if}-->
<!--{if $_G['setting']['creditspolicy']['promotion_register']}-->
<p>
<!--{if $_G['setting']['creditspolicy']['promotion_visit']}-->
{lang post_promotion_reg}
<!--{else}-->
{lang post_promotion}
<!--{/if}-->
</p>
<!--{/if}-->
</div>
<ul class="post_promotion_c">
<li class="cl">
<div class="z">{lang post_promotion_url1} :</div>
<div class="y">
<input type="text" class="px" onclick="this.select();setCopy('{$copystr}'+'\n'+this.value, '{lang promotion_url_copied}');" value="$_G[siteurl]?fromuid=$_G[uid]" />
<button type="submit" class="pn" onclick="setCopy('{$copystr}'+'\n'+'$_G[siteurl]?fromuid=$_G[uid]', '{lang promotion_url_copied}');">{lang copy}</button>
</div>
</li>
<li class="cl" style="margin-top: .2rem;">
<div class="z">{lang post_promotion_url2} :</div>
<div class="y">
<input type="text" class="px" onclick="this.select();setCopy('{$copystr}'+'\n'+this.value, '{lang promotion_url_copied}');" value="$_G[siteurl]?fromuser={echo rawurlencode($_G[username])}" size="50" />
<button type="submit" class="pn" onclick="setCopy('{$copystr}'+'\n'+'$_G[siteurl]?fromuser={echo rawurlencode($_G[username])}', '{lang promotion_url_copied}');">{lang copy}</button>
</div>
</li>
</ul>
<!--{/if}-->
<!--{hook/spacecp_promotion_bottom}-->
<!--{template common/footer}-->