admin/templets/vote_getcode.htm
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>获取代码</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
</head>
<body background="images/allbg.gif" leftmargin="8" topmargin="8">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
<tr>
<td height="19" background="images/tbg.gif"><strong><a href="vote_main.php"><u>投票管理</u></a>>>获取代码</strong></td>
</tr>
<tr>
<td height="200" bgcolor="#FFFFFF" valign="top"><table width="80%" border="0" cellspacing="2" cellpadding="2">
<tr bgcolor="#EBF2DB">
<td width="100%" bgcolor="#EBF2DB">在封面或主页模板中使用的标记:</td>
</tr>
<tr>
<td valign="top">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<form name="form1" action="tag_test_action.php" target="stafrm" method="post">
<input type="hidden" name="showsource" value="no">
<tr>
<td width="370" height="153" align="center">
<textarea name="partcode" cols="45" rows="6" id="partcode">{dede:vote id='<?php echo $aid?>' lineheight='22'
tablewidth='100%' titlebgcolor='#EDEDE2'
titlebackground='' tablebgcolor='#FFFFFF'}
{/dede:vote}</textarea>
</td>
<td width="230" rowspan="2">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</td>
</tr>
<tr>
<td height="53" align="center" valign="top">
<input type="submit" name="Submit" value="提交测试">
</td>
</tr>
</form>
</table>
</td>
</tr>
<tr bgcolor="#EBF2DB">
<td bgcolor="#EBF2DB">在封面或主页模板中使用的JS:</td>
</tr>
<tr>
<td height="200" valign="top">
<textarea name="htmlf" cols="60" rows="5" id="htmlf"><script language="javascript" src="<?php echo $cfg_basehost.'/data/vote/vote_'.$aid.'.js' ?>"></script></textarea>
</td>
</tr>
<tr bgcolor="#EBF2DB">
<td bgcolor="#EBF2DB">默认生成的表单HTML:</td>
</tr>
<tr>
<td height="200" valign="top">
<textarea name="htmlf" cols="60" rows="10" id="htmlf"><?php
$vt = new DedeVote($aid);
echo $vt->GetVoteForm();
$vt->Close();
?></textarea>
后面还有 7 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。