<?php

css_enqueue("header", "zhuangxiu", "footer");
set_body_class("zhuangxiu");
include $this->_include('header');
?>
<!--content-->
<div class="content clearfix">
	<?php 
include $this->_include('sidebar');
?>
	<div class="main">
		<div class="tao">
			<div class="bt">
                <b><?php 
echo isset($first_child) ? $first_child : $ccname;
?>
</b><span>您现在的位置是:<?php 
echo catpos($catid, ' &gt;&gt;&nbsp;&nbsp;');
?>
</span>
			</div>
		</div>
		<div class="nr1">
			<div class="tp">
				<ul>
                    <?php 
$pid = isset($pid) ? $pid : $catid;
$return = $this->_listdata("catid={$pid} page={$page} pagesize={$pagesize} order=listorder_asc,inputtime_desc");
extract($return);
$count = count($return);
<?php

echo css_enqueue('header', 'login', 'footer');
echo set_body_class('login');
include $this->_include('member/header');
?>
<!--content-->
<div class="content">
    <div class="nr">
		<div class="bt">
			<b>用户登录</b>
		</div>
		<form method="post" class="dl">
			<h1>用户名:</h1><input type="text" class="txt" id="username" size="30" maxlength="20" name="data[username]" /><br />
			<h1>密码:</h1><input type="password" class="txt" id="password" size="30" name="data[password]" /><br /><br />
			<button type="submit" class="submit_dl" name="submit">登录</button>
		</form>
	</div>
</div>
<!--content-->
<?php 
include $this->_include('footer');
<?php

css_enqueue("header", "article_article", "footer");
set_body_class("article_article");
include $this->_include('header');
?>
<!--content-->
<div class="content clearfix">
	<?php 
include $this->_include('sidebar');
?>
	<div class="main">
		<div class="bt">
            <b><?php 
echo $ccname;
?>
</b><span>您现在的位置是:<?php 
echo catpos($catid, ' &gt;&gt;&nbsp;&nbsp;');
?>
</span>
		</div>
		<div class="nr1">
		<b><?php 
echo $title;
?>
</b><br />
			<div class="ly">
			<span>来源:<?php 
echo $xinwenlaiyuan;
?>
</span><span>发布:<?php 
<?php

css_enqueue("header", "gsjj", "lxwm", "message", "footer");
set_body_class("gsjj message feedback");
include $this->_include('header');
?>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=2PYRsO2gxAGcVWxch1h545MS"></script>
<style>
    #map{width:690px; height:630px;}
</style>
<!--content-->
<div class="content clearfix">
	<?php 
include $this->_include('sidebar');
?>
	<div class="main">
		<div class="tao">
			<div class="bt">
                <b><?php 
echo isset($first_child) ? $first_child : $ccname;
?>
</b><span>您现在的位置是:<?php 
echo catpos($catid, ' &gt;&gt;&nbsp;&nbsp;');
?>
</span>
			</div>
		</div>

            <?php 
