Example #1
0
<!DOCTYPE html>
<?php 
session_start();
include_once "system/model/db_fns.php";
//lj+
include_once 'system/model/wood.php';
require_once 'system/model/weixin.class.php';
$weixin = new class_weixin();
$signPackage = $weixin->GetSignPackage();
$portid = $_SESSION['portid'];
$phone = $_SESSION['phone'];
$username = $_SESSION['username'];
//error_log(date('Y-m-d H:i:s').'万里'."\n",3,$_SERVER['DOCUMENT_ROOT']."/log/run.log");
$wood = new wood($portid);
$wood->realrelease();
$stuff_array = $wood->stuff;
$from_array = $wood->from;
?>
<html>
<head>
<meta http-equiv="Content-Type"content="text/html; 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 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/reminder.css" />
Example #2
0
<!--scroll_top start-->
<div class="scroll_top">
	<span id="s_btn"></span>
</div>
<!--end scroll_top-->
<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 
session_start();
include_once '../mcr_sc_fns.php';
include_once '../system/model/wood.php';
$portid = $_SESSION['portid'];
$wood = new wood($portid);
$wood->release();
$stuff_array = $wood->stuff;
//树种
?>
<section>
	<form action="" method="get">
		<ul class="flex selectWrapper">
		    <li>
				<select class="selectItem"  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>";