EliteConf
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
test
protected
views
refereeAssignment
index.php
Go to the documentation of this file.
1
<?php
2
/* @var $this ConferenceController */
3
/* @var $model Conference */
4
/*
5
$this->breadcrumbs=array(
6
'Conferences'=>array('index'),
7
'Manage',
8
);
9
10
$this->menu=array(
11
array('label'=>'List Conference', 'url'=>array('index')),
12
array('label'=>'Create Conference', 'url'=>array('create')),
13
);
14
*/
15
Yii::app()->clientScript->registerScript(
'search'
,
"
16
$('.search-button').click(function(){
17
$('.search-form').toggle();
18
return false;
19
});
20
$('.search-form form').submit(function(){
21
$.fn.yiiGridView.update('conference-grid', {
22
data: $(this).serialize()
23
});
24
return false;
25
});
26
"
);
27
?>
28
29
30
<?php
31
32
Connect_DatabaseController::connect
();
33
34
$conf
= mysql_query(
"SELECT * FROM conference WHERE name='conf5'"
);
35
36
while
($row=mysql_fetch_array(
$conf
))
37
{
38
39
$model[
'conferenceid'
] = $row[
'conferenceid'
];
40
$model[
'name'
] = $row[
'name'
];
41
$model[
'rooms'
] = $row[
'rooms'
];
42
43
44
45
46
47
48
}
49
?>
Generated on Sun Jun 2 2013 05:35:36 for EliteConf by
1.8.4