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

📄 viewmessage.php

📁 VIP信息处理系统源码
💻 PHP
字号:
<?php

  session_start ();
  if (empty ($_SESSION['admin_username']))
  {
    header ('location: ../admin/');
    exit ();
  }

  include_once '../public/db_conn.php';
  include_once '../public/function.php';
  echo '<title>警告留言信息</title><link href="../public/index.css" rel="stylesheet" type="text/css">';
  echo '<s';
  echo 'cript src="../public/check.js"></script><table width="100%" height=100% border="0" align="right" cellpadding="10" cellspacing="1" bgcolor="#CCCCCC">  <tr>    <td valign="top" class="bgconn">	<table width="100%" border="0" cellspacing="1" cellpadding="4" class="listtable_admin">	<tr align="center" class="listbody_admin">	  <td class="listtbhd_admin">留言信息</td>	</tr>';
  if ((empty ($_REQUEST['vdate']) OR $_REQUEST['vdate'] == 'all'))
  {
    $sqlf = '';
  }
  else
  {
    $sltime = $_REQUEST['vdate'] . ' 23:59:59';
    $iltime = strtotime ($sltime);
    $istime = $iltime - 604800 + 1;
    $sstime = date ('Y-m-d H:i:s', $istime);
    $sqlf = '' . ' and time>=\'' . $sstime . '\' and time<=\'' . $sltime . '\' ';
  }

  $rs = mysql_query ('' . 'select * from message where to_type=2 and s_id=0 and username=\'' . $_REQUEST['username'] . '\' ' . $sqlf . ' and tit like \'%广告佣金%\' order by id');
  $num = mysql_num_rows ($rs);
  if (0 < $num)
  {
    while ($row = mysql_fetch_array ($rs))
    {
      $conn = nl2br ($row['conn']);
      echo '	<tr class="listbody_admin">	  <td bgcolor="#F0F0F0">';
      echo '<s';
      echo 'trong>时间</strong>:';
      echo $row['time'];
      echo ' &nbsp;';
      echo '<s';
      echo 'trong>主题</strong>:';
      echo $row['tit'];
      echo '</td>	</tr>	<tr class="listbody_admin">	  <td height=40 valign="baseline">';
      echo $conn;
      echo '</td>	</tr>';
    }
  }
  else
  {
    echo '		<tr class="listbody_admin">	  <td height=40>本时段内无留言!</td>	</tr>';
  }

  echo '	<tr align="center" class="listbody_admin">	  <td><div align="center"><input type="button" name="Submit" value="关闭本窗口" class="subbt" onClick="window.close();"></div></td>	</tr>	</table>     <p>	  <br>      <br>      </p></td></tr></table>';
?>

⌨️ 快捷键说明

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