ʾַ: http://www.ad119.cn/home/vote.php

Զװ˵
1.ļϴuchomeĿ¼һvote.phpļһvoteļУ
2. uchomeַ/vote.php
3.޸template/default/header.htm
ڷĺ棬ϣĵط
<li><a href="vote.php?do=vote"><img src="image/app/vote.gif" alt="ͶƱ" />ͶƱ</a> <em><a href="vote.php?do=vote&ac=pub"></a></em></li>	
Ա˵ʾͶƱȻ̨ģ建棬ֱɾdata/tpl_cacheļµļ
(Ҳֱں̨δ)ɰװͶƱ uchomeַ/vote.php 
4.ϵͳԱID1vote.php޸ĵһСdefine("SUPERADMIN","1");
5./vote/vote_install.php װ,װ뽫vote4.1.sql  vote.sql vote_install.phpɾ

޸
admin/tpl/config.htm
ҵ<tr>
		<th>δ֤ʵȨ</th>
		<td>
			<table>
			<tr>
			<td width="120">Ӻ</td>
			<td>
			<input type="radio" name="config[name_allowfriend]" value="1"<!--{if $configs[name_allowfriend] == 1}--> checked<!--{/if}-->>
			<input type="radio" name="config[name_allowfriend]" value="0"<!--{if $configs[name_allowfriend] != '1'}--> checked<!--{/if}-->>
			</td></tr>




			<tr>
			<td width="120">ͶƱ</td>
			<td>
			<input type="radio" name="config[name_allowvote]" value="1"<!--{if $configs[name_allowvote] == 1}--> checked<!--{/if}-->>
			<input type="radio" name="config[name_allowvote]" value="0"<!--{if $configs[name_allowvote] != '1'}--> checked<!--{/if}-->>
			</td></tr>


ʾ: 뾡ȱcp_comment.php