📄 rightf.php
字号:
echo ">".$textarray["optiontext"]."<br>";
}
echo "<center><input type=\"button\" value=\"我要投票\" onClick=\"vote_onclick();return false\"> <input type=\"button\" value=\"查看结果\" onClick=\"view_onclick();return false\"></center>";
echo "<input type=\"hidden\" name=\"pollid\" value=\"".$queryid."\">";
/////////////////
}else{
echo '<div align="center">论坛无</div>';
}
/////////////////
echo "</form>";
?>
</td>
<td background="images/box_b.gif" width="4"></td>
</tr>
<tr>
<td colspan="3"><img src="images/index_r18_c20.png" width="183" height="4"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="8"> </td>
<td width="357">
<table width="356" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/public.png" width="139" height="19"></td>
</tr>
<tr>
<td height="80">
<?php
$query=mysql_query('select subject,date,id from infor order by id desc LIMIT 5',$conn);
while ($array=mysql_fetch_array($query)){
printf('<img src="images/kuai.gif" width="8" height="8"><a href="javascript:disppub(%d)">%s</a> [%s]<br>',$array["id"],$array["subject"],$array["date"]);
}
?>
</td>
</tr>
<tr>
<td>
<div align="right"><a href="morepub.php?userid=<?php echo $userid;?>"><img src="images/more.png" width="81" height="12" border="0"></a></div>
</td>
</tr>
<tr>
<td background="images/lineh.gif" height="3"><img src="images/spacer.gif" width="20" height="1"></td>
</tr>
<tr>
<td height="3"><img src="images/spacer.gif" width="123" height="1"></td>
</tr>
<tr>
<td><img src="images/news.png" width="139" height="19"></td>
</tr>
<tr>
<td height="80">
<?php
$query=mysql_query('select title,date,id from news order by id desc LIMIT 5',$conn);
while ($array=mysql_fetch_array($query)){
printf('<img src="images/kuai.gif" width="8" height="8"><a href="javascript:dispnews(%d)">%s</a> [%s]<br>',$array["id"],$array["title"],$array["date"]);
}
?>
</td>
</tr>
<tr>
<td>
<div align="right"><a href="morenews.php?userid=<?php echo $userid;?>"><img src="images/more.png" width="81" height="12" border="0"></a></div>
</td>
</tr>
<tr>
<td height="3" background="images/lineh.gif"><img src="images/spacer.gif" width="20" height="1"></td>
</tr>
<tr>
<td height="3"><img src="images/spacer.gif" width="123" height="1"></td>
</tr>
<tr>
<td height="3"><img src="images/classbc.gif" width="139" height="19"></td>
</tr>
<tr>
<td height="80">
<?php
$query=mysql_query('select * from classbc ORDER BY senddt DESC, id desc LIMIT 5',$conn);
while ($array=mysql_fetch_array($query)){
printf('<img src="images/kuai.gif" width="8" height="8"><a href="javascript:dispbc(%d,%d)">%s</a> [%s]<br>',$array["id"],$userid,$array["title"],$array["senddt"]);
}
?>
</td>
</tr>
<tr>
<td height="3">
<div align="right"><a href="moreclassbc.php?userid=<?php echo $userid;?>"><img src="images/more.png" width="81" height="12" border="0"></a></div>
</td>
</tr>
<tr>
<td height="3" background="images/lineh.gif"><img src="images/spacer.gif" width="123" height="1"></td>
</tr>
<tr>
<td height="3"><img src="images/spacer.gif" width="123" height="1"></td>
</tr>
<tr>
<td height="3"><img src="images/meet.gif" width="139" height="19"></td>
</tr>
<tr>
<td height="80">
<?php
$query=mysql_query('select * from meet ORDER BY pubdate DESC, id desc LIMIT 5',$conn);
while ($array=mysql_fetch_array($query)){
printf('<img src="images/kuai.gif" width="8" height="8"><a href="javascript:dispfile(%d,%d)">%s</A> [%s]<br>',$array["id"],$userid,$array["title"],$array["pubdate"]);
}
?>
</td>
</tr>
<tr>
<td height="3">
<div align="right"><a href="meetadmin.php?userid=<?php echo $userid;?>"><img src="images/more.png" width="81" height="12" border="0"></a></div>
</td>
</tr>
<tr>
<td height="3" background="images/lineh.gif"><img src="images/spacer.gif" width="123" height="1"></td>
</tr>
<tr>
<td height="3"><img src="images/spacer.gif" width="123" height="1"></td>
</tr>
<tr>
<td><img src="images/searchman.png" width="139" height="19"></td>
</tr>
<tr>
<td height="80">
<?php
$query=mysql_query('select id,searchwho,date,name from searchman order by id desc LIMIT 5',$conn);
while ($array=mysql_fetch_array($query)){
printf('<img src="images/kuai.gif" width="8" height="8"><a href="javascript:dispfind(%d,%d)">%s 要找 %s</A> [%s]<br>',$array["id"],$userid,$array["name"],$array["searchwho"],$array["date"]);
}
?>
</td>
</tr>
<tr>
<td>
<div align="right"><a href="moreschman.php?userid=<?php echo $userid;?>"><img src="images/more.png" width="81" height="12" border="0"></a></div>
</td>
</tr>
<tr>
<td background="images/lineh.gif" height="3"><img src="images/spacer.gif" width="20" height="1"></td>
</tr>
<tr>
<td height="3"><img src="images/spacer.gif" width="123" height="1"></td>
</tr>
<tr>
<td><img src="images/birthday.png" width="139" height="19"></td>
</tr>
<tr>
<td height="45">
<?php
$birquery="select name,studentnumber from zmis41197 where birthday like '______$birthday1' or birthday like '______$birthday2'";
////$birquery="select name,studentnumber from zmis41197 where birthday like '______$birthday1'";
//$birquery="select name,studentnumber from zmis41197 where birthday like '______7月11日' or birthday like '______07月11日'";
$query=@mysql_query($birquery,$conn)or die("#1");
$birrows=mysql_num_rows($query);
if($birrows==0)$textout="今天没有老同学过生日。<br>";
echo " ";
if($birrows!=0){
echo "今天是:";
}else {
echo $textout;
}
while ($array=mysql_fetch_array($query)){
printf('%s ',$array["name"]);
}
if($birrows!=0) echo "同学的生日,我们在这里祝老同学生日快乐!!<br>";
?>
</td>
</tr>
<tr>
<td background="images/lineh.gif" height="3"><img src="images/spacer.gif" width="20" height="1"></td>
</tr>
<tr>
<td height="3"><img src="images/spacer.gif" width="123" height="1"></td>
</tr>
</table>
</td>
<td width="9"> </td>
<td width="1" background="images/lines.gif"><img src="images/spacer.gif" width="1" height="123"></td>
<td width="9"> </td>
</tr>
</table>
<br>
</td>
<td background="images/box2.gif"><img name="box2" src="images/box2.gif" width="5" height="1" border="0"></td>
<td rowspan="6" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="15" height="330" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td background="images/box2.gif"><img name="right_r7_c13" src="images/right_r7_c13.gif" width="5" height="301" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="301" border="0"></td>
</tr>
<tr>
<td rowspan="3" colspan="4"><img name="right_r8_c3" src="images/right_r8_c3.gif" width="100" height="21" border="0"></td>
<td colspan="4"><img name="right_r8_c7" src="images/right_r8_c7.gif" width="380" height="3" border="0"></td>
<td rowspan="3" colspan="3"><img name="right_r8_c11" src="images/right_r8_c11.gif" width="100" height="21" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="3" border="0"></td>
</tr>
<tr>
<td colspan="4" bgcolor="#dcf6ce"><img src="images/copyright.gif" width="380" height="14" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="14" border="0"></td>
</tr>
<tr>
<td colspan="4"><img name="right_r10_c7" src="images/right_r10_c7.gif" width="380" height="4" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="4" border="0"></td>
</tr>
<tr>
<td colspan="11" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="580" height="7" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="7" border="0"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -