EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
index.php
Go to the documentation of this file.
1 <?php
2 /* @var $this User_profileController */
3 
11 $this->breadcrumbs=array(
12  'User Profile',
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 
30 
31 <h1>Properties of <?php echo $this->username(); ?></h1>
32 
33 <?php
34 
35 $this->viewUser();
36 
37 ?>
38 
39 <h3>
40 <?php
41 
42 $this->set_interests();
43 
44 $this->send_message();
45 ?>
46 </h3>
47 
48 
49 <a href="#" style="text-decoration: none" onclick="toggle_visibility('interests');return false;">
50 <h3>Interests</h3>
51 </a>
52 <div id="interests" style="display:none";>
53 <?php
54 // View user's conference
55 
56 $this->viewInterests();
57 
58 ?>
59 </div>
60 
61 <br>
62 
63 <a href="#" style="text-decoration: none" onclick="toggle_visibility('participating');return false;">
64 <h3>Conferences</h3>
65 </a>
66 <div id="participating" style="display:none";>
67 <?php
68 // View user's conference
69 
70 $this->user_conferences();
71 
72 ?>
73 </div>
74 
75 <br>
76 
77 <a href="#" style="text-decoration: none" onclick="toggle_visibility('papers');return false;">
78 <h3>Papers</h3>
79 </a>
80 <div id="papers" style="display:none";>
81 <?php
82 // VIEW CONFERENCE PAPERS
83 
84 $this->user_papers();
85 
86 ?>
87 </div>