if ($catid == 28) {
    ?>
<?php

css_enqueue("header", "sanwei", "footer");
set_body_class("sanwei");
include $this->_include('header');
?>
<!--content-->
<div class="content clearfix">
	<?php 
include $this->_include('sidebar');
?>
	<div class="main">
		<div class="tao">
			<div class="bt">
                <b><?php 
echo isset($first_child) ? $first_child : $ccname;
?>
</b><span>您现在的位置是:<?php 
echo catpos($catid, ' &gt;&gt;&nbsp;&nbsp;');
?>
</span>
			</div>
		</div>
		<div class="nr1">
			<div class="tp">
				<ul>
                    <?php 
$pid = isset($pid) ? $pid : $catid;
$return = $this->_listdata("catid={$pid} page={$page} pagesize={$pagesize} order=listorder_asc,inputtime_desc");
extract($return);
$count = count($return);
<?php

echo css_enqueue('header', 'regsiter', 'footer');
echo set_body_class('regsiter');
include $this->_include('member/header');
?>
<script type="text/javascript">
    function checkuser() {
        $('#err_username').html('');
        $.getJSON('<?php 
echo SITE_PATH;
echo ENTRY_SCRIPT_NAME;
?>
?s=member&c=register&a=checkuser&id='+Math.random(), { username:$('#username').val()}, function(data){
            if (data.result==1) {
                $('#err_username').html(data.msg);
            } else {
                $('#err_username').html(data.msg);
            }
        });
    }
    function checkemail() {
        $('#err_email').html('');
        $.getJSON('<?php 
echo SITE_PATH;
echo ENTRY_SCRIPT_NAME;
?>
?s=member&c=register&a=checkemail&id='+Math.random(), { email:$('#email').val()}, function(data){
            if (data.result==1) {
                $('#err_email').html(data.msg);
            } else {
<?php

css_enqueue("header", "huodong", "footer");
set_body_class("huodong");
include $this->_include('header');
if (empty($id)) {
    $return = $this->_sqldata("select * from hhh_content_1 as A right join hhh_content_1_news as B on A.id = B.id where A.catid = {$catid} order by listorder asc, inputtime desc limit 2");
    extract($return);
    $count = count($return);
    if (is_array($return)) {
        foreach ($return as $key => $t) {
            if ($key == 0) {
                $title = $t['title'];
                $content = htmlspecialchars_decode($t['content']);
                $xinwenlaiyuan = $t['xinwenlaiyuan'];
                $inputtime = $t['inputtime'];
                $id = $t['id'];
                $hits = $t['hits'];
            }
            if ($key == 1) {
                $prev_page = $t;
            }
        }
    }
}
?>
<!--content-->
<div class="content clearfix">
	<?php 
include $this->_include('sidebar');
?>
<?php

css_enqueue("header", "search", "footer");
set_body_class("search");
include $this->_include('header');
?>
<script type="text/javascript">var sitepath = "<?php 
echo SITE_PATH;
echo ENTRY_SCRIPT_NAME;
?>
";</script>
<script type="text/javascript" src="<?php 
echo SITE_THEME;
?>
js/jquery.autocomplete.js"></script>
<script type="text/javascript">
    $(function(){
        $("#query").focus();
        $("input[name='q']").unautocomplete();
        $("input[name='q']").autocomplete("<?php 
echo url('api/search', array('modelid' => $param['modelid']));
?>
",{
            minChars: 1,
            width: 519,
            matchContains: true,
            autoFill: false,
            resultsClass :'sg-wrap' ,
            matchCase:false,
            selectFirst: false,
            formatItem:function(row,i,max){
<?php

css_enqueue("header", "zhaopin", "footer");
set_body_class("zhaopin");
include $this->_include('header');
?>
<!--content-->
<div class="content clearfix">
	<?php 
include $this->_include('sidebar');
?>
	<div class="main">
		<div class="bt">
            <b><?php 
echo $ccname;
?>
</b><span>您现在的位置是:<?php 
echo catpos($catid, ' &gt;&gt;&nbsp;&nbsp;');
?>
</span>
		</div>
		<div class="nr1">
			<ul>
				<li class="zw"><span>职位名称</span></li>
				<li>工作地点</li>
				<li>职位类别</li>
				<li>发布日期</li>
			</ul>	
		</div>
        <?php 
$return = $this->_listdata("catid={$catid} join=content_1_job on=id page={$page} pagesize={$pagesize} order=listorder_asc,inputtime_desc");
<?php

css_enqueue("header", "gsjj", "footer");
set_body_class("gsjj");
include $this->_include('header');
?>
<!--content-->
<div class="content clearfix">
    <?php 
include $this->_include('sidebar');
?>
    <div class="main">
        <div class="tao">
            <div class="bt">
                <b>在线留言</b><span>您现在的位置是:在线留言</span>
            </div>
        </div>

        <div class="nr1" style="border:none;">
            <div class="wz" style="text-align: center;padding-top:60px;">
                <?php 
echo $msg;
?>
            </div>
        </div>
    </div>
</div>
<!--content-->
<?php 
include $this->_include('footer');
<?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;
<?php

css_enqueue("header", "index_article", "footer");
set_body_class("index_article");
include $this->_include('header');
?>
<!--content-->
<div class="content clearfix">
    <?php 
include $this->_include('sidebar');
?>
	<div class="main">
        <div class="tao">
            <div class="bt">
                <b><?php 
echo $ccname;
?>
</b><span>您现在的位置是:<?php 
echo catpos($catid, ' &gt;&gt;&nbsp;&nbsp;');
?>
</span>
            </div>
        </div>
		<div class="nr1">
            <?php 
if (is_array($cats)) {
    $count = count($cats);
    foreach ($cats as $t) {
        if ($t['parentid'] == $catid) {
            $cid = $t['catid'];
            ?>