webroot/http/maps.ps1

@"
<!DOCTYPE html>
<html lang="en">
 
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>7 Days To Die - Cindar's World</title>
 
 
    <!--STYLESHEET-->
    <!--=================================================-->
 
    <!--Open Sans Font [ OPTIONAL ]-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
 
 
    <!--Bootstrap Stylesheet [ REQUIRED ]-->
    <link href="css/bootstrap.min.css" rel="stylesheet">
 
 
    <!--Nifty Stylesheet [ REQUIRED ]-->
    <link href="css/nifty.min.css" rel="stylesheet">
 
 
    <!--Nifty Premium Icon [ DEMONSTRATION ]-->
    <link href="css/demo/nifty-demo-icons.min.css" rel="stylesheet">
 
 
    <!--Demo [ DEMONSTRATION ]-->
    <link href="css/demo/nifty-demo.min.css" rel="stylesheet">
 
 
         
    <!--Morris.js [ OPTIONAL ]-->
    <link href="plugins/morris-js/morris.min.css" rel="stylesheet">
 
 
    <!--Magic Checkbox [ OPTIONAL ]-->
    <link href="plugins/magic-check/css/magic-check.min.css" rel="stylesheet">
 
    <!-- Font Awesome -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">
 
     
    <!--JAVASCRIPT-->
    <!--=================================================-->
 
    <!--Pace - Page Load Progress Par [OPTIONAL]-->
    <link href="plugins/pace/pace.min.css" rel="stylesheet">
    <script src="plugins/pace/pace.min.js"></script>
 
 
    <!--jQuery [ REQUIRED ]-->
    <script src="js/jquery.min.js"></script>
 
 
    <!--BootstrapJS [ RECOMMENDED ]-->
    <script src="js/bootstrap.min.js"></script>
 
 
    <!--NiftyJS [ RECOMMENDED ]-->
    <script src="js/nifty.min.js"></script>
 
    <!--=================================================-->
     
    <!--Demo script [ DEMONSTRATION ]-->
    <script src="js/demo/nifty-demo.min.js"></script>
 
     
    <!--Morris.js [ OPTIONAL ]-->
    <script src="plugins/morris-js/morris.min.js"></script>
    <script src="plugins/morris-js/raphael-js/raphael.min.js"></script>
 
 
    <!--Sparkline [ OPTIONAL ]-->
    <script src="plugins/sparkline/jquery.sparkline.min.js"></script>
 
 
    <!--Specify page [ SAMPLE ]-->
    <script src="js/demo/dashboard.js"></script
 
</head>
 
