1 Star 1 Fork 1

gujiejing / WEBWMS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test4.php 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
gujiejing 提交于 2018-04-10 09:27 . ewed
<?PHP
if(!isset($_SESSION)){
session_start();
}
/*
if(empty($_SESSION['ABC'])){}else{
echo $_SESSION['ABC'];
$a1 = $_SESSION['BBB'];
array_push($a1,"AAAAA");
print_r($a1);
}
$str1="abc";
echo rtrim($str1,"c");
*/
//echo '<img src="./barcodegen/php1d.php?text=aaabbb"/>';
//echo date("Ymdhis",time());
?>
<!doctype html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>test4</title>
<link rel="stylesheet" type="text/css" href="./jquery-ui.min.css">
<style>
label, input { display:block; }
input.text { margin-bottom:12px; width:95%; padding: .4em; }
fieldset { padding:0; border:0; margin-top:25px; }
h1 { font-size: 1.2em; margin: .6em 0; }
div#users-contain { width: 350px; margin: 20px 0; }
div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
.ui-dialog .ui-state-error { padding: .3em; }
.validateTips { border: 1px solid transparent; padding: 0.3em; }
</style>
<script type="text/javascript"
src="./jquery.min.js"></script>
<script type="text/javascript"
src="./jquery.easyui.min.js"></script>
<script type="text/javascript"
src="./ui/jquery-ui.js"></script>
<script type="text/javascript">
$(function(){
var dialog;
dialog = $("#dialog-form").dialog({
autoOpen:false,
height:400,
width:350,
modal:true,
buttons:{
Cancel:function(){
dialog.dialog("close");
}
},
close:function(){
console.log("close");
}
});
$( "#btn1" ).button().on( "click", function() {
dialog.dialog( "open" );
});
});
</script>
</head>
<body>
test4
<div id="dialog-form" title="test4">
<p class="validateTips">test4</p>
<form>
<fieldset>
<label for="name">Name</label>
<input type="text" name="name" id="name" value="Jane Smith" class="text ui-widget-content ui-corner-all">
</fieldset>
</form>
</div>
<br>
<button id="btn1">click me</button>
</body>
</html>
PHP
1
https://gitee.com/laotou99_admin/WEBWMS.git
git@gitee.com:laotou99_admin/WEBWMS.git
laotou99_admin
WEBWMS
WEBWMS
master

搜索帮助