⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rightf.php

📁 php做的一个同学录网站,功能齐全. 后台管理非常方便,有需要的同学可以下载测试.
💻 PHP
字号:
<?php
include("pwdsuper.php");
include("connect.inc.php");
include("char.inc.php");
  $birthday1=date("n月j日");//不补零
  $birthday2=date("m月d日");//补零
$query=mysql_query("select * from message where (msgtoid=".$userid." && readed=0)",$conn);
$msgcount=mysql_num_rows($query);
$query=mysql_query("select * from invite where (snto=".$userid." && readed=0)",$conn);
$invcount=mysql_num_rows($query);
$query=mysql_query("select * from bringlawsuitbox where readed=0",$conn);
$blsbcount=mysql_num_rows($query);
$birquery="select name,studentnumber from zmis41197 where birthday like '______$birthday1' or birthday like '______$birthday2'";
$query=@mysql_query($birquery,$conn)or die("#1");
$birrows=mysql_num_rows($query);
if($birrows!=0)$textout="今天是:";
while ($array=mysql_fetch_array($query)){
$textout=$textout.'<font color="#FF0000">'.$array["name"].'</font>&nbsp;';
}
if($birrows!=0)$textout=$textout."同学的生日,我们在这里祝老同学生日快乐!!";
if($birrows==0)$textout="今天没有老同学过生日。";
 ?>
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
 <!--
 function dispphoto(vid,uid) {
   window.open('photodisp.php?id='+vid+'&userid='+uid,'photofile','resizable=1,scrollbars=1,width=450,height=450');
 }
 function photoload(vid,ext) {
   window.open('photoload.php?mid=class&id='+vid+'&ext='+ext,'photoload','resizable=1,scrollbars=1,width=320,height=245');
 }
 function openw(url,n,w,h) {
   window.open(url,n,'resizable=1,scrollbars=1,width='+w+',height='+h)
 }
 function confirmdel(url) {
   if (confirm('确定要删除这个文件么?')) {
     top.location=url;
   }
 }
 function checksubmit() {
   if (form1.s.value=='') {
     form1.s.focus();
     return false;
   }
 }
 function high(which2){
 theobject=which2
 highlighting=setInterval("highlightit(theobject)",50)
 }
 function low(which2){
 clearInterval(highlighting)
 which2.filters.alpha.opacity=60
 }
 function highlightit(cur2){
 if (cur2.filters.alpha.opacity<100)
 cur2.filters.alpha.opacity+=10
 else if (window.highlighting)
 clearInterval(highlighting)
 }
 //-->
 </script>
