|\?|\[|\]|\,|\.|\/|\;|\'|\`|\-|\=|\\\|\|/";
return preg_replace($regex,"",$strParam);
}
//搜索
$id=$_GET['id'];
$start=0;
$page=(int)$_GET['page'];
$search="&tbname=$tbname";
$line=20;//每页显示
$page_line=20;
$offset=$page*$line;
$add = "";
$search = "";
$logininid=is_login1();
if (!$logininid)
{
$add = " and ispub = 1 ";
}
$r=$empire->fetch1("select * from {$dbtbpre}ecms_pub where id=".$id." " . $add . "limit $offset,$line");
if (empty($r))
{
header("Location:list.php");
exit;
}
// 读取用户信息...
if (!empty($r["userid"]))
{
$ru=$empire->fetch1("select * from bank_enewsmember where userid=".$r["userid"]);
$ruu=$empire->fetch1("select * from bank_enewsmemberadd where userid=".$r["userid"]);
}
//验证是否登陆
$isV = false;
$userid=(int)getcvar('mluserid');
if (!empty($userid))
{
// 检查是否可见...
if ($userid == $r["userid"])
{
$isV = true;
}
else
{
$ruum=$empire->fetch1("select * from bank_enewsmemberadd where userid=".$userid);
if (!empty($ruum) && $ruum["isvd"] == "1")
{
$isV = true;
}
}
}
if ($logininid)
{
$isV = true;
}
$str = "您无权限查看";
if (!$isV)
{
// 设置为隐藏...
$r["cname"] = $str;
$ruu["truename"] = $str;
$ruu["fax"] = $str;
$ru["email"] = $str;
$ruu["address"] = $str;
$ruu["zip"] = $str;
$ruu["call"] = $str;
$r["dbdyw_file"] = $str;
}
?>
include("header.php");?>
融资信息
贷款项目名称: |
=$r[dkname]?> |
项目介绍: |
=$r[dkname]?> |
贷款需求城市: |
=$r[dkp]?>-=$r[dkc]?>-=$r[dka]?> |
项目资质: |
=$r[xmzz]?> |
担保抵押物: |
=$r[dbdyw]?> |
项目融资方式: |
=$r[rzfs]?> |
贷款需求额度: |
=$r[dkmoney]?> |
贷款期限: |
=$r[dkdate]?> |
其他说明: |
=$r[dkoremark]?> |
附件: |
=empty($r[dbdyw_file])?"":"下载附件"?> |
单位/个人名称: |
=$r[cname]?> |
项目负责人: |
=$ruu["truename"]?> |
联系电话: |
=$ruu["call"]?> |
传真: |
=$ruu["fax"]?> |
电子邮件: |
=$ru["email"]?> |
通讯地址: |
=$ruu["address"]?> |
邮政编码: |
=$ruu["zip"]?> |
|
|
|
include("footer.php");?>