Quellcode durchsuchen

Slight adjustment to design

tags/rls1
kenn408k vor 6 Jahren
Ursprung
Commit
286bcbd787
3 geänderte Dateien mit 9 neuen und 2 gelöschten Zeilen
  1. 4
    2
      classes/design.class.php
  2. 1
    0
      content/login.php
  3. 4
    0
      css/style.css

+ 4
- 2
classes/design.class.php Datei anzeigen

@@ -19,6 +19,8 @@ class Design {
19 19
                 die("You are not authorized to view this page.");
20 20
             }
21 21
         }
22
+        if (isset($_SESSION['username'])) { $username = $_SESSION['username']; }
23
+        
22 24
         echo '<!DOCTYPE html>
23 25
 <!--
24 26
  Made by DFiNE (Kenneth Hedahl)
@@ -46,11 +48,11 @@ class Design {
46 48
         <div class="contentwrapper"> <!-- Contentwrapper start -->
47 49
             <header> <!-- Header start -->
48 50
                 <div class="topnav">
49
-                    <p>Support:</p> <a href="?page=order"><button>Bestil nu</button></a>
51
+                   ' . (User::userLevel() > 0 ? "<div class=\"pull_left\"><span class=\"white\">&nbsp;Velkommen tilbage $username!</span></div>" : "") . '<p>Support:</p> <a href="?page=order"><button>Bestil nu</button></a>
50 52
                 </div>
51 53
 
52 54
                 <div class="header">
53
-                    <a href="' . Config::$sys_url . '"><div class="header_logo">&nbsp;</div></a>
55
+                    <a href="' . Config::$sys_url . '"><div class="header_logo"></div></a>
54 56
                     <div class="header_right">
55 57
                         <a href="' . Config::$sys_url . '?page=aboutus">Om Odense Track</a> | <a href="' . Config::$sys_url . '?page=contact">Kontakt Os</a>
56 58
                     </div>

+ 1
- 0
content/login.php Datei anzeigen

@@ -33,6 +33,7 @@ Design::header($setup, 0);
33 33
             <div class="form-control">
34 34
                 <input class="contactsubmit" type="submit" value="Login" />
35 35
             </div>
36
+            <br />Har du ikke en bruger? <a href="?page=signup">Klik her for at oprette en.</a>
36 37
         </form>
37 38
     </div>
38 39
    

+ 4
- 0
css/style.css Datei anzeigen

@@ -889,6 +889,10 @@ footer li {
889 889
 
890 890
 /* United styles */
891 891
 
892
+.white {
893
+    color:#FFF;
894
+}
895
+
892 896
 .seperator {
893 897
     border-left:1px solid #333;
894 898
     margin-left:5px;

Laden…
Abbrechen
Speichern