yzms/jtj_admin/tpl/frame_m.tpl.php

134 lines
5.5 KiB
PHP
Raw Normal View History

2024-04-01 15:54:27 +08:00
<!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=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0" />
<title><?=$config_title?>2</title>
<? loadjscss(); ?>
<style style="text/css">
html { overflow:hidden ; }
body {
margin:0px; padding:0px;font-family:微软雅黑;
}
.button1 {
margin:5px 5px 0px 5px;
display:block;text-decoration:none;padding:1px 6px; line-height:23px; float:left;
background:<?=$config_bgcolor?>;border-radius:5px;height:22px;border:0px; color:white;
}
.button2 {
margin:5px 5px 0px 5px;
display:block;text-decoration:none;padding:0px 5px; line-height:23px; float:left;
background:white;border-radius:5px;height:22px;border:0px; color:<?=$config_bgcolor?>;border:1px solid <?=$config_bgcolor?>;
}
</style>
</head>
<body>
<? if($in_ifr) { ?>
<div id="mainDiv" style="padding:10px;background:#ffffff; overflow-x:hidden;overflow-y:scroll; height:<?=$height?>px"></div>
<? } else { ?>
<div id="topDiv" style="display:none"></div>
<div id="topDiv2" style="position:absolute;left:0px;top:0px;background:white; height:<?=($config_top_height-1)?>px;width:100%; padding:0px; border-bottom:1px solid #E7E7E7">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="80" align="left" valign="middle" height="<?=($config_top_height-1)?>">
<?
$isexit = false;
if(in_array($adminInfo['role'], array(11, 12, 13))) {
$isexit = true;
}
?>
<a href="<?=$isexit?"/m/login.php":"/m/index3.html"?>" style="color:#F24835;font-size:20px;text-decoration:none">&nbsp;<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAZCAYAAADTyxWqAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAElSURBVDiNzdUxS8NAGAbg91IRo7h1dnJzztClcyYJbq7+ALfMLnHUyUns0CylP6GzPyAKLopLHSyUgnCtSRMrr0ODUHJJc2cHD244Dh6+j7v3TpDEpoa1MckEW7wPOf+Auh2StWca9Tj1HMrTK6r2a1eWPYTMLq7BOYAkQTwpVlcLW0I3YAZgpwUr8LHbhNBuM426nB47lK5D6Z1z9pQqWyRZjelAlZguVIqZQErMFCpg6aM5tHLPmLzyq5MfPw4g/AB7R9vF468Yv5iwD4XVdvPVG9jvIx6XxGYdBgC252PrLAdfbvF9eacFriagsS/sE3OwGKc/gOpsGoLlQTcAq18NTXD9E6QCg9CgsjJw+IzPkaI6nbhwIRnfDziLpDJm4t9+dT+nLjP/ZRdxhAAAAABJRU5ErkJggg==" style="vertical-align:middle;" /><?=$isexit?"退出":"返回"?></a>
</td>
<td align="center" valign="middle" style="font-size:20px">食材采购</td>
<td width="80" valign="middle"></td>
</tr>
</table>
</div>
<div id="leftDiv" style="position:absolute;left:0px;top:<?=$config_top_height?>px;background:#ffffff; height:auto; width:100%;border-bottom:1px solid #E6E7E7;overflow:hidden;padding-bottom:5px">
</div>
<div id="mainDiv" style="position:absolute;left:0px;top:<?=($config_top_height+61)?>px;background:#ffffff; height:550px;overflow-x:hidden;overflow-y:scroll;padding:10px"></div>
<? if($config_footer) { ?>
<div id="footer_div" style="background:<?=$config_bgcolor?>;position:absolute;left:0px;width:100%;height:20px;color:white;padding:3px 5px;line-height:20px;"><?=$config_footer?></div>
<? } ?>
<script type="text/javascript">setSize();</script>
<? } ?>
<div id="fdiv" style="position:absolute; z-index:15; width:200px; height:650px; display:none; background:#ffffff; border:1px solid #DDDDDD;border-radius: 5px;">
<div style="border-bottom:1px solid #DDDDDD; height:28px; background:#F5F5F5;">
<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr>
<td align="left" id="fdiv_title" height="28" valign="middle" style="padding-left:5px">查看详情</td>
<td align="right" valign="middle" style="padding-right:5px"><a href="javascript:;" onclick="hideInfo();" style="color:blue;color:#666666">关闭</a></td>
</tr></table>
</div>
<div id="fdiv_1" style="height:610px; overflow-y:scroll; overflow-x:hidden; padding:5px;">
<div id="infocontent">
</div>
</div>
</div><!--fdiv-->
<div id="fdiv_ifr" style="position:absolute; z-index:17; width:800px; height:650px; display:none; background:#ffffff; border:1px solid #DDDDDD;border-radius: 5px;">
<div style="border-bottom:1px solid #DDDDDD; height:28px; background:#F5F5F5;">
<div id="fdiv_ifr_title" style="float:left; padding:5px 5px"></div>
<div style="float:right; padding:5px 5px"><a href="javascript:;" onclick="hideIfrInfo();" style="color:blue;color:#666666">关闭</a></div>
</div>
<div id="fdiv_ifr_1" style="height:610px; overflow-y:hidden; overflow-x:hidden; padding:0px;">
<iframe id="fdiv_ifr_id" name="fdiv_ifr_id" frameborder="0" width="100%" scrolling="auto"></iframe>
</div>
</div>
<div id="fdiv_alert" style="position:absolute; z-index:20; width:280px; height:330px; display:none; background:#FFFFFF; border:1px solid #dddddd;border-radius: 5px;">
<div style="border-bottom:1px solid #dddddd; height:28px; background:#f5f5f5">
<div style="float:left; padding:5px 5px"><span style="color:#666666">提示</span></div>
<div style="float:right; padding:5px 5px; font-size:13px; color:#666666"></div>
</div>
<div id="alert_msg_div" style="height:300px; overflow:hidden;text-align:center">
<div id="alert_msg" style="text-align:center;height:230px;padding-top:10px"></div>
<div id="alert_bt_div" style="text-align:center;margin-top:5px; height:40px;"><input id="galert_bt" type="button" class="button" value="关闭" onclick="closeAlert()"></div>
</div>
</div>
<iframe id="uploadifr" name="uploadifr" width="1" height="1"></iframe>
<? photoSwipeHtml();?>
<script>
<? if(!$adminInfo) { ?>
$G.httpPost('?', {}, '_self');
<? } ?>
</script>
</body>
</html>