yuyuejiluadd.php

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php
session_start();
if($_SESSION["username"]=="")
{
	echo "<script>javascript:alert('对不起,请您先登陆!');location.href='index.php';</script>";
	exit;
}
include_once 'conn.php';
$id=$_GET["id"];
$addnew=$_POST["addnew"];
if ($addnew=="1" )
{
	$gonghao=$_POST["gonghao"];$xingming=$_POST["xingming"];$zhujiaokecheng=$_POST["zhujiaokecheng"];$dianhua=$_POST["dianhua"];$yuyueshijian=$_POST["yuyueshijian"];$yuyueren=$_POST["yuyueren"];$yuyuedidian=$_POST["yuyuedidian"];$beizhu=$_POST["beizhu"];
	//ischongfu("select id from yuyuejilu where yuyueren='".$yuyueren."'");
	$sql="insert into yuyuejilu(gonghao,xingming,zhujiaokecheng,dianhua,yuyueshijian,yuyueren,yuyuedidian,beizhu) values('$gonghao','$xingming','$zhujiaokecheng','$dianhua','$yuyueshijian','$yuyueren','$yuyuedidian','$beizhu') ";
	mysql_query($sql);
	echo "<script>javascript:alert('操作成功!请待教师回复');location.href='index.php';</script>";
}
?>
<html>
<head>
<title>教师信息查询与预约系统</title><script language="javascript" src="js/Calendar.js"></script>
<LINK href="qtimages/style.css" type=text/css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.STYLE1 {	color: #396342;
	font-weight: bold;
}
.STYLE7 {color: #993300; font-weight: bold; }
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="916" height="1185" border="0" align="center" cellpadding="0" cellspacing="0" id="__01">
	<tr>
		<td><?php include_once 'qttop.php';?></td>
	</tr>
	<tr>
		<td><table id="__01" width="916" height="838" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top"><?php include_once 'qtleft.php';?></td>
            <td valign="top"><table id="__01" width="703" height="838" border="0" cellpadding="0" cellspacing="0">
              
              
              <tr>
                <td width="703" valign="top"><table id="__01" width="703" height="218" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="703" height="37" background="qtimages/2_02_02_03_01.jpg"><table width="100%" height="18" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="19%" height="18" align="center" valign="bottom"><span class="STYLE1">在线预约</span></td>
                        <td width="81%">&nbsp;</td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td><table id="__01" width="703" height="171" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="9" background="qtimages/2_02_02_03_02_01.jpg">&nbsp;</td>
                        <td width="680" height="789" valign="top"><?php
后面还有 98 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。