<!--TIPS-->
<!--You may remove all ID or Class names which contain "demo-", they are only used for demonstration. -->
<body>
    <div id="container" class="effect aside-float aside-bright mainnav-lg">
         
        <!--NAVBAR-->
        <!--===================================================-->
        <header id="navbar">
            <div id="navbar-container" class="boxed">
 
                <!--Brand logo & name-->
                <!--================================-->
                <div class="navbar-header">
                    <a href="index.html" class="navbar-brand">
                        <img src="img/7dtd_logo.png" class="brand-icon">
                        <div class="brand-title">
                            <span class="brand-text">Cindar's World</span>
                        </div>
                    </a>
                </div>
                <!--================================-->
                <!--End brand logo & name-->
 
 
                <!--Navbar Dropdown-->
                <!--================================-->
                <div class="navbar-content clearfix">
                    <ul class="nav navbar-top-links pull-left">
 
                        <!--Navigation toggle button-->
                        <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
                        <li class="tgl-menu-btn">
                            <a class="mainnav-toggle" href="#">
                                <i class="demo-pli-view-list"></i>
                            </a>
                        </li>
                        <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
                        <!--End Navigation toogle button-->
                         
                    </ul>
 
                    <ul class="nav text-center">
 
                        <!--Updated Timer-->
                        <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
                        <li>
                           <div class="username">Last Updated: 12/19/2017 14:22</div></center>
                        </li>
                        <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
                        <!--End Updated Timer-->
 
                    </ul>
                </div>
                <!--================================-->
                <!--End Navbar Dropdown-->
 
            </div>
        </header>
        <!--===================================================-->
        <!--END NAVBAR-->
 
        <div class="boxed">
 
            <!--CONTENT CONTAINER-->
            <!--===================================================-->
            <div id="content-container">
                 
                <!--Page content-->
                <!--===================================================-->
                <div id="page-content">
                     
                    <div class="row">
                        <div class="col-lg-12">
                            <iframe src="http://192.168.10.20:8082/static/index.html#tab_map" border=0 width=100% height=810></iframe>
                        </div>
                    </div>
                     
                </div>
                <!--===================================================-->
                <!--End page content-->
 
 
            </div>
            <!--===================================================-->
            <!--END CONTENT CONTAINER-->
 
             
            <!--MAIN NAVIGATION-->
            <!--===================================================-->
            <nav id="mainnav-container">
                <div id="mainnav">
 
                    <!--Menu-->
                    <!--================================-->
                    <div id="mainnav-menu-wrap">
                        <div class="nano">
                            <div class="nano-content">
 
                               <!--Widget-->
                                <!--================================-->
                                <div class="mainnav-widget">
 
                                    <!-- Show the button on collapsed navigation -->
                                    <div class="show-small">
                                        <a href="#" data-toggle="menu-widget" data-target="#demo-wg-server">
                                            <i class="demo-pli-monitor-2"></i>
                                        </a>
                                    </div>
 
                                    <!-- Hide the content on collapsed navigation -->
                                    <div id="demo-wg-server" class="hide-small mainnav-widget-content">
                                        <ul class="list-group">
                                            <li>
                                                $(
                                                    #Determine If Main Server Is Up Or Down
                                                    If((Get-NetTCPConnection | Where {$_.OwningProcess -eq $((Get-Process | Where {$_.ProcessName -like '7DaysToDieServer'}).ID)} | Where {$_.LocalPort -eq '26900'} | Measure-Object).Count -gt 0)
                                                    {
                                                        '<span class="label label-success pull-right">UP</span>'
                                                    }
                                                    Else
                                                    {
                                                        '<span class="label label-danger pull-right">DOWN</span>'
                                                    }
                                                )
                                                <p>Main Server</p>
                                            </li>
                                            <li>
                                                $(
                                                    #Determine If Main Server Is Up Or Down
                                                    If((Get-NetTCPConnection | Where {$_.OwningProcess -eq $((Get-Process | Where {$_.ProcessName -like '7DaysToDieServer'}).ID)} | Where {$_.LocalPort -eq '26901'} | Measure-Object).Count -gt 0)
                                                    {
                                                        '<span class="label label-success pull-right">UP</span>'
                                                    }
                                                    Else
                                                    {
                                                        '<span class="label label-danger pull-right">DOWN</span>'
                                                    }
                                                )
                                                <p>Test Server</p>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <!--================================-->
                                <!--End widget-->
                             
                                <ul id="mainnav-menu" class="list-group">
                         
                                    <!--Category name-->
                                    <li class="list-header">Navigation</li>
                         
                                    <!--Menu list item-->
                                    <li>
                                        <a href="index.ps1">
                                            <i class="demo-psi-home"></i>
                                            <span class="menu-title">
                                                <strong>Dashboard</strong>
                                            </span>
                                        </a>
                                    </li>
 
                                    <!--Menu list item-->
                                    <li class="active-link">
                                        <a href="maps.ps1">
                                            <i class="fa fa-map-o" aria-hidden="true"></i>
                                            <span class="menu-title">
                                                <strong>Server Map</strong>
                                            </span>
                                        </a>
                                    </li>
 
                                    <!--Menu list item-->
                                    <li>
                                        <a href="serverlog.ps1">
                                            <i class="fa fa-file-text-o" aria-hidden="true"></i>
                                            <span class="menu-title">
                                                <strong>Server Log Feed</strong>
                                            </span>
                                        </a>
                                    </li>
                                     
                                    <!--Menu list item-->
                                    <li>
                                        <a href="controlpanel.ps1">
                                            <i class="fa fa-terminal" aria-hidden="true"></i>
                                            <span class="menu-title">
                                                <strong>Control Panel</strong>
                                            </span>
                                        </a>
                                    </li>
                                     
                                </ul>
                            </div>
                        </div>
                    </div>
                    <!--================================-->
                    <!--End menu-->
 
                </div>
            </nav>
            <!--===================================================-->
            <!--END MAIN NAVIGATION-->
 
        </div>
 
         
 
        <!-- FOOTER -->
        <!--===================================================-->
        <footer id="footer">
 
            <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
            <!-- Remove the class "show-fixed" and "hide-fixed" to make the content always appears. -->
            <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
 
            <p class="pad-lft">&#0169; 2017 Sean Davis</p>
 
        </footer>
        <!--===================================================-->
        <!-- END FOOTER -->
 
 
        <!-- SCROLL PAGE BUTTON -->
        <!--===================================================-->
        <button class="scroll-top btn">
            <i class="pci-chevron chevron-up"></i>
        </button>
        <!--===================================================-->
 
 
 
    </div>
    <!--===================================================-->
    <!-- END OF CONTAINER -->
     
</body>
</html>
"@