<style type="text/css">
<!--
td{font-size:12px;line-height:17px;}
a:active {text-decoration: none;}
a:link {text-decoration: none;}
a:hover{text-decoration: underline;}
a:visited {text-decoration: none;}
BODY{font-size:12px;line-height:17px;SCROLLBAR-FACE-COLOR: #83d160; SCROLLBAR-HIGHLIGHT-COLOR: #CCFF00; SCROLLBAR-SHADOW-COLOR: #CCFF00; SCROLLBAR-3DLIGHT-COLOR: #009900; SCROLLBAR-ARROW-COLOR:  #006600; SCROLLBAR-TRACK-COLOR: ##99FF00; SCROLLBAR-DARKSHADOW-COLOR: #009900; }
-->
</style>
<title>::::集中营社区::::</title>
<meta http-equiv="Content-Type" content="text/html;">
<!-- Fireworks 4.0  Dreamweaver 4.0 target.  Created Wed Mar 20 14:48:27 GMT+0800 (?D1ú±ê×?ê±??) 2002-->
</head>
<body bgcolor="#dcf6ce" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" text="#666600" link="#009900" alink="#00FF00" vlink="#006600">
<table border="0" cellpadding="0" cellspacing="0" width="621">
<!-- fwtable fwsrc="无标题" fwbase="right.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <tr>
   <td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="15" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="2" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="38" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="55" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="82" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="96" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="87" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="115" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="65" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="30" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="15" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
  </tr>

  <tr>
   <td colspan="15" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="621" height="5" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="5" border="0"></td>
  </tr>
  <tr>
   <td colspan="4" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="27" height="19" border="0"></td>
   <td colspan="3"><img name="right_r2_c5" src="images/right_r2_c5.gif" width="175" height="19" border="0"></td>
   <td colspan="8" bgcolor="#dcf6ce"><div align="right">::::集中营社区::::&nbsp;&nbsp;</div></td>
   <td><img src="images/spacer.gif" width="1" height="19" border="0"></td>
  </tr>
  <tr>
   <td rowspan="9" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="5" height="425" border="0"></td>
   <td colspan="3"><img name="right_r3_c2" src="images/right_r3_c2.gif" width="22" height="16" border="0"></td>
    <td colspan="2" bgcolor="#83d160"><img src="images/spacer.gif" width="93" height="16" border="0"></td>
   <td><img name="right_r3_c7" src="images/right_r3_c7.gif" width="82" height="16" border="0"></td>
   <td><img name="right_r3_c8" src="images/right_r3_c8.gif" width="96" height="16" border="0"></td>
   <td><img name="right_r3_c9" src="images/right_r3_c9.gif" width="87" height="16" border="0"></td>
   <td><img name="right_r3_c10" src="images/right_r3_c10.gif" width="115" height="16" border="0"></td>
   <td colspan="3"><img name="right_r3_c11" src="images/right_r3_c11.gif" width="100" height="16" border="0"></td>
   <td><img name="right_r3_c14" src="images/right_r3_c14.gif" width="15" height="16" border="0"></td>
   <td rowspan="9" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="6" height="425" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="16" border="0"></td>
  </tr>
  <tr>
   <td colspan="3"><img name="right_r4_c2" src="images/right_r4_c2.gif" width="22" height="60" border="0"></td>
   <td><img name="right_r4_c5" src="images/right_r4_c5.gif" width="38" height="60" border="0"></td>
   <td colspan="6" bgcolor="#dcf6ce"><img src="images/ad.gif" width="500" height="60" border="0"></td>
   <td colspan="2"><img name="right_r4_c12" src="images/right_r4_c12.gif" width="35" height="60" border="0"></td>
   <td><img name="right_r4_c14" src="images/right_r4_c14.gif" width="15" height="60" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="60" border="0"></td>
  </tr>
  <tr>
   <td colspan="3"><img name="right_r5_c2" src="images/right_r5_c2.gif" width="22" height="19" border="0"></td>
   <td colspan="3"><img name="right_r5_c5" src="images/right_r5_c5.gif" width="175" height="19" border="0"></td>
   <td><img name="right_r5_c8" src="images/right_r5_c8.gif" width="96" height="19" border="0"></td>
   <td><img name="right_r5_c9" src="images/right_r5_c9.gif" width="87" height="19" border="0"></td>
   <td><img name="right_r5_c10" src="images/right_r5_c10.gif" width="115" height="19" border="0"></td>
   <td colspan="3"><img name="right_r5_c11" src="images/right_r5_c11.gif" width="100" height="19" border="0"></td>
   <td><img name="right_r5_c14" src="images/right_r5_c14.gif" width="15" height="19" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="19" border="0"></td>
  </tr>
  <tr>
   <td rowspan="6" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="15" height="330" border="0"></td>
    <td rowspan="2" background="images/box2.gif"><img name="right_r6_c3" src="images/right_r6_c3.gif" width="5" height="302" border="0"></td>
    <td rowspan="2" colspan="9" bgcolor="#dcf6ce" valign="top" align="center">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="287">
        <tr>
          <td height="11" width="3%">&nbsp;</td>
          <td height="11" width="94%">&nbsp;</td>
          <td height="11" width="3%">&nbsp;</td>
        </tr>
        <tr>
          <td height="19" width="3%">&nbsp;</td>
          <td height="19" width="94%" background="images/huang_bg.gif"><marquee behavior=scroll direction=left scrollamount=1 crolldelay=15 onmouseover='this.stop()' onmouseout='this.start ()'>今日提醒:您收到<font color="#FF0000"><?php echo $msgcount;?></font>条<a href="mymsgadmin.php?userid=<?php echo $userid;?>">新消息</a>,<font color="#FF0000"><?php echo $invcount;?></font>条<a href="inviteadmin.php?userid=<?php echo $userid;?>">新邀请函</a>,<a href="examinebox.php?userid=<?php echo $userid;?>">投诉箱</a>里有<font color="#FF0000"><?php echo $blsbcount;?></font>条新消息。<?php echo $textout;?></marquee></td>
          <td height="19" width="3%">&nbsp;</td>
        </tr>
        <tr>
          <td width="3%">&nbsp;</td>
          <td width="94%"> 
            <p>超级用户管理注意:<br>
              &nbsp;&nbsp;&nbsp;&nbsp;在管理本站点的时候,有可能会涉及到各个同学的个人隐私。为了避免出现各种麻烦,管理员应该遵守以下原则。<br>
              &nbsp;&nbsp;&nbsp;&nbsp;1.管理消息:管理员在管理本站时应尽量少的涉及此管理项目。因为,此功能涉及所有同学之间的交谈和隐私,除非在必须要对消息进行管理的情况下,不要使用此功能。在同学权限的使用指南中,已经说明,使用“消息往来”可能泄露个人隐私,并推荐他们及时删除不重要的信息(双方共同的删除),每个同学都有义务来维护本站,消息的及时删除除了减小的系统的冗余,减轻了管理员的负担,更重要的是把个人隐私的泄露减小到最小的可能。并且管理员有义务为用户的隐私保密,如果发现是管理员泄露用户的个人信息,用户有权使用法律维护自己的权益。<br>
              &nbsp;&nbsp;&nbsp;&nbsp;2.邀请函的管理也应遵从以上原则。<br>
              &nbsp;&nbsp;&nbsp;&nbsp;3.管理员有义务提醒那些过多将个人信息放在网上的同学。<br>
              &nbsp;&nbsp;&nbsp;&nbsp;4.为了避免一些不必要的骚扰,应及时调整一些功能。<br>
              &nbsp;&nbsp;&nbsp;&nbsp;5.有义务提醒用户,不要在论坛发表有悖于国家法律的言论。不要在相片册张贴反动的、关于邪教的、淫秽的、不健康的等等违反国家法律的图片。相互之间的消息也应遵从以上原则。管理员应及时检查论坛、相片册,发现此类信息应及时删除,并对该用户进行处理。<br>
              &nbsp;&nbsp;&nbsp;&nbsp;6.管理员应经常查看投诉箱,及时解决用户遇到的各种问题。</p>
            <p align="right">2002.05.01<br>
              41197集中营管理中心</p>
          </td>
          <td width="3%">&nbsp;</td>
        </tr>
      </table>
    </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 + -