EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
index.php
Go to the documentation of this file.
1 <?php
2 /* @var $this RequestfunctionController */
3 
11 $this->breadcrumbs=array(
12  'Requestfunction',
13 );
14 ?>
15 
16 <?php
17 
18 $confid = $_GET['id'];
19 $uid = $_GET['uid'];
20 $type = $_GET['type'];
21 $accept = $_GET['accept'];
22 
23 
24  if($type==2)
25  {
26  if($accept==1)
27  {
28  $this->author_accept($confid, $uid, $type, $accept);
29  echo "Request Has Been Accepted<br>";
30  }
31 
32  else if($accept==2)
33  {
34  $this->author_reject($confid, $uid, $type, $accept);
35  echo "Request Has Been Rejected<br>";
36  }
37  }
38  else if($type==3)
39  {
40  if($accept==1)
41  {
42  $this->referee_accept($confid, $uid, $type, $accept);
43  echo "Request Has Been Accepted<br>";
44  }
45 
46  else if($accept==2)
47  {
48  $this->referee_reject($confid, $uid, $type, $accept);
49  echo "Request Has Been Rejected<br>";
50  }
51 
52  }
53  else if($type==4)
54  {
55  if($accept==1)
56  {
57  $this->attendee_accept($confid, $uid, $type, $accept);
58  echo "Request Has Been Accepted<br>";
59  }
60 
61  else if($accept==2)
62  {
63  $this->attendee_reject($confid, $uid, $type, $accept);
64  echo "Request Has Been Rejected<br>";
65  }
66 
67  }
68 
69 echo "<br>";
70 echo "<a href=\" ./index.php?r=participation_confirmation/index&va=$confid\">" . "Go Back to the Participation Requests Viewing Page" . "</a>";
71 
72 ?>
73