"Fossies" - the Fresh Open Source Software Archive

Member "sqlgreywebinterface-1.1.8/includes/opt_in_out.inc.php" (10 Aug 2015, 778 Bytes) of package /linux/privat/old/sqlgreywebinterface-1.1.8.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "opt_in_out.inc.php": 1.1.7_vs_1.1.8.

    1 <?php
    2 
    3 /**************************************
    4 SQLgrey Web Interface
    5 Filename:   opt_in_out.inc.php
    6 Purpose:    Opt in/out functions
    7 Version:    1.1.8
    8 ***************************************/
    9 
   10     if ($_GET["direction"] == "out") {
   11         $title = "Opt-out";
   12         $helptag_dir = "<br />(recipients for whom messages are never greylisted)";
   13         $table = "optout_";
   14     } else {
   15         $title = "Opt-in";
   16         $helptag_dir = "<br />(recipients for whom messages are always greylisted unless they are in the ";
   17         $table = "optin_";
   18     }
   19     
   20     if ($_GET["what"] == "domain") {
   21         $title .= " domains";
   22         $helptag_what = "optout domain table)";
   23         $table .= "domain";
   24         $field = "domain";
   25     } else {
   26         $title .= " e-mail addresses";
   27         $helptag_what = "optout e-mail table)";
   28         $table .= "email";
   29         $field = "email";
   30     }
   31 ?>