EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
index.php
Go to the documentation of this file.
1 <?php
2 /* @var $this ConferenceTopicsController */
3 
12 $this->breadcrumbs=array(
13  'Conference Topics',
14 );
15 ?>
16 <?php
17 $confid = $_GET['va'];
18 ?>
19 <h1>Search Area Of Interest By Topic</h1>
20 <form action="index.php?r=conferenceTopics/index&va=<?php echo $confid; ?>" method="post">
21 
22 <?php
23 // auto complete code.
24 // takes array on 'source' line
25 $this->widget('zii.widgets.jui.CJuiAutoComplete',array(
26  'name'=>'topic',
27  'source'=>$this->autocomplete_topics(),
28  // additional javascript options for the autocomplete plugin
29  'options'=>array(
30  'minLength'=>'0',
31  ),
32  'htmlOptions'=>array(
33  'style'=>'height:20px;',
34  ),
35 ));
36 
37 ?>
38 <br><br>
39 <input type="submit" value="Show Subtopics">
40 <br><br>
41 
42 <?php
43 
44 if(isset($_POST['topic'])) $this->view_subtopics();
45 else echo "Select A Topic To View Its Subtopics";
46 
47 ?>
48 
49 
50 <br><br>
51 <?php echo "<h3><a href=./index.php?r=interests_request/index&confid=$confid>Request New Interest</a></h3>" ?>
52 
53 <?php echo "<h3><a href=./index.php?r=conference/view&id=$confid>Go Back To Conference Viewing Page</a></h3> <br/><br/>" ?>