<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>Office 515158.com OA办公系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--Basic Styles-->
    <link href="<?php echo style2015;?>assets/css/bootstrap.min.css" rel="stylesheet" />
    <link id="bootstrap-rtl-link" href="#" rel="stylesheet" />
    <link href="<?php echo style2015;?>assets/css/font-awesome.min.css" rel="stylesheet" />
    <link href="<?php echo style2015;?>assets/css/weather-icons.min.css" rel="stylesheet" />
    <!--Beyond styles-->
    <link id="beyond-link" href="<?php echo style2015;?>assets/css/beyondhome.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo style2015;?>assets/css/demo.min.css" rel="stylesheet" />
    <link href="<?php echo style2015;?>assets/css/typicons.min.css" rel="stylesheet" />
    <link href="<?php echo style2015;?>assets/css/animate.min.css" rel="stylesheet" />
	<!--Basic Scripts-->
    <script src="<?php echo style2015;?>assets/js/jquery.min.js"></script>
    <script src="<?php echo style2015;?>assets/js/bootstrap.min.js"></script>
    <script src="<?php echo style2015;?>assets/js/slimscroll/jquery.slimscroll.min.js"></script>
	
</head>
<!-- /Head -->
<!-- Body -->
<body>

    <!-- Main Container -->
    <div class="main-container container-fluid">
        <!-- Page Container -->
        <div class="page-container">
            <!-- Page Content -->
            <div class="page-content">
                <!-- Page Body -->
                <div class="page-body">
                    <div class="row">
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                            <div class="row">
                                <?php
								if($bguser['home_txt']!=''){
									$_txt=substr($bguser['home_txt'], 0, -1);
									$_txt=str_replace("tscx","'",$_txt);
									$_txt=str_replace("|",";|",$_txt).';';
									$_txt=explode('|',$_txt);
									for($i=0;$i<sizeof($_txt);$i++){
										if(sizeof(explode('_Ico',$_txt[$i]))!=1){
											if($_txt[$i]!=''){
												eval($_txt[$i]);
											}
										}
									}
								}else{
									$query = $db->query("SELECT * FROM ".DB_TABLEPRE.DB_JT."homekey
									  where type1=1 and type=1 and (user LIKE 
									  '%,".get_realname($_USER->id).",%' or user='0') 
									  order by numbers asc");
									while ($row = $db->fetch_array($query)) {
										if($row['tables']!='0'){
											if(mysql_num_rows(mysql_query("SHOW TABLES LIKE '".DB_TABLEPRE.DB_JT.$row['tables']."'"))==1){
												$_txt=str_replace("tscx","'",$row['modname']).';';
												eval($_txt);
											}
										}else{
											$_txt=str_replace("tscx","'",$row['modname']).';';
											eval($_txt);
										}
										
									}
								} 
								?>
								
								
                            </div>
                        </div>
                    </div>
					
					
					
					<script type="text/javascript">
					function _Home_Scroll(color,id){
						$('#'+id).slimscroll({
							position: 'right',
							size: '6px',
							color: color,
							height: '200px',
						});
					}
					//_Home_Scroll("#2dc3e8","WorkClass_Info");
					
				</script>
					
					
					
					
					
					<div class="row">
                    	<?php 
						
						if($bguser['home_txt']!=''){
							$_txt=substr($bguser['home_txt'], 0, -1);
							$_txt=str_replace("tscx","'",$_txt);
							$_txt=str_replace("|",";|",$_txt).';';
							$_txt=explode('|',$_txt);
							for($i=0;$i<sizeof($_txt);$i++){
								if(sizeof(explode('_Info',$_txt[$i]))!=1){
									if($_txt[$i]!=''){
										eval($_txt[$i]);
										//echo $_txt[$i];
									}
								}
							}
						}else{
							$query = $db->query("SELECT * FROM ".DB_TABLEPRE.DB_JT."homekey
							  where type1=1 and type=2 and (user LIKE 
							  '%,".get_realname($_USER->id).",%' or user='0') 
							  order by numbers asc");
							while ($row = $db->fetch_array($query)) {
								if($row['tables']!='0'){
									if(mysql_num_rows(mysql_query("SHOW TABLES LIKE '".DB_TABLEPRE.DB_JT.$row['tables']."'"))==1){
										$_txt=str_replace("tscx","'",$row['modname']).';';
										eval($_txt);
									}
								}else{
									$_txt=str_replace("tscx","'",$row['modname']).';';
									eval($_txt);
								}
							}
						}
						
						
						
						//工作流
						//echo _WorkClass_Info();
						//公文
						//echo _Apps_Info();
						//集团审批
						//echo _JiTuan_Info();
						//公告
						//echo _News_Info(3,'公告','fa-bell-o');
						//通知
						//echo _News_Info(4,'通知','fa-bullhorn');
						//新闻
						//echo _News_Info(1,'新闻','fa-rss-square');
						//电子期刊
						//echo _News_Info(6,'电子期刊','fa-clipboard');
						//大事记
						//echo _News_Info(5,'大事记','fa-volume-up');
						
						
						
						//日程安排
						///echo _WorkDate_Info();
						//工作计划
						//echo _Plan_Info();
						//我的任务
						//echo _Duty_Info();
						//工作日记
						//echo _Blog_Info();
						
						//个人文件柜
						//echo _DocuMent_Info(1,'个人文件柜','fa-folder');
						//公共文件柜
						//echo _DocuMent_Info(2,'公共文件柜','fa-archive');
						//网络硬盘
						//echo _DocuMent_Info(3,'网络硬盘','fa-hdd-o');
						//下载管理
						//echo _DocuMent_Info(4,'下载管理','fa-download');
						//规章制度
						//echo _DocuMent_Info(5,'规章制度','fa-credit-card');
						//报表管理
						//echo _DocuMent_Info(6,'报表管理','fa-bar-chart-o');
						
						
						//知识阅读
						//echo _Knowledge_Info();
						//投票
						//echo _App_Info();
						//论坛
						//echo _Bbs_Info();
						//档案管理
						//echo _File_Info();
						//项目审批
						//echo _Project_Info();
						//培训管理
						//echo _TraiNing_Info();
						//图书管理
						//echo _Book_Info();
						//办公用品
						//echo _Goods_Info();
						//会议管理
						//echo _Conferencet_Info();
						
						//客户信息
						//echo _Company_Info();
						//客户关怀
						//echo _Care_Info();
						//客户回访
						//echo _Service_Info();
						//客户投诉
						//echo _Complaints_Info();
						//报价单
						//echo _Offer_Info();
						//解决方案
						//echo _Program_Info();
						//合同
						//echo _ContRact_Info();
						//订单
						//echo _Order_Info();
						//收款单
						//echo _Price_Info();
						//付款单
						//echo _Payment_Info();
						//供应商信息
						//echo _Supplier_Info();
						//采购信息
						//echo _Purchase_Info();
						//代理商信息
						//echo _Business_Info();

						
						?>	
					</div>
					
					
                    <!--<div class="row">
                        <div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
                            <div class="databox databox-xxlg databox-vertical databox-inverted">
                                <div class="databox-top bg-whitesmoke no-padding">
                                    <div class="databox-row row-2 bg-orange no-padding">
                                        <div class="databox-cell cell-1 text-align-center no-padding padding-top-5">
                                            <span class="databox-number white"><i class="fa fa-bar-chart-o no-margin"></i></span>
                                        </div>
                                        <div class="databox-cell cell-8 no-padding padding-top-5 text-align-left">
                                            <span class="databox-number white">PAGE VIEWS</span>
                                        </div>
                                        <div class="databox-cell cell-3 text-align-right padding-10">
                                            <span class="databox-text white">13 DECEMBER</span>
                                        </div>
                                    </div>
                                    <div class="databox-row row-4">
                                        <div class="databox-cell cell-6 no-padding padding-10 padding-left-20 text-align-left">
                                            <span class="databox-number orange no-margin">534,908</span>
                                            <span class="databox-text sky no-margin">OVERAL VIEWS</span>
                                        </div>
                                        <div class="databox-cell cell-2 no-padding padding-10 text-align-left">
                                            <span class="databox-number orange no-margin">4,129</span>
                                            <span class="databox-text darkgray no-margin">THIS WEEK</span>
                                        </div>
                                        <div class="databox-cell cell-2 no-padding padding-10 text-align-left">
                                            <span class="databox-number orange no-margin">329</span>
                                            <span class="databox-text darkgray no-margin">YESTERDAY</span>
                                        </div>
                                        <div class="databox-cell cell-2 no-padding padding-10 text-align-left">
                                            <span class="databox-number orange no-margin">104</span>
                                            <span class="databox-text darkgray no-margin">TODAY</span>
                                        </div>
                                    </div>
                                    <div class="databox-row row-6 no-padding">
                                        <div class="databox-sparkline">
                                            <span data-sparkline="line" data-height="126px" data-width="100%" data-fillcolor="#37c2e2" data-linecolor="#37c2e2"
                                                  data-spotcolor="#fafafa" data-minspotcolor="#fafafa" data-maxspotcolor="#ffce55"
                                                  data-highlightspotcolor="#f5f5f5 " data-highlightlinecolor="#f5f5f5"
                                                  data-linewidth="2" data-spotradius="0">
                                                5,7,6,5,9,4,3,7,2
                                            </span>
                                        </div>
                                    </div>
                                </div>
                                <div class="databox-bottom bg-sky no-padding">
                                    <div class="databox-cell cell-2 text-align-center no-padding padding-top-5">
                                        <span class="databox-header white">Mon</span>
                                    </div>
                                    <div class="databox-cell cell-2 text-align-center no-padding padding-top-5">
                                        <span class="databox-header white">Tues</span>
                                    </div>
                                    <div class="databox-cell cell-2 text-align-center no-padding padding-top-5">
                                        <span class="databox-header white">Wed</span>
                                    </div>
                                    <div class="databox-cell cell-2 text-align-center no-padding padding-top-5">
                                        <span class="databox-header white">Thu</span>
                                    </div>
                                    <div class="databox-cell cell-2 text-align-center no-padding padding-top-5">
                                        <span class="databox-header white">Fri</span>
                                    </div>
                                    <div class="databox-cell cell-2 text-align-center no-padding padding-top-5">
                                        <span class="databox-header white">Sat</span>
                                    </div>

                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
                            <div class="databox databox-xxlg databox-vertical databox-shadowed bg-white radius-bordered padding-5">
                                <div class="databox-top">
                                    <div class="databox-row row-12">
                                        <div class="databox-cell cell-3 text-center">
                                            <div class="databox-number number-xxlg sonic-silver">164</div>
                                            <div class="databox-text storm-cloud">online</div>
                                        </div>
                                        <div class="databox-cell cell-9 text-align-center">
                                            <div class="databox-row row-6 text-left">
                                                <span class="badge badge-palegreen badge-empty margin-left-5"></span>
                                                <span class="databox-inlinetext uppercase darkgray margin-left-5">NEW</span>
                                                <span class="badge badge-yellow badge-empty margin-left-5"></span>
                                                <span class="databox-inlinetext uppercase darkgray margin-left-5">RETURNING</span>
                                            </div>
                                            <div class="databox-row row-6">
                                                <div class="progress bg-yellow progress-no-radius">
                                                    <div class="progress-bar progress-bar-palegreen" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 78%">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="databox-bottom">
                                    <div class="databox-row row-12">
                                        <div class="databox-cell cell-7 text-center  padding-5">
                                            <div id="dashboard-pie-chart-sources" class="chart"></div>
                                        </div>
                                        <div class="databox-cell cell-5 text-center no-padding-left padding-bottom-30">
                                            <div class="databox-row row-2 bordered-bottom bordered-ivory padding-10">
                                                <span class="databox-text sonic-silver pull-left no-margin">Type</span>
                                                <span class="databox-text sonic-silver pull-right no-margin uppercase">PCT</span>
                                            </div>
                                            <div class="databox-row row-2 bordered-bottom bordered-ivory padding-10">
                                                <span class="badge badge-blue badge-empty pull-left margin-5"></span>
                                                <span class="databox-text darkgray pull-left no-margin hidden-xs">FEED</span>
                                                <span class="databox-text darkgray pull-right no-margin uppercase">46%</span>
                                            </div>
                                            <div class="databox-row row-2 bordered-bottom bordered-ivory padding-10">
                                                <span class="badge badge-orange badge-empty pull-left margin-5"></span>
                                                <span class="databox-text darkgray pull-left no-margin hidden-xs">PREFERRAL</span>
                                                <span class="databox-text darkgray pull-right no-margin uppercase">21%</span>
                                            </div>
                                            <div class="databox-row row-2 bordered-bottom bordered-ivory padding-10">
                                                <span class="badge badge-pink badge-empty pull-left margin-5"></span>
                                                <span class="databox-text darkgray pull-left no-margin hidden-xs">DIRECT</span>
                                                <span class="databox-text darkgray pull-right no-margin uppercase">12%</span>
                                            </div>
                                            <div class="databox-row row-2 bordered-bottom bordered-ivory padding-10">
                                                <span class="badge badge-palegreen badge-empty pull-left margin-5"></span>
                                                <span class="databox-text darkgray pull-left no-margin hidden-xs">EMAIL</span>
                                                <span class="databox-text darkgray pull-right no-margin uppercase">11%</span>
                                            </div>
                                            <div class="databox-row row-2 padding-10">
                                                <span class="badge badge-yellow badge-empty pull-left margin-5"></span>
                                                <span class="databox-text darkgray pull-left no-margin hidden-xs">ORGANIC</span>
                                                <span class="databox-text darkgray pull-right no-margin uppercase">10%</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div> -->
                </div>
                <!-- /Page Body -->
            </div>
            <!-- /Page Content -->

        </div>
        <!-- /Page Container -->
        <!-- Main Container -->

    </div>

    

    <!--Beyond Scripts-->
    <script src="<?php echo style2015;?>assets/js/beyond.js"></script>


    <!--Page Related Scripts-->
    <!--Sparkline Charts Needed Scripts-->
    <script src="<?php echo style2015;?>assets/js/charts/sparkline/jquery.sparkline.js"></script>
    <script src="<?php echo style2015;?>assets/js/charts/sparkline/sparkline-init.js"></script>

    <!--Easy Pie Charts Needed Scripts-->
    <script src="<?php echo style2015;?>assets/js/charts/easypiechart/jquery.easypiechart.js"></script>
    <script src="<?php echo style2015;?>assets/js/charts/easypiechart/easypiechart-init.js"></script>

    <!--Flot Charts Needed Scripts-->
    <script src="<?php echo style2015;?>assets/js/charts/flot/jquery.flot.js"></script>
    <script src="<?php echo style2015;?>assets/js/charts/flot/jquery.flot.resize.js"></script>
    <script src="<?php echo style2015;?>assets/js/charts/flot/jquery.flot.pie.js"></script>
    <script src="<?php echo style2015;?>assets/js/charts/flot/jquery.flot.tooltip.js"></script>
    <script src="<?php echo style2015;?>assets/js/charts/flot/jquery.flot.orderBars.js"></script>

    <script>
        // If you want to draw your charts with Theme colors you must run initiating charts after that current skin is loaded
        $(window).bind("load", function () {

            /*Sets Themed Colors Based on Themes*/
            themeprimary = getThemeColorFromCss('themeprimary');
            themesecondary = getThemeColorFromCss('themesecondary');
            themethirdcolor = getThemeColorFromCss('themethirdcolor');
            themefourthcolor = getThemeColorFromCss('themefourthcolor');
            themefifthcolor = getThemeColorFromCss('themefifthcolor');

            //Sets The Hidden Chart Width
            $('#dashboard-bandwidth-chart')
                .data('width', $('.box-tabbs')
                    .width() - 20);

            //-------------------------Visitor Sources Pie Chart----------------------------------------//
            var data = [
                {
                    data: [[1, 21]],
                    color: '#fb6e52'
                },
                {
                    data: [[1, 12]],
                    color: '#e75b8d'
                },
                {
                    data: [[1, 11]],
                    color: '#a0d468'
                },
                {
                    data: [[1, 10]],
                    color: '#ffce55'
                },
                {
                    data: [[1, 46]],
                    color: '#5db2ff'
                }
            ];
            /*var placeholder = $("#dashboard-pie-chart-sources");
            placeholder.unbind();

            $.plot(placeholder, data, {
                series: {
                    pie: {
                        innerRadius: 0.45,
                        show: true,
                        stroke: {
                            width: 4
                        }
                    }
                }
            });

            */
            function getRandomData() {
                if (realTimedata.length > 0)
                    realTimedata = realTimedata.slice(1);

                // Do a random walk

                while (realTimedata.length < totalPoints) {

                    var prev = realTimedata.length > 0 ? realTimedata[realTimedata.length - 1] : 50,
                        y = prev + Math.random() * 10 - 5;

                    if (y < 0) {
                        y = 0;
                    } else if (y > 100) {
                        y = 100;
                    }
                    realTimedata.push(y);
                }

                // Zip the generated y values with the x values

                var res = [];
                for (var i = 0; i < realTimedata.length; ++i) {
                    res.push([i, realTimedata[i]]);
                }

                return res;
            }
            

            


            //-------------------------Initiates Easy Pie Chart instances in page--------------------//
            InitiateEasyPieChart.init();

            //-------------------------Initiates Sparkline Chart instances in page------------------//
            InitiateSparklineCharts.init();
        });
		
	
    </script>
	
</body>
<!--  /Body -->

<!-- Mirrored from beyondadmin-v1.4.s3-website-us-east-1.amazonaws.com/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 07 May 2015 08:27:13 GMT -->
</html>
