<? 	
	switch ($gen)
	{
		case "management":
			if($ls=="insert")
			{
				$name=$_POST['name'];
				$title=$_POST['title'];
				$department=$_POST['department'];
				$tel=$_POST['tel'];
				$mobile=$_POST['mobile'];
				$email=$_POST['email'];
				$qq=$_POST['qq'];
			}else{
				$name=$generalpics_rows['name'];
				$title=$generalpics_rows['title'];
				$department=$generalpics_rows['department'];
				$tel=$generalpics_rows['tel'];
				$mobile=$generalpics_rows['mobile'];
				$email=$generalpics_rows['email'];
				$qq=$generalpics_rows['qq'];
			}                   

						?>
					  <tr bgcolor='#f4f4f4'>
    <td style="padding-left:50px;" >姓名：</td>
    <td  style="padding-left:10px;" >
      <input type="text" name="name" id="ls_name_common" size="16" maxlength="40" style="width:400px;" value="<?=($name==''?'':$name)?>"  onblur="checktype(this.value,'common','ls_name');" />
</td>
    <td  >职务：
      <input type="text" name="title" id="ls_title_common" size="16" maxlength="40" style="width:400px;" value="<?=($title==''?'':$title)?>"  onblur="checktype(this.value,'common','ls_title');" /></td>
  </tr>
  <tr bgcolor='#f4f4f4'>
    <td  style="padding-left:50px;">部门：</td>
    <td  style="padding-left:10px;" >
      <input type="text" name="department" id="ls_department_common" size="16" style="width:400px;" maxlength="40" value="<?=($department==''?'':$department)?>"  onblur="checktype(this.value,'common','ls_department');" /></td>
    <td  >电话：
      <input type="text" name="tel" id="ls_tel_cn-tel-zone" size="16" maxlength="40" style="width:400px;" value="<?=($tel==''?'':$tel)?>"  onblur="checktype(this.value,'cn-tel-zone','ls_tel');" /></td>
  </tr>
  <tr bgcolor='#f4f4f4'>
    <td  style="padding-left:50px;" >手机：</td>
    <td style="padding-left:10px;"  >
      <input type="text" name="mobile" id="ls_mobile_cn-cell" size="16" maxlength="40" style="width:400px;" value="<?=($mobile==''?'':$mobile)?>"  onblur="checktype(this.value,'cn-cell','ls_mobile');" /></td>
    <td  >邮箱：
      <input type="text" name="email" id="ls_email_email，qq" size="24" maxlength="40" style="width:400px;" value="<?=($email==''?'':$email)?>"  onblur="checktype(this.value,'email，qq','ls_email');" /></td>
  </tr>
  <tr bgcolor='#f4f4f4'>
    <td  style="padding-left:50px;">QQ：</td>
    <td  style="padding-left:10px;" ><input type="text" name="qq" id="ls_qq_styletype7" style="width:400px;" size="24" maxlength="40" value="<?=($qq==''?'':$qq)?>"  onblur="checktype(this.value,'styletype7','ls_qq');" /></td>
    <td  >&nbsp;</td>
  </tr>
<? 
		break;

	}
?>
