Просмотр файла script/admin/help.php

Размер файла: 2.44Kb
<?php
/*-----------------------------------------------------------------------------------------
mcGalleryPRO
All code is © 2003 Marc Cagninacci.
No files may be redistributed in whole or significant part.
----------------- mcgalleryPRO IS NOT FREE SOFTWARE -------------------
You should have receive a file called license.txt in this package
--------------------------------------------------------------------------------------------*/

session_start();
if (empty($_SESSION['private_login']))
{
include "./sess.php";
exit;
}
include './header.php';
 
if (empty($license)) { $license = 'Please fill the <b>License</b> field on <b>Config</b> page'; }

if ($submit != '')
{
$text = stripslashes($text);
  if ($mail_function == 1)
  {
  email("help", "[email protected]", "help on script", "From: $email_admin\nLicense: $license\nSite: $site\n\n$text");
  }
  else
  {
  mail("[email protected]", "help on script", "From: $email_admin\nLicense: $license\nSite: $site\n\n$text", "From: $email_admin");
  }
?>
<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>
<table border="0" cellspacing="1" cellpadding="2" align="center" bgcolor="black">
<tr>
<td bgcolor="black" align="right"><font face="verdana, arial" size="2" color="white">
Contact Support</font></td>
</tr>
<tr>
<td bgcolor="#DDDDDD"><font face="verdana, arial" size="2" color="black">
Message sent tothe support. You will have an answer as soon as possible.
<hr>
Message envoy&eacute; au support. Vous aurez une r&eacute;ponse d&egrave;s que possible.</font></td>
</tr>
</table>
<?php
}
else
{
?>
<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>
<table border="0" cellspacing="1" cellpadding="2" align="center" bgcolor="black">
 <form method="post" action="help.php">
<tr>
<td bgcolor="black" align="right" colspan="2"><font face="verdana, arial" size="2" color="white">
Contact Support</font></td>
</tr>
<tr>
<td bgcolor="#DDDDDD"><font face="verdana, arial" size="2" color="black">
From:<br>License:<br>Site:</font></td>
<td bgcolor="#DDDDDD"><font face="verdana, arial" size="2" color="black">
<?php echo $email_admin.'<br>'.$license.'<br>'.$site; ?></font></td>
</tr>
<tr>
<td bgcolor="#DDDDDD" align="center" colspan="2">
<textarea name="text" cols="60" rows="6"></textarea>
</td>
</tr>
<tr>
<td bgcolor="#DDDDDD" align="center" colspan="2">
<input type="submit" name="submit" value="to: [email protected]"> 
</td>
</tr>
</form>
</table>

<?php
}
include './footer.php';
?>