<?php
$cryptinstall="classes/crypt/cryptographp.fct.php";
include $cryptinstall;
// REGISTER A NEW USER
include "header.php";
include "login.inc.php";
?>
<!-- Content Start -->
<br>
<div align="justify" style="padding-left: 2px; padding-right: 5px">
<table width="500" align="center" border="0" cellspacing=0" cellpadding="0" class="text">
<tr>
<td><div class="title"><img src="images/small_arr.jpg" width="9" height="9"> France</div></td>
<tr>
<td valign="top"><b>MyOwnSpace Headquarters:</b><br>
<div class="text" style="padding-left: 15px;">
<b>MyOwnSoftware</b><br>
42, rue Guersant<br>
75017, Paris<br>
FRANCE<br>
</div>
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="text">
<tr>
<td width="150" valign="top">Phone (no support here):</td>
<td>+33 (0)1 4068 0779</td>
</tr>
</table>
</td>
</tr>
</table>
<center>
<br>
<div class="offer_title">
You can contact us 24x7 for abuse issues.
</div>
<br>
</center>
<br>
<?
if(isset($_POST['from'])&&(chk_crypt($_POST['code'])) )
{
$id=$_GET['id'];
$to = $admin_mail;
$subject = $_POST['subject'];
$from = '"'.$_POST['name'].'"<'.$_POST['from'].'>';
$headers = 'From: '.$_POST['from'] . "\r\n" .
'Reply-To: '.$_POST['from']. "\r\n" .
'X-Mailer: myOwnSpace/';
$message=$_POST['text'];
mail($to, $subject, $message, $headers);
echo'<h3>Message sent!</h3><hr><a href="home.php">Back to MyOwnSpace</a> ';
}
else
{
echo '
<fieldset>
<legend>Contact us!</legend>
<H3 class="offer_title">Send a message to MyOwnSpace </H3>
<form name="f" method="post" action="contacts.php">
<label>From: </label><br><input type="text" name="from" size="70"><br>
<label>Subject: </label><br><input type="text" name="subject" size="70"><br>
<label>Name: </label><br><input type="text" name="name" size="70"><br>
<label>Message: </label><br><textarea style=color:black; name="text" cols="70" rows="20"></textarea><hr>
<label>';
dsp_crypt(0,1);
echo '</label>
<label>Pass the test: <input type="text" name="code"></label><br>
<input type="submit" value="Send">
</form>
</fieldset>';
}
// REGISTER A NEW USER
include "footer.php";
?>