<!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'];?>" />
<title><?php echo $head[title];?></title>
<script language="javascript" src="images/js/jquery.min.js" type="text/javascript"></script>
<script language="javascript" src="images/js/comment.func.js" type="text/javascript"></script>
<link href="template/comtmp/default/images/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="box" style="padding-top:20px;">
  <div id="top">
    <div class="a"><img src="<?php if($companypic) { ?><?php echo $companypic;?><?php }else{ ?>images/nopic.gif<?php }?>" width="175" height="60" /></div>
    <div class="aa">
      <ul>
        <?php $no=1;if(is_array($menu))foreach($menu as $_menu){?>
        <li><a href="<?php echo $_menu['url'];?>"><b><?php echo $_menu['name'];?></b></a></li>
		<?php $no++;}?>
      </ul>
    </div>
  </div>
  <div class="tu"><img src="template/comtmp/default/images/lvyou1_06.jpg" width="980" height="290" /></div>
  <div id="center">
    <div class="zuo">
      <div class="fenlei">
        <div class="b"><?php echo getmenuNamebyid($id,3);?></div>
        <div class="ju">
         <?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."co_news` WHERE `".DB_PRE."co_news`.`status`=1 AND `".DB_PRE."co_news`.`userid`=".intval($id)." ORDER BY `".DB_PRE."co_news`.`id` DESC",8,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
		<li><span class="span_left"><a href="company/shownews_<?php echo $r['id'];?>.html" title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],16);?></a></span><span class="span_right" style="color:#999;font-size:12px"><?php echo date('Y-m-d',$r['inputtime']);?></span></li>  
		<?php }$dir_page=$_DATA['pagestring'];unset($_DATA); ?>
        </div>
      </div>
      <div class="lianx">
        <div class="er">
          <div class="ma"><?php echo $phone;?></div>
        </div>
      </div>
    </div>
    <div class="you">
      <div class="h5" style="margin-bottom:20px"><?php echo getmenuNamebyid($id,8);?></div>
      <div class="h6">
				<div class="body_main_left_content">
				<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."member_comment` WHERE `".DB_PRE."member_comment`.`status`=1 AND `".DB_PRE."member_comment`.`memberid`=".intval($id)." ORDER BY `".DB_PRE."member_comment`.`id` DESC",10,$page);foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="show_space_main_left_content_comment" style="clear:both; width:620px; margin:8px auto"><span class="span_left" style="width:450px">网友<a href="space/show.php?id=<?php echo $r['userid'];?>" target="_blank"><?php echo $r['username'];?></a>：<?php echo $r['content'];?></span><span class="span_right" style="color:#999999"><?php echo date('Y-m-d H:i:s',$r['addtime']);?> 发表</span></div>
				<?php }$dir_page=$_DATA['pagestring'];unset($_DATA); ?>
				<?php echo $dir_page;?>
				</div>
				<div>
				<form action="company/comment.php" method="post" name="cform" id="commentform">
					<input type="hidden" name="memberid" value="<?php echo $id;?>" />
					<input type="hidden" name="membername" value="<?php echo $username;?>" />
					<input type="hidden" name="authkey" value="<?php echo md5(AUTH_KEY.$id.$username);?>" />
					内  &nbsp;容：<textarea class="area_comment" name="content" id="c_content"></textarea><br /><br />
					验证码：<input type="text" class="checkcode" name="chkcode" id="c_chkcode" /> <img src="<?php echo $DIRCMS['site_url'];?>checkcode.php" onclick="this.src='<?php echo $DIRCMS[site_url];?>checkcode.php?id='+Math.random()*5;" style="cursor:pointer;" alt="验证码,看不清楚?请点击刷新验证码"/>
					<br />
					<span id="commentmsg" style="color:#FF3300"></span>
					<br />
					<input type="submit" value="提交留言" />
				</form>
				</div>
	  
	  </div>
    </div>
  </div>
  <div id="bottom">
    <ul>
      <li><a href="<?php echo $DIRCMS['site_url'];?>"><?php echo $DIRCMS['site_name'];?></a> 版权所有</li>
  	 <li><?php echo $DIRCMS['copyright'];?></li>
    </ul>
  </div>
</div>
</body>
</html>