-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview_give_list.php
More file actions
104 lines (90 loc) · 2.4 KB
/
Copy pathview_give_list.php
File metadata and controls
104 lines (90 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php
require_once("config.php");
require_once("header.php");
$thisuser = $loggedInUser->username;
$giveList = fetchMyGiveList();
?>
<head>
<title>give list </title>
<style>
table{
border-spacing: 1;
border-collapse: collapse;
background:white;
border-radius:6px;
overflow:hidden;
max-width:800px;
width:100%;
margin:0 auto;
position:relative;
*{ position:relative }
td,th{ padding-left:8px}
thead tr{
height:60px;
background:#FFED86;
font-size:16px;
}
tbody tr{ height:48px; border-bottom:1px solid #E3F1D5 ;
&:last-child { border:0; }
}
td,th{ text-align:left;
&.l{ text-align:center }
&.c{ text-align:center }
&.r{ text-align:center }
}
}
body{
background:black;
font:400 14px 'Calibri','Arial';
padding:20px;
}
$gl-ms: "screen and (max-width: 23.5em)"; // up to 360px
$gl-xs: "screen and (max-width: 35.5em)"; // up to 568px
$gl-sm: "screen and (max-width: 48em)"; // max 768px
$gl-md: "screen and (max-width: 64em)"; // max 1024px
$gl-lg: "screen and (max-width: 80em)"; // max 1280px
@media #{$gl-xs}{
table{ display:block;
> *,tr,td,th{ display:block }
thead{ display:none }
tbody tr{ height:auto; padding:8px 0;
td{ padding-left:45%; margin-bottom:12px;
&:last-child{ margin-bottom:0 }
&:before{
position:absolute;
font-weight:700;
width:40%;
left:10px;
top:0
}
&:nth-child(1):before { content:"UserID";}
&:nth-child(2):before { content:"UserName";}
&:nth-child(3):before { content:"FirstName";}
&:nth-child(4):before { content:"LastName";}
&:nth-child(5):before { content:"Zelle Email";}
&:nth-child(6):before { content:"Money";}
}
}
}
}
blockquote {
color:white;
text-align:center;
}
</style>
</head>
<body>
<blockquote><h1> List of friends</h1></blockquote>
<table>
<thead style="height:60px;text-align:center;
background:#FFED86;
font-size:16px;"> <tr><th> UserID</th><th> UserName </th> <th> FirstName</th> <th>LastName</th><th> Zelle Email </th> <th>Money</th></tr></thead><tbody>
<?php while( list($k,$v) =each($giveList))
{
echo "<tr><td>". $v["UserID"] ."</td> <td>". $v["UserName"] ."</td> <td>". $v["FirstName"] ."</td> <td>". $v["LastName"] ."</td> <td>". $v["Email"] ."</td> <td>". $v["money"] ."</td></tr>";
}
?>
</tbody>
</table>
</body>
</html>