Notice: Undefined variable: php_array in F:\wamp\www\phpaaCMS\admin\header.php on line 79 10
<tablewidth="100%"border="0"cellpadding="0"cellspacing="0"><tr><tdwidth="162"height="...
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="162" height="28" align="center" valign="middle"><font id="logo">质量监控</font></td>
<td align="right" valign="bottom" style="padding-right:30px; padding-top:0px; font-size:12px">
<script type="text/javascript">
<!--
function thisYear(){ return new Date().getYear();}
function thisMonth(){ return new Date().getMonth();}
function thisDay(){ return new Date().getDate(); }
function CurentTime(){
var now = new Date();
var hh = now.getHours();
var mm = now.getMinutes();
var ss = now.getTime() % 60000;
ss = (ss - (ss % 1000)) / 1000;
var clock = hh+':';
if (mm < 10) clock += '0';
clock += mm+':';
if (ss < 10) clock += '0';
clock += ss;
return(clock);
}
function refreshCalendarClock(){
document.all.calendarClock1.innerHTML = thisYear()+"-";
document.all.calendarClock2.innerHTML = thisMonth()+"-";
document.all.calendarClock3.innerHTML = thisDay()+" ";
document.all.calendarClock4.innerHTML = CurentTime();
}
document.write('<font id="calendarClock1"></font>');
document.write('<font id="calendarClock2"></font>');
document.write('<font id="calendarClock3"></font>');
document.write('<font id="calendarClock4"></font>');
setInterval('refreshCalendarClock()',200);
//-->
</SCRIPT>
你好:<strong><?php echo $php_array['username'];?></strong> ,欢迎使用<span id="phpcms2">教学质量监控系统</span>
<a style="color:#6285FF" href="../" target="_blank"><strong>网站首页</strong></a>
<a style="color:#6285FF" href="javascript:editPassword()"><strong>修改密码</strong></a>
<a style="color:#6285FF" href="login.out.php"><strong>注销系统</strong></a>
</td>
</tr>
</table> 展开
<tr>
<td width="162" height="28" align="center" valign="middle"><font id="logo">质量监控</font></td>
<td align="right" valign="bottom" style="padding-right:30px; padding-top:0px; font-size:12px">
<script type="text/javascript">
<!--
function thisYear(){ return new Date().getYear();}
function thisMonth(){ return new Date().getMonth();}
function thisDay(){ return new Date().getDate(); }
function CurentTime(){
var now = new Date();
var hh = now.getHours();
var mm = now.getMinutes();
var ss = now.getTime() % 60000;
ss = (ss - (ss % 1000)) / 1000;
var clock = hh+':';
if (mm < 10) clock += '0';
clock += mm+':';
if (ss < 10) clock += '0';
clock += ss;
return(clock);
}
function refreshCalendarClock(){
document.all.calendarClock1.innerHTML = thisYear()+"-";
document.all.calendarClock2.innerHTML = thisMonth()+"-";
document.all.calendarClock3.innerHTML = thisDay()+" ";
document.all.calendarClock4.innerHTML = CurentTime();
}
document.write('<font id="calendarClock1"></font>');
document.write('<font id="calendarClock2"></font>');
document.write('<font id="calendarClock3"></font>');
document.write('<font id="calendarClock4"></font>');
setInterval('refreshCalendarClock()',200);
//-->
</SCRIPT>
你好:<strong><?php echo $php_array['username'];?></strong> ,欢迎使用<span id="phpcms2">教学质量监控系统</span>
<a style="color:#6285FF" href="../" target="_blank"><strong>网站首页</strong></a>
<a style="color:#6285FF" href="javascript:editPassword()"><strong>修改密码</strong></a>
<a style="color:#6285FF" href="login.out.php"><strong>注销系统</strong></a>
</td>
</tr>
</table> 展开
展开全部
$php_array['username'];你这个数组没有定义过,也就是PHP不知道这个数组是从哪来的
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你好:<strong><?php echo $php_array['username'];?></strong> ,欢迎使用<span id="phpcms2">教学质量监控系统</span>
这一句里的$php_array['username'] 这个数组有问题,你结合代码看一下
这一句里的$php_array['username'] 这个数组有问题,你结合代码看一下
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
php变量 php_array 未定义
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询