瀏覽代碼

Slight adjustment to design

tags/rls1
kenn408k 6 年之前
父節點
當前提交
286bcbd787
共有 3 個檔案被更改,包括 9 行新增2 行删除
  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 查看文件

19
                 die("You are not authorized to view this page.");
19
                 die("You are not authorized to view this page.");
20
             }
20
             }
21
         }
21
         }
22
+        if (isset($_SESSION['username'])) { $username = $_SESSION['username']; }
23
+        
22
         echo '<!DOCTYPE html>
24
         echo '<!DOCTYPE html>
23
 <!--
25
 <!--
24
  Made by DFiNE (Kenneth Hedahl)
26
  Made by DFiNE (Kenneth Hedahl)
46
         <div class="contentwrapper"> <!-- Contentwrapper start -->
48
         <div class="contentwrapper"> <!-- Contentwrapper start -->
47
             <header> <!-- Header start -->
49
             <header> <!-- Header start -->
48
                 <div class="topnav">
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
                 </div>
52
                 </div>
51
 
53
 
52
                 <div class="header">
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
                     <div class="header_right">
56
                     <div class="header_right">
55
                         <a href="' . Config::$sys_url . '?page=aboutus">Om Odense Track</a> | <a href="' . Config::$sys_url . '?page=contact">Kontakt Os</a>
57
                         <a href="' . Config::$sys_url . '?page=aboutus">Om Odense Track</a> | <a href="' . Config::$sys_url . '?page=contact">Kontakt Os</a>
56
                     </div>
58
                     </div>

+ 1
- 0
content/login.php 查看文件

33
             <div class="form-control">
33
             <div class="form-control">
34
                 <input class="contactsubmit" type="submit" value="Login" />
34
                 <input class="contactsubmit" type="submit" value="Login" />
35
             </div>
35
             </div>
36
+            <br />Har du ikke en bruger? <a href="?page=signup">Klik her for at oprette en.</a>
36
         </form>
37
         </form>
37
     </div>
38
     </div>
38
    
39
    

+ 4
- 0
css/style.css 查看文件

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

Loading…
取消
儲存