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