Location: PHPKode > projects > ADbNewsSender > ADbNewsSender_2.0.4/subscribe.php
<?php
/*
// File: subscribe.php
//Last change in version: 2.0.0

    ******************************************************************************
    ADbNewsSender 2

    Copyright (C) 2009  Florian Grannemann (hide@address.com)
    Website: http://adbnewssender.sf.net


    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License			
    along with this program.  If not, see http://www.gnu.org/licenses/
    ******************************************************************************



// This file is used to submit e-mail adresses and to remove them from the maillinglist
// You may modify the layout of this page so that it fits to the layout of your website.
// If you want to place the subscribe/unsubscribe form in another php file you can also include this file
// with <?php include "subscribe.php"; ?> 
*/

//Please enter the relative or absolute path to folder ./protected
$path_to_protected_folder=dirname(__FILE__)."/protected";
//That should set the absolute path to the protected folder. (if this file was not moved).
//It should work on all UNIX-like Server Operating Systems (e.g. Linux, *BSD, Solaris)
//If it does not work, try to enter the absolute path manualy or try the relative path: 
//$path_to_protected_folder="./protected";


//Please enter the relative or absolute path to the subscribe.php.inc File

$path_to_subscribe_php_inc="$path_to_protected_folder/subscribe.php.inc";

//Use this language package by default if no newsletter has been selected:
//"global" for global settings (case sensitive); "lang" for a specific language package (e.g. "eng" for English, "ger" for German, or "spa" for Spanish)
    
$default_language="global";



?>

<html>
<Head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Newsletter subscribe and unsubscribe page</Title>
</head>
<body>

<?php
// You can set the following line to any place where you want to have the Emailadress-Submit-Box.
//To change the Layout of the Subscription-Form please take a look at SubscriptionFormLayout.txt!
//If you want to use different Layouts you may define it in different text-files.

//please specify the relative path to the SubscriptionForm layout-file:

$LayoutFile="./templates/SubscriptionFormLayout.txt";


include "$path_to_subscribe_php_inc";
?>

</body>
</html>
Return current item: ADbNewsSender