<?php /* Smarty version Smarty-3.1.10, created on 2017-02-09 22:58:24
         compiled from "E:\phpStudy\WWW\template\themes\system\huoyuan.html" */ ?>
<?php /*%%SmartyHeaderCode:27771589c8390b53ef2-53418949%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '05d22ff0305970b296bef8531551daead04a5be7' => 
    array (
      0 => 'E:\\phpStudy\\WWW\\template\\themes\\system\\huoyuan.html',
      1 => 1483103053,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '27771589c8390b53ef2-53418949',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'action' => 0,
    'pagetitle' => 0,
    'fileurl' => 0,
    'keywords' => 0,
    'cate_id' => 0,
    'sort' => 0,
    'order' => 0,
    'key_url' => 0,
    'status' => 0,
    'category_option' => 0,
    'huoyuan' => 0,
    'web' => 0,
    'showpage' => 0,
    'city_option' => 0,
    'row' => 0,
    'shop' => 0,
    'ispay' => 0,
    'istop' => 0,
    'isbest' => 0,
    'h_action' => 0,
    'websites' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_589c839135bc00_77390509',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_589c839135bc00_77390509')) {function content_589c839135bc00_77390509($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>








	<?php if ($_smarty_tpl->tpl_vars['action']->value=='list'){?>



    <h3 class="title"><em><?php echo $_smarty_tpl->tpl_vars['pagetitle']->value;?>
</em><span><a href="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
?act=add">+添加新货源</a></span></h3>



	<div class="listbox">



		<form name="mform" method="post" action="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">



		<div class="search">



			<input name="keywords" type="text" id="keywords" class="ipt" size="30" value="<?php echo $_smarty_tpl->tpl_vars['keywords']->value;?>
" />



			<input type="submit" class="btn" value="搜索" />



        </div>



        </form>



                    



		<form name="mform" method="post" action="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">



		<div class="toolbar">



			<select name="act" id="act" class="sel">



			<option value="del" style="color: #f00;">删除选定</option>



            <option value="move" style="color: #06c;">移动内容</option>

            <option value="moarea" style="color: #06c;">移动地区</option>

            <option value="attr" style="color: #f60;">属性设置</option>



			</select>



			<input type="submit" class="btn" value="应用" onClick="if(IsCheck('huoyuan_id[]')==false){alert('请指定您要操作的货源ID！');return false;}else{return confirm('确认执行此操作吗？');}">



			<select class="sel" onChange="if(this.options[this.selectedIndex].value!=''){location='<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
?status='+this.options[this.selectedIndex].value+'&cate_id=<?php echo $_smarty_tpl->tpl_vars['cate_id']->value;?>
&sort=<?php echo $_smarty_tpl->tpl_vars['sort']->value;?>
&order=<?php echo $_smarty_tpl->tpl_vars['order']->value;?>
<?php echo $_smarty_tpl->tpl_vars['key_url']->value;?>
';}">



			<option value="0">所有状态</option>



			<option value="1" style="color: #333;"<?php echo opt_selected($_smarty_tpl->tpl_vars['status']->value,1);?>
>拉黑</option>



			<option value="2" style="color: #f30;"<?php echo opt_selected($_smarty_tpl->tpl_vars['status']->value,2);?>
>待审核</option>



			<option value="3" style="color: #080;"<?php echo opt_selected($_smarty_tpl->tpl_vars['status']->value,3);?>
>已审核</option>



			</select>



			<select class="sel" onChange="if(this.options[this.selectedIndex].value!=''){location='<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
?status=<?php echo $_smarty_tpl->tpl_vars['status']->value;?>
&cate_id='+this.options[this.selectedIndex].value+'&sort=<?php echo $_smarty_tpl->tpl_vars['sort']->value;?>
&order=<?php echo $_smarty_tpl->tpl_vars['order']->value;?>
<?php echo $_smarty_tpl->tpl_vars['key_url']->value;?>
';}">



			<option value="0" selected>所有分类</option>



			<?php echo $_smarty_tpl->tpl_vars['category_option']->value;?>




			</select>



			<select class="sel" onChange="if(this.options[this.selectedIndex].value!=''){location='<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
?status=<?php echo $_smarty_tpl->tpl_vars['status']->value;?>
&cate_id=<?php echo $_smarty_tpl->tpl_vars['cate_id']->value;?>
&sort='+this.options[this.selectedIndex].value+'<?php echo $_smarty_tpl->tpl_vars['key_url']->value;?>
';}">



			<option value="1"<?php echo opt_selected($_smarty_tpl->tpl_vars['sort']->value,1);?>
>按提交时间排列</option>



		


			<option value="8"<?php echo opt_selected($_smarty_tpl->tpl_vars['sort']->value,8);?>
>按浏览排列</option>






			</select>



			<select class="sel" onChange="if(this.options[this.selectedIndex].value!=''){location='<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
?status=<?php echo $_smarty_tpl->tpl_vars['status']->value;?>
&cate_id=<?php echo $_smarty_tpl->tpl_vars['cate_id']->value;?>
&sort=<?php echo $_smarty_tpl->tpl_vars['sort']->value;?>
&order='+this.options[this.selectedIndex].value+'<?php echo $_smarty_tpl->tpl_vars['key_url']->value;?>
';}">



			<option value="DESC"<?php echo opt_selected($_smarty_tpl->tpl_vars['order']->value,'DESC');?>
>降序</option>



			<option value="ASC"<?php echo opt_selected($_smarty_tpl->tpl_vars['order']->value,'ASC');?>
>升序</option>



			</select>



		</div>



		



    	<table width="100%" border="0" cellspacing="1" cellpadding="0">



			<tr>



				<th><input type="checkbox" id="ChkAll" onClick="CheckAll(this.form)"></th>



				<th>ID</th>



				<th>所属分类</th>



				<th width="150px">货源名称</th>



                <th>微信号码</th>
				
				<th>QQ号码</th>
				
				
				<th>电话号码</th>






				<th>浏览次数</th>



				<th>属性状态</th>



				<th>收录时间</th>



				<th>操作选项</th>

				<th>货源预览</th>



			</tr>



			<?php  $_smarty_tpl->tpl_vars['web'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['web']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['huoyuan']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['web']->key => $_smarty_tpl->tpl_vars['web']->value){
$_smarty_tpl->tpl_vars['web']->_loop = true;
?>



			<tr>



				<td><input name="huoyuan_id[]" type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_id'];?>
"></td>



				<td><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_id'];?>
</td>



				<td><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_cate'];?>
</td>



				<td class="ltext"><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_name'];?>
</td>

               <td class="ltext"><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_weixin'];?>
</td>
			   
			   <td class="ltext"><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_qq'];?>
</td>
			   
			   
			   <td class="ltext"><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_tel'];?>
</td>

				

			


				<td class="data"><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_views'];?>
</td>



				<td><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_attr'];?>
</td>



				<td><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_ctime'];?>
</td>



				<td><?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_operate'];?>
 </td>

                <td> <a href="/item/<?php echo $_smarty_tpl->tpl_vars['web']->value['huoyuan_id'];?>
.html" target="_blank">预览</a></td>

			</tr>



			<?php }
if (!$_smarty_tpl->tpl_vars['web']->_loop) {
?>



			<tr><td colspan="14">无任何货源！</td></tr>



			<?php } ?>



		</table>



        </form>



        <div class="pagebox"><?php echo $_smarty_tpl->tpl_vars['showpage']->value;?>
</div>



    </div>



    <?php }?>







	<?php if ($_smarty_tpl->tpl_vars['action']->value=='add'||$_smarty_tpl->tpl_vars['action']->value=='edit'){?>



    <h3 class="title"><em><?php echo $_smarty_tpl->tpl_vars['pagetitle']->value;?>
</em><span><a href="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">返回列表&raquo;</a></span></h3>



	<div class="formbox">



    	<form name="mform" method="post"  enctype="multipart/form-data" action="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">



		<table width="100%" border="0" cellspacing="1" cellpadding="0">



			<tr>



				<th>所属分类：</th>



				<td><select name="cate_id" id="cate_id" class="sel"><?php echo $_smarty_tpl->tpl_vars['category_option']->value;?>
</select></td>



			</tr>

<tr>



				<th>所属地区：</th>



				<td><select name="area_id" id="area_id" class="sel"><?php echo $_smarty_tpl->tpl_vars['city_option']->value;?>
</select></td>



			</tr>


			<tr>



				<th>货源名称：</th>



				<td><input name="huoyuan_name" type="text" class="ipt" id="huoyuan_name" size="50" maxlength="50" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_name'];?>
" /></td>



			</tr>



		



			<tr>



				<th>货源关键词：</th>



				<td><input name="huoyuan_tags" type="text" class="ipt" id="huoyuan_tags" size="50" maxlength="255" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_tags'];?>
" onBlur="javascript:this.value=this.value.replace(/，/ig,',');" /><span class="tips">请输入货源相关的词语，如颜色、款式、人群等，多个属性用英文的“,”逗号隔开</span></td>



			</tr>



			<tr>



				<th>货源图片：</th>



				<td>
		

					
       <link href="/public/uploadify/uploadify.css" rel="stylesheet" type="text/css" />
        <script src="/public/uploadify/jquery.uploadify.js" type="text/javascript"></script>
        <script src="/public/uploadify/jquery.uploadify.min.js" type="text/javascript"></script>
    
   <script type="text/javascript">
 

$(function() {
    $('#file_upload').uploadify({
	
        'swf'      : '/public/uploadify/uploadify.swf',
        'uploader' : '/public/uploadify/uploadify.php',
        'buttonText' : '上传图片',
		'method'    : 'get',
		
		'fileExt': '*.jpg;*.gif,*.png', 
		'fileDesc': 'Web Image Files(.JPG,.GIF,.PNG)',
		 'fileDataName':'<?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_name'];?>
',
		'auto'        : true, 
		'multi'        : false,
        'onUploadSuccess' : function(file, data, response) {
            $('#image').attr('src','/uploads/'+data);
			 $('#huoyuan_pic').attr('value',''+data);
            $('#pic').val(data);
        },
    });
});
</script>
    <input name="huoyuan_pic" type="text" class="ipt" id="huoyuan_pic" size="50" maxlength="100" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_pic'];?>
" />
	
	<div class="avatar_box"> <img id="image" src="/uploads/<?php echo !$_smarty_tpl->tpl_vars['shop']->value['huoyuan_pic'] ? 'nopic.gif' : $_smarty_tpl->tpl_vars['shop']->value['huoyuan_pic'];?>
" width="200" height="150" border="0" />
    <div class="upload_avatar"><input id="file_upload" name="huoyuan_pic" type="file" multiple="true" value="" /></div>
</div>
					
				
				</td>




			</tr>



			<tr>



				<th valign="top">货源简介：</th>



				<td>
				

                   

				<textarea name="huoyuan_intro" cols="55" rows="8" class="ipt" id="huoyuan_intro"><?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_intro'];?>
</textarea><span class="tips">不得超过200个中文字符，包括标点符号</span></td>



			</tr>

			<tr>



				<th valign="top">货源详情：</th>



				<td>
				
           <script type="text/javascript">
					var editor;
					KindEditor.ready(function(K) {
						editor = K.create('textarea[name="huoyuan_content"]', {
							resizeType : 1,
							allowPreviewEmoticons : false,
							allowImageUpload : true,
							uploadJson : 'upload.php?act=upload',
							items : [
								'source', '|', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
								'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
								'insertunorderedlist', '|', 'emoticons', 'image', 'link', '|', 'fullscreen']
						});
					});
                    </script>
                    <textarea name="huoyuan_content" id="huoyuan_content" cols="50" rows="6" class="ipt" style="width: 600px; height: 400px; visibility: hidden;"><?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_content'];?>
</textarea>
                   

			</td>



			</tr>
            	<tr>



				<th>微信号码：</th>



				<td><input name="huoyuan_weixin" type="text" class="ipt" id="huoyuan_weixin" size="50" maxlength="255" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_weixin'];?>
" />



				<span class="tips">例: qianiancom</span></td>



			</tr>
				<tr>



				<th>QQ号码：</th>



				<td><input name="huoyuan_qq" type="text" class="ipt" id="huoyuan_qq" size="50" maxlength="255" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_qq'];?>
" />



				<span class="tips"></span></td>



			</tr>
				<tr>



				<th>电话号码：</th>



				<td><input name="huoyuan_tel" type="text" class="ipt" id="huoyuan_tel" size="50" maxlength="255" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_tel'];?>
" />



				<span class="tips">例: 手机或者固话</span></td>



			</tr>

            







			<tr>



				<th>属性设置：</th>



				<td><input name="huoyuan_ispay" type="checkbox" id="huoyuan_ispay" value="1"<?php echo opt_checked($_smarty_tpl->tpl_vars['ispay']->value,1);?>
 /><label for="huoyuan_ispay">付费</label>　<input name="huoyuan_istop" type="checkbox" id="huoyuan_istop" value="1"<?php echo opt_checked($_smarty_tpl->tpl_vars['istop']->value,1);?>
 /><label for="huoyuan_istop">置顶</label>　<input name="huoyuan_isbest" type="checkbox" id="huoyuan_isbest" value="1"<?php echo opt_checked($_smarty_tpl->tpl_vars['isbest']->value,1);?>
 /><label for="huoyuan_isbest">推荐</label>  <input name="huoyuan_daifa" type="checkbox" id="huoyuan_daifa" value="1"<?php echo opt_checked($_smarty_tpl->tpl_vars['isbest']->value,1);?>
 /><label for="huoyuan_daifa">代发</label></td>



			</tr>



			<tr>



				<th>审核状态：</th>



				<td><select name="huoyuan_status" id="huoyuan_status" class="sel"><option value="1" style="color: #333;"<?php echo opt_selected($_smarty_tpl->tpl_vars['status']->value,1);?>
>黑名单</option><option value="2" style="color: #f30;"<?php echo opt_selected($_smarty_tpl->tpl_vars['status']->value,2);?>
>待审核</option><option value="3" style="color: #080;"<?php echo opt_selected($_smarty_tpl->tpl_vars['status']->value,3);?>
>已审核</option></select></td>



			</tr>



			<tr class="btnbox">



            	<th>&nbsp;</th>



				<td>




					<input name="act" type="hidden" id="act" value="<?php echo $_smarty_tpl->tpl_vars['h_action']->value;?>
">



					<?php if ($_smarty_tpl->tpl_vars['action']->value=='edit'&&$_smarty_tpl->tpl_vars['row']->value['huoyuan_id']){?>



					<input name="huoyuan_id" type="hidden" id="huoyuan_id" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['huoyuan_id'];?>
">



					<?php }?>



					<input type="submit" class="btn" value="保 存">&nbsp;



					<input type="reset" class="btn" value="取 消" onClick="window.location.href='<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
';">



				</td>



			</tr>



		</table>



        </form>



	</div>



	<?php }?>



	



	<?php if ($_smarty_tpl->tpl_vars['action']->value=='move'){?>



    <h3 class="title"><em><?php echo $_smarty_tpl->tpl_vars['pagetitle']->value;?>
</em><span><a href="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">返回列表&raquo;</a></span></h3>



	<div class="formbox">



		<form name="mform" method="post" action="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">



		<table width="100%" border="0" cellspacing="1" cellpadding="0">



			<tr>



				<th valign="top">已选定的内容：</th>



				<td><?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['websites']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?><a href="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
&act=edit&huoyuan_id=<?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_name'];?>
</a><input name="huoyuan_id[]" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_id'];?>
"><br /><?php } ?></td>



			</tr>



			<tr>



				<th>将以上内容移动至：</th>



				<td><select name="cate_id" id="cate_id" class="sel"><?php echo $_smarty_tpl->tpl_vars['category_option']->value;?>
</select></td>



			</tr>



			<tr class="btnbox">



            	<th>&nbsp;</th>



				<td>



					<input name="act" type="hidden" id="act" value="<?php echo $_smarty_tpl->tpl_vars['h_action']->value;?>
">



					<input type="submit" class="btn" value="保 存">&nbsp;



					<input type="reset" class="btn" value="取 消" onClick="window.location.href='<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
';">



				</td>



			</tr>



		</table>



		</form>



	</div>



	<?php }?>

<?php if ($_smarty_tpl->tpl_vars['action']->value=='moarea'){?>



    <h3 class="title"><em><?php echo $_smarty_tpl->tpl_vars['pagetitle']->value;?>
</em><span><a href="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">返回列表&raquo;</a></span></h3>



	<div class="formbox">



		<form name="mform" method="post" action="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">



		<table width="100%" border="0" cellspacing="1" cellpadding="0">



			<tr>



				<th valign="top">已选定的内容：</th>



				<td><?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['websites']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?><a href="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
&act=edit&huoyuan_id=<?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_name'];?>
</a><input name="huoyuan_id[]" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_id'];?>
"><br /><?php } ?></td>



			</tr>



			<tr>



				<th>将以上内容移动至：</th>



				<td><select name="area_id" id="area_id" class="sel"><?php echo $_smarty_tpl->tpl_vars['city_option']->value;?>
</select></td>



			</tr>



			<tr class="btnbox">



            	<th>&nbsp;</th>



				<td>



					<input name="act" type="hidden" id="act" value="<?php echo $_smarty_tpl->tpl_vars['h_action']->value;?>
">



					<input type="submit" class="btn" value="保 存">&nbsp;



					<input type="reset" class="btn" value="取 消" onClick="window.location.href='<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
';">



				</td>



			</tr>



		</table>



		</form>



	</div>



	<?php }?>


    



	<?php if ($_smarty_tpl->tpl_vars['action']->value=='attr'){?>



    <h3 class="title"><em><?php echo $_smarty_tpl->tpl_vars['pagetitle']->value;?>
</em><span><a href="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">返回列表&raquo;</a></span></h3>



	<div class="formbox">



		<form name="mform" method="post" action="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">



		<table width="100%" border="0" cellspacing="1" cellpadding="0">



			<tr>



				<th valign="top">已选定的内容：</th>



				<td><?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['websites']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?><?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_id'];?>
 - <a href="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
&act=edit&huoyuan_id=<?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_name'];?>
</a><input name="huoyuan_id[]" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['huoyuan_id'];?>
"><br /><?php } ?></td>



			</tr>



			<tr>



				<th>属性设置：</th>



				<td><input name="huoyuan_ispay" type="checkbox" id="huoyuan_ispay" value="1" /><label for="huoyuan_ispay">付费</label> <input name="huoyuan_istop" type="checkbox" id="huoyuan_istop" value="1" /><label for="huoyuan_istop">置顶</label>　<input name="huoyuan_isbest" type="checkbox" id="huoyuan_isbest" value="1" /><label for="huoyuan_isbest">推荐</label></td>



			</tr>



			<tr>



				<th>审核状态：</th>



				<td><select name="huoyuan_status" id="huoyuan_status" class="sel"><option value="1" style="color: #333;">黑名单</option><option value="2" style="color: #f30;">待审核</option><option value="3" selected="selected" style="color: #080;">已审核</option></select></td>



			</tr>



			<tr class="btnbox">



            	<th>&nbsp;</th>



				<td colspan="2">



				<input name="act" type="hidden" id="act" value="<?php echo $_smarty_tpl->tpl_vars['h_action']->value;?>
">



				<input type="submit" class="btn" value="保 存">&nbsp;



				<input type="reset" class="btn" value="取 消" onClick="window.location.href='<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
';">



				</td>



			</tr>



		</table>



		</form>



	</div>



	<?php }?>



    



    <?php if ($_smarty_tpl->tpl_vars['action']->value=='down'){?>



    <h3 class="title"><em><?php echo $_smarty_tpl->tpl_vars['pagetitle']->value;?>
</em><span><a href="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">返回列表&raquo;</a></span></h3>



	<div class="formbox">



		<form name="mform" method="post" action="<?php echo $_smarty_tpl->tpl_vars['fileurl']->value;?>
">



		<table width="100%" border="0" cellspacing="1" cellpadding="0">



			<tr>



				<th>注意事项：</th>



				<td>下载远程图片，将占用一定的服务器资源，请避免在白天流量高峰期时段使用</td>



			<tr class="btnbox">



            	<th>&nbsp;</th>



				<td colspan="2">



				<input type="button" class="btn" value="下载所有货源图片" onClick="window.location.href='webpic.php?act=down&type=all';">&nbsp;



				<input type="button" class="btn" value="下载失败图片" onClick="window.location.href='webpic.php?act=down&type=part';">&nbsp;



                <input type="button" class="btn" value="失效图片检测" onClick="window.location.href='webpic.php?act=check';">



				</td>



			</tr>



		</table>



		</form>



	</div>



    <?php }?>







<?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>