每日总结4.7

<?php
session_start();
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>化妆品销售网站</title>
<script language="javascript" type="text/javascript">
function G(id) {
return document.getElementById(id);
}
var status = 1;
function switchSysBar() {
if (1 == status) {
status = 0;
G("switchPoint").innerHTML = '<img src="images/left.gif" style="margin:0 2px">';
G("frmTitle").style.display = "none";
}
else {
status = 1;
G("switchPoint").innerHTML = '<img src="images/right.gif" style="margin:0 2px">';
G("frmTitle").style.display = "";
}
}
</script>
<link rel="stylesheet" type="text/css" href="images/houtai.css" />
</head>
<body>

<table cellpadding="0" cellspacing="0" class="table">
<tr>
<td colspan="3" class="top_menu">
<div style="font-family:宋体; color:#006633;WIDTH: 100%; FONT-WEIGHT: bold; FONT-SIZE:30px ; margin-top:5pt">
<div >&nbsp;&nbsp;化妆品销售网站</div>
</div>

</td>
</tr>
<tr>
<td id="frmTitle" style=" 182px;">
<table height="100%" style=" 182px;" cellpadding="0" cellspacing="0">
<tr>
<td style="background-color: #c9defa; padding: 3px; padding-bottom: 0">
<div class="lie lie2">
<a onClick="javascript:history.back();" style="cursor:pointer" class="shouye" target="frmright">返回</a> <a style="cursor:pointer" onClick="javascript:if(confirm('确定要退出吗?')==true){parent.location.href='logout.php';}"
class="tuichu">退出</a>
<div style="clear: both">
</div>
</div>
</td>
</tr>
<tr>
<td valign="top" style="background: #c9defa" height="100%" name="fmtitle">
<iframe frameborder="0" id="frmleft" name="frmleft" scrolling="yes" src="mygo.php"
style="height: 100%; visibility: inherit; 182px;" allowtransparency="true">
</iframe>
</td>
</tr>
</table>
</td>
<td valign="middle" style=" 12px; cursor: pointer;" bgcolor="#c3daf9" onMouseOver="this.style.backgroundColor='#ddeafc';this.style.color='red'"
onmouseout="this.style.backgroundColor='';this.style.color=''" onClick="switchSysBar()">
<span class="navpoint" id="switchPoint" title="关闭/打开左栏">
<img src="images/right.gif" style="margin: 0 2px"></span>
</td>
<td style=" 100%" valign="top">
<table width="100%" cellpadding="0" cellspacing="0" style="height: 100%;">
<tr>
<td>
<div class="menu">
<div class="wenzi">
<a href="sy.php" target="frmright" class="a1">显示桌面</a><em>|</em><a
href="yhzhgl.php" target="frmright" class="a1">系统用户管理</a><em>|</em>

<?php
if($_SESSION["cx"]=="超级管理员" || $_SESSION["cx"]=="普通管理员")
{
?>
<a href="mod.php" target="frmright" class="a1">修改密码</a>
<?php
}
else
{
?>
<a href="yonghuzhuce_updt2.php" target="frmright" class="a1">修改密码</a>
<?php
}

?>

</div>

<div class="wenzi2">
当前日期:<?php echo date("Y-m-d")?>
<a href="index.php" target="_parent">
返回前台</a> <a href="logout.php" target="_parent">
退出</a></div>

</div>


</td>
</tr>
<tr>
<td style="height:100%" valign="top" id="tdframe">
<iframe frameborder="0" id="frmright" name="frmright" scrolling="auto" src="sy.php"
style="margin: 0; visibility: inherit; 100%; height:100%; z-index:1" onload="InitBulletin()" >
</iframe>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>

</body>
</html>
原文地址:https://www.cnblogs.com/wanghaoning/p/14915442.html