<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="admin/admin/template/style/admin.css" rel="stylesheet" type="text/css" />
<link href="admin/admin/template/style/css.css" rel="stylesheet" type="text/css" />
<!--  调用动态弹框效果 -->
<!--
<link href="artDialogSkins/aero.css" rel="stylesheet" type="text/css" />
<script src="include/js/artDialog/artDialog.source.js" type="text/javascript"></script>
-->
<script src="include/js/artDialog/artDialog.js?skin=default" type="text/javascript"></script>
<script src="include/js/artDialog/plugins/iframeTools.source.js"></script>
<!--  end  -->
<script src="include/js/jquery.js" type="text/javascript"></script>
<script src="include/js/admin.js" type="text/javascript"></script>
<script type="text/javascript">
function  heightSet(thisFrame){
      if($.browser.mozilla || $.browser.msie){
          bodyHeight =window.frames["ld_update"].document.body.scrollHeight;
      }else{
          bodyHeight =thisFrame.contentWindow.document.documentElement.scrollHeight;
      }
       document.getElementById("ld_update").height=bodyHeight;  

}

 

</script>
</head>
<body<?php if($a=='left'){echo ' class="leftbody" style="overflow-x:hidden;"';}elseif($a=='main'){ echo 'class="mainbody"';}?>>

<?php if($a==='headers'){ ?>
<style type="text/css">
.page_nav ul li a{text-decoration:none;}
</style>

<div class="page_top">
		
		<h1><a href=""><img src="admin/admin/template/images/logo.png"/></a></h1>
		<div class="page_nav">
			<ul id="func_admin_top_ul">
				<li class="topnavhover"><a href="javascript:JumpFrame('admin.php?a=left','admin.php?c=ld_article');" style="text-decoration:none;">内容管理</a></li>
				<li><a href="javascript:JumpFrame('admin.php?a=left&l=classtypes','admin.php?c=ld_classtypes');">栏目管理</a></li>
				<li><a href="javascript:JumpFrame('admin.php?a=left&l=molds','admin.php?c=ld_molds');">频道管理</a></li>
				<li><a href="javascript:JumpFrame('admin.php?a=left&l=member','admin.php?c=ld_member');">会员管理</a></li>
				<li><a href="javascript:JumpFrame('admin.php?a=left&l=order','admin.php?c=ld_order');">订单管理</a></li>
				<li><a href="javascript:JumpFrame('admin.php?a=left&l=funs','admin.php?c=ld_ads');">其他管理</a></li>
				<li><a href="javascript:JumpFrame('admin.php?a=left&l=sys','admin.php?c=ld_sys');">系统管理</a></li>
				<li><a href="javascript:JumpFrame('admin.php?a=left&l=online','admin.php?c=ld_online');">在线客服</a></li>
			</ul>
		</div>
        
        <div class="help_linksl">
				<a href="#">当前登录:</a>
				<?php echo $_SESSION['auser']['auser']; ?>
				<a href="admin.php?c=ld_adminuser&a=edituser" target="main">[修改资料]</a>
				<a href="admin.php?c=login&a=out" target="_parent">[退出登录]</a>
		</div>

		<div class="help_links">
				<a href="admin.php?c=ld_sys&a=ecache" target="main">更新系统缓存</a>|
				<a href="index.php" target="_blank">网站首页</a>|
				<a href="javascript:JumpFrame('admin.php?a=left','admin.php?a=main')">管理首页</a>|
				<a href="http://www.5545.cn/" target="_blank" >帮助</a>|
				<a href="http://www.5545.cn/" target="_blank" >问题反馈</a>|
				<a href="http://www.5545.cn/" target="_blank" >网站开发</a>
		</div>
        
	</div>

<?php } ?>

<?php if($a==='left'){ ?>

<style type="text/css">
.page_sidebar ul li a{text-decoration:none;}
</style>

<div class="page_sidebar">
	<ul id="func_left_nav">
		<?php echo $leftmenu ?>
	</ul>
</div>


<?php } ?>


