Location: PHPKode > projects > VSecure > copy/unsubscribe.php
<?php
/*******************************************************************/
/*                         Vsecurity                               */
/*        Copyrights(C)2001 Jan Vilimek(hide@address.com)         */
/*               See GPL license in file license.txt               */
/*           and http://www.guanoweb.cz for more details           */
/*                                                                 */
/* Function: Secure your pages  (unsubscribe)                      */
/* for instalation see readme.txt                                  */
/*******************************************************************/
/*changes SERVER_REPORT in user dats*/

die ("PATH NOT CHANGED IN ".__FILE__." on line " . __LINE__ .". please specify path to security.php");

include dirname(__FILE__)."/security.php"; /*change this please*/

if ($login=="anonym")
 {
?>
<div style="text-align:center;margin:10px;font-weight:bold;font-size:15px;"><?php echo 
$VSecure_unsubscribe_warning;?></div>
<?
 include dirname(__FILE__)."/login.php";
 }
xhtml_header("VSecure - un/subscribing",true,false);

if ($option=="YES")
 {
 save_user_data("send_message","YES",$login);
 }
elseif ($option=="NO")
 {
 save_user_data("send_message","NO",$login);
 }
?>

<div style="text-align:center;margin:10px;font-weight:bold;font-size:20px;"><?php echo 
$VSecure_unsubscribe_change;?></div>
<hr>
<div style="text-align:center;margin:15px;font-weight:bold;font-size:15px;">
<?php echo $VSecure_unsubscribe_question;?>
&nbsp; &nbsp; &nbsp;
<?
$LM=load_user_data("send_message",$login);
if ($LM=="YES") echo $VSecure_Y;else  echo $VSecure_N;
?>
<br />
<?
echo $VSecure_unsubscribe_chng;

echo " &nbsp; <a href=\"".$VSecure_conf['unsubscribe_path']."?option=YES\">$VSecure_Y</a>\n";
echo " &nbsp; <a href=\"".$VSecure_conf['unsubscribe_path']."?option=NO\">$VSecure_N</a>\n";

?>
</div>
<hr>

<div style="text-align:center;font-weight:bold;font-size:11px;color:Maroon;">Jan Vilimek, <a href="mailto:hide@address.com" title="mail me">hide@address.com</a>, &copy; 2000-2002<br />

          ...please check our pages <a href="http://www.guanoweb.cz" title="Click here...">www.guanoweb.cz</a> for new updates...</div>

<?

xhtml_footer();

?>
Return current item: VSecure