<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('city');?><?php include template('common/header'); ?><div id="citycontent">
<div style="padding:15px; width:500px;">
<ul>

<?php if($upid) { ?>
    <?php if(is_array($city)) foreach($city as $value) { ?>    	<?php if($_G['cache']['plugin']['xj_event']['event_centerstyle'] == 3) { ?>
        	<li style="width:120px; line-height:20px; float:left;"><a href="plugin.php?id=xj_event:event_center&amp;city=<?php echo $value['name'];?>"><?php echo $value['name'];?></a></li>
        <?php } elseif($_G['cache']['plugin']['xj_event']['event_centerstyle'] == 6) { ?>    
            <li style="width:120px; line-height:20px; float:left;"><a href="javascript:" onclick="moreitems('',1,'','','','<?php echo $value['name'];?>','');"><?php echo $value['name'];?></a></li>
        <?php } else { ?>
    		<li style="width:120px; line-height:20px; float:left;"><a href="plugin.php?id=xj_event:event_list&amp;city=<?php echo $value['name'];?>"><?php echo $value['name'];?></a></li>
        <?php } ?>
    <?php } ?>
    <br /><li style="width:120px; line-height:20px; float:left;"><a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:city','citycontent');" style="color:#999999;">[返回]</a></li>
<?php } else { ?>
    <?php if(is_array($province)) foreach($province as $value) { ?>    <li style="width:120px; line-height:20px; float:left;"><a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:city&upid=<?php echo $value['id'];?>','citycontent');"><?php echo $value['name'];?></a></li>
    <?php } } ?>

</ul>
<div style=" clear:both;"></div>
</div>
</div><?php include template('common/footer'); ?>