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

📄 collect.php

📁 邮箱加即时聊天
💻 PHP
字号:

<?php ob_start(); 
$style=$_COOKIE['style'];
$color1;
$color2;
switch($style){
	case 'moren':
		$color1='#3399cc';
		$color2='#66cccc';
		break;
	case 'haian':
		$color1='#4C74A3';
		$color2='#86A562';
		break;
	default:
		$color1='#cc6699';
		$color2='#996699';
		
}
?>
<?php
   include "logCheck.php";
   include "function.php";
   include "Sysconf.php";
 ?>

<head>
<title>Content</title>
<meta http-equiv="Content-Style-Type" content="text/css">
<LINK HREF="style.css" TYPE="text/css" REL="stylesheet">
<script language="JavaScript">
<!--
function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}
// -->

/*全选功能*/ 
function selcheck() {
  var objs = document.getElementsByName('t1[]');//获取checkbox集合 
  //置所有checkbox被选
  var j=1;
  for(var i=0; i<objs.length; i++) {
  	  if(objs[i].checked==false)
	  {
	  		j=j*0;	
      	objs[i].checked = true;
	  }   
  }
  if(j==1)
  {
  	for(var i=0; i<objs.length; i++) {
      	objs[i].checked =false;
	   
  		}
  } 
  return false; 
}

</script>

</head>

<?
	$username = $_COOKIE["username"];//获取用户名
	$num=0;
	$id= getid($username);
	$pagenum=$_GET["pagenum"];
	//setcookie("checkbox",$che);

    
?>
<body onLoad="FP_preloadImgs(/*url*/'<?php echo $style?>/buttonE6.jpg', /*url*/'<?php echo $style?>/buttonE7.jpg', /*url*/'<?php echo $style?>/buttonE9.jpg', /*url*/'<?php echo $style?>/buttonEA.jpg')"> 
<center>
<form action=collect.php method=post name=myform>
<?php
/* 删除已选的信息记录*/
       if(!empty($_POST["t1"])){
            $array = $_POST["t1"];
            $size = count($array);
			//echo "$size"."$select";
            for($i=0; $i<$size; $i++)
            {
                    deletemessage($array[$i],"0");//删除被选中的checkbox 

            }
		
		}
		

?>

<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0" background="<?php echo $style?>/rep_1.jpg">
  
<tr align="left" valign="top">
    <td height="4" bgcolor="#FFFFFF"><img src="<?php echo $style?>/spacer.gif" width="1" height="4"></td>
    <td width="677" bgcolor="#FFFFFF" height="4"><img src="<?php echo $style?>/spacer.gif" width="1" height="4"></td>
    <td height="4" bgcolor="#FFFFFF"><img src="<?php echo $style?>/spacer.gif" width="1" height="4"></td>
  </tr>
      <tr>
        <td height="12" align="left" valign="top"><img src="<?php echo $style?>/ket_5.jpg" width="677" height="12"></td>
      </tr>
      <tr>
        <td align="left" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr align="left" valign="top">
            <td width="6" background="<?php echo $style?>/left.jpg"><img src="<?php echo $style?>/left.jpg" width="6" height="5"></td>
            <td bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="31" align="left" valign="top"><div style="padding-left:27px; padding-top:3px">
                  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr align="left" valign="middle">
                      <td width="24"><img src="moren/point_3.jpg" width="20" height="15"></td>
                      <td width="325"><span class="style14">垃圾箱:</span></td>
                 
                    </tr>
                  </table>
                  </div></td>
              </tr>
              <tr>
                <td align="left" valign="top"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="<?php echo $color2?>">
                  <tr align="left" valign="top">
                    <td width="5"><img src="<?php echo $style?>/left_2.jpg" width="5" height="33"></td>
                    <td valign="middle"><div style="padding-left:21px; padding-top:5px">
                      <table width="616"  border="0" cellspacing="0" cellpadding="0">
                        <tr align="left" valign="middle">
                           <td width="90">
							<input type=image  border="0" id="img8" src="moren/buttonE5.jpg" height="20" width="100" alt="永久删除" onMouseOver="FP_swapImg(1,0,/*id*/'img8',/*url*/'moren/buttonE6.jpg')" onMouseOut="FP_swapImg(0,0,/*id*/'img8',/*url*/'moren/buttonE5.jpg')" onMouseDown="FP_swapImg(1,0,/*id*/'img8',/*url*/'moren/buttonE7.jpg')" onMouseUp="FP_swapImg(0,0,/*id*/'img8',/*url*/'moren/buttonE6.jpg')" fp-style="fp-btn: Corporate 4; fp-font" fp-title="永久删除"></td>
                          
                          <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                          </table></td>
                        </tr>
                      </table>
                      </div></td>
                    <td width="5"><img src="<?php echo $style?>/right_2.jpg" width="5" height="33"></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
             <td height="5" align="left" valign="top"><img src="<?php echo $style?>/spacer.gif" width="1" height="5"></td>
              </tr>
              <tr>
                <td align="left" valign="top"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="<?php echo $color1?>">
                  <tr align="left" valign="top">
                    <td width="5"><img src="<?php echo $style?>/left_3.jpg" width="5" height="33"></td>
                    <td valign="top"><div style="padding-left:15px; padding-top:5px">
                      <table width="598"  border="0" cellspacing="0" cellpadding="0">
                        <tr align="left" valign="middle" class="style3">
                          <td width="27" class="style3"><input name="checkbox" type="checkbox" value="checkbox"></td>
                          <td width="200" class="style3"><strong>发信人</strong></td>
                          <td width="212"><strong>主题</strong></td>
                          <td width="134"><strong>日期</strong></td>
                          <td width="80"><strong>大小(字节)</strong></td>
                        </tr>
                      </table>
                      </div></td>
                    <td width="5"><img src="<?php echo $style?>/right_3.jpg" width="5" height="33"></td>
                  </tr>
                </table></td>
              </tr>
 <?
	//打印信息记录
	receiveparten($id,"4","1",$pagenum,"collect.php");

?>    
                 <tr>
                <td align="left" valign="top"><div style="padding-left:26px; padding-top:10px"><img border="0" id="img9" src="moren/buttonE8.jpg" height="20" width="100" alt="全     选" onMouseOver="FP_swapImg(1,0,/*id*/'img9',/*url*/'moren/buttonE9.jpg')" onMouseOut="FP_swapImg(0,0,/*id*/'img9',/*url*/'moren/buttonE8.jpg')" onMouseDown="FP_swapImg(1,0,/*id*/'img9',/*url*/'moren/buttonEA.jpg')" onMouseUp="FP_swapImg(0,0,/*id*/'img9',/*url*/'moren/buttonE9.jpg')" fp-style="fp-btn: Corporate 4; fp-font" fp-title="全     选" onClick="selcheck()"></div></td></tr>
            </table></td>
            <td width="4" background="<?php echo $style?>/right_5.jpg"><img src="<?php echo $style?>/right_5.jpg" width="4" height="5"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="14" align="left" valign="top"><img src="<?php echo $style?>/bottom_2.jpg" width="677" height="14"></td>
      </tr>
      <tr>
        <td align="right" valign="top"><table width="434"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center" valign="top"><div style="padding-left:0px; padding-top:12px"><span class="style13"><br>
  2008短信息收发系统第二项目小组<br>
  
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td>&nbsp;</td>
  </tr>
  <tr align="left" valign="top">
    <td height="100%">&nbsp;</td>
    <td width="677" height="100%">&nbsp;</td>
    <td height="100%">&nbsp;</td>
  </tr>

</table>
</form>
</center>
</body>


</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -