dayinxinxi_listxls.php

(开头部分) 2KB

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

<?php 
include_once 'conn.php';
header("Content-Type: application/vnd.ms-execl");   
header("Content-Disposition: attachment; filename=打印信息.xls");   
header("Pragma: no-cache");   
header("Expires: 0");  
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>打印信息</title>
</head>

<body>

<p>已有打印信息列表:</p>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF" style="border-collapse:collapse">  
  <tr>
    <td width="25" bgcolor="#CCFFFF">序号</td>
    <td bgcolor='#CCFFFF'>打印编号</td>
    <td bgcolor='#CCFFFF'>打印名称</td>
    <td bgcolor='#CCFFFF'>纸张类型</td>
    <td bgcolor='#CCFFFF'>打印规格</td>
    <td bgcolor='#CCFFFF'>打印价格</td>
    <td bgcolor='#CCFFFF'>打印颜色</td>
    <td bgcolor='#CCFFFF'>图片</td>
    <td bgcolor='#CCFFFF'>等候人数</td>
    <td bgcolor='#CCFFFF'>自取地址</td>
    
    <td width="120" align="center" bgcolor="#CCFFFF">添加时间</td>
  </tr>
  <?php 
    $sql="select * from dayinxinxi order by id desc";
  
$query=mysql_query($sql);
  $rowscount=mysql_num_rows($query);
  

for($i=0;$i<$rowscount;$i++)
{
  ?>
  <tr>
    <td width="25"><?php
	echo $i+1;
?></td>
    <td><?php echo mysql_result($query,$i,dayinbianhao);?></td>
    <td><?php echo mysql_result($query,$i,dayinmingcheng);?></td>
    <td><?php echo mysql_result($query,$i,zhizhangleixing);?></td>
    <td><?php echo mysql_result($query,$i,dayinguige);?></td>
    <td><?php echo mysql_result($query,$i,dayinjiage);?></td>
    <td><?php echo mysql_result($query,$i,dayinyanse);?></td>
    <td width='80'><a href="<?php echo mysql_result($query,$i,tupian) ?>" target='_blank'><img src='<?php echo mysql_result($query,$i,tupian) ?>' width='80' height='88' border='0'></a></td>
    <td><?php echo mysql_result($query,$i,denghourenshu);?></td>
    <td><?php echo mysql_result($query,$i,ziqudizhi);?></td>
    
    
    <td width="120" align="center"><?php echo mysql_result($query,$i,"addtime");?></td>
    
  </tr>
后面还有 8 行代码,购买后查看完整代码

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

AI 解读 AI

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

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