$(document).ready(function(){ $('.footable').footable(); }); </script> <!-- User List End --> <?php } else { if ($page_sub2 == 'add') { #Add $sourceLimit = calcSource(set_org_id, 'users'); if (!limitBlock($sourceLimit, set_org_max_user)) { $lethe->isSuccess = 1; } echo '<h1>' . $pg_title . '<span class="help-block"><span class="text-primary">' . organizations_add_user . '</span></span></h1><hr>' . $pg_nav_buts . $errText; echo '<div class="row"> <div class="col-md-3"><div class="form-group"><label>' . sh('pRP9MnRKno') . letheglobal_limits . '</label><span class="clearfix"></span>' . getMyLimits($sourceLimit, set_org_max_user) . '</div></div> </div>'; ?> <!-- User Add Start --> <?php if (!isset($lethe->isSuccess) || $lethe->isSuccess == 0) { ?> <form action="" method="POST" onsubmit="listbox_selectall('perm-sel-list', true)"> <div role="tabpanel"> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"><a href="#general" aria-controls="general" role="tab" data-toggle="tab"><?php echo organizations_general; ?> </a></li>
?> </label> <?php if (LETHE_AUTH_MODE == 2 && PRO_MODE) { ?> <input type="number" onkeydown="validateNumber(event);" class="form-control autoWidth" id="org_max_daily_limit" name="org_max_daily_limit" value="<?php echo defined('set_org_max_daily_limit') ? showIn(set_org_max_daily_limit, 'input') : ''; ?> " size="5"> <span class="help-block">0 = <?php echo letheglobal_unlimited; ?> </span> <?php } else { echo '<div class="row"><div class="col-md-3">' . getMyLimits($sr->Get('daily_sent'), set_org_max_daily_limit) . '</div></div>'; } ?> </div> <div class="form-group"> <label for="org_standby_organization"><?php echo sh('ftJoFAPhU6') . organizations_standby_between_organizations . ' (' . letheglobal_minute . ')'; ?> </label> <?php if (LETHE_AUTH_MODE == 2 && PRO_MODE) { ?> <input type="number" onkeydown="validateNumber(event);" class="form-control autoWidth" id="org_standby_organization" name="org_standby_organization" value="<?php echo defined('set_org_standby_organization') ? showIn(set_org_standby_organization, 'input') : ''; ?> " size="5">
$delRec->close(); /* Init Limits */ $sourceLimit = calcSource(set_org_id, 'subscriber.blacklist'); $errText = errMod(letheglobal_updated_successfully, 'success'); } } ?> <?php echo '<h1>' . $pg_title . '<span class="help-block"><span class="text-primary">' . subscribers_blacklist . '</span></span></h1><hr>' . $pg_nav_buts . $errText; ?> <div class="form-group"> <?php echo '<div class="row"> <div class="col-md-3"><div class="form-group"><label>' . letheglobal_limits . '</label><span class="clearfix"></span>' . getMyLimits($sourceLimit, set_org_max_blacklist) . '</div></div> </div>'; ?> </div> <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> <?php if (limitBlock($sourceLimit, set_org_max_blacklist)) { ?> <div class="panel panel-info"> <div class="panel-heading" role="tab" id="headingOne"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne"> <?php echo subscribers_add_new_record; ?>
while ($opAccsRs = $opAccs->fetch_assoc()) { ?> <tr> <td><a href="?p=settings/submission/edit&ID=<?php echo $opAccsRs['ID']; ?> "><?php echo showIn($opAccsRs['acc_title'], 'page'); ?> </a></td> <td data-value="<?php echo $opAccsRs['daily_limit']; ?> "> <?php echo getMyLimits($opAccsRs['daily_sent'], $opAccsRs['daily_limit']); ?> <span class="text-mute"><small><?php echo letheglobal_reset; ?> : <?php echo setMyDate($opAccsRs['daily_reset'], 2); ?> </small></span> </td> <td><?php echo $LETHE_MAIL_ENGINE[$opAccsRs['mail_engine']]['title']; ?> </td> <td><?php echo $LETHE_MAIL_METHOD[$opAccsRs['send_method']];
$recBL++; } } } $fetchData->free(); echo ' - ' . subscribers_counting_records . '..<br> - ' . subscribers_max_valid_data . ': ' . $fTotal . '<br> - ' . subscribers_total_phase . ': ~' . $fTotalPhase . '<br> - ' . subscribers_parsing_has_begun . '..<br> - ' . subscribers_found_in_the_blacklist . ': <span class=text-muted>' . $recBL . '</span><br> - ' . subscribers_invalid_record_founded . ': <span class=text-danger>' . $recInv . '</span><br> - ' . subscribers_already_registered_found . ': <span class=text-warning>' . $recEx . '</span><br> - ' . subscribers_recorded . ': <span class=text-success>' . $recSc . '</span><br> - ' . subscribers_this_process_used . ' ' . number_format($totaltime, 2) . ' ms<br><br> ' . getMyLimits($recSc, $fTotal) . ' '; /* Callback */ if ($pgGo != $fTotalPhase) { sleep(1); echo ' <script> $.ajax({ url : "modules/lethe.subscribers/exip.xmlhttp.php?pos=importfromdb&recEx=' . $recEx . '&recBL=' . $recBL . '&recInv=' . $recInv . '&recSc=' . $recSc . '&pgGo=' . ($fTotalPhase > 1 ? $pgGo + 1 : 1) . '", type: "POST", data : $("#prty_form").serialize(), contentType: "application/x-www-form-urlencoded", success: function(data, textStatus, jqXHR) { $("#import_prog .well").html(data); },