<?php if($a=='main'){ ?>
<div class="maintop">当前位置：管理首页</div>
<div class="main">
  <table width="100%" class="tablist">
  <?php print_r($sys);?>
    <tr class="trbg">
      <td colspan="2" class="tdleft" style="padding-left:10px;">欢迎登录<?php echo syExt('site_title');?>后台管理。</td>
    </tr>
    <tr>
      <td width="80">友情提示：</td>
      <td class="tdleft">如不会使用本系统或不会制作模板等，可选择官方服务，为您提供全程无忧服务，详询官方网站客服。<a href="http://www.5545.cn" target="_blank">http://www.5545.cn</a></td>
    </tr>
    <tr>
      <td width="80">系统介绍：</td>
      <td class="tdleft"><?php echo syExt('site_company'); ?>通用建站程序</td>
    </tr>
    <tr>
      <td width="80">系统版本：</td>
      <td class="tdleft"><?php echo syExt('site_system_name');?> <strong><?php echo syExt('version');?></strong> - <?php echo syExt('update');?></td>
    </tr>
    <tr>
      <td width="80">官方网址：</td>
      <td class="tdleft"><a href="http://www.5545.cn" target="_blank">http://www.5545.cn</a></td>
    </tr>
    <tr>
      <td>Email：</td>
      <td class="tdleft">landin@5545.cn</td>
    </tr>
  </table>
  <br />
  <?php if($c->checkgo('ld_update')){ ?>
  <!-- 
  <table width="100%" class="tablist">
    <tr class="trbg">
      <td class="tdleft" style="padding-left:10px;">更新公告</td>
    </tr>
    <tr>
       <td class="tdleft"><iframe src="?c=ld_update&a=update_d" frameborder="0" scrolling="no" name="ld_update" id="ld_update" width="600" onload="heightSet(this)"></iframe></td> 
    </tr>
  </table> -->
  <?php } ?>
</div>
<?php if($GLOBALS['iConfig']['ext']['qq_sync']==1 && empty( $_SESSION ['openid'] )) { ?>
 
<script type="text/javascript" >

art.dialog({
    id: 'qqlogin_d',
    title:'是否登录QQ',
    content: '您开启了QQ信息同步,登录QQ后会将您发布的信息同步QQ空间,提高曝光率',
    button: [
        {
            name: '我要同步',
            callback: function () {
            	window.location="<?php echo $GLOBALS['iConfig']['ext']['http_path']?>/qq/index.php?referre=main&type=1'";
				return true;
            },
            focus: true
        },
        {
            name: '下次再说',
            callback: function () {
                return true;
            }
        },
        {
            name: '三十天不提示',
            callback: function () {
                //return true;
                //TODO ajax 设置系统
            }
        },
        {
            name: '关闭'
        }
    ]
});
</script>
 
<?php } ?>
<<<<<<< .mine
<script language="javascript" type="text/javascript">
art.dialog({
    lock: true,	//锁屏
    opacity: 0.87,	// 透明度
    title:'设置系统信息',
    content: '首次使用系统需要设置一些系统信息哦！',
    icon: 'face-smile',
    button: [
             {
                 name: '现在就去设置',
                 callback: function () {
                 	window.location="javascript:JumpFrame('admin.php?a=left&l=sys','admin.php?c=ld_sys')";
     				return true;
                 },
                 focus: true
             },
             {
                 name: '下次再说',
                 callback: function () {
                     return true;
                 }
                 
             },
             {
                 name: '不再提示',
                 callback: function () {
                     //return true;
                     //TODO ajax 设置系统
                 }
             },
             {
                 name: '关闭'
             }
         ]    
});
</script>
=======
<?php if($GLOBALS['iConfig']['ext']['weibo_sync']==1 && empty( $_SESSION ['openid'] )) { ?>
<script type="text/javascript" >

>>>>>>> .r500
art.dialog({
    id: 'weibo_login',
    title:'是否登录微博',
    content: '您开启了微博信息同步,登录微博后会将您发布的信息同步微博,提高曝光率',
    button: [
        {
            name: '我要同步',
            callback: function () {
            	window.location="<?php echo $GLOBALS['iConfig']['ext']['http_path']?>/weibo/index.php?referre=main&type=1'";
				return true;
            },
            focus: true
        },
        {
            name: '下次再说',
            callback: function () {
                return true;
            }
        },
        {
            name: '三十天不提示',
            callback: function () {
                //return true;
                //TODO ajax 设置系统
            }
        },
        {
            name: '关闭'
        }
    ]
});
</script>
<?php } ?>



<?php } ?>
<?php if($a==='bottom'){ ?>

		<div class="page_foot">
			<p>蓝鼎 通用建站程序 版本1.0.0 - 20120725 Powered by 5545.cn © 2010-2099</p>
		</div>
<?php } ?>
</body>
</script>
</html>
