예제 #1
0
파일: send.php 프로젝트: Gerberus/phplist3
            $ls->setClass($element, 'row1');
            #    $ls->addColumn($element,$I18N->get('edit'),PageLink2('send&id='.$row['id'],$I18N->get('edit')));
            $ls->addColumn($element, $I18N->get('entered'), $row['entered']);
            $ls->addColumn($element, $I18N->get('age'), secs2time($row['age']));
            $ls->addRow($element, '', '<a class="del" href="' . PageUrl2('send&amp;delete=' . $row['id']) . '" title="' . $I18N->get('del') . '">' . $I18N->get('del') . '</a>');
        }
        $ls->addButton($I18N->get('delete all'), PageUrl2('send&amp;delete=alldraft'));
        print $ls->display();
        return;
    }
}
include "send_core.php";
if ($done) {
    if ($GLOBALS["commandline"]) {
        ob_end_clean();
        print clineSignature();
        print "Message with subject " . $_POST["subject"] . " was sent to " . $lists . "\n";
        exit;
    }
    return;
}
/*if (!$_GET["id"]) {
  Sql_Query(sprintf('insert into %s (subject,status,entered)
    values("(no subject)","draft",now())',$GLOBALS["tables"]["message"]));
  $id = Sql_Insert_id();
  Redirect("send&amp;id=$id");
}
*/
$list_content = '
<div id="listselection" class="accordion">
<h3><a name="lists">' . $GLOBALS['I18N']->get('Please select the lists you want to send your campaign to') . ':</a></h3>
예제 #2
0
function clineUsage($line = "")
{
    @ob_end_clean();
    print clineSignature();
    print "Usage: " . $_SERVER["SCRIPT_FILENAME"] . " -p page {$line}\n\n";
    exit;
}
예제 #3
0
function clineUsage($line = '')
{
    @ob_end_clean();
    print clineSignature();
    print 'Usage: ' . $_SERVER['SCRIPT_FILENAME'] . " -p page {$line}\n\n";
    exit;
}
예제 #4
0
function clineUsage($line = "")
{
    #  if (!ereg("dev",VERSION))
    ob_end_clean();
    print clineSignature();
    print "Usage: " . $_SERVER["SCRIPT_FILENAME"] . " -p page {$line}\n\n";
    exit;
}