现在的位置: 首页 > 综合 > 正文

由来源地址决定显示什么页面

2018年01月18日 ⁄ 综合 ⁄ 共 335字 ⁄ 字号 评论关闭

直接上代码:

<!--{if substr($_SERVER[HTTP_REFERER],0,17)=='http://localhost/'}-->
<!--{include header.htm}-->

<!--{hook index_index_start.htm}-->

中间代码
中间代码
<!--{hook index_index_footer_before.htm}-->

<!--{include footer.htm}-->

<!--{require thread_list_js.inc.htm}-->


</body>
</html>


<!--{else}-->
<?php header("location: http://localhost/1.htm");?>
<!--{/if}-->

抱歉!评论已关闭.