Ankündigung

Einklappen
Keine Ankündigung bisher.

Javascript Log stört den style?

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Javascript Log stört den style?

    Hallo Forum,

    ich habe ein sehr ungewöhnliches Problem, zumindest habe ich bei Google dazu nichts gefunden.
    Am Anfang jeder Seite von meinem Dashboard lade ich die datenbank:
    Code:
    require_once("includes/dbh.inc.php");
    .
    Nun habe ich auf ein moderneres und Professionelleres Template gewechselt und wollte die Datei wie geahbt einbinden.

    Das ganze funktioniert auch, leider zerstört die Log Nachricht ob die Test oder Work Datenbank aktiv ist den Style in der Actionbar am oberen Rand der Seite.
    Kommentiere ich den Log aus funktioniert alles ohne Probleme. Hat jemand eine Ahnung woran das liegen könnte?

    Hier noch einmal 2 Screenshots:

    Wie es aussehen sollte:
    bar-normal.png

    Wie es aussieht:
    bar-withlog.png

    Hier einmal der Code aus meiner Datenbank Datei:
    PHP-Code:
    <?php

    /* ========== Database ========== */
    /*
    $servername = "";
    $dBUsername = "";
    $dBPassword = "";
    $dBName = "";

    $servername = "";
    $dBUsername = "";
    $dBPassword = "";
    $dBName = "";

    $servername = "";
    $dBUsername = "";
    $dBPassword = "";
    $dBName = "";
    */
    /* ========== Database ========== */

    $whitelist = array('127.0.0.1''::1''localhost');

    if(!
    in_array($_SERVER['REMOTE_ADDR'], $whitelist)){
    $servername "";
    $dBUsername "";
    $dBPassword "";
    $dBName "";

    echo 
    '<script>console.log("Active Database: Work")</script>';
    } else {
    $servername "";
    $dBUsername "";
    $dBPassword "";
    $dBName "";

    echo 
    '<script>console.warn("WARNING! Active Database: Testing")</script>';
    }

    $conn mysqli_connect($servername$dBUsername$dBPassword$dBName);

    if(!
    $conn){
    die(
    "Connection failed: ".mysqli_connect_error());
    }
    A computer program does what you tell it to do, not what you want it to do.

  • #2
    Ich wollte noch die Stelle mit css Posten:

    css.png
    A computer program does what you tell it to do, not what you want it to do.

    Kommentar


    • #3
      Hiho,
      also wenn du den generierten quelltext zeigen könntest würde das viel helfen.

      Gruss Localfu
      PS: Wenn euch mein Post gefallen hat, dann lasst mir ein "Daumen hoch" da!

      Kommentar


      • #4
        PHP-Code:
        <script type="text/javascript" src="http://ff.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=MQk9xpd4OPuXnjM3wA_Zh7zJ-QZkP6sLryVJrKUrSEV0hXiaiy9OZmkSfUF9TQD7JPrxLd9vKS5 vJnctcAsmyyNzrdLtjteq68-f8JMh47M" charset="UTF-8"></script><script>console.warn("WARNING! Active Database: Testing")</script><!DOCTYPE html>
        <
        html lang="en">
        <
        head>
        <
        title>Dashboard</title>
        <!-- 
        HTML5 Shim and Respond.js IE11 support of HTML5 elements and media queries -->
        <!-- 
        WARNINGRespond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 11]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        <!-- Meta -->
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="" />
        <meta name="keywords" content="">
        <meta name="author" content="ThegreenY" />

        <!-- Favicon icon -->
        <link rel="icon" href="assets/images/favicon.ico" type="image/x-icon">
        <!-- fontawesome icon -->
        <link rel="stylesheet" href="assets/fonts/fontawesome/css/fontawesome-all.min.css">
        <!-- animation css -->
        <link rel="stylesheet" href="assets/plugins/animation/css/animate.min.css">

        <!-- notification css -->
        <link rel="stylesheet" href="assets/plugins/notification/css/notification.min.css">

        <!-- vendor css -->
        <link rel="stylesheet" href="assets/css/style.css">

        <!-- dark layouts -->
        <!--<link rel="stylesheet" href="assets/css/layouts/dark.css">-->
        </head>

        <body class="">
        <!-- [ Pre-loader ] start -->
        <div class="loader-bg">
        <div class="loader-track">
        <div class="loader-fill"></div>
        </div>
        </div>
        <!-- [ Pre-loader ] End -->

        <!-- [ navigation menu ] start -->
        <nav class="pcoded-navbar menupos-fixed menu-light brand-blue"> <!-- navbar-dark -->
        <div class="navbar-wrapper ">
        <div class="navbar-brand header-logo">
        <a class="b-brand">
        <!-- <div class="b-bg">
        <i class="fas fa-bolt"></i>
        </div>
        <span class="b-title">-</span> -->
        <img src="assets/images/logo.svg" alt="" class="logo images">
        <img src="assets/images/logo-icon.svg" alt="" class="logo-thumb images">
        </a>
        <a class="mobile-menu" id="mobile-collapse"><span></span></a>
        </div>
        <div class="navbar-content scroll-div" >
        <ul class="nav pcoded-inner-navbar">
        <!-- ////////// Navigation START ////////// -->
        <!--<li class="nav-item pcoded-menu-caption">
        <label>Navigation</label>
        </li>-->
        <li data-username="dashboard" class="nav-item">
        <a href="index.php" class="nav-link">
        <span class="pcoded-micon"><i class="fas fa-tachometer-alt"></i></span>
        <span class="pcoded-mtext">Dashboard</span>
        </a>
        </li>
        <li data-username="benutzer upload" class="nav-item pcoded-hasmenu">
        <a href="#" class="nav-link">
        <span class="pcoded-micon"><i class="feather icon-cpu"></i></span>
        <span class="pcoded-mtext">Backend</span>
        </a>
        <ul class="pcoded-submenu">
        <li class=""><a href="user.php" class="">Benutzer</a></li>
        <li class=""><a href="upload.php" class="">Upload</a></li>
        </ul>
        </li>
        <!-- ////////// Navigation END ////////// -->

        <!-- ////////// Verwaltung START ////////// -->
        <li class="nav-item pcoded-menu-caption">
        <label>Verwaltung</label>
        </li>
        <li data-username="artikel news" class="nav-item pcoded-hasmenu">
        <a href="#" class="nav-link">
        <span class="pcoded-micon"><i class="feather icon-edit-1"></i></span>
        <span class="pcoded-mtext">Artikel & News</span>
        </a>
        <ul class="pcoded-submenu">
        <li class=""><a href="article.php" class="">Startseite</a></li>
        <li class=""><a href="news.php" class="">News</a></li>
        </ul>
        </li>
        <li data-username="leitfanden kalender regeln befehle team völker" class="nav-item pcoded-hasmenu">
        <a href="#" class="nav-link">
        <span class="pcoded-micon"><i class="feather icon-menu"></i></span>
        <span class="pcoded-mtext">Weiteres</span>
        </a>
        <ul class="pcoded-submenu">
        <li class=""><a href="guide.php" class="">Leitfaden</a></li>
        <li class=""><a href="calendar.php" class="">Kalender</a></li>
        <li class=""><a href="rules.php" class="">Regeln</a></li>
        <li class=""><a href="commands.php" class="">Befehle</a></li>
        <li class=""><a href="team.php" class="">Team</a></li>
        <li class=""><a href="fractions.php" class="">Völker</a></li>
        </ul>
        </li>
        <li data-username="downloads" class="nav-item">
        <a href="downloads.php" class="nav-link">
        <span class="pcoded-micon"><i class="feather icon-download"></i></span>
        <span class="pcoded-mtext">Downloads</span>
        </a>
        </li>
        <li data-username="galerien" class="nav-item">
        <a href="gallery.php" class="nav-link">
        <span class="pcoded-micon"><i class="feather icon-image"></i></span>
        <span class="pcoded-mtext">Galerien</span>
        </a>
        </li>
        <!-- ////////// Verwaltung END ////////// -->

        <!-- ////////// Statistik START ////////// -->
        <li class="nav-item pcoded-menu-caption">
        <label>Statistiken</label>
        </li>
        <li data-username="statistik aufrufe" class="nav-item">
        <a href="stats_visits.php" class="nav-link">
        <span class="pcoded-micon"><i class="feather icon-activity"></i></span>
        <span class="pcoded-mtext">Aufrufe</span>
        </a>
        </li>
        <li data-username="statistik geräte" class="nav-item">
        <a href="stats_device.php" class="nav-link">
        <span class="pcoded-micon"><i class="feather icon-monitor"></i></span>
        <span class="pcoded-mtext">Geräte</span>
        </a>
        </li>
        <li data-username="statistik downloads" class="nav-item">
        <a href="stats_downloads.php" class="nav-link">
        <span class="pcoded-micon"><i class="feather icon-download"></i></span>
        <span class="pcoded-mtext">Downloads</span>
        </a>
        </li>
        <!-- ////////// Statistik END ////////// -->

        <!-- ////////// Support START ////////// -->
        <li class="nav-item pcoded-menu-caption">
        <label>Support</label>
        </li>
        <li data-username="einstellungen" class="nav-item">
        <a href="settings.php" class="nav-link">
        <span class="pcoded-micon"><i class="fas fa-cog"></i></span>
        <span class="pcoded-mtext">Einstellungen</span>
        </a>
        </li>
        <li data-username="changelog updates änderungen" class="nav-item">
        <a href="changelog.php" class="nav-link">
        <span class="pcoded-micon"><i class="fas fa-book"></i></span>
        <span class="pcoded-mtext">Changelog</span>
        </a>
        </li>
        <!-- ////////// Support END ////////// -->
        </ul>
        <!-- ////////// Footer START ////////// -->
        <div class="card text-center">
        <div class="card-block">
        <i class="feather icon-server f-40"></i>
        <h6 class="mt-3">&copy;<script type="text/javascript"> document.write(new Date().getFullYear());</script> by ThegreenY</h6>
        </div>
        </div>
        <!-- ////////// Footer END ////////// -->
        </div>
        </div>
        </nav>
        <!-- [ navigation menu ] end -->


        <header class="navbar pcoded-header navbar-expand-lg navbar-light headerpos-fixed">

        <div class="m-header">
        <a class="mobile-menu" id="mobile-collapse1" href="#!"><span></span></a>
        <a href="index.html" class="b-brand">
        <!-- <div class="b-bg">
        <i class="fas fa-bolt"></i>
        </div>
        <span class="b-title">-</span> -->
        <img src="assets/images/logo.svg" alt="" class="logo images">
        <img src="assets/images/logo-icon.svg" alt="" class="logo-thumb images">
        </a>
        </div>
        <a class="mobile-menu" id="mobile-header" href="#!">
        <i class="feather icon-more-horizontal"></i>
        </a>
        <div class="collapse navbar-collapse">
        <a href="#!" class="mob-toggler"></a>
        <!-- ////////// Search START ////////// -->
        <ul class="navbar-nav mr-auto">
        <li class="nav-item">
        <div class="main-search open">
        <div class="input-group">
        <input type="text" id="m-search" class="form-control" placeholder="Suchen . . .">
        <a href="#" class="input-group-append search-close">
        <i class="feather icon-x input-group-text"></i>
        </a>
        <span class="input-group-append search-btn btn btn-primary">
        <i class="feather icon-search input-group-text"></i>
        </span>
        </div>
        </div>
        </li>
        </ul>
        <!-- ////////// Search END ////////// -->

        <!-- ////////// Message START ////////// -->
        <ul class="navbar-nav ml-auto">
        <li>
        <div class="dropdown">
        <a class="dropdown-toggle" href="#" data-toggle="dropdown"><i class="icon feather icon-bell"></i></a>
        <div class="dropdown-menu dropdown-menu-right notification">
        <div class="noti-head">
        <h6 class="d-inline-block m-b-0">Notifications</h6>
        <div class="float-right">
        <a href="#!" class="m-r-10">mark as read</a>
        <a href="#!">clear all</a>
        </div>
        </div>
        <ul class="noti-body">
        <li class="n-title">
        <p class="m-b-0">NEW</p>
        </li>
        <li class="notification">
        <div class="media">
        <img class="img-radius" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image">
        <div class="media-body">
        <p><strong>John Doe</strong><span class="n-time text-muted"><i class="icon feather icon-clock m-r-10"></i>5 min</span></p>
        <p>New ticket Added</p>
        </div>
        </div>
        </li>
        <li class="n-title">
        <p class="m-b-0">EARLIER</p>
        </li>
        <li class="notification">
        <div class="media">
        <img class="img-radius" src="assets/images/user/avatar-2.jpg" alt="Generic placeholder image">
        <div class="media-body">
        <p><strong>Joseph William</strong><span class="n-time text-muted"><i class="icon feather icon-clock m-r-10"></i>10 min</span></p>
        <p>Prchace New Theme and make payment</p>
        </div>
        </div>
        </li>
        <li class="notification">
        <div class="media">
        <img class="img-radius" src="assets/images/user/avatar-3.jpg" alt="Generic placeholder image">
        <div class="media-body">
        <p><strong>Sara Soudein</strong><span class="n-time text-muted"><i class="icon feather icon-clock m-r-10"></i>12 min</span></p>
        <p>currently login</p>
        </div>
        </div>
        </li>
        <li class="notification">
        <div class="media">
        <img class="img-radius" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image">
        <div class="media-body">
        <p><strong>Joseph William</strong><span class="n-time text-muted"><i class="icon feather icon-clock m-r-10"></i>30 min</span></p>
        <p>Prchace New Theme and make payment</p>
        </div>
        </div>
        </li>
        <li class="notification">
        <div class="media">
        <img class="img-radius" src="assets/images/user/avatar-3.jpg" alt="Generic placeholder image">
        <div class="media-body">
        <p><strong>Sara Soudein</strong><span class="n-time text-muted"><i class="icon feather icon-clock m-r-10"></i>1 hour</span></p>
        <p>currently login</p>
        </div>
        </div>
        </li>
        <li class="notification">
        <div class="media">
        <img class="img-radius" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image">
        <div class="media-body">
        <p><strong>Joseph William</strong><span class="n-time text-muted"><i class="icon feather icon-clock m-r-10"></i>2 hour</span></p>
        <p>Prchace New Theme and make payment</p>
        </div>
        </div>
        </li>
        </ul>
        <div class="noti-footer">
        <a href="#!">show all</a>
        </div>
        </div>
        </div>
        </li>
        <!-- ////////// Message END ////////// -->

        <!-- ////////// Chatbox START ////////// -->
        <li><a href="#!" class="displayChatbox"><i class="icon feather icon-mail"></i></a></li>
        <!-- ////////// Chatbox END ////////// -->

        <!-- ////////// User START ////////// -->
        <li>
        <div class="dropdown drp-user">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
        <i class="icon feather icon-settings"></i>
        </a>
        <div class="dropdown-menu dropdown-menu-right profile-notification">
        <div class="pro-head">
        <img src="assets/images/user/avatar-1.jpg" class="img-radius" alt="User-Profile-Image">
        <span>John Doe</span>
        <a href="auth-signin.html" class="dud-logout" title="Logout">
        <i class="feather icon-log-out"></i>
        </a>
        </div>
        <ul class="pro-body">
        <li><a href="#!" class="dropdown-item"><i class="feather icon-settings"></i> Settings</a></li>
        <li><a href="#!" class="dropdown-item"><i class="feather icon-user"></i> Profile</a></li>
        <li><a href="message.html" class="dropdown-item"><i class="feather icon-mail"></i> My Messages</a></li>
        <li><a href="auth-signin.html" class="dropdown-item"><i class="feather icon-lock"></i> Lock Screen</a></li>
        </ul>
        </div>
        </div>
        </li>
        <!-- ////////// User END ////////// -->
        </ul>
        </div>

        </header>
        <!-- [ Header ] end --> <!-- [ chat user list ] start -->
        <section class="header-user-list">
        <a href="#!" class="h-close-text"><i class="feather icon-x"></i></a>
        <ul class="nav nav-tabs" id="chatTab" role="tablist">
        <li class="nav-item">
        <a class="nav-link active text-uppercase" id="chat-tab" data-toggle="tab" href="#chat" role="tab" aria-controls="chat" aria-selected="true"><i class="feather icon-message-circle mr-2"></i>Chat</a>
        </li>
        <li class="nav-item">
        <a class="nav-link text-uppercase" id="user-tab" data-toggle="tab" href="#user" role="tab" aria-controls="user" aria-selected="false"><i class="feather icon-users mr-2"></i>User</a>
        </li>
        <li class="nav-item">
        <a class="nav-link text-uppercase" id="setting-tab" data-toggle="tab" href="#setting" role="tab" aria-controls="setting" aria-selected="false"><i class="feather icon-settings mr-2"></i>Setting</a>
        </li>
        </ul>
        <div class="tab-content" id="chatTabContent">
        <div class="tab-pane fade show active" id="chat" role="tabpanel" aria-labelledby="chat-tab">
        <div class="h-list-header">
        <div class="input-group">
        <input type="text" id="search-friends" class="form-control" placeholder="Search Friend . . .">
        </div>
        </div>
        <div class="h-list-body">
        <div class="main-friend-cont scroll-div">
        <div class="main-friend-list">
        <div class="media userlist-box" data-id="1" data-status="online" data-username="Josephin Doe">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image ">
        <div class="live-status">3</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Josephin Doe<small class="d-block text-c-green">Typing . . </small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="2" data-status="online" data-username="Lary Doe">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-2.jpg" alt="Generic placeholder image">
        <div class="live-status">1</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Lary Doe<small class="d-block text-c-green">online</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="3" data-status="online" data-username="Alice">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-3.jpg" alt="Generic placeholder image"></a>
        <div class="media-body">
        <h6 class="chat-header">Alice<small class="d-block text-c-green">online</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="4" data-status="offline" data-username="Alia">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image">
        <div class="live-status">1</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Alia<small class="d-block text-muted">10 min ago</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="5" data-status="offline" data-username="Suzen">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-4.jpg" alt="Generic placeholder image"></a>
        <div class="media-body">
        <h6 class="chat-header">Suzen<small class="d-block text-muted">15 min ago</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="1" data-status="online" data-username="Josephin Doe">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image ">
        <div class="live-status">3</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Josephin Doe<small class="d-block text-c-green">Typing . . </small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="2" data-status="online" data-username="Lary Doe">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-2.jpg" alt="Generic placeholder image">
        <div class="live-status">1</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Lary Doe<small class="d-block text-c-green">online</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="3" data-status="online" data-username="Alice">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-3.jpg" alt="Generic placeholder image"></a>
        <div class="media-body">
        <h6 class="chat-header">Alice<small class="d-block text-c-green">online</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="4" data-status="offline" data-username="Alia">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image">
        <div class="live-status">1</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Alia<small class="d-block text-muted">10 min ago</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="5" data-status="offline" data-username="Suzen">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-4.jpg" alt="Generic placeholder image"></a>
        <div class="media-body">
        <h6 class="chat-header">Suzen<small class="d-block text-muted">15 min ago</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="1" data-status="online" data-username="Josephin Doe">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image ">
        <div class="live-status">3</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Josephin Doe<small class="d-block text-c-green">Typing . . </small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="2" data-status="online" data-username="Lary Doe">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-2.jpg" alt="Generic placeholder image">
        <div class="live-status">1</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Lary Doe<small class="d-block text-c-green">online</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="3" data-status="online" data-username="Alice">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-3.jpg" alt="Generic placeholder image"></a>
        <div class="media-body">
        <h6 class="chat-header">Alice<small class="d-block text-c-green">online</small></h6>
        </div>
        </div>
        </div>
        </div>
        </div>
        </div>
        <div class="tab-pane fade" id="user" role="tabpanel" aria-labelledby="user-tab">
        <div class="h-list-body">
        <div class="main-friend-cont scroll-div">
        <div class="main-friend-list">
        <div class="media px-3 d-flex align-items-center mt-3">
        <a class="media-left m-r-15" href="#!">
        <div class="hei-50 wid-50 bg-primary img-radius d-flex text-white f-22 align-items-center justify-content-center"><i class="icon feather icon-users"></i></div>
        </a>
        <div class="media-body">
        <p class="chat-header f-w-600 mb-0">New Group</p>
        </div>
        </div>
        <div class="media p-3 d-flex align-items-center">
        <a class="media-left m-r-15" href="#!">
        <div class="hei-50 wid-50 bg-primary img-radius d-flex text-white f-22 align-items-center justify-content-center"><i class="icon feather icon-user-plus"></i></div>
        </a>
        <div class="media-body">
        <p class="chat-header f-w-600 mb-0">New Contact</p>
        </div>
        </div>
        <div class="media userlist-box" data-id="1" data-status="online" data-username="Josephin Doe">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image "></a>
        <div class="media-body">
        <p class="chat-header">Josephin Doe<small class="d-block">i am not what happened . .</small></p>
        </div>
        </div>
        <div class="media userlist-box" data-id="2" data-status="online" data-username="Lary Doe">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-2.jpg" alt="Generic placeholder image"></a>
        <div class="media-body">
        <h6 class="chat-header">Lary Doe<small class="d-block">Avalable</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="3" data-status="online" data-username="Alice">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-3.jpg" alt="Generic placeholder image"></a>
        <div class="media-body">
        <h6 class="chat-header">Alice<small class="d-block">hear using Flash Able</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="4" data-status="offline" data-username="Alia">
        <a class="media-left" href="#!">
        <div class="hei-50 wid-50 img-radius bg-success d-flex text-white f-22 align-items-center justify-content-center">A</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Alia<small class="d-block text-muted">Avalable</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="5" data-status="offline" data-username="Suzen">
        <a class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-4.jpg" alt="Generic placeholder image"></a>
        <div class="media-body">
        <h6 class="chat-header">Suzen<small class="d-block text-muted">Avalable</small></h6>
        </div>
        </div>
        <div class="media userlist-box" data-id="1" data-status="online" data-username="Josephin Doe">
        <a class="media-left" href="#!">
        <div class="hei-50 wid-50 bg-danger img-radius d-flex text-white f-22 align-items-center justify-content-center">JD</div>
        </a>
        <div class="media-body">
        <h6 class="chat-header">Josephin Doe<small class="d-block text-muted">Don'
        t send me image</small></h6>
        </
        div>
        </
        div>
        <
        div class="media userlist-box" data-id="2" data-status="online" data-username="Lary Doe">
        <
        class="media-left" href="#!"><img class="media-object img-radius" src="assets/images/user/avatar-2.jpg" alt="Generic placeholder image"></a>
        <
        div class="media-body">
        <
        h6 class="chat-header">Lary Doe<small class="d-block text-muted">not send free msg</small></h6>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        <
        div class="tab-pane fade" id="setting" role="tabpanel" aria-labelledby="setting-tab">
        <
        div class="p-4 main-friend-cont scroll-div">
        <
        h6 class="mt-2"><class="feather icon-monitor mr-2"></i>Desktop settings</h6>
        <
        hr>
        <
        div class="form-group mb-0">
        <
        div class="switch switch-primary d-inline m-r-10">
        <
        input type="checkbox" id="cn-p-1" checked>
        <
        label for="cn-p-1" class="cr"></label>
        </
        div>
        <
        label class="f-w-600">Allow desktop notification</label>
        </
        div>
        <
        class="text-muted ml-5">you get lettest content at a time when data will updated</p>
        <
        div class="form-group mb-0">
        <
        div class="switch switch-primary d-inline m-r-10">
        <
        input type="checkbox" id="cn-p-5">
        <
        label for="cn-p-5" class="cr"></label>
        </
        div>
        <
        label class="f-w-600">Store Cookie</label>
        </
        div>
        <
        h6 class="mb-0 mt-5"><class="feather icon-layout mr-2"></i>Application settings</h6>
        <
        hr>
        <
        div class="form-group mb-0">
        <
        div class="switch switch-primary d-inline m-r-10">
        <
        input type="checkbox" id="cn-p-3" checked>
        <
        label for="cn-p-3" class="cr"></label>
        </
        div>
        <
        label class="f-w-600">Backup Storage</label>
        </
        div>
        <
        class="text-muted mb-0 ml-5">Automaticaly take backup as par schedule</p>
        <
        div class="form-group mb-4">
        <
        div class="switch switch-primary d-inline m-r-10">
        <
        input type="checkbox" id="cn-p-4" checked>
        <
        label for="cn-p-4" class="cr"></label>
        </
        div>
        <
        label class="f-w-600">Allow guest to print file</label>
        </
        div>
        <
        h6 class="mb-0 mt-5"><class="feather icon-globe mr-2"></i>System settings</h6>
        <
        hr>
        <
        div class="form-group mb-0">
        <
        div class="switch switch-primary d-inline m-r-10">
        <
        input type="checkbox" id="cn-p-2">
        <
        label for="cn-p-2" class="cr"></label>
        </
        div>
        <
        label class="f-w-600">View other user chat</label>
        </
        div>
        <
        class="text-muted ml-5">Allow to show public user message</p>
        </
        div>
        </
        div>
        </
        div>
        </
        section>
        <!-- [ 
        chat user list ] end -->

        <!-- [ 
        chat message start -->
        <
        section class="header-chat">
        <
        div class="h-list-header">
        <
        h6>Josephin Doe</h6>
        <
        a href="#!" class="h-back-user-list"><class="feather icon-chevron-left"></i></a>
        </
        div>
        <
        div class="h-list-body">
        <
        div class="main-chat-cont scroll-div">
        <
        div class="main-friend-chat">
        <
        div class="media chat-messages">
        <
        class="media-left photo-table" href="#!"><img class="media-object img-radius img-radius m-t-5" src="assets/images/user/avatar-2.jpg" alt="Generic placeholder image"></a>
        <
        div class="media-body chat-menu-content">
        <
        div class="">
        <
        class="chat-cont">hello tell me something</p>
        <
        class="chat-cont">about yourself?</p>
        </
        div>
        <
        class="chat-time">8:20 a.m.</p>
        </
        div>
        </
        div>
        <
        div class="media chat-messages">
        <
        div class="media-body chat-menu-reply">
        <
        div class="">
        <
        class="chat-cont">Ohhvery nice</p>
        </
        div>
        <
        class="chat-time">8:22 a.m.</p>
        </
        div>
        <
        class="media-right photo-table" href="#!"><img class="media-object img-radius img-radius m-t-5" src="assets/images/user/avatar-1.jpg" alt="Generic placeholder image"></a>
        </
        div>
        <
        div class="media chat-messages">
        <
        class="media-left photo-table" href="#!"><img class="media-object img-radius img-radius m-t-5" src="assets/images/user/avatar-2.jpg" alt="Generic placeholder image"></a>
        <
        div class="media-body chat-menu-content">
        <
        div class="">
        <
        class="chat-cont">can you help me?</p>
        </
        div>
        <
        class="chat-time">8:20 a.m.</p>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        <
        div class="h-list-footer">
        <
        div class="input-group">
        <
        input type="file" class="chat-attach" style="display:none">
        <
        a href="#!" class="input-group-prepend btn btn-success btn-attach">
        <
        class="feather icon-paperclip"></i>
        </
        a>
        <
        input type="text" name="h-chat-text" class="form-control h-send-chat" placeholder="Write hear . . ">
        <
        button type="submit" class="input-group-append btn-send btn btn-primary">
        <
        class="feather icon-message-circle"></i>
        </
        button>
        </
        div>
        </
        div>
        </
        section>
        <!-- [ 
        chat message end -->

        <!-- 
        Hier wird die DB geladen -->

        <!-- [ 
        Main Content start -->
        <
        div class="pcoded-main-container">
        <
        div class="pcoded-wrapper">
        <
        div class="pcoded-content">
        <
        div class="pcoded-inner-content">
        <
        div class="main-body">
        <
        div class="page-wrapper">
        <!-- [ 
        breadcrumb start -->
        <
        div class="page-header">
        <
        div class="page-block">
        <
        div class="row align-items-center">
        <
        div class="col-md-12">
        <
        div class="page-header-title">
        <
        h5>Benutzer</h5>
        </
        div>
        <
        ul class="breadcrumb">
        <
        li class="breadcrumb-item"><a href="index.php"><class="feather icon-home"></i></a></li>
        <
        li class="breadcrumb-item"><a>Benutzer</a></li>
        </
        ul>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        <!-- [ 
        breadcrumb end -->
        <!-- [ 
        Main Content start -->
        <
        div class="row">
        <!-- [ 
        Benutzer Listestart -->

        <
        div class="col-xl-4 col-md-6">
        <
        div class="card user-card user-card-1 support-bar1">
        <
        div class="card-header border-0 p-2 pb-0">
        <
        div class="cover-img-block">
        <
        img src="img/profile/banner/default.png" alt="Test" class="img-fluid"> </div>
        </
        div>
        <
        div class="card-body pt-0">
        <
        div class="user-about-block text-center">
        <
        div class="row align-items-end">
        <
        div class="col text-left pb-3"><!--<a href="#!"><class="icon feather icon-star-on text-c-yellow f-20"></i></a>--></div>
        <
        div class="col border-0">
        <
        div class="position-relative d-inline-block">
        <
        img class="img-radius img-fluid wid-80" src="img/profile/avatar/default.jpg" alt="Test" class="img-fluid"> </div>
        </
        div>
        <
        div class="col text-right pb-3">
        <
        div class="dropdown">
        <
        class="drp-icon dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="cursor: pointer;"><class="feather icon-more-horizontal"></i></a>
        <
        div class="dropdown-menu dropdown-menu-right">
        <
        class='dropdown-item' href='mailto:[email protected]'>E-mail Senden</a> <class="dropdown-item" href="#">Bearbeiten</a>
        <
        class="dropdown-item sweet-multiple" href="#">Löschen</a>

        <
        form action="includes/user.inc.php" method="post" id="delete_user6">
        <
        input type="hidden" name="id" value="6">
        <
        input type="hidden" name="mail" value="[email protected]">
        </
        form>

        <
        script type="text/javascript">
        function 
        delete_user($isdelete){
        if(
        $isdelete) {
        console.log('delete user');
        document.getElementById("delete_user6").submit();
        } else {
        console.log('save user');
        }
        }
        </
        script>

        </
        div>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        <
        div class="text-center">
        <
        h6 class="mb-1 mt-3">Test</h6>
        <
        class="mb-3 text-muted">
        -
        </
        p>
        <
        class="mb-1">~</p> </div>
        </
        div>
        <
        div class="card-footer">
        <
        div class="row text-center">
        <
        div class="col">
        <
        h6 class="mb-1">02.02.2021 13:15</h6>
        <
        class="mb-0">Zuletzt Online</p>
        </
        div>
        <
        div class="col">
        <
        h6 class="mb-1">2839</h6>
        <
        class="mb-0">Aktionen durchgeführt</p>
        </
        div>
        <
        div class="col">
        <
        h6 class="mb-1">01.01.2020</h6>
        <
        class="mb-0">Registriert seit</p>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        </
        div>

        <!-- [ 
        Benutzer Listeend -->
        </
        div>
        <!-- [ 
        Main Content end -->
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        </
        div>
        <!-- [ 
        Main Content end -->

        <!-- 
        Warning Section start -->
        <!-- 
        Older IE warning message -->
        <!--[if 
        lt IE 11]>
        <
        div class="ie-warning">
        <
        h1>Warning!!</h1>
        <
        p>You are using an outdated version of Internet Explorerplease upgrade
        <br/>to any of the following web browsers to access this website.
        </
        p>
        <
        div class="iew-container">
        <
        ul class="iew-download">
        <
        li>
        <
        a href="http://www.google.com/chrome/">
        <
        img src="assets/images/browser/chrome.png" alt="Chrome">
        <
        div>Chrome</div>
        </
        a>
        </
        li>
        <
        li>
        <
        a href="https://www.mozilla.org/en-US/firefox/new/">
        <
        img src="assets/images/browser/firefox.png" alt="Firefox">
        <
        div>Firefox</div>
        </
        a>
        </
        li>
        <
        li>
        <
        a href="http://www.opera.com">
        <
        img src="assets/images/browser/opera.png" alt="Opera">
        <
        div>Opera</div>
        </
        a>
        </
        li>
        <
        li>
        <
        a href="https://www.apple.com/safari/">
        <
        img src="assets/images/browser/safari.png" alt="Safari">
        <
        div>Safari</div>
        </
        a>
        </
        li>
        <
        li>
        <
        a href="http://windows.microsoft.com/en-us/internet-explorer/download-ie">
        <
        img src="assets/images/browser/ie.png" alt="">
        <
        div>IE (11 above)</div>
        </
        a>
        </
        li>
        </
        ul>
        </
        div>
        <
        p>Sorry for the inconvenience!</p>
        </
        div>
        <![endif]-->
        <!-- 
        Warning Section Ends -->

        <!-- 
        Required Js -->
        <
        script src="assets/js/vendor-all.min.js"></script>
        <
        script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
        <
        script src="assets/js/pcoded.min.js"></script>

        <!-- 
        sweet alert Js -->
        <
        script src="assets/plugins/sweetalert/js/sweetalert.min.js"></script>
        <
        script src="assets/js/pages-js/user_alert.js"></script>

        </
        body>
        </
        html
        A computer program does what you tell it to do, not what you want it to do.

        Kommentar


        • #5
          Hi,
          nachdem Kaspersky mit dem Javascript ganz am Anfang vor dem DOCTYPE die Validität versaut kommt Dein Script. Du hast es offensichtlich vor dem HTML-DOCTYPE-Tag eingebunden.
          Ich würde Kaspersky löschen und das Script an eine passendere Stelle verschieben.

          Gruß
          Ingo
          Ingo Webdesign

          Kommentar


          • #6
            Zitat von Ingo Beitrag anzeigen
            Du hast es offensichtlich vor dem HTML-DOCTYPE-Tag eingebunden. Ich würde Kaspersky löschen und das Script an eine passendere Stelle verschieben.

            Kaspersky fügt sein teil automatisch hinzu wenn die überachung an ist und die Seite im Browser geladen wird, ich habe die Datenbank jetzt nochmal direkt hinter dem body Tag eingebunden und jetzt scheint es keine Probleme mehr zu machen.
            Danke für die schnelle Hilfe.
            A computer program does what you tell it to do, not what you want it to do.

            Kommentar

            homepage-forum.de - Hilfe für Webmaster! Statistiken

            Einklappen

            Themen: 56.805   Beiträge: 430.091   Mitglieder: 28.558   Aktive Mitglieder: 55
            Willkommen an unser neuestes Mitglied, Koller-Consulting.

            Online-Benutzer

            Einklappen

            304 Benutzer sind jetzt online. Registrierte Benutzer: 3, Gäste: 301.

            Mit 3.502 Benutzern waren am 23.01.2020 um 18:20 die meisten Benutzer gleichzeitig online.

            Die neuesten Themen

            Einklappen

            Die neuesten Beiträge

            Einklappen

            Lädt...
            X