3 Star 0 Fork 0

刘晨/weixin_gaozhongyuyue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
222.php 9.17 KB
一键复制 编辑 原始数据 按行查看 历史
刘晨 提交于 2014-10-08 18:17 . gaozhong yuyue creat
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>新东方优能高中预约数据页面</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="新东方优能高中预约数据页面">
<meta name="keywords" content="新东方优能高中预约数据页面">
<meta name="author" content="XIAN Neworiental School Infomatiom Dept.">
<!-- Le styles -->
<link href="css/xian.css" rel="stylesheet">
<link href="css/xian-responsive.css" rel="stylesheet">
<link href="css/docs.css" rel="stylesheet">
<link href="js/google-code-prettify/prettify.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="../js/html5shiv.js"></script>
<![endif]-->
<style type="text/css">
.body1{
margin:0px auto;
float:none;
}
.teacher_all{
padding:10px 0px;
width:450px;
display:block;
outline:hidden;
overflow:hidden;
float:left;
}
.teacher_all2{
padding:10px 0px;
width:460px;
display:block;
outline:hidden;
overflow:hidden;
float:left;
}
.teacher_title{
margin:0 10px;
border:5px solid #3287C2;
width:95%;
overflow:hidden;
display:block;
background-color:#5EC4FF;
font-size:48px;
color:#ffffff;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
padding:15px;
text-align:center;
font-weight:bold;
}
.teacher_title2{
margin:0 auto;
border:1px solid #f60;
width:95%;
margin:10px 10px;
overflow:hidden;
display:block;
background-color:#FF986A;
font-size:48px;
color:#ffffff;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
padding:15px;
text-align:center;
font-weight:bold;
}
.teacher{
border:1px solid #09F;
width:420px;
overflow:hidden;
display:block;
margin:10px 2px;
font-size:12px;
padding:10px 10px;
}
.teacher img{
float:left;
margin-top:5px;
margin-right:10px;
}
.teacher span{
line-height:20px;
color:#09f;
}
.teacher2{
border:1px solid #f60;
width:420px;
overflow:hidden;
display:block;
margin:10px 2px;
font-size:12px;
padding:10px 10px;
outline:hidden;
}
.teacher2 img{
float:right;
margin-top:5px;
margin-right:10px;
}
.teacher2 span{
line-height:20px;
color:#F60;
}
.table_orange {
border-left:#fff 3px solid;
border-bottom:#fff 3px solid;
margin:20px auto;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:12px;
text-align:center;
color:#666;
}
.table_orange tr td{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
padding:5px;
background-color:#FDE4D0;
}
.table_orange tr th{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
text-align:center;
padding:5px;
background-color:#F79646;
}
.table_green {
border:8px;
border-left:#fff 3px solid;
border-bottom:#fff 3px solid;
margin:20px auto;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:15px;
text-align:center;
color:black;
}
.table_green tr td{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
padding:10px;
background-color:#C1F0C3;
}
.table_green tr th{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
text-align:center;
color:#ffffff;
padding:10px;
background-color:#1ABC9C;
}
.table_blue {
border-left:#fff 3px solid;
border-bottom:#fff 3px solid;
border-top:#fff 3px solid;
margin:20px auto;
font-family:SimSun,Verdana, Geneva, sans-serif;
color:#666;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:12px;
text-align:center;
}
.table_blue tr td{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
text-align:center;
padding:5px;
background-color:#D8F0FF;}
.table_blue tr th{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
text-align:center;
padding:5px;
background-color:#39F;
}
.table_blue tr .tt{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
text-align:center;
padding:5px;
background-color:#64BDE7;
}
.table_blue tr .tp{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
text-align:center;
padding:5px;
background-color:#ffffff;
}
.table_purple {
border-left:#fff 3px solid;
border-bottom:#fff 3px solid;
border-top:#fff 3px solid;
margin:20px auto;
font-family:SimSun,Verdana, Geneva, sans-serif;
color:#666;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:12px;
text-align:center;
}
.table_purple tr td{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
text-align:center;
padding:5px;
background-color:#E5D4FF;}
.table_purple tr th{
border-right:#fff 3px solid;
border-top:#fff 3px solid;
text-align:center;
padding:5px;
background-color:#A477FF;
}
.span_title_orange{
text-align:center;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:14px;
color:#F60;
border:0px;
font-weight:bold;
}
.span_title_purple{
text-align:left;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:16px;
color:#63C;
border:0px;
font-weight:bold;
}
.span_title_purple_bold{
text-align:center;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:14px;
color:#fff;
margin-bottom:20px;
border:0px;
font-weight:bold;
}
.span_title_white_bold{
text-align:center;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:26px;
color:#fff;
margin-bottom:20px;
border:0px;
font-weight:bold;
}
.span_title_blue{
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:16px;
text-align:center;
font-weight:bold;
color:#0066ff;
margin-bottom:20px;
}
.span_title_blue2{
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:14px;
text-align:middle;
font-weight:bold;
color:#0066ff;
margin-bottom:20px;
}
.span_title_red{
display:inline;
text-align:middle;
padding:5px;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:14px;
font-weight:bold;
color:#f00;
margin-bottom:20px;
}
.span_title_green{
display:inline;
text-align:middle;
padding:5px;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:14px;
font-weight:bold;
color:#033;
}
.span_title_green_small{
display:inline;
text-align:middle;
padding:5px;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:12px;
font-weight:bold;
color:#033;
}
.span_title_green_light{
text-align:middle;
padding:5px;
font-family:"Microsoft YaHei",SimSun,Verdana, Geneva, sans-serif;
font-size:14px;
font-weight:bold;
color:#096;
}
.submit_orange {
color: #f00;
}
.submit_orange a:link {
color: #f00;
text-decoration: none;
}
.submit_orange a:visited {
color: #f00;
text-decoration: none;
}
.submit_orange a:hover {
color: #ffffff;
background-color: #f00;
font-weight:bold;
}
.submit_blue {
color: #39F;
text-decoration: none;
font-weight:bold;
}
.submit_blue a:link {
color: #39F;
text-decoration: none;
font-weight:bold;
}
.submit_blue a:visited {
color: #39F;
text-decoration: none;
font-weight:bold;
}
.submit_blue a:hover {
color: #ffffff;
background-color: #39F;
padding:5px;
font-weight:bold;}
.nofloat{
float:none;}
#seven{
width: 1200px;
height: 120px;
background-color: #32CD99;
margin: auto;
color: black;
border-bottom: dashed 1px white;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
text-align:center;
}
</style>
<!--集团统计开始-->
<!--neworiental全站异步 google分析开始-->
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20005525-1']);
_gaq.push(['_setDomainName', '.xdf.cn']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_addOrganic', 'soso', 'w']);
_gaq.push(['_addOrganic', 'yodao', 'q']);
_gaq.push(['_addOrganic', 'sogou', 'query']);
_gaq.push(['_addOrganic', 'gougou', 'search']);
_gaq.push(['_addOrganic', 'so.360.cn', 'q']);
_gaq.push(['_trackPageview']);
</script>
<!-- google分析结束-->
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar">
<div class="teacher_title">
<h1>新东方优能高中预约数据页面</h1>
</div>
<?php
/* 连接选择数据库 */
$link = mysql_connect("xaxdfdata.mysql.rds.aliyuncs.com:3306", "xaxdfhr", "wearetheworld1985")
or die("Could not connect : " . mysql_error());
$link = mysql_query("SET NAMES 'UTF8'");
print "<font color=\"white\">Connected successfully!</font>";
mysql_select_db("dbd86kw9q83xzn72") or die("Could not select database");
/* 执行 SQL 查询 */
$query = "SELECT * FROM gaozhongyuyue";
$result = mysql_query($query) or die("Query failed : " . mysql_error());
/* 在 HTML 中打印结果 */
print "<table class=\"table_green\">\n";
print "<tr><th>序号</th><th>时间</th><th>姓名</th><th>电话</th><th>场次</th></tr>\n";
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)){
print "\t<tr>\n";
foreach ($line as $col_value) {
print "<td>$col_value</td>";
}
print "</tr>\n";
}
print "</table>\n";
/* 释放资源 */
mysql_free_result($result);
/* 断开连接 */
$link = mysql_close();
?>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/liuchen9/weixin_gaozhongyuyue.git
[email protected]:liuchen9/weixin_gaozhongyuyue.git
liuchen9
weixin_gaozhongyuyue
weixin_gaozhongyuyue
master

搜索帮助