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¿ªÊ¼¼´ÊÇ±íµ¥ÇøÓò£¬Ò»°ã¸ù¾ÝÍøÕ¾ÐèÒª£¬ÐèÒªÐ޸ĵÄÊÇÑ¡Ï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

 

Ч¹ûÈçÏ£º