<?php
// 新闻、证书、工厂、品牌、质量等详细页 showpages  ls_syscode.php 3694  workshopshow.html 
// {ls_newimg}  : $newimg   {ls_newstext} : $newsdetail 

	$managerweibo = "";
	if($news_rows['facebook']!= ''){
		$managerweibo .= "<a href='".$news_rows['facebook']."' style='border: 0px; width:auto; height:auto; padding:2px;'><img src='../ls_admin/images/social_ico/facebook.jpg' /></a>";
	}
	if($news_rows['twitter']!= ''){
		$managerweibo .= "<a href='".$news_rows['twitter']."' style='border: 0px; width:auto; height:auto; padding:2px;'><img src='../ls_admin/images/social_ico/twitter.jpg' /></a>";
	}
	if($news_rows['linkedin']!= ''){
		$managerweibo .= "<a href='".$news_rows['linkedin']."' style='border: 0px; width:auto; height:auto; padding:2px;'><img src='../ls_admin/images/social_ico/linkedin.jpg' /></a>";
	}
	if($news_rows['google']!= ''){
		$managerweibo .= "<a href='".$news_rows['google']."' style='border: 0px; width:auto; height:auto; padding:2px;'><img src='../ls_admin/images/social_ico/google+.jpg' /></a>";
	}
	
	
	$newsdetail = "<table width=\"500\" border=\"0\" align=\"center\">
		  <tr>
			<td><b>Name:</b> ".$news_rows['name']."</td>
			<td><b>Post:</b> ".$news_rows['post']."</td>
		  </tr>
		  <tr>
			<td><b>Department:</b> ".$news_rows['department']."</td>
			<td><b>Tel:</b> ".$news_rows['tel']."</td>
		  </tr>
		  <tr>
			<td><b>Mobile:</b> ".$news_rows['mobile']."</td>
			<td><b>Email:</b> <a href='mailto:".$news_rows['email']."'>".$news_rows['email']."</a></td>
		  </tr>
		  <tr>
			<td><b>Skype:</b> <a href='skype:".$news_rows['skype']."?chat'>".$news_rows['skype']."</a></td>
			<td><b>Whatsapp:</b> ".$news_rows['wechat']."</td>
		  </tr>
		  <tr>
			<td><b>QQ:</b> ".$news_rows['qq']."</td>
			<td>".$managerweibo."</td>
		  </tr>
		  <tr>
			<td colspan=\"2\"><b>Duty:</b> ".$news_rows['duty']."</td>
		  </tr>
		</table>";
	
	
	$newimg = "<center><img src=\"../".$showFolders."/".$BigFoldersProducts."/".$news_rows[$workshopPic]."\" ondragstart=\"return false;\" alt='".$newstitle."' title='".$newstitle."' {ls_srcset} /></center>";
	if( $news_rows['productVideo']!="") $newimg = "<video width=\"\"   id=\"vdo\" style=\"float:center;\" border=\"1\" poster=\"".$BigFoldersProducts."/".$news_rows[$workshopPic]."\"  preload=\"metadata\" controls><source src=\"".$BigFoldersProducts."/".$news_rows['productVideo']."\" /></video>"; // 有视频输出视频
	

?>
