-
Notifications
You must be signed in to change notification settings - Fork 0
/
intro.php
executable file
·67 lines (52 loc) · 1.2 KB
/
intro.php
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
<?php
if($gigid){
$sql = $stream->do_query("select * from anto_gigs where id=$gigid","array");
$r=0;
$t=0;
$p=0;
for($i=0;$i<count($sql);$i++){
$oldmonth = $newmonth;
$tmp = $sql[$i];
$id = $tmp[0];
$name = $tmp[1];
$date = date("D j",$tmp[2]);
$rday = date("j",$tmp[2]);
$rdate = date("n",$tmp[2]);
$location = $tmp[3];
$venue = $tmp[4];
$timer = date("H:i",$tmp[5]);
$price = $tmp[6];
$notes = $tmp[7];
$image = $tmp[8];
$kother = $tmp[9];
$moreinfo = $tmp[10];
$newmonth = date("F",$tmp[2]);
$today = time();
$year = date("Y",$tmp[2]);
$thismonth = date("F",time());
$yearcheck = date("Y",time());
$yeardb = date("Y",$tmp[2]);
print "
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
<tr>
<td width=50%> $name </td>
<td width=50%> </td>
</tr>
<tr>
<td width=50% colspan=2> $date $newmonth $year </td>
</tr>
<tr>
<td colspan=2 width=50%> $venue, $location </td>
</tr>
<tr>
<td width=50%> € $price </td>
<td width=50%></td>
</tr>
<tr>
<td colspan=2>$notes<br>Starting @ $timer hrs.</td>
</tr>
</table>
";
}
}
?>