2 Star 0 Fork 1

ctccaozhe/华越认证信息管理系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main_right.php 4.65 KB
一键复制 编辑 原始数据 按行查看 历史
ctccaozhe 提交于 2020-12-17 14:13 . 上传源码
<?
include("include/globals.php");
if ($_COOKIE["userid"]=="")
{
header("Location: "."index.php");
exit;
}
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="include/scss.css" type=text/css rel=stylesheet>
</head>
<BODY background="images/b.jpg" style="background-repeat:no-repeat">
<br>
<br>
<br>
<table width="90%" border="0" align="center">
<tr>
<td valign="top">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#0066FF">
<tr bgcolor="#FFFFFF">
<td height="24" colspan="3"><font color="#003399">公司公告>></font></td>
</tr>
<tr bgcolor="#F2F2F2">
<td width="70%" height="22" align="center"><FONT color=#003399>公告标题</FONT></td>
<td width="10%" align="center"><FONT color=#003399>阅读</FONT></td>
<td width="20%" align="center"><FONT color=#003399>公告时间</FONT></td>
</tr>
<?
$sql_setup="select * from rzzx_online_xiaoxi where xxinfo='1' order by id desc LIMIT 5";
$quer_setup= mysql_query($sql_setup);
while($forum_setup= mysql_fetch_array($quer_setup))
{
$eid = $forum_setup["id"];
$xxtitle = $forum_setup["xxtitle"];
$xxmasg = $forum_setup["xxmasg"];
$xxtal = $forum_setup["xxtal"];
$xxdate = $forum_setup["xxdate"];
$xxdate = substr($xxdate,0,10);
?>
<tr bgcolor=#FFFFFF>
<td height="20">&nbsp;<a href="system/xt_gonggao_show.php?id=<? echo $eid; ?>"><? echo $xxtitle; ?></a></td>
<td align="center"><? echo $xxtal; ?></td>
<td align="center"><? echo $xxdate; ?></td>
</tr>
<? }?>
</table> </td>
<td valign="top">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#0066FF">
<tr bgcolor="#FFFFFF">
<td height="24" colspan="3"><font color="#003399">部门公告>></font></td>
</tr>
<tr bgcolor="#F2F2F2">
<td width="70%" height="22" align="center"><FONT color=#003399>公告标题</FONT></td>
<td width="10%" align="center"><FONT color=#003399>阅读</FONT></td>
<td width="20%" align="center"><FONT color=#003399>公告时间</FONT></td>
</tr>
<?
$sql_setup="select * from rzzx_online_xiaoxi where xxbumen='".$xt_bumen."' and xxinfo='2' order by id desc LIMIT 5";
$quer_setup= mysql_query($sql_setup);
while($forum_setup= mysql_fetch_array($quer_setup))
{
$eid = $forum_setup["id"];
$xxtitle = $forum_setup["xxtitle"];
$xxmasg = $forum_setup["xxmasg"];
$xxbumen = $forum_setup["xxbumen"];
$xxtal = $forum_setup["xxtal"];
$xxdate = $forum_setup["xxdate"];
$xxdate = substr($xxdate,0,10);
?>
<tr bgcolor=#FFFFFF>
<td height="20">&nbsp;<a href="system/xt_gonggao_show.php?id=<? echo $eid; ?>"><? echo $xxtitle; ?></a></td>
<td align="center"><? echo $xxtal; ?></td>
<td align="center"><? echo $xxdate; ?></td>
</tr>
<? }?>
</table> </td>
</tr>
<tr>
<td height="21">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top">
</td>
<td valign="top">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#0066FF">
<tr bgcolor="#FFFFFF">
<td height="24" colspan="4"><font color="#003399">我的消息>></font></td>
</tr>
<tr bgcolor="#F2F2F2">
<td width="60%" height="22" align="center"><FONT color=#003399>消息标题</FONT></td>
<td width="10%" align="center"><FONT color=#003399>发送人</FONT></td>
<td width="10%" align="center"><FONT color=#003399>阅读</FONT></td>
<td width="20%" align="center"><FONT color=#003399>发送时间</FONT></td>
</tr>
<?
$sql_setup="select * from rzzx_online_xiaoxi where xxtouserid='".$userid."' and xxinfo='3' order by id desc LIMIT 5";
$quer_setup= mysql_query($sql_setup);
while($forum_setup= mysql_fetch_array($quer_setup))
{
$eid = $forum_setup["id"];
$xxtitle = $forum_setup["xxtitle"];
$xxmasg = $forum_setup["xxmasg"];
$xxusername = $forum_setup["xxusername"];
$xxread = $forum_setup["xxread"];
$xxdate = $forum_setup["xxdate"];
$xxdate = substr($xxdate,0,10);
?>
<tr bgcolor=#FFFFFF>
<td height="20">&nbsp;<a href="system/xt_duanxin_show.php?id=<? echo $eid; ?>"><? echo $xxtitle; ?></a></td>
<td align="center"><? echo $xxusername; ?></td>
<td align="center"><? echo $xxread; ?></td>
<td align="center"><? echo $xxdate; ?></td>
</tr>
<? }?>
</table> </td>
</tr>
</table>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/ctccaozhe/hysoft.git
git@gitee.com:ctccaozhe/hysoft.git
ctccaozhe
hysoft
华越认证信息管理系统
master

搜索帮助