<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=gbk">
<title>在线升级更新</title>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="<?=base_url()?>csdj/admin/images/admin.css" type=text/css id="skincolor" rel="stylesheet" media="all" >
<SCRIPT type=text/javascript src="<?=base_url()?>csdj/admin/js/admin.js"></SCRIPT>
<SCRIPT type=text/javascript src="<?=base_url()?>csdj/admin/js/ajaxrequest.js"></SCRIPT>
<SCRIPT type=text/javascript src="<?=base_url()?>csdj/admin/js/showtitle.js"></SCRIPT>
</head>
<body style="margin:2px">
<table align="center" width="950" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" style="border-collapse: collapse" id="myTable">
<form method="post" Name="myForm" action="<?=site_url('admin/upgrade/upall/')?>">
<tr><td class=title align="center" colspan=6>程序在线升级系统 <font color=red>(注意：升级更新前，要确保以下的文件有写入和修改权限)</font></td></tr>
<tr>
<td width="8%" align="center">序</td>
<td width="35%" align="center">文件名</td>
<td align="center">升级说明</td>
<td width="15%" align="center">更新时间</td>
</tr>
<?php
if(empty($show)){
        echo '<tr><td colspan="5" align="center">暂时没有需要升级的文件哦。</td></tr>';
}else{
   $i=1;
   foreach ($show as $row) {
        echo '<tr><td align="center">'.$i.'</td><td>'.$row->name.'</td><td align="center">'.iconv('utf-8','gbk',$row->info).'</td><td align="center">'.$row->uptime.'</td></tr>';
   $i=$i+1;
   }
}
if(!empty($show)){
?>
	<tr><td>&nbsp;</td><td colspan='3'>
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="submit" name="Submit1" class="italk-st3" value="更新升级" onClick="return confirm('更新升级前，为了避免不必要的损失，请先备份以上文件!')">
	</td></tr>
<?php } ?>
</form></table>
</BODY>
</HTML>

