EliteConf
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
test
protected
views
sendmessage
index.php
Go to the documentation of this file.
1
<?php
2
/* @var $this SendmessageController */
3
11
$this->
breadcrumbs
=array(
12
'Sendmessage'
,
13
);
14
?>
15
16
<?php
17
18
Connect_DatabaseController::connect
();
19
20
if
(Yii::app()->user->id != NULL)
21
$senderid
= Yii::app()->user->id;
22
else
23
$senderid
= 0;
24
25
?>
26
<h3>Send
Message
</h3>
27
28
29
<form action=
"index.php?r=sendmessagefunction/index"
method=
"post"
>
30
<label>Your
Message
: <br></label>
31
<textarea name=
"message"
></textarea>
32
<br/>
33
<input hidden name=
"receiverid"
value=
"<?php echo $_GET["
va
"];?>"
/>
34
<input hidden name=
"senderid"
value=
"<?php echo $senderid;?>"
/>
35
36
<br/>
37
<input type=
"submit"
value=
"Send Message"
>
38
<br/>
39
40
</form>
Generated on Sun Jun 2 2013 05:35:36 for EliteConf by
1.8.4