<?php if(!defined('IN_PHPMPS'))die('Access Denied'); ?><!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=<?php echo $charset;?>" />
<title><?php echo $seo['title'];?></title>
<meta name="Keywords" content="<?php echo $seo['keywords'];?>">
<meta name="Description" content="<?php echo $seo['description'];?>">
<link href="mhkskin/style/allcss.css" type="text/css" rel="stylesheet" />
<link href="mhkskin/style/view.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/highslide/highslide.js"></script>
<script src="js/common.js"></script>

<script>
hs.graphicsDir = 'js/highslide/graphics/';
hs.showCredits = false; 
var lng = '<?php echo $mappoint['0'];?>';
var lat = '<?php echo $mappoint['1'];?>';
var address = '信息所在地';
function checkcomment()
{
if(document.comment.content.value==""){
alert('请输入评论内容！');
document.comment.content.focus();
return false;
}
if(document.comment.checkcode.value==""){
alert('请输入验证码！');
document.comment.checkcode.focus();
return false;
}
}
function chkreport()
{
var radios = document.getElementsByName("types"); 
var resualt = false;
for(i=0;i<radios.length;i++)
{
if(radios[i].checked)
{
    resualt = true;
}
}
if(!resualt)
{   
alert("请选择错误类型");
return false;
}
}
function chktype()
{
if(document.form3.password.value==""){
alert('请输入密码！');
document.form3.password.focus();
return false;
}
if(document.form3.act.value=="delinfo"){
return confirm('确认要删除吗？此操作不可恢复！')
}
}
</script>
<style>
.info-thumb{overflow:hidden;zoom:1;margin-bottom:10px;}
.info-thumb a{display:block;width:195px;height:195px;float:left;padding:3px;margin:0 2px;}
.info-thumb a:hover{border:1px solid #333}
.cer-tel,.cer-coo{margin-top:10px}
</style>
</head>
<body>

<?php include template(header); ?>

<!-- 主体 -->
<div class="here">
<div class="zone">
<a href="/" >首页</a> > <a href="category.php?id=<?php echo $catid;?>"><?php echo $catname;?></a> [<a href="rss.php?catid=<?php echo $catid;?>" target="_blank" title="RSS订阅">RSS订阅</a>] - <a href="<?php echo $CFG['postfile'];?>" class="rd" target="_blank" title="免费发布信息"><b>免费发布信息[非常简单]</b></a>
</div>
</div>
<div class="m-bd">
<div class="zone of">
<div class="fl zl">
<div class="bx-bg" >
<div class="c-title" style="width:100%;margin:0"><?php echo $title;?></div>
<div class="info-detail">信息编号：<font color="#d40000">6<?php echo $id;?></font>　发布时间：<?php echo $postdate;?>　<font color="#d40000">有效期:<?if($enddate<time() && $enddate>0) {echo '<del>'.$lastdate.'</del>';}else{echo $lastdate;}?></font>　浏览量：<?php echo $click;?>人次</div>
<?if($enddate<time() && $enddate>0) {?>
<div style="position:relative">
<div style="position:absolute; left:0; top:0;"><img src="templates/dongfeng/images/expired.gif" alt="信息已失效" /></div>
</div>
<?}?>
<div class="z-title"><span class="name">详细内容</span><span class="more"><a href="#replay">回复</a>　<a href="#report">举报</a>　<a class="rd" href="#edit">修改/刷新/取消</a></span></div>
<div class="area-name">地区：<a class="rd" href="category.php?area=<?php echo $areaid;?>"><?php echo $areaname;?></a></div>
<?php if($yanzheng) { ?><div class="cer-tel"><img src="mhkskin/images/cer_tel.gif"/></div><?php } ?>
<?php if($meiti) { ?><div class="cer-coo"><img src="mhkskin/images/cer_coo.gif"/></div><?php } ?>
<div class="content">
<?php if($images) { ?>
<div class="info-thumb">
<?php if(is_array($images)) foreach($images AS $val) { ?>

<a href=<?php echo $val['path'];?> target="_blank" class="highslide " onclick="return hs.expand(this, {captionId: 'caption1'})"><img src=<?php echo $val['path'];?> alt="" border=0 width="195px" height="195px" /></a>

<?php } ?>

</div>
<?php } ?>
<?php echo $content;?>
</div>
<div style="line-height:30px;font-size:14px">
来电话时请说是在 <font color="#FF0000">梅河口</font><font color="#FF0000">生活网（<a href="http://www.df0437.com"><font color="#FF0000"></font></a>）</font> 看到的！
</div>
<div class="c-title" >联系方式</div>
<ul class="info-specifics">
<li>称呼：<?php echo $linkman;?></li>
<li>电话：<?php echo $phone;?><?php if($phone) { ?><font color="green"><a href="http://bm.0517114.net/shouji/?q=<?php echo $phone_c;?> " target="_blank">手机号码归属地、凶吉查询</a></font><?php } ?> </li>
<?php if($qq) { ?><li>QQ：<?php echo $qq;?><?php if($CFG['visitor_view']) { ?><?php } ?></li>
<?php } ?>
<?php if($address) { ?><li>地址：<?php echo $address;?></li><?php } ?>
<?php if($postarea) { ?><li>ＩＰ：<?php echo $postarea;?></li><?php } ?>
</ul>

<div class="c-title">友情提示</div>
<div class="tips">
该信息由网友真实发布，其真实性、准确性和合法性由发布信息的网友负责</br>
东丰生活网不对其提供任何保证，不承担任何责任</br>
友情提示：<a class="rd" href="">提高警惕，谨防诈骗</a>
</div>
<div class="c-title">管理信息</div>
<div style="padding:10px 0">
<?php if($infouserid>0 && $infouserid==$_userid) { ?>
<span>编辑：<a href="member.php?act=editinfo&id=<?=$id?>">修改</a>|<a href="member.php?act=delinfo&id=<?=$id?>" onClick="if(!confirm('确定要删除吗？\n\n此操作不可以恢复！'))return false;">删除</a>|<a href="member.php?act=refer&id=<?=$id?>">一键更新</a>|<a href="member.php?act=top&id=<?=$id?>">置顶</a></span>
<?php } else { ?>
<form name=form3 action="member.php?act=editinfo" method=post>请输入发布信息时预留的密码：
<input name=password type=password id=delpass size="10" maxLength=20>
<select name="act" id="act">
  <option value="delinfo">删除</option>
  <option value="editinfo">修改</option>
</select>
<input onClick="return chktype();" type=submit value="提交" name=submit><a target="_blank" id="edit" class="rd" href="about-3.html">忘记密码怎么办？</a>
<input type=hidden name=id value=<?php echo $id;?> />
</form>
<?php } ?>
</div>
<div class="c-title">回复信息<a id="replay" style="display:none"></a></div>
<!-- 评论 -->
<div class="comment_box">
<div class="bd">
<div class="comment_zone" id="showcomment">
正在加载数据，请稍等......
</div>
<div class="comment_write">
<div style="color:#d40000;line-height:25px">
提示：请遵守计算机、互联网法律法规和政策。严禁造谣、诽谤、谩骂，文明从尊重他人开始</br>
　　　此处仅接受对该信息的咨询，其他回复内容可能不会被审核
</div>
<form name="comment" action="member.php?act=comment" method="post" onsubmit="return checkcomment();" style="margin:0" >
<a name="replay"></a>
<textarea name="content" cols="95" class="comment_input" rows="6" style="background:url(templates/dongfeng/images/watermark.gif) no-repeat center #FFFFFF;"></textarea>
                               
<div class="clearfix comment_login"><span class="left">验证码：<input name=checkcode  type=text id=checkcode size="10" maxlength="5" onfocus='get_code();this.onfocus=null;' />
&nbsp;<span id=imgid></span></span>
<span class="left"><input name="" value="提 交" type="submit" />
<input type=hidden name=id value=<?=$id?> ><span id="checkshop"> (注意：仅限300汉字)</span></span>
</div>
  </form>
</div>
</div>
</div>
<div class="c-title">举报信息</div>
<div>
<form name="report" method="post" action="member.php" onsubmit="return chkreport()">
<input type="radio" name="types" value="1">非法信息
<input type="radio" name="types" value="2">分类错误
<input type="radio" name="types" value="3">中介信息
<input type="radio" name="types" value="4">信息失效
<input type="hidden" name="act" value="report">
<input type="hidden" name="id" value="<?php echo $id;?>">
<input name="submit" type="submit" value=" 举 报 "> <a id="report" class="rd" href="../about-3.html">联系方式被冒用怎么办？</a>
</form>

</div>
</div>
</div>
<!--百度广告开始-->
<div class="fr zr">
<div class="bx-bg">
<div class="z-title"><span class="name">百度推广</span></div>
<div style="margin-top:10px;">
<a href=""><script type="text/javascript">
    /*250*250创建于 2014-10-29*/
    var cpro_id = "u1781319";
</script>
<script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script></a>
</div>
<!--百度广告结束-->				
</div>
<?php if($match_info) { ?>
<div class="bx-bg" style="margin-top:10px;">
<div class="z-title"><span class="name">相关信息</span></div>
<ul class="com">
<?php if(is_array($match_info)) foreach($match_info AS $val) { ?>
<?$val['ctitle']=cut_str($val['title'],15);?>
<li><a href="<?php echo $val['url'];?>" title="<?php echo $val['title'];?>"><?php echo $val['ctitle'];?></a></li>

<?php } ?>

</ul>
</div>
<?php } ?>
</div>
</div>
</div>
<div id="footer">
<div class="zone">
<p>
<?php include template(footer); ?>
</p>
</div>
</div>
<script type="text/javascript">
$(function(){
$(".info-list li:not(.tit)").mouseenter(function(){
$(this).addClass('hover');
})
.mouseleave(function(){
$(this).removeClass('hover');
})
})
</script>
<iframe id="icomment" name="icomment" src="comment.php?infoid=<?=$id?>" frameborder="0" scrolling="no" width="0" height=0></iframe>
</body>
</html>