<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('list');?><?php include template('common/header'); ?><style>
.xj_hll{color:<?php echo $_G['style']['highlightlink'];?>;}
.xj_h{color:#858585;}
a.xj_btn{ display:inline-block; padding-top:4px; text-align:center; height:28px; width:170px;background:url(source/plugin/xj_event/images/btnbg.png) no-repeat; text-decoration:none; font-size:14px; font-weight:bold; font-family: '寰蒋闆呴粦';}
a:hover.xj_btn{ display:inline-block; padding-top:4px; text-align:center; height:28px; width:170px;background:url(source/plugin/xj_event/images/btnbg.png) no-repeat; text-decoration:none; font-size:14px; font-weight:bold; font-family: '寰蒋闆呴粦';}
.xjmenu {
height:32px;
}
.xjmenu_a {
width:80px;
line-height:32px;
float:left;
height:32px;
text-align:center;
border-top:#cdcdcd 1px solid;
border-left:#cdcdcd 1px solid;
border-right:#cdcdcd 1px solid;
border-bottom:#ffffff 1px solid;
margin-left:10px;
font-weight:bold;
cursor:pointer;
background-color:#FFFFFF;
margin-top:-1px;
color:<?php echo $_G['style']['highlightlink'];?>;
}
.xjmenu_b {
width:80px;
line-height:32px;
float:left;
height:32px;
text-align:center;
margin-left:10px;
cursor:pointer;
background-color:#efefef;
border:#cdcdcd 1px solid;
margin-top:-1px;
}
.xjmain {
margin-bottom:10px;
}
a.eventmenu {
display:inline-block;
padding:4px 6px 2px 6px;
color:#777777;
text-decoration:none;
line-height:12px;
margin-left:5px;
}
a:hover.eventmenu {
display:inline-block;
padding:4px 6px 2px 6px;
color:#ffffff;
text-decoration:none;
line-height:12px;
margin-left:5px;
background-color:#aaaaaa;
}
a.eventmenu_select {
display:inline-block;
padding:4px 6px 2px 6px;
color:#ffffff;
text-decoration:none;
line-height:12px;
margin-left:5px;
background-color:#aaaaaa;
}
.xjevent{margin:5px 5px;background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 139px; height:110px}
.xjevent b a{ font-size:14px; font-family: "寰蒋闆呴粦";color:<?php echo $_G['style']['highlightlink'];?>;}
.jlpg {
text-align:right;
padding-right:10px;
}
.jlpg strong {
display:inline-block;
height:20px;
width:20px;
border:1px solid #CCCCCC;
font-size:12px;
text-align:center;
margin-right:5px;
background-color:#CCCCCC;
color:#FFFFFF;
}
.jlpg a {
display:inline-block;
height:20px;
width:20px;
border:1px solid #CCCCCC;
font-size:12px;
text-align:center;
margin-right:5px;
}
</style>
<div id="ct" class="wp cl" style="margin:10px 0px;">
    <div style=" width:200px; float:left; border:1px solid #d7d7d7; background:#f8f8f8;">
        <div style=" line-height:32px; border-bottom:1px dashed #d7d7d7; margin:10px 8px 10px 8px; "><a href="plugin.php?id=xj_event:event_list&amp;pc=1" style="font-weight:bold; font-size:14px; font-family: '寰蒋闆呴粦';" class="xj_hll">绾夸笅娲诲姩[<?php echo $xxnum;?>]</a></div>
        <?php if(is_array($offlineclass)) foreach($offlineclass as $key => $value) { ?>        <div style="line-height:24px; margin:0px 8px; background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 23px; padding-left:5px;"><a href="plugin.php?id=xj_event:event_list&amp;pc=1&amp;offlineclass=<?php echo $value['0'];?>" class="xj_h"><?php echo $value['1'];?><span class="xj_hll">[<?php echo $value['2'];?>]</span></a></div>
        <?php } ?>
        <div style=" line-height:32px; border-bottom:1px dashed #d7d7d7; margin:10px 8px 10px 8px; "><a href="plugin.php?id=xj_event:event_list&amp;pc=2" style="font-weight:bold; font-size:14px; font-family: '寰蒋闆呴粦';" class="xj_hll">绾夸笂娲诲姩[<?php echo $xsnum;?>]</a></div>
        <?php if(is_array($onlineclass)) foreach($onlineclass as $key => $value) { ?>        <div style="line-height:24px; margin:0px 8px; background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 23px; padding-left:5px;"><a href="plugin.php?id=xj_event:event_list&amp;pc=2&amp;onlineclass=<?php echo $value['0'];?>" class="xj_h"><?php echo $value['1'];?><span class="xj_hll">[<?php echo $value['2'];?>]</span></a></div>
        <?php } ?>


        <?php if(!$_G['cache']['plugin']['xj_event']['event_city']) { ?>
        <div style=" line-height:32px; border-bottom:1px dashed #d7d7d7; margin:10px 8px 10px 8px; font-weight:bold; font-size:14px; font-family: '寰蒋闆呴粦';color:<?php echo $_G['style']['highlightlink'];?>;">娲诲姩鍦板尯</div>
        <?php if(is_array($cityclass)) foreach($cityclass as $key => $value) { ?>        <div style="line-height:24px; margin:0px 8px; background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 23px; padding-left:5px;"><a href="plugin.php?id=xj_event:event_list&amp;city=<?php echo $value['1'];?>" class="xj_h"><?php echo $value['1'];?><span class="xj_hll">[<?php echo $value['2'];?>]</span></a></div>
        <?php } ?>
        <?php } else { ?>
        <div style=" line-height:32px; margin:10px 8px 10px 8px; font-weight:bold; font-size:14px; font-family: '寰蒋闆呴粦';color:<?php echo $_G['style']['highlightlink'];?>;"><a href="javascript:" style="font-weight:bold; font-size:14px; font-family: '寰蒋闆呴粦';" class="xj_hll" onclick="showWindow('city', 'plugin.php?id=xj_event:city')">娲诲姩鍦板尯 +</a></div>
<script language="javascript">
document.onclick = function() {//点击空白文档隐藏
hideWindow('city');
};
</script>
        
        <?php } ?>




        <div style="clear:both; margin-top:20px;"></div>
    </div>
    <div style=" width: auto; float: none; margin:0px 0px 0px 210px;">
    	<div style="padding-top:10px;">
<div class="xjmain" id="event1">
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
ajaxget('plugin.php?id=xj_event:event_list_ajax&action=<?php echo $_GET['action'];?>&choose=<?php echo $_GET['choose'];?>&pc=<?php echo $_GET['pc'];?>&offlineclass=<?php echo $_GET['offlineclass'];?>&onlineclass=<?php echo $_GET['onlineclass'];?>&city=<?php echo $_GET['city'];?>','event1','','','','');
</script><?php include template('common/footer'); ?>