haoyouxinxiadd.php

(开头部分) 8KB

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

<?php
session_start();
 if($_SESSION["username"]=="")
 {
	echo "<script>javascript:alert('对不起,请您先登陆!');location.href='index.php';</script>";
	exit;
 }
include_once 'conn.php';
$ndate =date("Y-m-d");
$addnew=$_POST["addnew"];
if ($addnew=="1" )
{
	$zhanghao=$_POST["zhanghao"];
    $xingming=$_POST["xingming"];
    $xingbie=$_POST["xingbie"];
    $fenzu=$_POST["fenzu"];
    $tianjiaren=$_POST["tianjiaren"];
    $beizhu=$_POST["beizhu"];
    
	//ischongfu("select id from haoyouxinxi where tianjiaren='".$tianjiaren."'");
	$sql="insert into haoyouxinxi(zhanghao,xingming,xingbie,fenzu,tianjiaren,beizhu) values('$zhanghao','$xingming','$xingbie','$fenzu','$tianjiaren','$beizhu') ";
	mysql_query($sql);
	echo "<script>javascript:alert('操作成功!');location.href='index.php';</script>";
}
?>
<html>
<head>
<title>个人网站</title>
<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: #2B4748}
body {
	background-color: #8FBBBA;
}
.STYLE2 {
	color: #FFFFFF;
	font-weight: bold;
}
.STYLE7 {color: #993300; font-weight: bold; }
-->
</style>
</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>
<script language="javascript">
	function check()
{
后面还有 128 行代码,购买后查看完整代码

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

AI 解读

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

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