【php开源代码栏目提醒】:网学会员在php开源代码频道为大家收集整理了compass_point_search.php提供大家参考,希望对大家有所帮助!
</html>
<head>
<title>~{EL5cCwO81m2iQ/~}</title>
</head>
<meta http-equiv="Content-Language" content="zh-tw">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<script language="JavaScript" src="navcond.js"></script>
<script language="
JavaScript" src="navbarmenu.js"></script>
<br><br><br>
<body background="images/0021.gif" leftmargin="150">
<font face="~{1j?,Le~}">
<h2 align=left>~{EL5cCwO81m2iQ/~}</h2>
<br><br>
<form action="compass_point_search.php" method="post" >
<strong><~{RTDZH]KQQ0~}></strong><br>
~{2iQ/Lu<~#:~}
<SELECT name="rule1">
<option>
<OPTION value='dep'>~{3I1>VPPD~}
</SELECT>
~{KcJ=#:~}
<SELECT name="oper1">
<option>
<OPTION value='like'>~{0|:,~}
</select>
~{9X<|WV#:~}
<input type="TEXT" name="keyword1" size='12'>
if ($keyword1 !== "")
{
$sym1="%";
$sym2="%";
$sym3="'";
$key
word1= "$sym3$sym1$keyword1$sym2$sym3";
}
?>
<br><br>
<input type="submit" value=" ~{H7HO~} "> <input type="reset" value=" ~{Ge3}~} ">
</form>
<hr><br>
<form>
<b><~{2iQ/=a9{~}></b><br>
<?
$link=mysql_connect('localhost','root','123456');
mysql_select_db('fams');
$str=" select * from creasset where ".$rule1." ".$oper1." ".$keyword1." and status='~{9+K>WJ2z~}' ;";
//echo "$str";
echo "<br>";
$result=my
sql_query($str,$link);
if ($result=
mysql_query($str,$link))
{
echo"<table border=2 cellspacing='1' cellpadding='1' width='750' bordercolor='#999999'>";
echo"<tr align=center><td width=100>~{WJ2z1`:E~}</td><td width=100>~{WJ2z@`1p~}</td><td width=100>~{WJ2zC{3F~}</td><td width=100>~{J}A?~} </td><td width=50>~{5%N;~}</td><td width=100>~{1#9\HK~}</td><td width=100>~{3I1>VPPD~}</td><td width=100>~{KyTZN;VC~}</td>";
echo "</table>";
while ($row=mysql_fetch_array($result,MYSQL_NUM))
{
echo"<table border=2 cellspacing='1' cellpadding='1' width='750' bordercolor='#999999'>";
echo "<tr align=center><td width=82>".$row[0]."</td><td width=82>".$row[1]."</td><td width=80>".$row[2]."</td><td width=81>".$row[3]."</td><td width=40>".$row[4]."</td><td width=80>".$row[5]."</td><td width=80>".$row[8]."</td><td width=80>".$row[9]."</td>";
echo "</table>";
}
}
mysql_close($link); //~{9X1UA,=a~}
?>
<BR>
<INPUT onclick="document.execCommand('print','true','true')" type=button value=~{APS!~}>
</form>
</font>
</body>
</html>