$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&delete=' . $row['id']) . '" title="' . $I18N->get('del') . '">' . $I18N->get('del') . '</a>'); } $ls->addButton($I18N->get('delete all'), PageUrl2('send&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&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>
function clineUsage($line = "") { @ob_end_clean(); print clineSignature(); print "Usage: " . $_SERVER["SCRIPT_FILENAME"] . " -p page {$line}\n\n"; exit; }
function clineUsage($line = '') { @ob_end_clean(); print clineSignature(); print 'Usage: ' . $_SERVER['SCRIPT_FILENAME'] . " -p page {$line}\n\n"; exit; }
function clineUsage($line = "") { # if (!ereg("dev",VERSION)) ob_end_clean(); print clineSignature(); print "Usage: " . $_SERVER["SCRIPT_FILENAME"] . " -p page {$line}\n\n"; exit; }