toupiao.php

(开头部分) 8KB

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

<?php
session_start();
if($_SESSION["username"]=="")
{
	echo "<script>javascript:alert('对不起,请您先登陆!');location.href='index.php';</script>";
	exit;
}
include_once 'conn.php';
$tp=$_POST["tp"];
if ($tp=="1" )
{
	$xxa=$_POST["xxa"];
	$sql="insert into toupiaojilu(xx,addby) values('$xxa','".$_SESSION['username']."') ";
	mysql_query($sql);
	echo "<script>javascript:alert('投票成功!');location.href='toupiao.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">
<!--
.STYLE4 {color: #FFFFFF; font-weight: bold; }
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="993" height="1092" 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="993" height="846" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top"><?php include_once 'qtleft.php';?></td>
            <td height="830" valign="top"><table id="__01" width="785" height="830" border="0" cellpadding="0" cellspacing="0">
              
              <tr>
                <td valign="top"><table width="785" height="833" border="0" cellpadding="0" cellspacing="0" id="__01">
                  <tr>
                    <td width="785" height="40" background="qtimages/1_02_02_02_01.jpg"><table width="100%" height="19" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="12%" align="center" valign="bottom"><span class="STYLE4">在线投票</span></td>
                        <td width="74%" valign="bottom">&nbsp;</td>
                        <td width="14%" valign="bottom" class="STYLE4"></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td height="760" valign="top"><table id="__01" width="785" height="100%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="19" background="qtimages/1_02_02_02_02_01.jpg">&nbsp;</td>
                        <td width="737" height="176" valign="top"><p align="center">&nbsp;</p>                          
                          <form name="form1" method="post" action="">
                            <table width="97%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#3399ff" style="border-collapse:collapse">
                              <tr>
                                <td height="33" align="center"><strong>您认为我站做得怎么样?</strong></td>
                              </tr>
后面还有 138 行代码,购买后查看完整代码

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

AI 解读

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

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