chengjixinxi_updtlb.php

(开头部分) 3KB

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

<?php 
$id=$_GET["id"];
include_once 'conn.php';
$ndate =date("Y-m-d");
$addnew=$_POST["addnew"];
if ($addnew=="1" )
{

	$kechengpingjia=$_POST["kechengpingjia"];
	
	$sql="update chengjixinxi set kechengpingjia='$kechengpingjia' where id= ".$id;
	mysql_query($sql);
	echo "<script>javascript:alert('操作成功!');location.href='sy.php';</script>";
}
?>

<!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=gb2312" />
<title>设置成绩信息</title>

<link rel="stylesheet" href="css.css" type="text/css">
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
</head>
<script language="javascript">
	
	
	function OpenScript(url,width,height)
{
  var win = window.open(url,"SelectToSort",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
	function OpenDialog(sURL, iWidth, iHeight)
{
   var oDialog = window.open(sURL, "_EditorDialog", "width=" + iWidth.toString() + ",height=" + iHeight.toString() + ",resizable=no,left=0,top=0,scrollbars=no,status=no,titlebar=no,toolbar=no,menubar=no,location=no");
   oDialog.focus();
}
</script>

<body>
<p>设置成绩信息: 当前日期: <?php echo $ndate; ?></p>
<?php
$sql="select * from chengjixinxi where id=".$id;
$query=mysql_query($sql);
$rowscount=mysql_num_rows($query);
if($rowscount>0)
{
?>
<form id="form1" name="form1" method="post" action="">
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF" style="border-collapse:collapse"> 

      <tr style='display:none'><td>培训编号:</td><td><input name='peixunbianhao' type='text' id='peixunbianhao' value='<?php echo mysql_result($query,0,peixunbianhao);?>' /></td></tr>
      <tr style='display:none'><td>培训师:</td><td><input name='peixunshi' type='text' id='peixunshi' value='<?php echo mysql_result($query,0,peixunshi);?>' /></td></tr>
      <tr style='display:none'><td>机构名称:</td><td><input name='jigoumingcheng' type='text' id='jigoumingcheng' value='<?php echo mysql_result($query,0,jigoumingcheng);?>' /></td></tr>
      <tr style='display:none'><td>培训名称:</td><td><input name='peixunmingcheng' type='text' id='peixunmingcheng' value='<?php echo mysql_result($query,0,peixunmingcheng);?>' /></td></tr>
      <tr style='display:none'><td>培训岗位:</td><td><input name='peixungangwei' type='text' id='peixungangwei' value='<?php echo mysql_result($query,0,peixungangwei);?>' /></td></tr>
      <tr style='display:none'><td>员工:</td><td><input name='yuangong' type='text' id='yuangong' value='<?php echo mysql_result($query,0,yuangong);?>' /></td></tr>
      <tr style='display:none'><td>部门:</td><td><input name='bumen' type='text' id='bumen' value='<?php echo mysql_result($query,0,bumen);?>' /></td></tr>
      <tr style='display:none'><td>成绩:</td><td><input name='chengji' type='text' id='chengji' value='<?php echo mysql_result($query,0,chengji);?>' /></td></tr>
      <tr><td>课程评价:</td><td><input name='kechengpingjia' type='text' id='kechengpingjia' value='<?php echo mysql_result($query,0,kechengpingjia);?>' /></td></tr>
后面还有 19 行代码,购买后查看完整代码

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

AI 解读 AI

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

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