Repository navigation
Expand file tree
/
Copy pathconference.php
More file actions
executable file
·95 lines (67 loc) · 1.78 KB
/
Copy pathconference.php
File metadata and controls
executable file
·95 lines (67 loc) · 1.78 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
<html>
<head>
</head><body>
<link href="css/rai.css" rel="stylesheet" type="text/css">
<?php
$keydates="Key Dates";
include 'header.php';
include 'connection.php';
//$HeaderHeigth = "100 %" ;
//$Date = "5 - 8 March 2013";
{
$result = mysql_query("SELECT * FROM conf_name");
$rownumber=0;
while($row = mysql_fetch_array($result))
{
if($rownumber%2==0) $layout="leftsideh1";
else
{
$layout="leftsideh2";
}
$rownumber++;
$item[0] = "";
$item[0] .= " <div id=$layout >";
// $item[0] .= "<a href = \"header.php\">" . $row['conf'] . "</a>" ;
$item[0] .= "<a href=\"" . $SERVER['PHP_SELF'] . "?refNo=" . $row['id'] . "\">" .$row['conf[A']. "</a>";
$item[0] .= " </div> ";
echo $item[0];
//include 'keydates.php';
}
}
$refNo = $_GET['refNo'];
$sql = "select * from conf_name where id = '$refNo' ";
//echo "\n $sql \n";
$res = mysql_query($sql);
while ( $row = mysql_fetch_array($res))
{
//echo $row[id];
$item[0] = "";
$item[0] .= " <div id=\"centersideh1\" >";
// $item[0] .= "<a href = \"header.php\">" . $row['conf'] . "</a>" ;
$item[0] .= $row['name'];
$item[0] .= " </div> ";
//echo $row[name] . "<br/>";
echo $item[0];
}
//echo "\n<br/>ref no :: $refNo <br/>\n";
$sql = "select * from ResearchTopic where Conf_ID = '$refNo' ";
//echo "\n $sql \n";
$res = mysql_query($sql);
while ( $row = mysql_fetch_array($res))
{
//echo $row[id];
$item[0] = "";
$item[0] .= " <div id=\"centersideh2\" >";
// $item[0] .= "<a href = \"header.php\">" . $row['conf'] . "</a>" ;
$item[0] .= $row['label'] . "<br/>";
$item[0] .= " </div> ";
//echo $row[name] . "<br/>";
echo $item[0];
//echo $row[label] . "<br>" ;
}
echo "\n<br/>ref no :: $refNo <br/>\n";
include '/home/parveen/public_html/php/fetch1.php';
include 'footer.php';
?>
</body>
</html>