Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- .on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus);
- $('.dropdown-menu input').click(function(e) {
- e.stopPropagation();
- });
- </script>
- <div class="navbar navbar-fixed-top">
- <div class="navbar-inner">
- <div class="container">
- <!--<a href="index.php?site=home" class="brand brand-bootbus"> <img style="margin-top: -11px;" src="TEMPLATE/BLOCK/img/mrm_revival_logo_schrift_2.png" /> </a>-->
- <!-- Below button used for responsive navigation -->
- <!-- Start: Primary navigation -->
- <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <div class="nav-collapse collapse">
- <ul class="nav pull-right">
- <?php if(isset($_SESSION['pLogin'])) { ?>
- <div class="navbar navbar-fixed-top ">
- <div class="navbar-inner">
- <div class="nav-collapse collapse">
- <div class="container">
- <ul class="nav nav-pills">
- <li>
- <a href="index.php?site=home"></a>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user"></i> Profil
- <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li class="nav-header">Profil</li>
- <li><a href="index.php?site=profilProfil">Profilansicht</a></li>
- <li><a href="index.php?site=profilVehicle">Fahrzeuge
- <?php
- $returner = "";
- $sql = "SELECT laden FROM samp_autos WHERE besitzer='". $_SESSION['pUserName'] ."'";
- $num = mysql_num_rows(mysql_query($sql, $link));
- if($num == 0) {
- $returner = " <span class='label label-error'>N/A</span>";
- } else {
- $returner = " <span class='label label-success'>". $num ." Stück</span>";
- }
- echo $returner;
- ?>
- </a></li>
- <li><a href="index.php?site=profilImmo">Immobilien</a></li>
- <li><a href="index.php?site=profilDynSignatur">Dynamische Signatur</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-folder-close"></i> Fraktion
- <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <?php if($_SESSION['pFaction'] != 0) {?>
- <li class="nav-header">Fraktionsverwaltung</li>
- <li><a href="index.php?site=factionMember">Mitglieder
- <?php $returner = ""; if($_SESSION['pFaction'] == 0) {
- $returner = " <span class='label label-error'>N/A</span>";
- } else {
- $sql = "SELECT Name FROM samp_user_accounts WHERE Fraktion=". $_SESSION['pFaction'] ."";
- $num = mysql_num_rows(mysql_query($sql, $link));
- $returner = " <span class='label label-success'>". $num ." Mitglieder</span>";
- }
- echo $returner;?></a>
- </li>
- <li><a href="index.php?site=factionVehicle">Fahrzeuge
- <?php $returner = ""; if($_SESSION['pFaction'] == 0) {
- $returner = " <span class='label label-error'>N/A</span>";
- } else {
- $sql = "SELECT grund FROM samp_fraktautos WHERE besitzer=". $_SESSION['pFaction'] ."";
- $num = mysql_num_rows(mysql_query($sql, $link));
- $returner = " <span class='label label-success'>". $num ." Fahrzeuge</span>";
- }
- echo $returner;?></a>
- </li>
- <li class="divider"></li>
- <?php } ?>
- <li class="nav-header">Sonstiges</li>
- <li>
- <a href="index.php?site=factionLeaderAll">Leaderliste</a>
- </li>
- <li>
- <a href="index.php?site=factionAll">Fraktionsübersicht <span class='label label-success'>18 Fraktionen</span> <span class='label label-danger'>Deaktiviert</span></a>
- </li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-briefcase"></i> Aktivitäten
- <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li class="nav-header">Banking</li>
- <li>
- <a href="index.php?site=banking">Überweisung
- <?php $returner = "";
- $sql = "SELECT * FROM ucp_banking WHERE pSender='". $_SESSION['pUserName']."' OR pReceiver='". $_SESSION['pUserName'] ."'";
- $num = mysql_num_rows(mysql_query($sql, $link));
- $returner = " <span class='label label-success'>". $num ." Bewegungen</span>";
- echo $returner;?></a>
- </li>
- <li>
- <a href="index.php?site=finance">Finanzen <span class='label label-danger'>Deaktiviert</span></a>
- </li>
- </ul>
- </li>
- <li>
- <a href="index.php?site=shop"><i class="icon-shopping-cart"></i> Shop</a>
- </li>
- <? if($_SESSION['pAdmin'] >= 6){?>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-exclamation-sign"></i> ACP
- <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li class="nav-header">Benutzer</li>
- <li><a href="index.php?site=acpControl">Benutzer verwalten</a></li>
- <li><a href="index.php?site=acpMoney">Benutzer geldlogs</a></li>
- <li class="divider"></li>
- <li class="nav-header">Server</li>
- <li><a href="index.php?site=acpCpStats">Statistiken</a></li>
- <li><a href="index.php?site=acpCpNews">News</a></li>
- </ul>
- </li>
- <? } ?>
- <li>
- <a href="index.php?site=faq"><i class="icon-question-sign"></i> FAQ</a>
- </li>
- </ul>
- <?} if($_SESSION['pLogin'] == 1) {?>
- <ul class="nav pull-right">
- <li>
- <a href="index.php?site=logout"><i class=" icon-off"></i>Logout</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <?} else {?>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle hidden-phone" data-toggle="dropdown"><i class=" icon-off"></i> Login
- <b class="caret"></b></a>
- <div class="dropdown-menu" style="padding: 20px; padding-bottom: 0px;">
- <form class="form-horizontal form-signin-signup" METHOD="POST" action="index.php?site=login">
- <input type="text" style="clear: left; width: 90%; height: 20px; font-size: 16px;" name="email" placeholder="Dein Benutzeraccount" />
- <input type="password" style="clear: left; width: 90%; height: 20px; font-size: 16px;" name="password" placeholder="Dein Passwort" />
- <input type="submit" value="Login" class="btn btn-primary" style="clear: left; width: 100%; height: 32px; font-size: 13px;">
- </form>
- </div>
- </li>
- <? } ?>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <!-- End: Navigation wrapper -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement