Exemplo n.º 1
0
header("Content-type:text/html;charset=utf-8");
require_once "../web.config.php";
require_once $realLibPath . "model/image.model.php";
require_once $realLibPath . "model/dict.model.php";
$img = new Image();
$id = $_POST['id'];
echo "我的id:" . $id;
//$dataArray=$article->query(array("id"=>6),array())[0];
//echo $dataArray;
$dataArray = current($img->query(array("ID" => $id), array()));
$imgCatArray = $img->getImgCat();
//var_dump($dataArray);
//@$currentPage = $_POST['currentPage'];
$imgArray = $img->query(array(), array());
$dict = new Dict();
$tplb = $dict->query(array("lxjp" => "tplb"), array("code", "name"));
//var_dump($tplb);
?>
<style>
     #tab2 li{
            float:left;
            margin:5px;
        }
      #tab2 li span{
            position:absolute;
            left:70px;
            top:70px;
        }
      #tab2 li img{
            width:90px;
            height:90px;
Exemplo n.º 2
0
                <div class="am-form-group" style="height:43px;">
                    <label class="am-u-sm-2">图片</label>
                    <div class="am-u-sm-4 am-u-end am-form-group am-form-icon">
                      <div class="am-input-group">
          			          <input type="text" id="images_addImage_URL" />
                          <span class="am-input-group-btn"><button id="images_addImage_upload" class="am-btn am-btn-default"><i class="am-icon-cloud-upload"></i></button></span>
                      </div>
						           <input type="hidden" id="images_addImage_imgID"/>
                    </div>
                </div>
                <div class="am-form-group" style="height:43px;">
                    <label class="am-u-sm-2">类别</label>
                    <div class="am-u-sm-4 am-u-end">
					<select id="images_addImage_catID" >
					<?php 
foreach ($dict->query(array('status' => 'Y', 'lxjp' => 'tplb'), array('code', 'name')) as $item) {
    ?>
						<option value="<?php 
    echo $item['code'];
    ?>
"><?php 
    echo $item['name'];
    ?>
</option>
					<?php 
}
?>
					</select>
                    </div>
                </div>
                <div class="am-form-group" >
Exemplo n.º 3
0
<?php

if (!isset($_SESSION['userName'])) {
    session_start();
}
require_once "../admin/web.config.php";
require_once $realLibPath . 'model/dict.model.php';
require_once $realLibPath . "model/user.model.php";
$user = new User();
if (@$_SESSION['userName']) {
    $userID = $user->getID($_SESSION['userName']);
} else {
    $userID = 'login';
}
$dict = new Dict();
$postModeArray = $dict->query(array('status' => 'Y', 'lxjp' => 'postMode'), array());
?>
<!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=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>订单确认</title>
<link rel="stylesheet" media="all" type="text/css" href="../css/head.css" />
<link rel="stylesheet" media="all" type="text/css" href="../css/link.css" />
<link rel="stylesheet" media="all" type="text/css" href="../css/tail.css" />
<link rel="stylesheet" media="all" type="text/css" href="../css/style.css" />
<link rel="stylesheet" media="all" type="text/css" href="../css/user.css" />
<link rel="stylesheet" media="all" type="text/css" href="../css/menus.css" />
<script src="../js/jquery.min.js" type="text/javascript"></script>
<script src="../js/jquery-1.4.2.min.js"></script>