EliteConf
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
test
protected
views
announcementfunction
index.php
Go to the documentation of this file.
1
<?php
2
/* @var $this AnnouncementfunctionController */
3
11
$this->
breadcrumbs
=array(
12
'Announcementfunction'
,
13
);
14
?>
15
16
17
<?php
18
19
$confid
= $_POST[
'confid'
];
20
21
if
($_POST[
'title'
]!=NULL)
22
{
23
if
($_POST[
'content'
]!=NULL)
24
{
25
26
$this->sendannouncement();
27
28
echo
"<h2>"
. $_POST[
'title'
] .
"</h2>"
;
29
echo
""
. $_POST[
'content'
] .
"<br><br><br>"
;
30
31
32
echo
"Announcement Has Been Sent"
;
33
echo
"<br><br>"
;
34
35
if
(isset($_POST[
'mailall'
]))
36
$this->mailall();
37
else
38
{
39
if
(isset($_POST[
'mailauth'
])) $this->mailauth ();
40
if
(isset($_POST[
'mailref'
])) $this->mailref ();
41
if
(isset($_POST[
'mailatt'
])) $this->mailatt ();
42
43
}
44
//echo "Page Will Redirect Now";
45
//echo "<meta http-equiv='refresh' content='1; url=./index.php?r=announcement/index&confid=$confid'>";
46
echo
"<a href=\" ./index.php?r=announcement/index&confid=$confid\">"
.
"Make Another Announcement"
.
"</a>"
;
47
48
}
49
50
else
51
{
52
echo
"Please write announcement content.<br><br>"
;
53
echo
"<a href=\" ./index.php?r=announcement/index&confid=$confid\">"
.
"Make Another Announcement"
.
"</a>"
;
54
}
55
56
}
57
58
else
59
{
60
61
echo
"Please provide a title for the announcement.<br><br>"
;
62
echo
"<a href=\" ./index.php?r=announcement/index&confid=$confid\">"
.
"Make Another Announcement"
.
"</a>"
;
63
64
}
65
?>
Generated on Sun Jun 2 2013 05:35:36 for EliteConf by
1.8.4