װ
1 template/default/header.htm м˵ ѡӴλ  ޸ĺ uch̨ ģ建
	
 Ҵ
   <li class="app-blog"><em><a href="cp.php?ac=blog"></a></em><a href="space.php?do=blog"><img src="image/app/blog.gif" alt="־" />־</a></li>
 β 
   <li class="app-doing"><em><a href="license.php">֤</a></em><a href="license.php"><img src="xphoto/image/app2.gif" alt="Ƶ֤" />Ƶ֤</a></li>
  
	
2 ҳƵ֤ ģtemplate\default\space_index.htm  ޸ĺ uch̨ ģ建
  
 ҵ
   <li><a href="cp.php?ac=avatar">ҵͷ</a></li>
   <li><a href="cp.php?ac=profile">༭ҵ</a></li>
   <!--{else}-->   
  ޸Ϊ 
   <li><SCRIPT language=JavaScript1.2 src="./xphoto/license.php?uid=$space[uid]"></SCRIPT></li>
   <li><a href="cp.php?ac=avatar">ҵͷ</a></li>
   <li><a href="cp.php?ac=profile">༭ҵ</a></li>
   <!--{else}-->
   <li><SCRIPT language=JavaScript1.2 src="./xphoto/license.php?uid=$space[uid]"></SCRIPT></li>


 ҵ
 <table cellspacing="2" cellpadding="2" class="infotable">
 β 
 <!--{if $license}-->


 ҵ
 <tr>
 <th>ҳ</th>
 <td><a href="$space[domainurl]" onclick="javascript:setCopy('$space[domainurl]');return false;" class="spacelink domainurl">$space[domainurl]</a></td>
 </tr>
 β 
 <!--{else}-->
 <tr>
 <td width="80" height="80">ʾ</td>
 <td>ԲûͨƵ֤ܲ鿴ûĸ<br>ӽƵ֤:  {$license_url}<br></td>
 </tr>
 <!--{/if}-->


3 ޸ source/space_index.php  
 ҵ
$space['domainurl'] = getsiteurl()."?$space[uid]";
}
}

β´  

//Ƿʾ
$query = $_SGLOBAL['db']->query("SELECT if_flash FROM leletang_uch_set WHERE id='0'");
$gbsys= $_SGLOBAL['db']->fetch_array($query);
$query = $_SGLOBAL['db']->query("select id,pic,active,time from leletang_uch_authentication where id='$space[uid]' and active='1'");
$license_num = $_SGLOBAL['db']->num_rows($query);
if($_SGLOBAL['supe_uid']!=$space[uid])
{
if($gbsys[if_flash]=='1')
{
	if($license_num=='1')
	{
		$license= 'no_echo';
	}
	else
	{
		$license= '';
		$license_url= '<a href="'.getsiteurl().'license.php">'.getsiteurl().'license.php</a>';
	}
}
else
{
	$license= 'no_echo';
}
}
else
{
	$license= 'no_echo';
}




4 ϴ װ ļuchomeĿ¼
   	xphoto licenseĿ¼Ŀ¼дȨ777 
   	 Ƶ֤ ˵ ʾ ɰװ



жطжذڵuch_uninstall.phpϴuchxphotoĿ¼ִмɾݱȻֶɾĿ¼ɡ   	 


