1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php 
$name_of_your_site = "Newscast News submission"; 
$email_adress_reciever = "[email protected]";

if(isset($_POST['Send']))
{
	include('send.php');	
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


	<title>Newscast - a premium magazine template</title>
	
	<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="css/style1.css" type="text/css" media="screen" />
	<!--
	<link rel="stylesheet" href="css/style2.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="css/style3.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="css/style4.css" type="text/css" media="screen" />
	-->

	<link rel="stylesheet" href="js/prettyPhoto/css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" />	
	
	<script type='text/javascript' src='js/jquery.js'></script>
	<script src="js/prettyPhoto/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>	
	
	<script type='text/javascript' src='js/custom.js'></script>
	
	<!--[if IE 6]>
	<script type='text/javascript' src='js/dd_belated_png.js'></script>
	<script>DD_belatedPNG.fix('.ie6fix');</script>
	<style>.box ul a {zoom:1;}</style>
	<![endif]-->
	

</head>

<body id='submit_news_form'>
						<div id ="newswrapper">
						<form action="" method="post" class="news_form">
						<fieldset><?php if (!isset($errorC) || $errorC == true){ ?><h3><span>Submit an article or news</span></h3>
						
						<p class="<?php if (isset($the_nameclass)) echo $the_nameclass; ?>" ><label for="name">Your Name*</label><input name="yourname" class="text_input is_empty" type="text" id="name" size="20" value='<?php if (isset($the_name)) echo $the_name?>'/>
						</p>
						<p class="<?php if (isset($the_emailclass)) echo $the_emailclass; ?>" ><label for="email">E-Mail*</label><input name="email" class="text_input is_email" type="text" id="email" size="20" value='<?php if (isset($the_email)) echo $the_email ?>' /></p>
						<p><label for="website">Full Story Link*</label><input name="website" class="text_input is_empty" type="text" id="website" size="20" value="<?php if (isset($the_website))  echo $the_website?>"/></p>
						
						<p><label for="imageURL">Preview Image URL</label><input name="imageURL" class="text_input" type="text" id="imageURL" size="20" value="<?php if (isset($url))  echo $url?>"/></p>
						
						<p class="<?php if (isset($the_subject)) echo $the_subject; ?>" ><label for="subject">Subject*</label><input name="Subject" class="text_input is_empty" type="text" id="subject" size="20" value='<?php if (isset($the_subject)) echo $the_subject ?>' /></p>
						
						<label for="message" class="blocklabel">Your News Text</label>
						<p class="<?php if (isset($the_messageclass)) echo $the_messageclass; ?>"><textarea name="message" class="text_area is_empty" cols="40" rows="7" id="message" ><?php  if (isset($the_message)) echo $the_message ?></textarea></p>
					
						
						<p>
						<input type="hidden" id="myemail" name="myemail" value="<?php echo $email_adress_reciever; ?>" />
						<input type="hidden" id="myblogname" name="myblogname" value="<?php echo $name_of_your_site; ?>" />
						
						<input name="Send" type="submit" value="Send" class="button" id="send" size="16"/></p>
						<?php } else { ?> 
						<p><h3>Your message has been sent!</h3> Thank you!</p>
						
						<?php } ?>
						</fieldset>
						
						</form>
					</div> 
			</body>
</html>