EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
index.php
Go to the documentation of this file.
1 <?php
2 /* @var $this Participation_confirmationController */
3 
10 $this->breadcrumbs=array(
11  'Participation Confirmation',
12 );
13 ?>
14 
15 
16 <!-- Script to view/hide -->
17 <script type="text/javascript">
18 <!--
19  function toggle_visibility(id) {
20  var e = document.getElementById(id);
21  if(e.style.display == 'block')
22  e.style.display = 'none';
23  else
24  e.style.display = 'block';
25  }
26 //-->
27 </script>
28 
29 <?php
30 
32  $co = $_GET['va'];
33 
34  $conf = mysql_query("SELECT name FROM conference WHERE conferenceid=$co");
35 
36 
37  while($row = mysql_fetch_array($conf))
38  {
39 
40  $confname = $row['name'];
41 
42  }
43 
44 
45 ?>
46 
47 
48 
49 <div <?php echo $this->any_req(); ?> >
50 <h1> Participation Requests For <?php echo $confname; ?></h1><br>
51 </div>
52 <div <?php echo $this->no_req(); ?> >
53 <h3> There Are No Participation Requests For <?php echo $confname; ?></h3><br>
54 </div>
55 
56 
57 <div <?php echo $this->author_req(); ?> >
58 <h1> Authoring Requests </h1>
59 </div>
60 
61 <a href="#" <?php echo $this->author_pending(); ?> style="text-decoration: none" onclick="toggle_visibility('pending'); return false;">
62 <h3>Pending Requests</h3>
63 </a>
64 <div id="pending" style="display:none";>
65 <?php
66 $this->view_pending_authoring_requests();
67 ?>
68 </div>
69 
70 <a href="#" <?php echo $this->author_accepted(); ?> style="text-decoration: none" onclick="toggle_visibility('accepted'); return false;">
71 <h3>Accepted Requests</h3>
72 </a>
73 <div id="accepted" style="display:none";>
74 <?php
75 $this->view_accepted_authoring_requests();
76 ?>
77 </div>
78 
79 <a href="#" <?php echo $this->author_rejected(); ?> style="text-decoration: none" onclick="toggle_visibility('rejected'); return false;">
80 <h3>Rejected Requests</h3>
81 </a>
82 <div id="rejected" style="display:none";>
83 <?php
84 $this->view_rejected_authoring_requests();
85 ?>
86 </div>
87 
88 <div <?php echo $this->author_req(); ?> >
89 <br>
90 <br>
91 </div>
92 
93 <div <?php echo $this->referee_req(); ?> >
94 <h1> Refereeing Requests </h1>
95 </div>
96 
97 <a href="#" <?php echo $this->referee_pending(); ?> style="text-decoration: none" onclick="toggle_visibility('pending_ref'); return false;">
98 <h3>Pending Requests</h3>
99 </a>
100 <div id="pending_ref" style="display:none";>
101 <?php
102 $this->view_pending_refereeing_requests();
103 ?>
104 </div>
105 
106 <a href="#" <?php echo $this->referee_accepted(); ?> style="text-decoration: none" onclick="toggle_visibility('accepted_ref'); return false;">
107 <h3>Accepted Requests</h3>
108 </a>
109 <div id="accepted_ref" style="display:none";>
110 <?php
111 $this->view_accepted_refereeing_requests();
112 ?>
113 </div>
114 
115 <a href="#" <?php echo $this->referee_rejected(); ?> style="text-decoration: none" onclick="toggle_visibility('rejected_ref'); return false;">
116 <h3>Rejected Requests</h3>
117 </a>
118 <div id="rejected_ref" style="display:none";>
119 <?php
120 $this->view_rejected_refereeing_requests();
121 ?>
122 </div>
123 
124 <div <?php echo $this->referee_req(); ?> >
125 <br>
126 <br>
127 </div>
128 
129 <div <?php echo $this->attend_req(); ?> >
130 <h1> Attendance Requests </h1>
131 </div>
132 
133 <a href="#" <?php echo $this->attend_pending(); ?> style="text-decoration: none" onclick="toggle_visibility('pending_att'); return false;">
134 <h3>Pending Requests</h3>
135 </a>
136 <div id="pending_att" style="display:none";>
137 <?php
138 $this->view_pending_attendance_requests();
139 ?>
140 </div>
141 
142 <a href="#" <?php echo $this->attend_accepted(); ?> style="text-decoration: none" onclick="toggle_visibility('accepted_att'); return false;">
143 <h3>Accepted Requests</h3>
144 </a>
145 <div id="accepted_att" style="display:none";>
146 <?php
147 $this->view_accepted_attendance_requests();
148 ?>
149 </div>
150 
151 <a href="#" <?php echo $this->attend_rejected(); ?> style="text-decoration: none" onclick="toggle_visibility('rejected_att'); return false;">
152 <h3>Rejected Requests</h3>
153 </a>
154 <div id="rejected_att" style="display:none";>
155 <?php
156 $this->view_rejected_attendance_requests();
157 ?>
158 </div>