EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
index.php
Go to the documentation of this file.
1 <?php
2 /* @var $this SendmessagefunctionController */
3 
10 $this->breadcrumbs=array(
11  'Sendmessagefunction',
12 );
13 
14 ?>
15 
16 
17 
18 
19 <?php
20 
21 $receiverid = $_POST['receiverid'];
22 
23 if($_POST['message']!=NULL)
24 {
25 $this->sendmessage();
26 
27 echo "Message Has Been Sent";
28 echo "<br><br>";
29 echo "Page Will Redirect Now";
30 echo "<meta http-equiv='refresh' content='1; url=./index.php?r=viewusermessage/index&userid=$receiverid'>";
31 
32 }
33 
34 else
35 {
36 
37 echo "Please write a message.<br><br>";
38 echo "<a href=\" ./index.php?r=viewusermessage/index&userid=$receiverid\">" . "Send Another Message To This User" . "</a>";
39 }
40 ?>
41 
42 <?php
43 //echo "<a href=\" ./index.php?r=sendmessage/index&va=$receiverid\">" . "Send Another Message To This User" . "</a>";
44 ?>
45 
46