{$xml[0]}
<form onsubmit="return false" name="ajaxForm" id="ajaxForm" method="post" action="module.php?mod={$mod}&action=extra&channelid={$channelid}&id={$id}">
<table cellpadding="2" cellspacing="1" class="tableborder"  id="down_table"> 
	<!--{loop $data $item}-->
		<tr>
			<td class="tablerow" >
				<input name="url_name[]" type=text class="f-text" id="url_name_{$item[pid]}" size="15" maxlength="30" value="{$item['pname']}">
				<select name="types[]">
					<!--{loop $movie_source_type $k $v}-->
					<option value="{$k}"<!--{if $k == $item['type']}--> selected<!--{/if}-->>{$v}</option>
					<!--{/loop}-->
				</select>
				<input name="urls[]" type=text class="f-text"  id="urls" size="36" maxlength="255" value="{$item['url']}">
				<input type="text" size="4" class="f-text" name="ordering[]" value="{$item['ordering']}" />
				<input onclick="save('deleteurl',{$item[pid]},this.parentNode.parentNode.rowIndex,this);" value='删除此行' type='button'  class='f-button' >
			</td>
		</tr>
	<!--{/loop}-->
</table>
</form>
<script type="text/javascript" reload="1">
(function(){
	qmeCms.dialogView.setSubmit(true, " 提交 ", function(){
		qmeCms.dialogView.setSubmit(true, " 提交中... ", function(){});
		Form.send('ajaxForm', function(resp){
			qmeCms.dialogView.setMessage("<p>操作成功</p>");
			qmeCms.dialogView.close(1500);
		});	
		qmeCms.dialogView.setMessage("<p class='laoding'>数据提交中...</p>");
	});
})();
</script>
{$xml[1]}