{section name=i loop=10 start=0}
<tr>
<td colspan=2><fieldset>
<table>
<tr>
<td> pack_name</td>
<td colspan=2 >
<input id="pack_name{$smarty.section.i.index}" name="pack_name{$smarty.section.i.index}" type="text" maxlength="30" size=30 />
</td>
</tr>
<tr>
<td>file_path</td>
<td >
<input id="file_path{$smarty.section.i.index}" name="file_path{$smarty.section.i.index}" type="text" maxlength="30" size=30 />
</td> <td>up
<input type="file" name="script_file{$smarty.section.i.index}" />
</td>
</tr>
<tr>
<td>script_user</td>
<td colspan=2 >
<input id="file_path1" name="script_user{$smarty.section.i.index}" type="text" maxlength="30" size=30 />
</td>
</tr>
<tr>
<td>execute_cmd</td>
<td colspan=2 ><textarea id="execute_cmd{$smarty.section.i.index}" name="execute_cmd{$smarty.section.i.index}" rows="2" cols="30" style="overflow-y:scroll;overflow-x:scroll" >{$plugindefault.plugin_info}</textarea>
</td>
</tr>
</table> </fieldset>
</td>
</tr>
{/section}
thinkphp view层中的循环
最新推荐文章于 2023-08-19 17:44:21 发布