<?php

css_enqueue("header", "central", "footer");
js_enqueue("tab", "zhuangxiu1");
include $this->_include('header');
?>
<!--scroll-->
<div class="scroll">
	<b>最新公告:</b>
	<marquee id="scrollarea" onmouseover="stop();" onmouseout="start();" scrollAmount="2" scrollDelay="0">
        <!-- 最新公告 -->
        <?php 
$return = $this->_listdata("action=position id=7");
extract($return);
$count = count($return);
if (is_array($return)) {
    foreach ($return as $key => $t) {
        ?>
            <p style="float:left;margin-right:100px;"><a href="<?php 
        echo $t['url'];
        ?>
"><?php 
        echo $t['title'];
        ?>
</a></p>
        <?php 
    }
}
?>
	</marquee>
</div>
<?php

require_once dirname(dirname(dirname(__FILE__))) . '/extensions/phpexcel/Classes/PHPExcel/IOFactory.php';
$excelfile = dirname(dirname(dirname(__FILE__))) . '/uploadfiles/jisuanqi/data.xls';
$reader = PHPExcel_IOFactory::createReader('Excel5');
$PHPExcel = $reader->load($excelfile);
$sheet0 = $PHPExcel->getSheet(0);
$highestRow0 = $sheet0->getHighestRow();
$highestColumm0 = $sheet0->getHighestColumn();
css_enqueue("header", "zxzl", "footer");
js_enqueue("jquery.min", "json2", "zxzl", "jisuanji");
set_body_class("zxzl");
set_body_attr(' bgcolor=#FFFFFF alink=#333333 vlink=#333333 link=#333333 topmargin=0 leftmargin=0 onload="init()"');
include $this->_include('header');
?>

<style>
    html,body{height:100%;}
</style>

<!-- 系统样式及JS -->
<link href="<?php 
echo ADMIN_THEME;
?>
images/table_form.css" rel="stylesheet" type="text/css" />
<link href="<?php 
echo ADMIN_THEME;
?>
images/dialog.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php 
echo ADMIN_THEME;