<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="keywords" content="<?php echo $head[keywords];?>" />
<meta name="description" content="<?php echo $head[description];?>" />
<base href="<?php echo $DIRCMS['site_url'];?>" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/share.css" type="text/css" rel="stylesheet" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/company.css" type="text/css" rel="stylesheet" />
<script language="javascript" src="images/js/jquery.min.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="template/<?php echo $DIRCMS['tpl_name'];?>/images/site.js"></script>
<title><?php echo $head[title];?></title>
</head>

<body>
	<div class="company_top">
		<div class="company_top_main">
			<div class="company_top_main_left">
				<div id="login_div">
				<a href="member/index.php?file=login&action=login">登录</a> | <a href="member/index.php?file=login&action=register">注册</a>
				</div>
				<div id="usercenet" style="display:none">
				浏览器不支持Js!
				</div>
			<script language="javascript" src="login.js.php"></script>
			</div>
			<div class="company_top_main_right">
			<a href="post/index.php" target="_blank">免费发布信息</a> | <a href="<?php echo $DIRCMS['site_url'];?>">网站首页</a> | <a href="member/index.php?file=login&action=login">商家入驻</a></div>
			</div>
		</div>
	</div>
	<div class="company_nav">
		<div class="company_nav_logo"><img src="<?php if($companypic) { ?><?php echo $companypic;?><?php }else{ ?>images/nopic.gif<?php }?>" align="absmiddle" /> <?php echo $companyname;?></div>
		<ul>
			<?php $no=1;if(is_array($menu))foreach($menu as $__key=>$_menu){?>
			<li><a href="<?php echo $_menu['url'];?>" <?php if($__key==5) { ?>class="current"<?php }?>><?php echo $_menu['name'];?></a></li>
			<?php $no++;}?>
		</ul>
	</div>
	<div class="article_ul_nav" style=" margin:5px auto; padding:3px 0px">
		<b>产品分类</b>
		<?php $no=1;if(is_array($producttype))foreach($producttype as $_pid=>$_ptype){?>
			<a href="company/product_<?php echo $_userid;?>_<?php echo $_pid;?>_1.html"><?php echo $_ptype;?></a>&nbsp;
		<?php $no++;}?>
	</div>
	<div class="article_ul_nav">
		<ul>
			<li class="li_title"><?php echo getmenuNamebyid($id,5);?></li>
			<li class="li_date">发布时间</li>
			<li class="li_clicks">发布企业</li>
		</ul>
	</div>
	<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."co_product` WHERE `".DB_PRE."co_product`.`status`=1 AND `".DB_PRE."co_product`.`userid`=".intval($id)." ORDER BY `".DB_PRE."co_product`.`id` DESC",10,$page);foreach($_DATA as $no => $r)if(is_array($r)){?>
	<div class="article_ul_content">
		<ul>
			<li class="li_title"><a href="company/showproduct_<?php echo $r['id'];?>.html" title="<?php echo $r['title'];?>" target="_blank"><?php if($r['style']) { ?><font style="<?php echo $r['style'];?>"><?php }?><?php echo sub_string($r['product'],50);?><?php if($r['style']) { ?></font><?php }?></a></li>
			<li class="li_date"><?php echo date('m月d日',$r['inputtime']);?></li>
			<li class="li_clicks"><?php echo $r['company'];?></li>
		</ul>
	</div>
	<?php }$dir_page=$_DATA['pagestring'];unset($_DATA); ?>		
	<div class="div_page">
		<?php echo $co_dir_page;?>
	</div>
	
	<!-- 底部 -->
	<?php include template('footer');?>
</body>
</html>