<?php
	require_once './Source/tool/statistics.php';

	if (!Tourists ()){
		if(!empty($_GET['id'])){
			promote ($_GET['id'],ip());
		}
	}


	$AnYue_Smarty -> assign ('Code',
<<<HTML
<!-- Baidu Button BEGIN -->
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"1","bdPos":"left","bdTop":"90"},"image":{"viewList":["mshare","qzone","sqq","mail","tieba","tqq","renren","bdhome","tsina","copy"],"viewText":"分享此图：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["mshare","qzone","sqq","mail","tieba","tqq","renren","bdhome","tsina","copy"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
<!-- Baidu Button END -->

<!-- Duoshuo Comment BEGIN -->
	<div class="ds-thread"></div>
<script type="text/javascript">
var duoshuoQuery={short_name:"yxgq"};
	(function() {
		var ds=document.createElement('script');
		ds.type='text/javascript';ds.async=true;
		ds.src='http://static.duoshuo.com/embed.js';
		ds.charset='UTF-8';
		(document.getElementsByTagName('head')[0] 
		|| document.getElementsByTagName('body')[0]).appendChild(ds);
	})();
	</script>
<!-- Duoshuo Comment END -->
HTML
);
	$AnYue_Smarty -> assign ('QQWall',wall());
	$AnYue_Smarty -> display ('first.html');

