<?php 	
	switch ($gen)
	{
		case "management":
			if($ls=="insert")
			{
				$Title=$_POST['Title'];
				$name=$_POST['name'];
				$post=$_POST['post'];
				$department=$_POST['department'];
				$tel=$_POST['tel'];
				$mobile=$_POST['mobile'];
				$email=$_POST['email'];
				$qq=$_POST['qq'];
				$duty=$_POST['duty'];
				$skype=$_POST['skype'];
				$facebook=$_POST['facebook'];
				$linkedin=$_POST['linkedin'];
				$twitter=$_POST['twitter'];
				$googleplus=$_POST['googleplus'];
				$wechat=$_POST['wechat'];
			}else{
				$Title=$generalpics_rows['Title'];
				$name=$generalpics_rows['name'];
				$post=$generalpics_rows['post'];
				$department=$generalpics_rows['department'];
				$tel=$generalpics_rows['tel'];
				$mobile=$generalpics_rows['mobile'];
				$email=$generalpics_rows['email'];
				$qq=$generalpics_rows['qq'];
				$duty=$generalpics_rows['duty'];
				$skype=$generalpics_rows['skype'];
				$facebook=$generalpics_rows['facebook'];
				$linkedin=$generalpics_rows['linkedin'];
				$twitter=$generalpics_rows['twitter'];
				$googleplus=$generalpics_rows['googleplus'];
				$wechat=$generalpics_rows['wechat'];
			}   
		
			                

?>
					  <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 width="50%" rowspan="14" valign="top"  style="padding-left:50px;">职责：<br/>

<textarea name="duty" id="duty" style="width:80%;height:330px;visibility:;"><?=($duty==''?'':htmlspecialchars_decode($duty))?></textarea><br/><br/>
&lt;= 社交网络填写个人页面网址，如 <a href="https://www.linkedin.com/in/yanhui-zhao-463b5480/" target="_blank">https://www.linkedin.com/in/yanhui-zhao-463b5480/ </a></td>
</tr><tr bgcolor='#f4f4f4'> <td style="padding-left:50px;" >
    职务：</td>
    <td  style="padding-left:10px;" >
      <input type="text" name="post" id="ls_post_common" size="16" maxlength="40" style="width:400px;" value="<?=($post==''?'':$post)?>"  onblur="checktype(this.value,'common','ls_post');" /></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>
    </tr>
    
    <tr bgcolor='#f4f4f4'> <td style="padding-left:50px;" > 电话：</td>
    <td  style="padding-left:10px;" >
      <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>
   </tr>
   
   <tr bgcolor='#f4f4f4'> <td style="padding-left:50px;" >邮箱：</td>
    <td  style="padding-left:10px;" >
      <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>
    </tr>
    
    <tr bgcolor='#f4f4f4'> <td style="padding-left:50px;" >微信：</td>
    <td  style="padding-left:10px;" >
      <input type="text" name="wechat" id="ls_wechat_wechat，qq" size="24" maxlength="40" style="width:400px;" value="<?=($wechat==''?'':$wechat)?>"  onblur="checktype(this.value,'wechat，qq','ls_wechat');" /></td>
  </tr> <tr bgcolor='#f4f4f4'>
    <td  style="padding-left:50px;" >skype：</td>
    <td style="padding-left:10px;"  >
      <input type="text" name="skype" id="ls_skype_cn-cell" size="16" maxlength="40" style="width:400px;" value="<?=($skype==''?'':$skype)?>"  onblur="checktype(this.value,'cn-cell','ls_skype');" /></td>
    </tr>
    
    <tr bgcolor='#f4f4f4'> <td style="padding-left:50px;" >facebook：</td>
    <td  style="padding-left:10px;" >
      <input type="text" name="facebook" id="ls_facebook_facebook，qq" size="24" maxlength="40" style="width:400px;" value="<?=($facebook==''?'':$facebook)?>"  onblur="checktype(this.value,'facebook，qq','lsfacebook');" /></td>
  </tr>
  
   <tr bgcolor='#f4f4f4'>
    <td  style="padding-left:50px;" >linkedin：</td>
    <td style="padding-left:10px;"  >
      <input type="text" name="linkedin" id="ls_linkedin_cn-cell" size="16" maxlength="40" style="width:400px;" value="<?=($linkedin==''?'':$linkedin)?>"  onblur="checktype(this.value,'cn-cell','ls_linkedin');" /></td>
    </tr>
    
    <tr bgcolor='#f4f4f4'> <td style="padding-left:50px;" >twitter：</td>
    <td  style="padding-left:10px;" >
      <input type="text" name="twitter" id="ls_twitter_twitter，qq" size="24" maxlength="40" style="width:400px;" value="<?=($twitter==''?'':$twitter)?>"  onblur="checktype(this.value,'twitter，qq','ls_twitter');" /></td>
  </tr>
  
  <tr bgcolor='#f4f4f4'> <td style="padding-left:50px;" ></td>
    <td  style="padding-left:10px;" >
      </td>
  </tr>
  
 <tr bgcolor='#f4f4f4'>
    <td  style="padding-left:50px;" >pinterest：</td>
    <td style="padding-left:10px;"  >
      <input type="text" name="googleplus" id="ls_googleplus_cn-cell" size="16" maxlength="40" style="width:400px;" value="<?=($googleplus==''?'':$googleplus)?>"  onblur="checktype(this.value,'cn-cell','ls_googleplus');" /></td>
    </tr>
<?php 
		break;

		case "history":
			
 
			if($ls=="insert")
			{
				$hsyear=$_POST['hsyear'];
				 
			}else{
				$hsyear=$generalpics_rows['hsyear'];
				 
			}
			
			?>
					  <tr bgcolor='#f4f4f4'>
    <td style="padding-left:50px;" >年月：</td>
    <td  style="padding-left:10px;" >
      <input type="text" name="hsyear" id="ls_hsyear_common" size="16" maxlength="40" style="width:400px;" value="<?=($hsyear==''?'':$hsyear)?>"  onblur="checktype(this.value,'common','ls_hsyear');" />
</td>
<td  style="padding-left:10px;" >
      </td>
  </tr>

<?php 
			break;
			

	}
?>
