<?php
echo ahead("通用标签管理");
if($do=='add'){
    switch($l){
        case 'getarticlelist':$ln='文章列表';break;
        case 'getlink':$ln='友情链接';break;
        case 'getlastarticlelist':$ln='文章列表';break;
        case 'getcirarticlelist':$ln='文章列表';break;
        case 'getresumelist':$ln='简历列表';break;
        case 'getcomlist':$ln='企业列表';break;
        case 'getmemberpic':$ln='会员图片';break;
        case 'gethirelist':$ln='职位列表';break;
        case 'gethrzwlist':$ln='猎头职位列表';break;
        case 'getschlist':$ln='院校列表';break;
        case 'getprolist':$ln='专家列表';break;
        case 'getstulist':$ln='毕业生列表';break;
        case 'gettralist':$ln='培训机构列表';break;
        case 'getcoulist':$ln='培训课程列表';break;
        case 'gettrarlist':$ln='培训师列表';break;
        default:$ln='静态';
    }
?>
<script language="javascript">
<!--
function insertText(labelstr){
    document.labelform.LabelContent.focus();
    var sel=document.selection;
    if (sel!=null){
        var mg=sel.createRange();
        if (mg!=null){
            mg.text=labelstr;
        }
    }
}
function fnRemoveBrank(strSource){
 return strSource.replace(/^\s*/,'').replace(/\s*$/,'');
}
function Juge(theForm){
  if (fnRemoveBrank(theForm.LabelName.value) == ""){
    alert("请输入标签名称!");
    theForm.LabelName.focus();
    return (false);
  }
  <?php if($l=='html'){?>
  if (fnRemoveBrank(theForm.LabelContent.value) == ""){
    alert("请输入标签内容!");
    theForm.LabelContent.focus();
    return (false);
  }
  <?php }?>
   if (fnRemoveBrank(theForm.Labelorder.value) != ""){
	  var objv = fnRemoveBrank(theForm.Labelorder.value);
	  var pattern = /^[0-9]+$/;
	  flag = pattern.test(objv);
	  if(!flag){
		alert("标签级别要求为数字!请重新输入。");
		theForm.Labelorder.focus();
		return (false);
	   }
   } 
 }
 function ChangePic(id)
{
	document.getElementById("pic").src="images/img/"+id+".gif";
}
 //-->
</script>
</head>
<body>
<div class="label">
<fieldset>
<legend align="left"><?php if($lid!=''){echo "编辑".$LabelName;}else{echo "添加$ln";}?>标签</legend>
<form action="?do=savedata&lid=<?php echo $lid;?>" method="post" name="labelform" onsubmit="return Juge(this)">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableBorder mt6">
<tr> 
	<td width="100" height="22" align="right">标签名称：</td>
	<td><input name="LabelName" type="text" size="15" class="txt" value="<?php echo $LabelName;?>" <?php if($lid!=''&&$LabelType<5){echo "readonly";}?> /> 请输入标签名称，调用标签:{$FR_标签名称}</td> 
</tr>
<?php
switch($l){
    case 'html':
?>
<tr> 
	<td align="right">标签内容：</td>
	<td><textarea name="LabelContent" cols="60" rows="10" class="textarea"><?php echo $LabelContent;?></textarea><br>可插入的标签：<?php echo $insertlist;?></td> 
</tr>
<?php break;case 'getresumelist':?>
<tr> 
	<td align="right">简历数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td> 
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td> 
</tr>
<tr> 
	<td align="right">内容项目：</td>
	<td><input name="LabelContent[2][0]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][0]==1) echo "checked";?>>简历编号 
  <input name="LabelContent[2][1]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][1]==1) echo "checked";?>>用户名
  <input name="LabelContent[2][2]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][2]==1) echo "checked";?>>真实姓名
  <input name="LabelContent[2][3]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][3]==1) echo "checked";?>>性别
  <input name="LabelContent[2][4]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][4]==1) echo "checked";?>>出生年月
  <input name="LabelContent[2][5]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][5]==1) echo "checked";?>>学历
  <input name="LabelContent[2][6]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][6]==1) echo "checked";?>>意向工作职位
  <input name="LabelContent[2][7]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][7]==1) echo "checked";?>>性质
  <input name="LabelContent[2][8]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][8]==1) echo "checked";?>>意向工作地
  <input name="LabelContent[2][9]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][9]==1) echo "checked";?>>更新时间</td> 
</tr>
<tr> 
	<td align="right">是否显示照片：</td>
	<td><select name="LabelContent[11]">
      <option value="0" <?php if($LabelContent[11]==0) echo "selected";?>>不显示照片</option>
	  <option value="1" <?php if($LabelContent[11]==1) echo "selected";?>>显示照片文字横排</option>
      <option value="2" <?php if($LabelContent[11]==2) echo "selected";?>>显示照片文字竖排</option>
      <option value="3" <?php if($LabelContent[11]==3) echo "selected";?>>仅显示照片</option>
      <option value="4" <?php if($LabelContent[11]==4) echo "selected";?>>显示照片及姓名</option>
    </select>
    <span class="f00">注：选择“不显示照片”以下两项不起作用</span></td> 
</tr>
<tr> 
	<td align="right">是否必须照片：</td>
	<td><input name="LabelContent[12]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[12]==1) echo "checked";?>>
是 <span class="f00">注：选择此项将只显示有照片的人才简历</span></td> 
</tr>
<tr> 
	<td align="right">照片尺寸大小：</td>
	<td>宽
      <input name="LabelContent[13]" type="text" id="picw" size="4" value="<?php echo $LabelContent[13];?>">
      px 高
      <input name="LabelContent[14]" type="text" id="pich" size="4" value="<?php echo $LabelContent[14];?>">
px</td> 
</tr>
<tr> 
	<td align="right">已审核的简历：</td>
	<td><input name="LabelContent[3]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[3]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">是否已激活：</td>
	<td><input name="LabelContent[4]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[4]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">是否精英人才：</td>
	<td><input name="LabelContent[5]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[5]==1) echo "checked";?>>
      是(推荐的个人会员)</td> 
</tr>
<tr> 
	<td align="right">个人会员组：</td>
	<td><select name="LabelContent[6]">
        <option value="0" <?php if($LabelContent[6]==0) echo "selected";?>>全部组</option>
        <?php echo $GroupList;?>
      </select></td> 
</tr>
<tr> 
	<td align="right">人才类型：</td>
	<td><select name="LabelContent[7]">
        <option value="0" <?php if($LabelContent[7]==0) echo "selected";?>>普通人才</option>
		<option value="1" <?php if($LabelContent[7]==1) echo "selected";?>>毕业生</option>
		<option value="2" <?php if($LabelContent[7]==2) echo "selected";?>>高级人才</option>
		<option value="3" <?php if($LabelContent[7]==3) echo "selected";?>>全部</option>
      </select></td> 
</tr>
<tr> 
	<td align="right">意向职位类型：</td>
	<td><select name="LabelContent[8]">
      <option value="1" <?php if($LabelContent[8]==1) echo "selected";?>>全职</option>
      <option value="2" <?php if($LabelContent[8]==2) echo "selected";?>>兼职</option>
      <option value="3" <?php if($LabelContent[8]==3) echo "selected";?>>两者均可</option>
    </select></td> 
</tr>
<tr> 
	<td align="right">所在城市：</td>
	<td><input name="LabelContent[15]" type="text" size="6" value="<?php echo $LabelContent[15];?>">
    此项填写城市ID，请在系统区域设置中查找，0为不限,-1为当前城市</td> 
</tr>
<tr> 
	<td align="right">意向行业：</td>
	<td><input name="LabelContent[16]" type="text" size="6" value="<?php echo $LabelContent[16];?>">
    此项填写行业ID，请在系统行业设置中查找，0为不限,-1为当前行业</td> 
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[9]">
        <option value="r_adddate desc" <?php if($LabelContent[9]=='r_adddate desc') echo "selected";?>>按更新时间正序排列</option>
		<option value="r_adddate asc" <?php if($LabelContent[9]=='r_adddate asc') echo "selected";?>>按更新时间反序排列</option>
		<option value="r_visitnum desc" <?php if($LabelContent[9]=='r_visitnum desc') echo "selected";?>>按点击次数</option>
		<option value="m_regdate desc" <?php if($LabelContent[9]=='m_regdate desc') echo "selected";?>>会员注册时间</option>
      </select></td> 
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[10]">
        <option value="_blank" <?php if($LabelContent[10]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[10]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td> 
</tr>
<?php break;case 'getcomlist':?>
<tr> 
	<td align="right">显示数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td> 
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td> 
</tr>
<tr> 
	<td align="right">会员类型：</td>
	<td><select name="LabelContent[24]">
        <option value="0" <?php if($LabelContent[24]==0) echo "selected";?>>不限类型</option>
        <option value="2" <?php if($LabelContent[24]==2) echo "selected";?>>企业会员</option>
        <option value="3" <?php if($LabelContent[24]==3) echo "selected";?>>院校会员</option>
        <option value="4" <?php if($LabelContent[24]==4) echo "selected";?>>培训会员</option>
      </select></td> 
</tr>
<tr> 
	<td align="right">会员组：</td>
	<td><select name="LabelContent[2]">
        <option value="0" <?php if($LabelContent[2]==0) echo "selected";?>>全部组</option>
        <?php echo agroup(2,$LabelContent[2]);?>
      </select></td> 
</tr>
<tr> 
	<td align="right">显示LOGO：</td>
	<td><input name="LabelContent[13]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[13]==1) echo "checked";?>>
是 <span class="f00">注：未选择此项以下四项不起作用</span></td> 
</tr>
<tr> 
	<td align="right">仅显示LOGO：</td>
	<td><input name="LabelContent[14]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[14]==1) echo "checked";?>>
是 <span class="f00">注：选择此项将不显示企业名称</span></td> 
</tr>
<tr> 
	<td align="right">LOGO是否必须：</td>
	<td><input name="LabelContent[15]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[15]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">LOGO是否推荐：</td>
	<td><input name="LabelContent[16]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[16]==1) echo "checked";?>>
是 <span class="f00">注：未选择此项将显示所有LOGO</span></td> 
</tr>
<tr> 
	<td align="right">LOGO尺寸大小：</td>
	<td>宽
      <input name="LabelContent[17]" type="text" id="picw" size="4" value="<?php echo $LabelContent[17];?>">
      px 高
      <input name="LabelContent[18]" type="text" id="pich" size="4" value="<?php echo $LabelContent[18];?>">
px</td> 
</tr>
<tr> 
	<td align="right">企业名称字数：</td>
	<td><input name="LabelContent[3]" type="text" id="pich" size="4" value="<?php echo $LabelContent[3];?>"></td> 
</tr>
<tr> 
	<td align="right">已发布职位：</td>
	<td><input name="LabelContent[4]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[4]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">显示职位名称：</td>
	<td><input name="LabelContent[5]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[5]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">职位名称字数：</td>
	<td><input name="LabelContent[6]" type="text" id="pich" size="4" value="<?php echo $LabelContent[6];?>"></td> 
</tr>
<tr> 
	<td align="right">显示职位数量：</td>
	<td><input name="LabelContent[7]" type="text" id="pich" size="4" value="<?php echo $LabelContent[7];?>"></td> 
</tr>
<tr> 
	<td align="right">已审核职位：</td>
	<td><input name="LabelContent[8]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[8]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">企业是否审核：</td>
	<td><input name="LabelContent[9]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[9]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">企业是否推荐：</td>
	<td><input name="LabelContent[10]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[10]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">企业所属行业：</td>
	<td><input name="LabelContent[19]" type="text" size="6" value="<?php echo $LabelContent[19];?>">
    此项填写行业ID，请在系统行业设置中查找，0为不限,-1为当前行业</td> 
</tr>
<tr> 
	<td align="right">所在城市：</td>
	<td><input name="LabelContent[20]" type="text" size="6" value="<?php echo $LabelContent[20];?>">
    此项填写城市ID，请在系统区域设置中查找，0为不限,-1为当前城市</td> 
</tr>
<tr> 
	<td align="right">显示更新时间：</td>
	<td><select name="LabelContent[21]">
        <option value="0" <?php if($LabelContent[21]==0) echo "selected";?>>不显示时间</option>
        <option value="2" <?php if($LabelContent[21]==2) echo "selected";?>>格式：月-日</option>
        <option value="3" <?php if($LabelContent[21]==3) echo "selected";?>>格式：年-月-日</option>
        <option value="4" <?php if($LabelContent[21]==4) echo "selected";?>>格式：月-日 时：分</option>
        <option value="5" <?php if($LabelContent[21]==5) echo "selected";?>>格式：年-月-日 时：分</option>
        <option value="6" <?php if($LabelContent[21]==6) echo "selected";?>>格式：年-月-日 时：分：秒</option>
    </select></td> 
</tr>
<tr> 
	<td align="right">显示NEW图标：</td>
	<td><input name="LabelContent[22]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[22]==1) echo "checked";?>>
是 选择是，最近3天有更新信息的招聘单位名称后显示NEW</td> 
</tr>
<tr> 
	<td align="right">显示HOT图标：</td>
	<td><input name="LabelContent[23]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[23]==1) echo "checked";?>>
是 选择是，推荐的招聘单位名称后显示HOT</td> 
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[11]">
        <option value="m_id desc" <?php if($LabelContent[11]=='m_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="m_id asc" <?php if($LabelContent[11]=='m_id asc') echo "selected";?>>按ID反序排列</option>
		<option value="m_hits desc" <?php if($LabelContent[11]=='m_hits desc') echo "selected";?>>按点击次数</option>
		<option value="m_regdate desc" <?php if($LabelContent[11]=='m_regdate desc') echo "selected";?>>按时间正序排列</option>
        <option value="m_regdate asc" <?php if($LabelContent[11]=='m_regdate asc') echo "selected";?>>按时间反序排列</option>
        <option value="m_activedate desc" <?php if($LabelContent[11]=='m_activedate desc') echo "selected";?>>按职位更新排列</option>
      </select></td> 
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[12]">
        <option value="_blank" <?php if($LabelContent[12]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[12]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td> 
</tr>
<?php break;case 'gethirelist':?>
<tr> 
	<td align="right">显示职位数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td> 
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td> 
</tr>
<tr> 
	<td align="right">显示内容项目：</td>
	<td><input name="LabelContent[2][0]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][0]==1) echo "checked";?>>职位名称
  <input name="LabelContent[2][1]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][1]==1) echo "checked";?>>公司名称
  <input name="LabelContent[2][2]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][2]==1) echo "checked";?>>招聘人数
  <input name="LabelContent[2][3]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][3]==1) echo "checked";?>>招聘类别
  <input name="LabelContent[2][4]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][4]==1) echo "checked";?>>招聘部门
  <input name="LabelContent[2][5]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][5]==1) echo "checked";?>>工作地区
  <input name="LabelContent[2][6]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][6]==1) echo "checked";?>>薪资待遇
  <input name="LabelContent[2][7]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][7]==1) echo "checked";?>>专业要求
  <input name="LabelContent[2][8]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][8]==1) echo "checked";?>>学历要求
  <input name="LabelContent[2][9]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][9]==1) echo "checked";?>>工作经验
  <input name="LabelContent[2][10]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][10]==1) echo "checked";?>>性别要求
  <input name="LabelContent[2][11]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][11]==1) echo "checked";?>>年龄要求
  <input name="LabelContent[2][12]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][12]==1) echo "checked";?>>截止日期
  <input name="LabelContent[2][13]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[2][13]==1) echo "checked";?>>更新日期
  </td> 
</tr>
<tr> 
	<td align="right">职位名称字数：</td>
	<td><input name="LabelContent[13]" type="text" id="pich" size="4" value="<?php echo $LabelContent[13];?>"></td> 
</tr>
<tr> 
	<td align="right">已审核的企业：</td>
	<td><input name="LabelContent[3]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[3]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">企业是否推荐：</td>
	<td><input name="LabelContent[4]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[4]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">企业会员组：</td>
	<td><select name="LabelContent[5]">
        <option value="0" <?php if($LabelContent[5]==0) echo "selected";?>>全部组</option>
        <?php echo agroup(2,$LabelContent[5]);?>
      </select></td> 
</tr>
<tr> 
	<td align="right">企业名称字数：</td>
	<td><input name="LabelContent[14]" type="text" id="pich" size="4" value="<?php echo $LabelContent[14];?>"></td> 
</tr>
<tr> 
	<td align="right">已审核的职位：</td>
	<td><input name="LabelContent[6]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[6]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">是否已推荐：</td>
	<td><input name="LabelContent[7]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[7]==1) echo "checked";?>>
是</td> 
</tr>
<tr> 
	<td align="right">招聘人才类型：</td>
	<td><select name="LabelContent[8]">
        <option value="0" <?php if($LabelContent[8]==0) echo "selected";?>>普通人才</option>
		<option value="1" <?php if($LabelContent[8]==1) echo "selected";?>>毕业生</option>
		<option value="2" <?php if($LabelContent[8]==2) echo "selected";?>>高级人才</option>
		<option value="3" <?php if($LabelContent[8]==3) echo "selected";?>>全部</option>
      </select></td> 
</tr> 
<tr> 
	<td align="right">招聘职位类别：</td>
	<td><select name="LabelContent[9]">
      <option value="1" <?php if($LabelContent[9]==1) echo "selected";?>>全职</option>
      <option value="2" <?php if($LabelContent[9]==2) echo "selected";?>>兼职</option>
      <option value="3" <?php if($LabelContent[9]==3) echo "selected";?>>两者均可</option>
    </select></td> 
</tr> 
<tr> 
	<td align="right">岗位分类：</td>
	<td><input name="LabelContent[12]" type="text" size="6" value="<?php echo $LabelContent[12];?>">
    此项填写岗位ID，请在系统岗位设置中查找，0为不限,-1为当前岗位</td> 
</tr> 
<tr> 
	<td align="right">更新时间格式：</td>
	<td><select name="LabelContent[15]">
        <option value="2" <?php if($LabelContent[15]==2) echo "selected";?>>格式：月-日</option>
        <option value="3" <?php if($LabelContent[15]==3) echo "selected";?>>格式：年-月-日</option>
        <option value="4" <?php if($LabelContent[15]==4) echo "selected";?>>格式：月-日 时：分</option>
        <option value="5" <?php if($LabelContent[15]==5) echo "selected";?>>格式：年-月-日 时：分</option>
        <option value="6" <?php if($LabelContent[15]==6) echo "selected";?>>格式：年-月-日 时：分：秒</option>
    </select></td> 
</tr> 
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[10]">
        <option value="h_adddate desc" <?php if($LabelContent[10]=='h_adddate desc') echo "selected";?>>按更新时间正序排列</option>
		<option value="h_adddate asc" <?php if($LabelContent[10]=='h_adddate asc') echo "selected";?>>按更新时间反序排列</option>
		<option value="h_visitcount desc" <?php if($LabelContent[10]=='h_visitcount desc') echo "selected";?>>按点击次数</option>
      </select></td> 
</tr> 
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[11]">
        <option value="_blank" <?php if($LabelContent[11]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[11]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td> 
</tr>    
<?php break;case 'getmemberpic':?>
<tr> 
	<td align="right">显示图片数量：</td>
	<td><input name="LabelContent[2]" type="text" size="4" value="<?php echo $LabelContent[2];?>"></td> 
</tr> 
<tr> 
	<td align="right">图片尺寸大小：</td>
	<td>宽
      <input name="LabelContent[4]" type="text" id="picw" size="4" value="<?php echo $LabelContent[4];?>">
      px 高
      <input name="LabelContent[5]" type="text" id="pich" size="4" value="<?php echo $LabelContent[5];?>">
px</td> 
</tr> 
<tr> 
	<td align="right">会员图片分类：</td>
	<td><select name="LabelContent[3]">
        <option value="0" <?php if($LabelContent[3]==0) echo "selected";?>>全部分类</option>
        <option value="21" <?php if($LabelContent[3]==21) echo "selected";?>>个人证书</option>
		<option value="22" <?php if($LabelContent[3]==22) echo "selected";?>>职场风采</option>
		<option value="12" <?php if($LabelContent[3]==12) echo "selected";?>>企业形象</option>
		<option value="31" <?php if($LabelContent[3]==31) echo "selected";?>>院校图片</option>
        <option value="32" <?php if($LabelContent[3]==32) echo "selected";?>>专家照片</option>
        <option value="33" <?php if($LabelContent[3]==33) echo "selected";?>>毕业生照片</option>
        <option value="41" <?php if($LabelContent[3]==41) echo "selected";?>>培训机构图片</option>
        <option value="42" <?php if($LabelContent[3]==42) echo "selected";?>>培训师照片</option>
      </select></td> 
</tr>
<tr> 
	<td align="right">所属会员：</td>
	<td><input name="LabelContent[0]" type="text" size="6" value="<?php echo $LabelContent[0];?>">
    此项填写会员用户名，填写用户名为单会员调用，0为不限,-1为当前会员</td> 
</tr>
<tr> 
	<td align="right">调用方式：</td>
	<td><select name="LabelContent[1]">
        <option value="0" <?php if($LabelContent[1]==0) echo "selected";?>>全部</option>
        <option value="1" <?php if($LabelContent[1]==1) echo "selected";?>>单一</option>
      </select>
      所属会员为不限时，全部为所有会员图片，单一为每个会员调用一张</td> 
</tr>
<?php break;case 'gethrzwlist':?>
<tr> 
	<td align="right">显示职位数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td> 
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td> 
</tr>
<tr> 
	<td align="right">职位名称字数：</td>
	<td><input name="LabelContent[2]" type="text" id="pich" size="4" value="<?php echo $LabelContent[2];?>"></td> 
</tr>
<tr> 
	<td align="right">企业名称字数：</td>
	<td><input name="LabelContent[3]" type="text" id="pich" size="4" value="<?php echo $LabelContent[3];?>"></td> 
</tr>
<tr> 
	<td align="right">企业名称选项：</td>
	<td><input name="LabelContent[7]" type="radio" class="checkbox" value="1" <?php if($LabelContent[7]==1) echo "checked";?>>显示企业名称
  <input name="LabelContent[7]" type="radio" class="checkbox" value="0" <?php if($LabelContent[7]==0) echo "checked";?>>显示企业性质</td> 
</tr>
<tr> 
	<td align="right">显示招聘人数：</td>
	<td><input name="LabelContent[6]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[6]==1) echo "checked";?>>
是</td>
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[4]">
        <option value="h_id desc" <?php if($LabelContent[4]=='h_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="h_id asc" <?php if($LabelContent[4]=='h_id asc') echo "selected";?>>按ID反序排列</option>
		<option value="h_adddate desc" <?php if($LabelContent[4]=='h_adddate desc') echo "selected";?>>按更新时间正序排列</option>
		<option value="h_adddate asc" <?php if($LabelContent[4]=='h_adddate asc') echo "selected";?>>按更新时间反序排列</option>
      </select></td>
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[5]">
        <option value="_blank" <?php if($LabelContent[5]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[5]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td>
</tr>
<?php break;case 'getschlist':?>
<tr> 
	<td align="right">显示数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td>
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td>
</tr>
<tr> 
	<td align="right">会员组：</td>
	<td><select name="LabelContent[2]">
        <option value="0" <?php if($LabelContent[2]==0) echo "selected";?>>全部组</option>
        <?php echo agroup(3,$LabelContent[2]);?>
      </select></td>
</tr>
<tr> 
	<td align="right">显示样式：</td>
	<td><table width="300" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center">样式一<br><img src="images/sch_s1.gif" alt="显示图片+名称+介绍" width="120" height="84" style="border:1px #CCCCCC solid"><br>
		  <input name="LabelContent[3]" type="radio" class="checkbox" value="1" <?php if($LabelContent[3]==1) echo "checked";?>>
		  图片+名称+介绍</td>
          <td align="center">样式二<br><img src="images/sch_s2.gif" alt="仅显示形象图片" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[3]" type="radio" class="checkbox" value="2" <?php if($LabelContent[3]==2) echo "checked";?>>
            仅图片</td>
          <td align="center">样式三<br><img src="images/sch_s3.gif" alt="仅显示名称" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[3]" type="radio" class="checkbox" value="3" <?php if($LabelContent[3]==3) echo "checked";?>>
            仅名称</td>
        </tr>
      </table></td>
</tr>
<tr> 
	<td align="right">形象图片必须：</td>
	<td><input name="LabelContent[4]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[4]==1) echo "checked";?>>
是
<span class="f00">注：显示样式为&quot;样式三&quot;时,此项不起作用</td>
</tr>
<tr> 
	<td align="right">形象图片尺寸：</td>
	<td>宽
      <input name="LabelContent[5]" type="text" id="picw" size="4" value="<?php echo $LabelContent[5];?>">
      px 高
      <input name="LabelContent[6]" type="text" id="pich" size="4" value="<?php echo $LabelContent[6];?>">
px <span class="f00">注：显示样式为&quot;样式一&quot;或&quot;样式二&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">院校名称字数：</td>
	<td><input name="LabelContent[7]" type="text" id="pich" size="4" value="<?php echo $LabelContent[7];?>"></td>
</tr>
<tr> 
	<td align="right">院校简介字数：</td>
	<td><input name="LabelContent[8]" type="text" id="pich" size="4" value="<?php echo $LabelContent[8];?>">
<span class="f00">注：显示样式为&quot;样式一&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">院校是否审核：</td>
	<td><input name="LabelContent[9]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[9]==1) echo "checked";?>>
是</td>
</tr>
<tr> 
	<td align="right">院校是否推荐：</td>
	<td><input name="LabelContent[10]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[10]==1) echo "checked";?>>
是</td>
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[11]">
        <option value="m_id desc" <?php if($LabelContent[11]=='m_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="m_id asc" <?php if($LabelContent[11]=='m_id asc') echo "selected";?>>按ID反序排列</option>
		<option value="m_hits desc" <?php if($LabelContent[11]=='m_hits desc') echo "selected";?>>按点击次数</option>
		<option value="m_regdate desc" <?php if($LabelContent[11]=='m_regdate desc') echo "selected";?>>按时间正序排列</option>
        <option value="m_regdate asc" <?php if($LabelContent[11]=='m_regdate asc') echo "selected";?>>按时间反序排列</option>
        <option value="m_activedate desc" <?php if($LabelContent[11]=='m_activedate desc') echo "selected";?>>按资料更新排列</option>
      </select></td>
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[12]">
        <option value="_blank" <?php if($LabelContent[12]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[12]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td>
</tr>
<?php break;case 'getprolist':?>
<tr> 
	<td align="right">显示数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td>
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td>
</tr>
<tr> 
	<td align="right">显示样式：</td>
	<td><table width="430" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="162" align="center">样式一<br><img src="images/sch_s1.gif" alt="显示图片+名称+介绍" width="120" height="84" style="border:1px #CCCCCC solid"><br>
		  <input name="LabelContent[2]" type="radio" class="checkbox" value="1" <?php if($LabelContent[2]==1) echo "checked";?>>
		  照片+姓名(职务)+介绍</td>
          <td width="136" align="center">样式二<br><img src="images/sch_s2.gif" alt="仅显示形象图片" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[2]" type="radio" class="checkbox" value="2" <?php if($LabelContent[2]==2) echo "checked";?>>
            仅图片</td>
          <td width="132" align="center">样式三<br><img src="images/sch_s3.gif" alt="仅显示名称" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[2]" type="radio" class="checkbox" value="3" <?php if($LabelContent[2]==3) echo "checked";?>>
            名称+职务</td>
        </tr>
      </table></td>
</tr>
<tr> 
	<td align="right">照片必须：</td>
	<td><input name="LabelContent[3]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[3]==1) echo "checked";?>>
是
<span class="f00">注：显示样式为&quot;样式三&quot;时,此项不起作用</span></td>
</tr>
<tr> 
	<td align="right">照片尺寸：</td>
	<td>宽
      <input name="LabelContent[4]" type="text" id="picw" size="4" value="<?php echo $LabelContent[4];?>">
      px 高
      <input name="LabelContent[5]" type="text" id="pich" size="4" value="<?php echo $LabelContent[5];?>">
px <span class="f00">注：显示样式为&quot;样式一&quot;或&quot;样式二&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">姓名字数：</td>
	<td><input name="LabelContent[6]" type="text" id="pich" size="4" value="<?php echo $LabelContent[6];?>"></td>
</tr>
<tr> 
	<td align="right">专家简介字数：</td>
	<td><input name="LabelContent[7]" type="text" id="pich" size="4" value="<?php echo $LabelContent[7];?>">
<span class="f00">注：显示样式为&quot;样式一&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">专家是否推荐：</td>
	<td><input name="LabelContent[8]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[8]==1) echo "checked";?>>
是</td>
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[9]">
        <option value="p_id desc" <?php if($LabelContent[9]=='p_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="p_id asc" <?php if($LabelContent[9]=='p_id asc') echo "selected";?>>按ID反序排列</option>
		<option value="p_adddate desc" <?php if($LabelContent[9]=='p_adddate desc') echo "selected";?>>按更新时间正序排列</option>
        <option value="p_adddate asc" <?php if($LabelContent[9]=='p_adddate asc') echo "selected";?>>按更新时间反序排列</option>
      </select></td>
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[10]">
        <option value="_blank" <?php if($LabelContent[10]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[10]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td>
</tr>
<?php break;case 'getstulist':?>
<tr> 
	<td align="right">显示数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td>
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td>
</tr>
<tr> 
	<td align="right">显示样式：</td>
	<td><table width="430" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="162" align="center">样式一<br><img src="images/sch_s1.gif" alt="显示图片+名称+介绍" width="120" height="84" style="border:1px #CCCCCC solid"><br>
		  <input name="LabelContent[2]" type="radio" class="checkbox" value="1" <?php if($LabelContent[2]==1) echo "checked";?>>
		  照片+姓名(性别)<br>
		  +求职意向+推荐意见</td>
          <td width="136" align="center">样式二<br><img src="images/sch_s2.gif" alt="仅显示形象图片" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[2]" type="radio" class="checkbox" value="2" <?php if($LabelContent[2]==2) echo "checked";?>>
            仅图片</td>
          <td width="132" align="center">样式三<br><img src="images/sch_s3.gif" alt="仅显示名称" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[2]" type="radio" class="checkbox" value="3" <?php if($LabelContent[2]==3) echo "checked";?>>
            姓名+求职意向</td>
        </tr>
      </table></td>
</tr>
<tr> 
	<td align="right">照片必须：</td>
	<td><input name="LabelContent[3]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[3]==1) echo "checked";?>>
是
<span class="f00">注：显示样式为&quot;样式三&quot;时,此项不起作用</span></td>
</tr>
<tr> 
	<td align="right">照片尺寸：</td>
	<td>宽
      <input name="LabelContent[4]" type="text" id="picw" size="4" value="<?php echo $LabelContent[4];?>">
      px 高
      <input name="LabelContent[5]" type="text" id="pich" size="4" value="<?php echo $LabelContent[5];?>">
px <span class="f00">注：显示样式为&quot;样式一&quot;或&quot;样式二&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">姓名字数：</td>
	<td><input name="LabelContent[6]" type="text" id="pich" size="4" value="<?php echo $LabelContent[6];?>"></td>
</tr> 
<tr> 
	<td align="right">求职意向字数：</td>
	<td><input name="LabelContent[7]" type="text" id="pich" size="4" value="<?php echo $LabelContent[7];?>">
<span class="f00">注：显示样式为&quot;样式一&quot;或&quot;样式三&quot;时,此项必填</span></td>
</tr> 
<tr> 
	<td align="right">推荐意见字数：</td>
	<td><input name="LabelContent[8]" type="text" id="pich" size="4" value="<?php echo $LabelContent[8];?>">
<span class="f00">注：显示样式为&quot;样式一&quot;时,此项必填</span></td>
</tr> 
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[9]">
        <option value="s_id desc" <?php if($LabelContent[9]=='s_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="s_id asc" <?php if($LabelContent[9]=='s_id asc') echo "selected";?>>按ID反序排列</option>
		<option value="s_adddate desc" <?php if($LabelContent[9]=='s_adddate desc') echo "selected";?>>按更新时间正序排列</option>
        <option value="s_adddate asc" <?php if($LabelContent[9]=='s_adddate asc') echo "selected";?>>按更新时间反序排列</option>
      </select></td>
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[10]">
        <option value="_blank" <?php if($LabelContent[10]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[10]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td>
</tr>    
<?php break;case 'gettralist':?>
<tr> 
	<td align="right">显示数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td>
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td>
</tr>
<tr> 
	<td align="right">会员组：</td>
	<td><select name="LabelContent[2]">
        <option value="0" <?php if($LabelContent[2]==0) echo "selected";?>>全部组</option>
        <?php echo agroup(4,$LabelContent[2]);?>
      </select></td>
</tr>
<tr> 
	<td align="right">显示样式：</td>
	<td><table width="300" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center">样式一<br><img src="images/sch_s1.gif" alt="显示图片+名称+介绍" width="120" height="84" style="border:1px #CCCCCC solid"><br>
		  <input name="LabelContent[3]" type="radio" class="checkbox" value="1" <?php if($LabelContent[3]==1) echo "checked";?>>
		  图片+名称+介绍</td>
          <td align="center">样式二<br><img src="images/sch_s2.gif" alt="仅显示形象图片" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[3]" type="radio" class="checkbox" value="2" <?php if($LabelContent[3]==2) echo "checked";?>>
            仅图片</td>
          <td align="center">样式三<br><img src="images/sch_s3.gif" alt="仅显示名称" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[3]" type="radio" class="checkbox" value="3" <?php if($LabelContent[3]==3) echo "checked";?>>
            仅名称</td>
        </tr>
      </table></td>
</tr>
<tr> 
	<td align="right">形象图片必须：</td>
	<td><input name="LabelContent[4]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[4]==1) echo "checked";?>>
是
<span class="f00">注：显示样式为&quot;样式三&quot;时,此项不起作用</span></td>
</tr>
<tr> 
	<td align="right">形象图片尺寸：</td>
	<td>宽
      <input name="LabelContent[5]" type="text" id="picw" size="4" value="<?php echo $LabelContent[5];?>">
      px 高
      <input name="LabelContent[6]" type="text" id="pich" size="4" value="<?php echo $LabelContent[6];?>">
px <span class="f00">注：显示样式为&quot;样式一&quot;或&quot;样式二&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">机构名称字数：</td>
	<td><input name="LabelContent[7]" type="text" id="pich" size="4" value="<?php echo $LabelContent[7];?>"></td>
</tr>
<tr> 
	<td align="right">机构简介字数：</td>
	<td><input name="LabelContent[8]" type="text" id="pich" size="4" value="<?php echo $LabelContent[8];?>">
<span class="f00">注：显示样式为&quot;样式一&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">机构是否审核：</td>
	<td><input name="LabelContent[9]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[9]==1) echo "checked";?>>
是</td>
</tr>
<tr> 
	<td align="right">机构是否推荐：</td>
	<td><input name="LabelContent[10]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[10]==1) echo "checked";?>>
是</td>
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[11]">
        <option value="m_id desc" <?php if($LabelContent[11]=='m_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="m_id asc" <?php if($LabelContent[11]=='m_id asc') echo "selected";?>>按ID反序排列</option>
		<option value="m_hits desc" <?php if($LabelContent[11]=='m_hits desc') echo "selected";?>>按点击次数</option>
		<option value="m_regdate desc" <?php if($LabelContent[11]=='m_regdate desc') echo "selected";?>>按时间正序排列</option>
        <option value="m_regdate asc" <?php if($LabelContent[11]=='m_regdate asc') echo "selected";?>>按时间反序排列</option>
        <option value="m_activedate desc" <?php if($LabelContent[11]=='m_activedate desc') echo "selected";?>>按资料更新排列</option>
      </select></td>
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[12]">
        <option value="_blank" <?php if($LabelContent[12]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[12]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td>
</tr>     
<?php break;case 'gettrarlist':?>
<tr> 
	<td align="right">显示数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td>
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td>
</tr>
<tr> 
	<td align="right">显示样式：</td>
	<td><table width="430" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="162" align="center">样式一<br><img src="images/sch_s1.gif" alt="显示图片+名称+介绍" width="120" height="84" style="border:1px #CCCCCC solid"><br>
		  <input name="LabelContent[2]" type="radio" class="checkbox" value="1" <?php if($LabelContent[2]==1) echo "checked";?>>
		  照片+姓名(职务)+介绍</td>
          <td width="136" align="center">样式二<br><img src="images/sch_s2.gif" alt="仅显示形象图片" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[2]" type="radio" class="checkbox" value="2" <?php if($LabelContent[2]==2) echo "checked";?>>
            仅图片</td>
          <td width="132" align="center">样式三<br><img src="images/sch_s3.gif" alt="仅显示名称" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[2]" type="radio" class="checkbox" value="3" <?php if($LabelContent[2]==3) echo "checked";?>>
            名称+职务</td>
        </tr>
      </table></td>
</tr>
<tr> 
	<td align="right">照片必须：</td>
	<td><input name="LabelContent[3]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[3]==1) echo "checked";?>>
是
<span class="f00">注：显示样式为&quot;样式三&quot;时,此项不起作用</span></td>
</tr>
<tr> 
	<td align="right">照片尺寸：</td>
	<td>宽
      <input name="LabelContent[4]" type="text" id="picw" size="4" value="<?php echo $LabelContent[4];?>">
      px 高
      <input name="LabelContent[5]" type="text" id="pich" size="4" value="<?php echo $LabelContent[5];?>">
px <span class="f00">注：显示样式为&quot;样式一&quot;或&quot;样式二&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">姓名字数：</td>
	<td><input name="LabelContent[6]" type="text" id="pich" size="4" value="<?php echo $LabelContent[6];?>"></td>
</tr>
<tr> 
	<td align="right">简介字数：</td>
	<td><input name="LabelContent[7]" type="text" id="pich" size="4" value="<?php echo $LabelContent[7];?>">
<span class="f00">注：显示样式为&quot;样式一&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">是否推荐：</td>
	<td><input name="LabelContent[8]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[8]==1) echo "checked";?>>
是</td>
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[9]">
        <option value="t_id desc" <?php if($LabelContent[9]=='t_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="t_id asc" <?php if($LabelContent[9]=='t_id asc') echo "selected";?>>按ID反序排列</option>
		<option value="t_adddate desc" <?php if($LabelContent[9]=='t_adddate desc') echo "selected";?>>按更新时间正序排列</option>
        <option value="t_adddate asc" <?php if($LabelContent[9]=='t_adddate asc') echo "selected";?>>按更新时间反序排列</option>
      </select></td>
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[10]">
        <option value="_blank" <?php if($LabelContent[10]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[10]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td>
</tr>
<?php break;case 'getcoulist':?>
<tr> 
	<td align="right">显示课程类别：</td>
	<td><select name="LabelContent[11]">
        <option value="0" <?php if($LabelContent[11]==0) echo "selected";?>>全部分类</option>

		<?php echo getother('coursetype','t','t_id asc',$LabelContent[11],1);?>
      </select></td>
</tr>
<tr> 
	<td align="right">显示课程数量：</td>
	<td><input name="LabelContent[0]" type="text" size="4" value="<?php echo $LabelContent[0];?>"></td>
</tr>
<tr> 
	<td align="right">显示列数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>"> 列</td>
</tr>
<tr> 
	<td align="right">显示样式：</td>
	<td><table width="360" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="182" align="center">样式一<br><img src="images/sch_s1.gif" alt="显示图片+名称+介绍" width="120" height="84" style="border:1px #CCCCCC solid"><br>
		  <input name="LabelContent[2]" type="radio" class="checkbox" value="1" <?php if($LabelContent[2]==1) echo "checked";?>>
		  课程标题+培训费用<br>
		  +机构名称+课程介绍</td>
          <td width="178" align="center">样式二<br><img src="images/sch_s3.gif" alt="仅显示名称" width="120" height="84" style="border:1px #CCCCCC solid"><br>
            <input name="LabelContent[2]" type="radio" class="checkbox" value="2" <?php if($LabelContent[2]==2) echo "checked";?>>
            课程标题+培训师<br>
+机构名称</td>
        </tr>
      </table></td>
</tr>
<tr> 
	<td align="right">讲师照片必须：</td>
	<td><input name="LabelContent[3]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[3]==1) echo "checked";?>>
是
<span class="f00">注：显示样式为&quot;样式二&quot;时,此项不起作用</span></td>
</tr>
<tr> 
	<td align="right">照片尺寸：</td>
	<td>宽
      <input name="LabelContent[4]" type="text" id="picw" size="4" value="<?php echo $LabelContent[4];?>">
      px 高
      <input name="LabelContent[5]" type="text" id="pich" size="4" value="<?php echo $LabelContent[5];?>">
px <span class="f00">注：显示样式为&quot;样式一&quot;时,此项必填</span></td>
</tr>
<tr> 
	<td align="right">课程标题字数：</td>
	<td><input name="LabelContent[6]" type="text" id="pich" size="4" value="<?php echo $LabelContent[6];?>">
<span class="f00">注：此项必填</span></td>
</tr>
<tr> 
	<td align="right">机构名称字数：</td>
	<td><input name="LabelContent[7]" type="text" id="pich" size="4" value="<?php echo $LabelContent[7];?>">
<span class="f00">注：此项必填</span></td>
</tr>
<tr> 
	<td align="right">课程介绍字数：</td>
	<td><input name="LabelContent[8]" type="text" id="pich" size="4" value="<?php echo $LabelContent[8];?>"></td>
</tr>
<tr> 
	<td align="right">课程是否推荐：</td>
	<td><input name="LabelContent[12]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[12]==1) echo "checked";?>>
是</td>
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[9]">
        <option value="c_id desc" <?php if($LabelContent[9]=='c_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="c_id asc" <?php if($LabelContent[9]=='c_id asc') echo "selected";?>>按ID反序排列</option>
		<option value="c_adddate desc" <?php if($LabelContent[9]=='c_adddate desc') echo "selected";?>>按更新时间正序排列</option>
        <option value="c_adddate asc" <?php if($LabelContent[9]=='c_adddate asc') echo "selected";?>>按更新时间反序排列</option>
      </select></td>
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[10]">
        <option value="_blank" <?php if($LabelContent[10]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[10]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td>
</tr>
<?php break;case 'getlink':?>
<tr> 
	<td align="right">链接属性：</td>
	<td><input name="LabelContent[0]" type="radio" class="checkbox" value="0" checked>
文字
  <input name="LabelContent[0]" type="radio" class="checkbox" value="1" <?php if($LabelContent[0]==1) echo "checked";?>>
图片
<input name="LabelContent[0]" type="radio" class="checkbox" value="2" <?php if($LabelContent[0]==2) echo "checked";?>>
文字+图片</td>
</tr>
<tr> 
	<td align="right">文字链接个数：</td>
	<td><input name="LabelContent[1]" type="text" size="4" value="<?php echo $LabelContent[1];?>">
链接属性为图片时,此项不起作用.</td>
</tr>
<tr> 
	<td align="right">文字链接字数：</td>
	<td><input name="LabelContent[4]" type="text" size="4" value="<?php echo $LabelContent[4];?>">
链接属性为图片时,此项不起作用.</td>
</tr>
<tr> 
	<td align="right">图片链接个数：</td>
	<td><input name="LabelContent[2]" type="text" size="4" value="<?php echo $LabelContent[2];?>">
链接属性为文字时,此项不起作用.</td>
</tr>
<tr> 
	<td align="right">推荐属性：</td>
	<td><input name="LabelContent[6]" type="radio" class="checkbox" value="0" checked>
仅推荐
  <input name="LabelContent[6]" type="radio" class="checkbox" value="1" <?php if($LabelContent[6]==1) echo "checked";?>>
仅未推荐
<input name="LabelContent[6]" type="radio" class="checkbox" value="2" <?php if($LabelContent[6]==2) echo "checked";?>>
全部</td>
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[3]">
        <option value="l_id desc" <?php if($LabelContent[3]=='l_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="l_id asc" <?php if($LabelContent[3]=='l_id asc') echo "selected";?>>按ID反序排列</option>
        <option value="l_order asc" <?php if($LabelContent[3]=='l_order asc') echo "selected";?>>按自定义排列</option>
      </select></td>
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[5]">
        <option value="_blank" <?php if($LabelContent[5]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[15]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td>
</tr>
<?php break;case 'getarticlelist':?>
<tr> 
	<td align="right">所属频道：</td>
	<td><select name="LabelContent[0]" onChange="javascript:window.location='template_label.php?do=add&l=getarticlelist&lid=<?php echo $lid;?>&cid='+this.options[this.selectedIndex].value;">
	<option value="-1" <?php if($LabelContent[0]==-1) echo "selected";?>>当前频道</option>
	<option value="0" <?php if($LabelContent[0]==0) echo "selected";?>>全部频道</option>
    <?php echo $Channellist;?>
    </select></td>
</tr>
<tr> 
	<td align="right">所属栏目：</td>
	<td><select name="LabelContent[1]">
		<option value="-1" <?php if($LabelContent[1]==-1) echo "selected";?>>当前栏目</option>
        <option value="0" <?php if($LabelContent[1]==-1) echo "selected";?>>所有栏目</option>
        <?php echo $NewsSortlist;?>
      </select></td>
</tr>
<tr> 
	<td align="right">标题图标：</td>
	<td><select name="LabelContent[2]">
        <option value="0" <?php if($LabelContent[2]==0) echo "selected";?>>不显示图标</option>
        <option value="icon.gif" <?php if($LabelContent[2]=="icon.gif") echo "selected";?>>小图标1</option>
		<option value="icon1.gif" <?php if($LabelContent[2]=="icon1.gif") echo "selected";?>>小图标2</option>
      </select></td>
</tr>
<tr> 
	<td align="right">显示效果：</td>
	<td><select name="LabelContent[4]" onChange="ChangePic(this.options[this.options.selectedIndex].value)">
          <option value="1" <?php if($LabelContent[4]==1) echo "selected";?>>文章标题列表</option>
          <option value="2" <?php if($LabelContent[4]==2) echo "selected";?>>图片加下标题</option>
          <option value="3" <?php if($LabelContent[4]==3) echo "selected";?>>图片加右上标题加右下内容</option>
          <option value="4" <?php if($LabelContent[4]==4) echo "selected";?>>标题加下内容简介</option>
          <option value="5" <?php if($LabelContent[4]==5) echo "selected";?>>幻灯片文章</option>
      </select></td>
</tr>
<tr> 
	<td align="right"> </td>
	<td><img id="pic" src="images/img/<?php echo $LabelContent[4];?>.gif" width="309" height="182" /></td>
</tr>
<tr> 
	<td align="right">图片大小：</td>
	<td>宽
      <input name="LabelContent[13]" type="text" id="picw" size="4" value="<?php echo $LabelContent[13];?>">
      px 高
      <input name="LabelContent[14]" type="text" id="pich" size="4" value="<?php echo $LabelContent[14];?>">
px </td>
</tr>
<tr> 
	<td align="right">显示篇数：</td>
	<td><input name="LabelContent[3]" type="text" size="4" value="<?php echo $LabelContent[3];?>"></td>
</tr>
<tr> 
	<td align="right">标题字数：</td>
	<td><input name="LabelContent[9]" type="text" size="4" value="<?php echo $LabelContent[9];?>"></td>
</tr>
<tr> 
	<td align="right">完整标题：</td>
	<td><input name="LabelContent[11]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[11]==1) echo "checked";?>></td>
</tr>
<tr> 
	<td align="right">栏目名称：</td>
	<td><input name="LabelContent[15]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[15]==1) echo "checked";?>></td>
</tr>
<tr> 
	<td align="right">概况字数：</td>
	<td><input name="LabelContent[16]" type="text" size="4" value="<?php echo $LabelContent[16];?>"></td>
</tr>
<tr> 
	<td align="right">文章属性：</td>
	<td><input name="LabelContent[5]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[5]==1) echo "checked";?>>小类推荐
  <input name="LabelContent[6]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[6]==1) echo "checked";?>>图片资讯
  <input name="LabelContent[7]" type="checkbox" class="checkbox" value="1" <?php if($LabelContent[7]==1) echo "checked";?>>首页推荐</td>
</tr>
<tr> 
	<td align="right">显示时间：</td>
	<td><select name="LabelContent[12]">
        <option value="0" <?php if($LabelContent[12]==0) echo "selected";?>>不显示时间</option>
        <option value="2" <?php if($LabelContent[12]==2) echo "selected";?>>格式：月-日</option>
        <option value="3" <?php if($LabelContent[12]==3) echo "selected";?>>格式：年-月-日</option>
        <option value="4" <?php if($LabelContent[12]==4) echo "selected";?>>格式：月-日 时：分</option>
        <option value="5" <?php if($LabelContent[12]==5) echo "selected";?>>格式：年-月-日 时：分</option>
        <option value="6" <?php if($LabelContent[12]==6) echo "selected";?>>格式：年-月-日 时：分：秒</option>
    </select></td>
</tr>
<tr> 
	<td align="right">排序方式：</td>
	<td><select name="LabelContent[8]">
        <option value="n_id desc" <?php if($LabelContent[8]=='n_id desc') echo "selected";?>>按ID正序排列</option>
		<option value="n_id asc" <?php if($LabelContent[8]=='n_id asc') echo "selected";?>>按ID反序排列</option>
        <option value="n_hits desc" <?php if($LabelContent[8]=='n_hits desc') echo "selected";?>>按点击次数</option>
		<option value="n_addtime desc" <?php if($LabelContent[8]=='n_addtime desc') echo "selected";?>>按更新时间正序排列</option>
        <option value="n_addtime asc" <?php if($LabelContent[8]=='n_addtime asc') echo "selected";?>>按更新时间反序排列</option>
      </select></td>
</tr>
<tr> 
	<td align="right">打开方式：</td>
	<td><select name="LabelContent[10]">
        <option value="_blank" <?php if($LabelContent[10]=='_blank') echo "selected";?>>新窗口打开</option>
        <option value="_self" <?php if($LabelContent[10]=='_self') echo "selected";?>>原窗口打开</option>
    </select></td>
</tr>
<?php }?>
<tr> 
	<td align="right">标签介绍：</td>
	<td><textarea name="LabelIntro" cols="60" rows="4" class="textarea"><?php echo $LabelIntro;?></textarea></td> 
</tr>
<tr> 
	<td align="right">标签级别：</td>
	<td><input name="Labelorder" type="text" size="4" class="txt" value="<?php echo $Labelorder;?>" /> 级别较高标签将被优先转换</td> 
</tr>
<tr> 
	<td align="right">&nbsp;</td>
	<td><input type="hidden" name="l" value="<?php echo $l;?>"><input name="Submit" type="submit" class="inputs" value="保　存">
<input name="Submit2" type="reset" class="inputs" value="重　置">
<input name="Submit3" type="button" class="inputs" value="取  消" onClick="window.close();"></td> 
</tr>
</table>
</form>
</fieldset>
</div>
<?php
}else{
?>
<script language="JavaScript" type="text/JavaScript">
function ConfirmDel(ID,Name)
{
   if(confirm("您确定要删除标签【"+Name+"】吗？\n\n警告：此操作不可恢复，请慎重操作！"))
     location.href="?do=del&page=<?php echo $page;?>&type=<?php echo $type;?>&lid="+ID
}
function openlabel(filename)
{
	window.open("?do=add&l="+filename+"","addlabel","height=500,width=550,top=0,left=0,toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	document.getElementById("AddLabelM").style.display="none";
}
</script><style type="text/css">
<!--
#AddLabelM {display:none;background-color:#FFFFFF;position:absolute;left:240px;top:44px;width:150px;height:auto;z-index:1;padding:4px;FILTER: alpha(opacity=90);}
#AddLabelM li{margin:0;padding:0 2px;float:left;width:100%; border-bottom:1px #CCCCCC dashed;}
-->
</style>
</head>
<body>
<div id="AddLabelM"><li><a href="javascript:void(0);" onclick="openlabel('getresumelist');">添加人才函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('getcomlist');">添加企业函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('gethirelist');">添加职位函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('getarticlelist');">添加文章函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('gethrzwlist');">添加猎头职位函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('getschlist');">添加院校函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('getprolist');">添加专家函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('getstulist');">添加毕业生函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('gettralist');">添加培训机构函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('getcoulist');">添加培训课程函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('gettrarlist');">添加培训师函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('getlink');">添加链接函数标签</a></li>
<li><a href="javascript:void(0);" onclick="openlabel('getmemberpic');">添加会员图片函数标签</a></li>
</div>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="tableBorder">
  <tr>
    <th height="25">通用标签管理:</th>
  </tr>
  <tr>
    <td height=25 class="pl20"><b>管理选项：</b><a href="template_label.php">标签管理首页</a> | <a href="javascript:void(0);" onClick="window.open ('?do=add&l=html','newwindow','height=500,width=550,top=0,left=0,toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no') ">添加静态标签</a> | <a href="#" onClick="javascript:document.getElementById('AddLabelM').style.display='block'">添加函数标签</a> |&nbsp;[<a href="javascript:location.reload()">刷新页面</a>]</td>
  </tr>
  <tr>
    <td height=25 class="pl20"><b>标签类型：</b><a href="template_label.php">系统内置标签</a> | <a href="template_label.php?type=5">自定义静态标签</a> | <a href="template_label.php?type=6">自定义函数标签</a></td>
  </tr>
  </tr>
<form method="post" action="?sdo=<?php echo $sdo;?>" name="searchs" target="_self" onSubmit="return checkform()">
<tr><td height=25 class="pl20"><b>标签搜索：</b><select size="1" name="type">
	<option value="1" selected="selected">系统内置标签</option>
	<option value="5" <?php if($type==5){echo "selected=\"selected\"";}?>>自定义静态标签</option>
	<option value="6" <?php if($type>=3){echo "selected=\"selected\"";}?>>自定义函数标签</option>
</select>
<input type="text" name="keyword" size="30" value="<?php echo $keyword;?>" class="txt">
<input name="submit" type="submit" class="inputs" value="立即搜索">
</td></tr>
</form>
</table>

<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableBorder mt6">
<tr>
    <th colspan=8 height=25>网站标签列表</th>
</tr>
<tr align="center"> 
	<td width="6%" height="22">编号</td>
	<td width="18%">标签名称</td> 
	<td width="8%">标签类型</td>
	<td width="22%">标签简介</td>
    <td width="18%">最后编辑时间</td>
	<td width="18%">最后编辑时间</td>
	<td width="10%">操作选项</td>
</tr>
<?php echo $labellist;?>
<tr>
    <td colspan="8" height="25" class="tdpage"><?php echo $getpageinfo['pagecode'];?></td>
</tr>
</table>
<?php
}
?>