EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
index.php
Go to the documentation of this file.
1 <?php
2 /* @var $this Assignment_function_submit_conferenceController */
3 
12 $this->breadcrumbs=array(
13  'Assignment Function Submit Conference',
14 );
15 ?>
16 
17 <?php
18 
20 
21  $confid = $_GET['confid'];
22 
23  if(isset($_POST['refid']))
24  {
25  foreach($_POST['refid'] as $refid)
26  {
27 
28  list($pap_id,$maxref) = explode('|', $refid);
29  echo "Paper id :" . $pap_id . " Referee id :" . $maxref . "<br>";
30 
31  $sql_insert_paper_referee="INSERT INTO paper_referee ( paperid, userid)
32 VALUES
33 ('$pap_id','$maxref')";
34 mysql_query($sql_insert_paper_referee) or die (mysql_error());
35 
36  echo "Referee is assigned to paper.<br><br>";
37 
38 
39 
40  }
41 
42  }
43 
44 else echo "No Paper Selected<br>";
45 
46 
47 ?>
48 
49 <?php
50 echo "";
51 echo "<a href=\" ./index.php?r=assignment_function_conference/index&confid=$confid\">" . "Go Back To Automatic Assignment Page" . "</a>";
52 ?>