<meta name="description" content=""> <meta name="keywords" content=""> <link rel="stylesheet" type="text/css" href="../statics/css/yumleeM.css" /> <link rel="stylesheet" type="text/css" href="../statics/css/mcr.css" /> <link rel="stylesheet" type="text/css" href="../com/icomoon/style.css" /> </head> <body class="bgWhite"> <header class="header"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>位置增加</h1> <div><a href="../index.php"><i class="icon-home"></i></a></div> </header> <?php include_once '../mcr_sc_fns.php'; $sql = "select salestatusid,salestatusname from t_salestatus order by salestatusid "; $salearray = get_mydata($sql); ?> <form method="post" class="addForm" action="positionadd_bgo.php"> <dl class="panel boxShadowNone" > <dt></dt> <dd> <ul class="list"> <input type="hidden" name="positionid" /> <li class="flex op-2 col1-3"> <div>位置:</div> <div><input type="text" name="position" id="position" class="position"/></div> </li> <li class="flex op-2 col1-3"> <div>顺序值:</div> <div><input type="tel" name="order" id="order" class="order"/></div> </li>
<link rel="stylesheet" type="text/css" href="statics/css/yumleeM.css" /> <link rel="stylesheet" type="text/css" href="statics/css/mcr.css" /> <link rel="stylesheet" type="text/css" href="iconfont/iconfont.css" /> <link rel="stylesheet" type="text/css" href="com/icomoon/style.css" /> <style> div.marginTop{margin: 20px auto 5px auto;} div.marginBottom{padding-bottom: 15px;} i.iconfont{color:#ee4f10; margin-right: 5px;} i.message{font-size: 23px;} .marginTop #share,#collect{ line-height: 23px;} </style> </head> <?php include_once 'mcr_sc_fns.php'; $buyid = $_GET['buyid']; $buy_array = get_mydata("call p_mybuy_detail(" . $buyid . ")"); ?> <body> <header class="header"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>求购信息列表</h1> <div><a href="index.php"><i class="icon-home"></i></a></div> </header> <div class="detail_bg"><img src="images/share_bg.jpg" alt="" width="100%" height="100%"/></div> <?php if (!is_array($buy_array)) { $noconnect = "<p>对不起,没有查找到您要查找的内容!</p>"; echo $noconnect; } else { $row = $buy_array[0]; $weixin = new class_weixin();
<meta name="keywords" content=""> <link rel="stylesheet" type="text/css" href="../statics/css/yumleeM.css" /> <link rel="stylesheet" type="text/css" href="../statics/css/mcr.css" /> <link rel="stylesheet" type="text/css" href="../com/icomoon/style.css" /> </head> <body class="bgWhite"> <header class="header"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>积分修改</h1> <div><a href="../index.php"><i class="icon-home"></i></a></div> </header> <?php include_once '../mcr_sc_fns.php'; $fieldid = $_GET['fieldid']; $sqlstr = " select fieldid,introduce,score from t_field where fieldid =" . $fieldid; $fieldarray = get_mydata($sqlstr); $field = $fieldarray[0]; ?> <form action="scoreupdate_bgo.php" method="post" class="addForm"> <dl class="panel boxShadowNone"> <dt></dt> <dd> <ul class="list"> <input type="hidden" name ="fieldid" value="<?php echo $field['fieldid']; ?> "> <li class="flex col1-3"> <div>字段描述:</div> <div><input type="tel" readonly="readonly" name="introduce" id="order" class="order" value="<?php echo $field['introduce'];
<link rel="stylesheet" type="text/css" href="/statics/css/mcr.css" /> <link rel="stylesheet" type="text/css" href="/com/icomoon/style.css" /> <link rel="stylesheet" type="text/css" href="css/manage.css" /> </head> <body> <header class="header fixed"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>位置设置</h1> <div><a href="index.php"><i class="icon-home"></i></a></div> </header> <?php include_once 'mcr_sc_fns.php'; session_start(); $portid = $_SESSION['portid'] = 1; $sqlstr = "select positionid,position,ordervalue,salestatusname from t_dumpposition d,t_salestatus s " . " where d.salestatusid=s.salestatusid and portid =" . $portid . " order by ordervalue "; $positionarray = get_mydata($sqlstr); ?> <ul class="ul_list"> <?php if (!is_array($positionarray)) { echo "<p>对不起,没有查找到您要查找的内容!</p>"; return; } else { foreach ($positionarray as $row) { ?> <li> <b class="select_btn"><img src="images/img_2.png" alt="" width="40" height="40"/></b> <a href="" class="li_link"> <h3 class="position"> <span><?php
<link rel="stylesheet" type="text/css" href="../statics/css/yumleeM.css" /> <link rel="stylesheet" type="text/css" href="../statics/css/mcr.css" /> <link rel="stylesheet" type="text/css" href="../com/icomoon/style.css" /> <link rel="stylesheet" type="text/css" href="../css/manage.css" /> </head> <body> <header class="header fixed"> <div><a href="../administration.php"><i class="icon-arrow-back"></i></a></div> <h1>积分设置</h1> <div><a href="../index.php"><i class="icon-home"></i></a></div> </header> <?php include_once '../mcr_sc_fns.php'; session_start(); $sqlstr = "select fieldid,introduce,score from t_field order by fieldid "; $scorearray = get_mydata($sqlstr); ?> <ul class="ul_list"> <?php if (!is_array($scorearray)) { echo "<p>对不起,没有查找到您要查找的内容!</p>"; return; } else { foreach ($scorearray as $row) { ?> <li> <b class="select_btn"><img src="../images/img_2.png" alt="" width="40" height="40"/></b> <h3 class="position"> <span class="score"><?php echo $row['introduce'];
.tips{background-color:#ececec;height:35px;width:100%;display:block;} .tips span{font-size: 16px;color: #000; display: inline-block; vertical-align: middle; line-height:35px;padding-left:10px;font-weight: bold;} .tip_detail{text-indent: 2em; text-align: left; line-height: 2em;} .detail_con{line-height: 2em; text-indent: 1em;} .detail_con i{margin-right: 8px;font-size:24px;} .btnCall{width: 98%;height: 50px;background-color: #1588d9;color: #fff;position:fixed;font-size: 19px;border: 0;border-radius: 5px;bottom: 0; left: 3px;text-align: center;line-height: 50px;margin:0 auto;display:block;} .colorBlue{color:#12A6E9;border-bottom: 1px solid #12A6E9;} </style> </head> <?php session_start(); include_once 'mcr_sc_fns.php'; $companyid = $_GET['companyid']; $company_array = get_mydata("call p_mycompany(" . $companyid . ")"); $companypic_array = get_companypic($companyid); //微信分享 require_once 'system/model/weixin.class.php'; $weixin = new class_weixin(); $signPackage = $weixin->GetSignPackage(); $title = "木材人信息交流平台"; $description = "木材人信息平台木材人自己的家"; $picurl = 'http://www.sxuav.com/mcr/images/wxmcr.png'; //$url =''; $url = 'http://www.sxuav.com/mcr/companyDetail.php?companyid=' . $companyid; // ?> <body>
<link rel="stylesheet" type="text/css" href="com/icomoon/style.css" /> <link rel="stylesheet" type="text/css" href="css/manage.css" /> </head> <body> <header class="header fixed"> <div><a href="user.php"><i class="icon-arrow-back"></i></a></div> <h1>我的求购</h1> <div><a href="index.php"><i class="icon-home"></i></a></div> </header> <?php include_once 'mcr_sc_fns.php'; session_start(); $userid = $_SESSION['userid']; $query = "call mcr.p_mybuylist(" . $userid . ");"; //2015.07.01 blb+ $buy_array = get_mydata($query); //2015.07.01 blb+ ?> <ul class="ul_list"> <?php if (!is_array($buy_array)) { echo "<p>对不起,没有查找到您要查找的内容!</p>"; return; } foreach ($buy_array as $row) { ?> <li> <?php if ($row['buystatus'] != '已下架') { ?>
.swiper-container.company {width: 320px;height: 85px;margin: 0 auto;overflow:hidden;} .swiper-container.company img{width:70px;height:70px;} .swiper-container.company ul li{text-align: center;margin-top: 8px;} .quarter li{width:25%;} div.marginTop{margin: 20px auto 5px auto;} i.iconfont{color:#ee4f10; margin-right: 5px;} i.message{font-size: 23px;} .marginTop #share{line-height: 23px;} </style> </head> <?php session_start(); //include_once('db_fns.php'); include_once 'mcr_sc_fns.php'; $cdkey = $_GET['cdkey']; $product_array = get_mydata("call p_dumpdetail('" . $cdkey . "')"); $productpic_array = get_productpic($cdkey); ?> <body> <header class="header"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>详细信息</h1> <div><a href="index.php"><i class="icon-home"></i></a></div> </header> <div class="detail_bg"><img src="images/share_bg.jpg" alt="" width="100%" height="100%"/></div> <?php if (!is_array($product_array)) { $noconnect = "<p>对不起,没有查找到您要查找的内容!</p>"; echo $noconnect; } else {
<link rel="stylesheet" type="text/css" href="statics/css/mcr.css" /> <link rel="stylesheet" type="text/css" href="com/icomoon/style.css" /> <link rel="stylesheet" type="text/css" href="css/manage.css" /> </head> <body> <header class="header fixed"> <div><a href="./index.php"><i class="icon-arrow-back"></i></a></div> <h1>我的货物</h1> <div><a href="./index.php"><i class="icon-home"></i></a></div> </header> <?php session_start(); include_once 'mcr_sc_fns.php'; if (isset($_SESSION['user'])) { $userid = $_SESSION['userid']; $good_array = get_mydata("call p_mygoods(" . $userid . ")"); ?> <ul class="ul_list" id="ul_list"> <?php if (!is_array($good_array)) { echo "<p>对不起,没有查找到您要查找的内容!</p>"; return; } foreach ($good_array as $row) { ?> <li> <?php if ($row['salestatusid'] != '下架') { ?>
"/></div> </li> <li class="flex"> <div>参考重量:</div><div><input type="tel" name="refwight" id="refwight" placeholder="40~90t" <?php echo $ismgr == 1 ? "" : $dump["refwight"] != "0" ? "disabled=\"disabled\"" : ""; ?> value="<?php echo $dump["refwight"] == 0 ? "" : $dump["refwight"]; ?> "/></div> <div>价格:</div><div><input type="tel" name="price" id="price" placeholder="请输入价格"/></div> </li> <li class="flex col1-3"> <div>当前位置:</div> <?php $curr_pos = get_mydata("select spotpositionid,position,ordervalue from t_spotposition order by ordervalue"); //增加位置排序15.06.24 ljm if (!is_array($curr_pos)) { echo "<p>当前位置未找到</p>"; return; } $maxpos = count($curr_pos); //数组最大行15.06.24 ljm $lastpos = $curr_pos[$maxpos - 1]; //取最后一行记录15.06.24 ljm ?> <div> <select id="spotpositionid" name="spotpositionid" <?php echo $ismgr == 1 ? "" : $dump["spotpositionid"] == $lastpos["spotpositionid"] ? "disabled=\"disabled\"" : ""; ?> >
session_start(); $portid = $_SESSION['portid']; $wood = new wood($portid); $wood->realrelease(); $userid = $_SESSION['userid']; /*$sql ="select right(rtrim(carnum),4) as carnum,productid,cdkey,case when productlen is null then '' when productlen = 0 then '' else concat(cast(productlen as char(3)),'米') end as productlen," ." viewnum,productid,salestatusname as completestatus," ."case when TO_DAYS((updatetime)) >= TO_DAYS(CURDATE()) then substring(updatetime,12,5) else substring(updatetime,6,5) end as updatetime1, " ."case when timber ='0' then '' else timber end as timber," ." case when diameterlen ='0' then '' else concat(diameterlen,'φ') end as diameterlen," ."wide,thinckness, " ."ifnull((select kindname from t_kind k where k.kindid = p.kindid),'') as kindname," ."ifnull((select stuffname from t_stuff where stuffid = p.stuffid),'') as stuffname " ."from t_product p,t_user u,t_salestatus s where p.goodtype=1 and (p.contactphone = u.phone or p.contactphone =u.phone1 or p.contactphone =u.phone2) " ." and s.salestatusid=p.salestatusid and u.userid = ".$userid." order by updatetime desc ";*/ $dump_array = get_mydata("call p_myspot(" . $userid . ")"); ?> <section> <form> <ul class="flex selectWrapper"> <li> <select name ="kindselect" id="kindselect"> <option value = 0>选货种</option> <?php $kind_array = $wood->kind; //货种 lja foreach ($kind_array as $row) { echo "<option value =" . $row["kindid"] . ">" . $row["kindname"] . "</option>"; } ?>
<a href="javascript:history.back();"><i class="icon-arrow-back"></i></a> </div> <h1>自动发送微信信息</h1> <div> <a href="index.php"><i class="icon-home"></i></a> </div> </header> <?php include_once 'mcr_sc_fns.php'; include_once 'system/model/weixin.class.php'; //先走模板发送 $date = date("Y-m-d H:i:s"); $sqlstr = " select wxid,carnum,cdkey,spotpositionname,kindname,arrivetime,username " . " from t_wxsendtemplate where ifnull(sendstatus,'') <>'ok' and sendcount < 3 order by instime "; $datatemp_array = get_mydata($sqlstr); $sqlstr = "select portname,arriveposition,arrivetime from t_wxsendmsg where sign =0 order by updatetime desc"; $data_array = get_mydata($sqlstr); //2015.06.25 ljm if (is_array($data_array)) { //没有查到需要发送的模板,则发送群发消息 // if (!is_array($data_array)) { echo "<p>对不起,没有查找到您要发送的群发内容!---</p>" . $date; return; } else { echo "<p>正在发送群消息!---</p>" . $date; $weixin = new class_weixin(); foreach ($data_array as $row) { $portname = $row['portname']; $arriveposition = $row['arriveposition']; $arrivetime = $row['arrivetime']; $sql = "update t_wxsendmsg set sign = 1";
"/></div> <div>参考根数:</div><div><input type="tel" name="refnum" id="refnum" placeholder="100~20000" value="<?php echo $dump["refnum"]; ?> "/></div> </li> <li class="flex col1-3"> <div>参考重量:</div><div><input type="tel" name="refwight" id="refwight" placeholder="40~90t" value="<?php echo $dump["refwight"]; ?> "/></div> </li> <li class="flex col1-3"> <div>当前位置:</div> <?php $curr_pos = get_mydata("select positionid,position from t_dumpposition"); if (!is_array($curr_pos)) { echo "<p>当前位置未找到</p>"; return; } ?> <div> <select id="goodpositionid" name="goodpositionid"> <option value="0">请选择位置</option> <!--<option value="1">满洲里</option>--> <?php foreach ($curr_pos as $cur_row) { $id = $cur_row['positionid']; $name = $cur_row['position']; echo "<option value =" . $id . " " . ($id == $dump['dumppositionid'] ? "selected=\"selected\"" : "\"\"") . " >" . $name . "</option>"; }
<html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no"> <meta name="format-detection" content="telephone=no"> <title>投诉信息</title> <link rel="stylesheet" type="text/css" href="../statics/css/yumleeM.css" /> <link rel="stylesheet" type="text/css" href="../statics/css/mcr.css" /> <link rel="stylesheet" type="text/css" href="../com/icomoon/style.css" /> </head> <?php include_once '../mcr_sc_fns.php'; $cdkey = $_GET['cdkey']; $sql = "select c.cdkey,right(rtrim(carnum),4) as carnum,(select stuffname from t_stuff where stuffid=p.stuffid) as stuffname," . " case productlen when 0 then '' else concat(CONVERT(productlen,char(4)),'米') end as productlen,c.content," . "(select kindname from t_kind where kindid=p.kindid) as kindname,c.updatetime,keyword, " . " u.username,contact " . " from t_complain c,t_product p,t_user u " . " where u.userid =c.userid and c.cdkey=p.cdkey and c.cdkey='" . $cdkey . "'"; $complain_array = get_mydata($sql); $complain = $complain_array[0]; ?> <body> <header class="header"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>投诉信息</h1> <div><a href="index.php"><i class="icon-home"></i></a></div> </header> <ul class="list borBottom"> <li class="flex"> <div><span>车皮号:</span><var><?php echo $complain['carnum']; ?>
session_start(); include_once 'mcr_sc_fns.php'; require_once 'system/model/weixin.class.php'; $userid = 0; $freeze = 2; if (isset($_SESSION['userid'])) { $userid = $_SESSION['userid']; $freeze = $_SESSION['freeze']; } //echo $userid; $cdkey = $_GET['cdkey']; $usertype = 5; //默认是收藏和举报 $query = "call mcr.p_spotdetail(" . $userid . ",'" . $cdkey . "');"; //2015.06.25 lj+ $product_array = get_mydata($query); //2015.06.25 ljm //echo $product_array; $productpic_array = get_productpic($cdkey); //图片数据 $weixin = new class_weixin(); $signPackage = $weixin->GetSignPackage(); $title = "木材人信息交流平台"; $friendtitle = ""; $description = "木材人信息平台木材人自己的家"; $picurl = 'http://www.sxuav.com/mcr/images/wxmcr.png'; $url = 'http://www.sxuav.com/mcr/detail.php?cdkey=' . $cdkey; ?> <body> <header class="header">
session_start(); include_once 'mcr_sc_fns.php'; include_once 'system/model/wood.php'; $buyid = $_GET['buyid']; //error_log(date('Y-m-d H:i:s') .'GET取:'.$buyid."\n",3,$_SERVER['DOCUMENT_ROOT']."/log/run.log"); $portid = $_SESSION['portid']; $phone = $_SESSION['phone']; $username = $_SESSION['username']; $wood = new wood($portid); $wood->release(); $stuff_array = $wood->stuff; //树种 $isnew = 1; if ($buyid != '') { $isnew = 0; $buy_array = get_mydata('call p_mybuy_detail(' . $buyid . ')'); if (is_array($buy_array)) { $buyrow = $buy_array[0]; } } else { $buyrow = array("stuffname" => "", "kindname" => "", "lenname" => "", "refcapacity" => "", "diameterlen" => "", "timber" => "", "thinckness" => "", "wide" => "", "price" => "", "content" => "", "productlen" => "", "diameterlenMax" => "0", "contact" => '0', "contactphone" => '0', "widerange" => '0', "thincknessrange" => '0'); } if (isset($_SESSION['user'])) { //用户或管理员登录后才可以发表信息 ?> <header class="header"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>求购信息发布</h1> <div><a href="index.php"><i class="icon-home"></i></a></div> </header> <form class="releaseForm" method ="post" action ="buyrelease_bgo.php">
$inputnumber = $_SESSION["searchphone"]; } if (isset($_SESSION['userid'])) { //用户或管理员登录后才可以发表信息 $user = new user($_SESSION['userid']); if ($user->login() === false) { //用户不存在 echo "<script>alert('您的账户异常 ,请速和管理员联系!');history.back();</script>"; } else { if ($_SESSION['freeze'] == 1) { //冻结用户 echo "<script>alert('您的账户异常,请速和管理员联系!');history.back();</script>"; } else { $query = "call mcr.p_getdatafromnum(" . $portid . ",'" . $inputnumber . "');"; //2015.06.25 lj+ $data_array = get_mydata($query); //2015.06.25 ljm ?> <dl class="panel"> <dt> <h2>精确查找</h2> </dt> <dd id="goodslist" class="borTop"> <?php $outstr = " "; if (!is_array($data_array)) { echo "<p>对不起,没有查找到您要查找的内容!</p>"; return; } else { foreach ($data_array as $row) {
<?php session_start(); include_once '../mcr_sc_fns.php'; $userid = $_GET['userid']; $sql = "select username,userpic,nickname,phone,portname,score,phone1,phone2,province,city,logintime,regtime,loginnum from " . " t_user u,t_port p where u.portid = p.portid and u.userid=" . $userid; $user_array = get_mydata($sql); $user = $user_array[0]; ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no"> <meta name="format-detection" content="telephone=no"> <title>个人中心</title> <meta name="description" content=""> <meta name="keywords" content=""> <link href="" rel="stylesheet"> <!-- <link rel="stylesheet" type="text/css" href="/statics/css/yumReset.css" /> --> <!-- <link rel="stylesheet" type="text/css" href="/statics/css/yumPage.css" /> --> <link rel="stylesheet" type="text/css" href="../statics/css/yumleeM.css" /> <link rel="stylesheet" type="text/css" href="../statics/css/mcr.css" /> <link rel="stylesheet" type="text/css" href="../com/icomoon/style.css" /> <link rel="stylesheet" href="../css/user_tx.css" /> <body> <header class="header"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>个人中心</h1> <div><a href="../index.php"><i class="icon-home"></i></a></div>
<form action="search.php" method="POST" class="searchGroup" id="search_form"> <input type="tel" id="numberInput" name="numberInput" placeholder="车皮号/手机号" /> <input type="submit" value="搜索" id="ser_submit"/> </form> </div> </header> <?php session_start(); $_SESSION['portid'] = 1; $portid = $_SESSION['portid']; include_once 'system/model/db_fns.php'; include_once 'mcr_fns.php'; // viewrecord("index"); // $new_array = get_mydata('call p_train_sum'); ?> <ul class="flex menuIcon first"> <li class="flex_li" style="height:87px;" id="railway"><a><div class="home8"><i class="icon-road"></i></div><span>铁路现货</span></a></li> <li class="flex_li" style="height:87px;"><a href="buylist.php"><div class="home5"><i class="icon-bag"></i></div><span>求购</span></a></li> <li class="flex_li" style="height:87px;"><a href="search2.php"><div class="home2"><i class="icon-search"></i></div><span>智能找货</span></a></li> </ul> <!--铁路现货弹出层 start--> <div class="tip"> <div class="triangle"></div> <ul class="t_tiplist"> <li> <a href="logsell.php"><span>原木</span></a> <a href="boardsell.php?kindid=5"><span>板</span></a> <a href="boardsell.php?kindid=3" style="border:0;"><span>口料</span></a>
private function updatewxuserid($object, $keyword) { //更新wxid操作 $wxid = $object->FromUserName; $updatetime = date('Y-m-d H:i:s'); $sqlstr = "select * from t_wxreguser where wxid='" . $wxid . "'"; if (get_mydata($sqlstr) == false) { $sqlstr = "insert into t_wxreguser (wxid,regtime,keyword,updatetime) values ('" . $wxid . "','" . $updatetime . "','" . $keyword . "','" . $updatetime . "')"; sqlexec($sqlstr); } else { $sqlstr = "update t_wxreguser set keyword='" . $keyword . "',updatetime ='" . $updatetime . "' where wxid='" . $wxid . "'"; sqlexec($sqlstr); } return true; }
<?php session_start(); include_once "db_fns.php"; include_once 'system/model/wood.php'; $portid = $_SESSION['portid'] = 1; $wood = new wood($portid); $wood->release(); include_once 'mcr_fns.php'; $stuff_array = $wood->stuff; $from_array = $wood->from; //$dump_array=$wood->dumpposition; lj- if (isset($_SESSION['user'])) { //用户或管理员登录后才可以发表信息 $cdkey = $_GET["cdkey"]; $sqlstr = "select userid,kindid,stuffid,productlen,diameterlen,wide,thinckness," . "tolerance,widerange,thincknessrange,refcapacity,timber," . "dry,newold,timbertype,knob,blue,worm,decay,climb,slash,ring,oil,black" . ",dumpposition,part,device,fromid,portid,publishtime," . "updatetime,goodtype,cdkey,content from t_product where cdkey='" . $cdkey . "'"; $mydump = get_mydata($sqlstr); if (!is_array($mydump)) { echo "<p>对不起,没有查找到您要查找的内容!</p>"; return; } else { $dump = $mydump[0]; } ?> <form class="onoff labelPadding" id="submitform"> <ul class="list"> <li> <ul class="upImg-display"> <li> <div class="upImg"><b><img src="images/upload.png" alt="" id="upload_img"/></b> <input type="file" id="sendfile" name="upimg" accept="image/*" value="上传照片" capture="camera"/> </div>
<link rel="stylesheet" type="text/css" href="com/icomoon/style.css" /> <link rel="stylesheet" href="css/manage.css" /> </head> <body> <header class="header fixed"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>我的发布</h1> <div><a href="index.php"><i class="icon-home"></i></a></div> </header> <?php include_once 'mcr_sc_fns.php'; session_start(); $userid = $_SESSION['userid']; $query = "call mcr.p_myrelease(" . $userid . ");"; //2015.06.27 blb+ $dump_array = get_mydata($query); //2015.06.27 blb+ ?> <ul class="ul_list"> <?php if (!is_array($dump_array)) { echo "<p>对不起,没有查找到您要查找的内容!</p>"; return; } foreach ($dump_array as $row) { ?> <li> <a href="detail.php?cdkey=<?php echo $row['cdkey'];
//echo $query; $insertresult = $conn->query($query); $path = 'Uploads/' . date('Ymd') . '/'; if (!file_exists($path)) { mkdir($path); } $picresult = TRUE; $deleted = true; //旧图片文件删除标记 $delfromdb = true; //旧图片数据删除标记 $count_json = count($mypics); if ($count_json > 0) { //有图片 //删除原有图片(硬盘,数据库) $compic = get_mydata("select picid,productpic from t_productpic where cdkey = '" . $cdkey . "'"); if (is_array($compic)) { foreach ($compic as $drow) { if (!unlink($drow["productpic"])) { $deleted = false; } } $query = "delete from t_productpic where cdkey = '" . $cdkey . "'"; $result = $conn->query($query); if (!$result) { $delfromdb = false; } } for ($i = 0; $i < $count_json; $i++) { $pic = $mypics[$i]['base64']; $streamFileRand = $path . date('YmdHis') . rand(1000, 9999) . $userid . '.jpg';
<link rel="stylesheet" type="text/css" href="com/icomoon/style.css" /> <link rel="stylesheet" type="text/css" href="css/manage.css" /> </head> <body> <header class="header fixed"> <div><a href="javascript:history.back();"><i class="icon-arrow-back"></i></a></div> <h1>我的关注</h1> <div><a href="index.php"><i class="icon-home"></i></a></div> </header> <?php include_once 'mcr_sc_fns.php'; session_start(); $userid = $_SESSION['userid']; $query = "call mcr.p_mycollect(" . $userid . ");"; //2015.06.25 lj+ $collect_array = get_mydata($query); //2015.06.25 ljm ?> <ul class="ul_list"> <?php if (!is_array($collect_array)) { echo "<p>对不起,没有查找到您要查找的内容!</p>"; return; } foreach ($collect_array as $row) { ?> <li> <b class="select_btn"><img src="images/img_2.png" alt="" width="40" height="40" /></b> <a href="detail.php?cdkey=<?php