<!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=gbk" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php echo $title;?>-<?php echo $dir_catname;?>-<?php echo $DIRCMS['site_name'];?></title>
<meta name="keywords" content="<?php echo $keywords;?>" />
<meta name="description" content="<?php echo $description;?>" />
<base href="<?php echo $DIRCMS['site_url'];?>" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/base.css" rel="stylesheet" type="text/css">
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/public.css" rel="stylesheet" type="text/css">
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/classifieds.css" rel="stylesheet" type="text/css">
<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>
<script language="javascript" src="api/statistics/c.js.php?id=<?php echo $id;?>"></script>
</head>

<body>
<?php include template('header');?>
<div class="page-wrap">
  <div class="crumb-nav">您当前的位置：<?php echo $dir_postion;?></div>
</div>
<div class="page-wrap">
  <div class="cinfo-t">
    <h1 title="<?php echo $title;?>"><?php echo sub_string($title,70,'...');?></h1>
    <div class="cftip">
      <div class="tp-l"><span>更新时间：<?php echo date('Y-m-d',$updatetime);?></span><span>有效期：<?php if(!$expire) { ?><em class="green">永久有效</em><?php }else{ ?><?php if(($updatetime+$expire)>time()) { ?><em class="red">已过期</em><?php }else{ ?><em class="green"><?php echo $expire;?>天内有效</em><?php }?><?php }?></span><span>浏览&nbsp;&nbsp;<em class="red"><script language=javascript>document.write(js_clicks);</script></em>&nbsp;&nbsp;次</span> <a href="<?php echo $DIRCMS['site_url'];?>comment/index.php?contentid=<?php echo $id;?>" target="_blank">我要评论(<em class="red"><script language=javascript>document.write(js_comments);</script></em>)</a></div>
      <div class="tp-r"><a href="member/index.php?file=content&action=top&id=<?php echo $contentid;?>" class="top red">置顶</a><?php echo deletebutton($contentid);?><a href="member/index.php?file=content&action=edit&catid=8&id=<?php echo $contentid;?>" class="delete">编辑</a></div>
      <div class="clear"></div>
    </div>
  </div>
  <div class="fs-L fl">
    <div class="basic-info">
		<span style="float:right;width:250px; height:250px;"><script language="javascript" src="<?php echo $DIRCMS['site_url'];?>adv/api/adv.js.php?id=22&siteid=<?php echo $DIRCMS['site_id'];?>"></script></span>
      <div class="biiq">
        <dl>
          <dt>所属区域：</dt>
          <dd><?php echo get_selectmenu('area',$areaid);?></dd>
		   <?php if($keywords) { ?>
          <dt>关 键 字：</dt>
          <dd><?php echo $keywords;?></dd>
		  <?php }?>
		   <?php if($daiyu) { ?>
          <dt>工资待遇：</dt>
          <dd><?php echo $daiyu;?></dd>
		  <?php }?>
		   <?php if($lianxiren) { ?>
          <dt>联系人：</dt>
          <dd><?php echo $lianxiren;?></dd>
		  <?php }?>
		   <?php if($dianhua) { ?>
          <dt>联系电话：</dt>
          <dd><?php echo strtojpg($dianhua,120,20);?><em class="green"> <?php echo telephoneaddress($dianhua);?></em></dd>
		  <?php }?>
		  
		   <?php if($qq) { ?>
          <dt>QQ咨询：</dt>
          <dd><span class="btqq"><a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $qq;?>&site=qq&menu=yes" target="_blank"><img border="0" title="点击这里给我发消息" alt="点击这里给我发消息" src="http://wpa.qq.com/pa?p=2:<?php echo $qq;?>:41"></a></span></dd>
		  <?php }?>
		  
          <dt>发布者IP：</dt>
          <dd><?php echo $ip;?><em class="green"> <?php echo ip2area($ip);?></em></dd>
        </dl>
      </div>
      <div class="clear"></div>
    </div>
    <div class="col-share" style="margin-bottom:8px">
      <!-- Baidu Button BEGIN -->
				<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
					<span class="bds_more">分享到：</span>
					<a class="bds_qzone"></a>
					<a class="bds_tsina"></a>
					<a class="bds_tqq"></a>
					<a class="bds_renren"></a>
					<a class="shareCount"></a>
				</div>
			<script type="text/javascript" id="bdshare_js" data="type=tools" ></script>
			<script type="text/javascript" id="bdshell_js"></script>
			<script type="text/javascript">
				document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
			</script>
		<!-- Baidu Button END -->
    </div>
    <div class="discla"><em class="red"><i></i>免责声明：</em>所有信息的真实性与合法性由信息提供者负责，本站不承担由于内容的合法性及健康性所引起的一切争议和法律责任，请您在进行交易时注意辨别真伪。</div>
    <div class="min-cont column border">
      <h2><strong>详细信息</strong></h2>
      <div class="mc" id="cont-detail">
	  	
       <?php echo $content;?>
        <div class="mc-cot">
          <p>联系我时，请说是在<?php echo $DIRCMS['site_name'];?>上看到的，谢谢！</p>
          <dl>
            <dt>联系人：</dt><dd><?php echo $lianxiren;?></dd>
            <dt>电 &nbsp;&nbsp;话：</dt><dd><em class="red"><?php echo strtojpg($dianhua,120,20);?><?php echo telephoneaddress($dianhua);?></em></dd>
          </dl>
          <div class="clear"></div>
        </div>
      </div>
    </div>
	<?php if($map) { ?>
	<div class="min-cont column border">
      <h2><strong>地图标注</strong></h2>
      <div class="mc" id="cont-detail">
        <?php echo loadmap($map,765,385);?>
   	   </div>
	  </div>
	<?php }?>
    <div class="ad-ol border mt6">
      <ul>
	  	<?php $dir_page="";$_DATA=call_user_func('get_tag_data',$catid,0,0,6,0,0,'rand','desc',$keywords,0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
        <li><a href="<?php echo $r['url'];?>"<?php echo title_style($r['style']);?> title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],36,'...');?></a></li>
        <?php }unset($_DATA); ?>
        <div class="clear"></div>
      </ul>
    </div>
    
    <div class="fill-remark border mt6"> <strong class="fr-title f14">网友评论：</strong>
      <div class="remark-box">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          
        <form action="comment/comment.php" method="post" name="commentform" id="commentform">
		<input type="hidden" name="contentid" value="<?php echo $id;?>" />
		<input type="hidden" name="parentid" id="parentid" value="0" />
		<input type="hidden" name="do_submit" value="1" />
		<input type="hidden" name="authkey" value="<?php echo md5(AUTH_KEY.$catid.$id);?>" />
          <tr>
            <td colspan="6"><div class="txt-area-box fl"><textarea name="comment[content]" id="c_content" class="txt-area"></textarea></div><div class="face-mood-box fr"><p>表情:</p>
            <ul>
              <?php echo facelist('<li>','</li>');?>
              <li><input type="checkbox" name="bstyle" value="1" />字体加粗</li>
            </ul>
            </div></td>
          </tr>
          <tr>
            <td colspan="6" class="gray">验证码：<input type="text" size="4" class="txt" name="chkcode" id="c_chkcode" />
					 <img src="<?php echo $DIRCMS['site_url'];?>api/imcode/checkcode.php" id="img_chkcode" onclick="this.src='<?php echo $DIRCMS[site_url];?>api/imcode/checkcode.php?dc='+Math.random()*5;"  width="65" height="22" style="cursor:pointer;" align="middle" alt="验证码,看不清楚?请点击刷新验证码"/> <input name="" type="submit" value="发表评论" class="btn-o4"/></td>
          </tr>
          <tr>
            <td colspan="6" id="commentmsg" >网友评论仅供网友表达个人看法，并不表明本网站同意其观点或证实其描述</td>
            </tr>
          </form>
        </table>
      </div>
    </div>
  </div>
  <div class="fs-R ml6 fr">
    <div class="rele"><a href="post/" target="_blank">免费发布分类信息</a></div>
    <div class="sfo-re column border">
      <h2><strong>分类信息推荐</strong></h2>
      <ul>
        <?php $dir_page="";$_DATA=call_user_func('get_tag_data',$catid,0,4,8,0,0,'id','desc',$keywords,0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
        <li><a href="<?php echo $r['url'];?>"<?php echo title_style($r['style']);?> title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],24,'...');?></a></li>
        <?php }unset($_DATA); ?>
      </ul>
    </div>
  </div>
  <div class="clear"></div>
</div>
<?php include template('footer');?>