dedeͶƱģҳĵ

 

ĽdedecmsͶƱģҳĵ÷ҿԲοдԼҪЧ

 

dedecmsĬģͶƱģҳõĴ룺

 

<!--ͶƱ--> <div class="rlist margintop"> <form name='voteform' method='post' action='{dede:field name='phpurl'/}/vote.php' target='_blank'> <input type='hidden' name='dopost' value='send'> <input type='hidden' name='aid' value='1'> <input type='hidden' name='ismore' value='0'> <div class="title">ǴĶ֪վģ</div> <div class="rbox vote"> <span><input name="voteitem" type="radio" value="1" />ѽ</span> <span><input name="voteitem" type="radio" value="2" />Żվ</span> <span><input name="voteitem" type="radio" value="3" />Googleٶ </span> <span><input name="voteitem" type="radio" value="4" />վϵ </span> <span><input name="voteitem" type="radio" value="5" />; </span> <div class="votesubmit"> <input type="submit" value="ͶƱ" class="submit" /> <a href="{dede:field name='phpurl'/}/vote.php?dopost=view&aid=1">鿴</a> </div> </div> </form> </div> <!--ͶƱ-->

 

дformʼDZһվҪҪ޸ĵѡradio valueԣvalueں̨ͶƱѡʱӦID

 

 

 

 ̨ϣҳõͶƱ“鿴”ͼ

 


 


 滻/templets/default/index.htmļ´룺

 

<div class="vote mt1"> <dl class="tbox"> <dt><strong>ͶƱ</strong></dt> <form name='voteform' method='post' action='/plus/vote.php' target='_blank'> <input type='hidden' name='dopost' value='send' /> <input type='hidden' name='aid' value='1' /> <input type='hidden' name='ismore' value='0' /> <dd> <strong>ǴĶ֪վģ</strong> <div class="fb"> <input type="radio" name='voteitem' value='1' /> ѽ</div> <div class="fb"> <input type="radio" name='voteitem' value='2' /> Żվ</div> <div class="fb"> <input type="radio" name='voteitem' value='3' /> googleٶ</div> <div class="fb"> <input type="radio" name='voteitem' value='4' /> վϵ</div> <div class="fb"> <input type="radio" name='voteitem' value='5' /> ;</div> <div class="submit"> <button type="submit" class="btn-1">ͶƱ</button> <a href="plus/vote.php?dopost=view&aid=1">鿴</a></div> </dd> </form> </dl> </div>

 

˷㣬Ч̫

 

PSֹĵһᣬֿɽϴ滻ɣ

 

<!-- ΪͶƱģ --> <div class="vote mt1"> <dl class="tbox"> <dt><strong>ͶƱ</strong></dt> <form name='voteform' method='post' action='/plus/vote.php' target='_blank'> <input type='hidden' name='dopost' value='send' /> <input type='hidden' name='aid' value='1' /> <input type='hidden' name='ismore' value='0' /> <dd> <div class="fb"> <!-- ճͶƱ --> {dede:vote id='2'} {/dede:vote} <br /> <!-- ճͶƱ --> </div> </dd> </form> </dl> </div> <!-- ΪͶƱģ -->

 

ÿֻҪͶƱID̨“2”ʵҳͶƱģ¡Ӹ</br>зΪȳơ

 

ǵҪں̨ҳHTML

 

Ч£