EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
index.php
Go to the documentation of this file.
1 <?php
2 
12  $paperid = $_POST['val'];
13 
14 
15  if(isset($_POST['recommendation']))
16  {
17  $recommendation = $_POST['recommendation'];
18 
19  if(isset($_POST['categorization']))
20  {
21  $categorization = $_POST['categorization'];
22 
23  $this->evaluate($recommendation, $categorization, $paperid);
24 
25  }
26  else echo "You Have Not Specified A Categorization For This Paper.<br><br>";
27 
28  }
29  else echo "You Have Not Specified Your Recommendation.<br><br>";
30 
31 
32 
33  if(strlen($_POST['comment'])!=0)
34  {
35  $comment = $_POST['comment'];
36 
37  $this->comment($paperid, $comment);
38 
39  }
40  else echo "You Have Not Commented On This Paper.<br><br>";
41 
42 
43 
44 
45 
46 /*
47 //INSERTION OF CONFERENCE
48 //insert conference properties into conference table
49 $sql_evaluate_paper="UPDATE paper SET rating=$rate WHERE id=$papid";
50 mysql_query($sql_evaluate_paper) or die (mysql_error());
51 
52 echo "Paper Rated";
53 */
54 echo "<a href=\" ./index.php?r=evaluatePaper/index&va=$paperid\">" . "Go Back To Paper Evaluation Page" . "</a>";
55 
56  ?>