<div class="dialog_content">
	<form id="info_form" action="{:U('robots/add')}" method="post">
	<table width="100%" class="table_form">
		<tr>
                <th>{:L('tbk_name')}：</th>
                <td>
                    <input name="name" type="text" id="J_name" class="input-text" size="20" />
                </td>
            </tr>

            <tr>
                <th width="150">{:L('tbk_item_cate')}：</th>
                <td>
                    <select class="J_tbcats mr10">
                        <option value="0">--{:L('all')}--</option>
                        <volist name="items_cate" id="cate">
                        <option value="{$cate.cid}">{$cate.name}</option>
                        </volist>
                    </select>
                    <input type="hidden" id="J_cid" name="cid" val="">
                </td>
            </tr>

			<tr>
				<th width="120">所属分类：</th>
                <td><select class="J_cate_select mr10" data-pid="0" data-uri="{:U('items_cate/ajax_getchilds', array('type'=>0))}" data-selected=""></select><input type="hidden" name="cate_id" id="J_cate_id" value="" /></td>
			</tr>


            <tr>
                <th>{:L('keyword')}：</th>
                <td>
                    <input name="keyword" type="text" class="input-text" size="40" />
                </td>
            </tr>

			<tr>
                <th>采集页数：</th>
                <td>

					<select name="page" id="page">
						<option value="1" >采集1页</option>
						<option value="2" >采集2页</option>
						<option value="3" >采集3页</option>
						<option value="4" >采集4页</option>
						<option value="5" >采集5页</option>
						<option value="6" >采集6页</option>
						<option value="7" >采集7页</option>
						<option value="8" >采集8页</option>
						<option value="9" >采集9页</option>
						<option value="10" >采集10页</option>
						<option value="11" >采集11页</option>
						<option value="12" >采集12页</option>
						<option value="13" >采集13页</option>
						<option value="14" >采集14页</option>
						<option value="15" >采集15页</option>
						<option value="16" >采集16页</option>
						<option value="17" >采集17页</option>
						<option value="18" >采集18页</option>
						<option value="19" >采集19页</option>
						<option value="20" >采集20页</option>
						<option value="21" >采集21页</option>
						<option value="22" >采集22页</option>
						<option value="23" >采集23页</option>
						<option value="24" >采集24页</option>
						<option value="25" >采集25页</option>
						<option value="26" >采集26页</option>
						<option value="27" >采集27页</option>
						<option value="28" >采集28页</option>
						<option value="29" >采集29页</option>
						<option value="30" >采集30页</option>
						<option value="31" >采集31页</option>
						<option value="32" >采集32页</option>
						<option value="33" >采集33页</option>
						<option value="34" >采集34页</option>
						<option value="35" >采集35页</option>
						<option value="36" >采集36页</option>
						<option value="37" >采集37页</option>
						<option value="38" >采集38页</option>
						<option value="39" >采集39页</option>
						<option value="40" >采集40页</option>
						<option value="41" >采集41页</option>
						<option value="42" >采集42页</option>
						<option value="43" >采集43页</option>
						<option value="44" >采集44页</option>
						<option value="45" >采集45页</option>
						<option value="46" >采集46页</option>
						<option value="47" >采集47页</option>
						<option value="48" >采集48页</option>
						<option value="49" >采集49页</option>
						<option value="50" >采集50页</option>
						<option value="51" >采集51页</option>
						<option value="52" >采集52页</option>
						<option value="53" >采集53页</option>
						<option value="54" >采集54页</option>
						<option value="55" >采集55页</option>
						<option value="56" >采集56页</option>
						<option value="57" >采集57页</option>
						<option value="58" >采集58页</option>
						<option value="59" >采集59页</option>
						<option value="60" >采集60页</option>
						<option value="61" >采集61页</option>
						<option value="62" >采集62页</option>
						<option value="63" >采集63页</option>
						<option value="64" >采集64页</option>
						<option value="65" >采集65页</option>
						<option value="66" >采集66页</option>
						<option value="67" >采集67页</option>
						<option value="68" >采集68页</option>
						<option value="69" >采集69页</option>
						<option value="70" >采集70页</option>
						<option value="71" >采集71页</option>
						<option value="72" >采集72页</option>
						<option value="73" >采集73页</option>
						<option value="74" >采集74页</option>
						<option value="75" >采集75页</option>
						<option value="76" >采集76页</option>
						<option value="77" >采集77页</option>
						<option value="78" >采集78页</option>
						<option value="79" >采集79页</option>
						<option value="80" >采集80页</option>
						<option value="81" >采集81页</option>
						<option value="82" >采集82页</option>
						<option value="83" >采集83页</option>
						<option value="84" >采集84页</option>
						<option value="85" >采集85页</option>
						<option value="86" >采集86页</option>
						<option value="87" >采集87页</option>
						<option value="88" >采集88页</option>
						<option value="89" >采集89页</option>
						<option value="90" >采集90页</option>
						<option value="91" >采集91页</option>
						<option value="92" >采集92页</option>
						<option value="93" >采集93页</option>
						<option value="94" >采集94页</option>
						<option value="95" >采集95页</option>
						<option value="96" >采集96页</option>
						<option value="97" >采集97页</option>
						<option value="98" >采集98页</option>
						<option value="99" >采集99页</option>
						<option value="100"  selected>采集100页</option>
                    </select>
                </td>
            </tr>


            <tr>
                <th>{:L('sort_order')}：</th>
                <td>
                    <select name="sort">
                        <option value="default">{:L('sort_default')}</option>
                        <option value="price_desc">{:L('price_desc')}</option>
                        <option value="price_asc">{:L('price_asc')}</option>
                        <option value="credit_desc">{:L('credit_desc')}</option>
						<option value="credit_asc">{:L('credit_asc')}</option>
                        <option value="commissionRate_desc">{:L('commissionRate_desc')}</option>
                        <option value="commissionRate_asc">{:L('commissionRate_asc')}</option>
                        <option value="volume_desc">{:L('volume_desc')}</option>
                        <option value="volume_asc">{:L('volume_asc')}</option>
                    </select>
                </td>
            </tr>
 
			<tr>
                <th>{:L('tbk_item_coupon_rate')}：</th>
                <td>
                    <input type="text" name="start_coupon_rate" size="5" class="input-text" /> %- 
                    <input type="text" name="end_coupon_rate" size="5" class="input-text" /> %
                </td>
            </tr>
            <tr>
                <th>{:L('tbk_item_commission_num')}：</th>
                <td>
                    <input type="text" name="start_volume" size="8" class="input-text" /> - 
                    <input type="text" name="end_volume" size="8" class="input-text" /> 
                </td>
            </tr>
            <tr>
                <th>{:L('tbk_seller_credit')}：</th>
                <td>
                    <select name="start_credit">
                        <option value="1heart">{:L('n1')}{:L('heart')}</option>
                        <option value="2heart">{:L('n2')}{:L('heart')}</option>
                        <option value="3heart">{:L('n3')}{:L('heart')}</option>
                        <option value="4heart">{:L('n4')}{:L('heart')}</option>
                        <option value="5heart">{:L('n5')}{:L('heart')}</option>
                        <option value="1diamond">{:L('n1')}{:L('diamond')}</option>
                        <option value="2diamond">{:L('n2')}{:L('diamond')}</option>
                        <option value="3diamond">{:L('n3')}{:L('diamond')}</option>
                        <option value="4diamond">{:L('n4')}{:L('diamond')}</option>
                        <option value="5diamond">{:L('n5')}{:L('diamond')}</option>
                        <option value="1crown">{:L('n1')}{:L('crown')}</option>
                        <option value="2crown">{:L('n2')}{:L('crown')}</option>
                        <option value="3crown">{:L('n3')}{:L('crown')}</option>
                        <option value="4crown">{:L('n4')}{:L('crown')}</option>
                        <option value="5crown">{:L('n5')}{:L('crown')}</option>
                        <option value="1goldencrown">{:L('n1')}{:L('goldencrown')}</option>
                        <option value="2goldencrown">{:L('n2')}{:L('goldencrown')}</option>
                        <option value="3goldencrown">{:L('n3')}{:L('goldencrown')}</option>
                        <option value="4goldencrown">{:L('n4')}{:L('goldencrown')}</option>
                        <option value="5goldencrown">{:L('n5')}{:L('goldencrown')}</option>
                    </select>
                     - 
                    <select name="end_credit">
                        <option value="1heart">{:L('n1')}{:L('heart')}</option>
                        <option value="2heart">{:L('n2')}{:L('heart')}</option>
                        <option value="3heart">{:L('n3')}{:L('heart')}</option>
                        <option value="4heart">{:L('n4')}{:L('heart')}</option>
                        <option value="5heart">{:L('n5')}{:L('heart')}</option>
                        <option value="1diamond">{:L('n1')}{:L('diamond')}</option>
                        <option value="2diamond">{:L('n2')}{:L('diamond')}</option>
                        <option value="3diamond">{:L('n3')}{:L('diamond')}</option>
                        <option value="4diamond">{:L('n4')}{:L('diamond')}</option>
                        <option value="5diamond">{:L('n5')}{:L('diamond')}</option>
                        <option value="1crown">{:L('n1')}{:L('crown')}</option>
                        <option value="2crown">{:L('n2')}{:L('crown')}</option>
                        <option value="3crown">{:L('n3')}{:L('crown')}</option>
                        <option value="4crown">{:L('n4')}{:L('crown')}</option>
                        <option value="5crown">{:L('n5')}{:L('crown')}</option>
                        <option value="1goldencrown">{:L('n1')}{:L('goldencrown')}</option>
                        <option value="2goldencrown">{:L('n2')}{:L('goldencrown')}</option>
                        <option value="3goldencrown">{:L('n3')}{:L('goldencrown')}</option>
                        <option value="4goldencrown">{:L('n4')}{:L('goldencrown')}</option>
                        <option value="5goldencrown" selected>{:L('n5')}{:L('goldencrown')}</option>
                    </select>
                </td>
            </tr>
            <tr>
                <th>{:L('tbk_more_where')}：</th>
                <td>
                    <label class="mr10"><input type="checkbox" name="shop_type" value="B"> {:L('only_tmall')}</label>
                </td>
            </tr>
	</table>
	</form>
</div>

<script>
$(function(){
	//分类联动
	$('.J_cate_select').cate_select();
});
</script>