示例#1
0
			</thead>
			<tbody>
			<?php 
        $opUsers = $myconn->query("SELECT * FROM " . db_table_pref . "users WHERE auth_mode=2 ORDER BY isPrimary DESC,real_name ASC") or die(mysqli_error($myconn));
        while ($opUsersRs = $opUsers->fetch_assoc()) {
            ?>
				<tr>
					<td><a href="?p=settings/users/edit&amp;ID=<?php 
            echo $opUsersRs['ID'];
            ?>
"><?php 
            echo showIn($opUsersRs['real_name'], 'page');
            ?>
</a></th>
					<td><?php 
            echo setMyDate($opUsersRs['add_date'], 2);
            ?>
</td>
					<td><?php 
            echo setMydate($opUsersRs['last_login'], 2);
            ?>
</td>
					<td><?php 
            echo showIn($opUsersRs['mail'], 'page');
            ?>
</td>
					<td data-value="<?php 
            echo $opUsersRs['isActive'];
            ?>
"><?php 
            echo getBullets($opUsersRs['isActive']);
示例#2
0
}
/* Report Extra Info */
if ($pos == 'extInfo') {
    # Clicked URLs etc
    $extraInfo = '<h4 class="text-primary">' . autoresponder_extra_info . '</h4><hr>';
    $opData = $myconn->prepare("SELECT * FROM " . db_table_pref . "reports WHERE OID=" . set_org_id . " AND ID=?") or die(mysqli_error($myconn));
    $opData->bind_param('i', $ID);
    $opData->execute();
    $opData->store_result();
    if ($opData->num_rows == 0) {
        $extraInfo .= errMod(letheglobal_record_not_found, 'danger');
    } else {
        $extST = new Statement_Result($opData);
        $opData->fetch();
        $extraInfo .= letheglobal_e_mail . ': ' . showIn($extST->Get('email'), 'page') . '<br>';
        $extraInfo .= letheglobal_date . ': ' . setMyDate($extST->Get('add_date'), 2) . '<br>';
        $extraInfo .= letheglobal_clicks . ' / ' . letheglobal_opens . ' ' . autoresponder_hit . ': ' . showIn($extST->Get('hit_cnt'), 'page') . '<br>';
        $extraInfo .= autoresponder_extra_info . ': <hr>';
        if ($extST->Get('extra_info') != '') {
            $extraInfo .= '<pre>' . showIn($extST->Get('extra_info'), 'page') . '</pre>';
        }
    }
    $opData->close();
    echo $extraInfo;
}
?>


<?php 
$myconn->close();
ob_end_flush();
示例#3
0
    $opOrgz = $myconn->query("SELECT * FROM " . db_table_pref . "organizations ORDER BY isPrimary DESC,orgName ASC") or die(mysqli_error($myconn));
    if (mysqli_num_rows($opOrgz) == 0) {
        echo '<tr><td colspan="6">' . errMod(letheglobal_record_not_found . '!', 'danger') . '</td></tr>';
    }
    while ($opOrgzRs = $opOrgz->fetch_assoc()) {
        ?>
				<tr>
					<td><a href="?p=organizations/organization/edit&amp;ID=<?php 
        echo $opOrgzRs['ID'];
        ?>
"><?php 
        echo showIn($opOrgzRs['orgName'], 'page');
        ?>
</a></th>
					<td><?php 
        echo setMyDate($opOrgzRs['addDate'], 2);
        ?>
</td>
					<td><?php 
        echo showIn($opOrgzRs['orgTag'], 'page');
        ?>
</td>
					<td data-value="<?php 
        echo $opOrgzRs['isActive'];
        ?>
"><?php 
        echo getBullets((int) $opOrgzRs['isActive']);
        ?>
</td>
					<td data-value="<?php 
        echo $opOrgzRs['isPrimary'];
示例#4
0
		
		<script type="text/javascript" src="Scripts/jquery.scrollbox.min.js"></script>
		<h3><?php 
echo subscribers_latest_subscriptions;
?>
 (25)</h3><hr>
		<?php 
$opLatests = $myconn->query("SELECT ID,OID,subscriber_mail,add_date,local_country,subscriber_verify FROM " . db_table_pref . "subscribers WHERE OID=" . set_org_id . " ORDER BY ID DESC LIMIT 0,25") or die(mysqli_error($myconn));
?>
		<div id="latestSubscribers" style="height:150px; overflow:hidden;">
		  <ul class="list-group">
			<?php 
while ($opLatestsRs = $opLatests->fetch_assoc()) {
    echo '<li class="list-group-item">
						<strong class="text-primary">' . showIn($opLatestsRs['subscriber_mail'], 'page') . '</strong>
						<span class="help-block">' . setMyDate($opLatestsRs['add_date'], 2) . '
							<span class="pull-right">
								<span class="flag flag-' . $opLatestsRs['local_country'] . '"></span>
								<span class="tooltips" title="' . $LETHE_VERIFICATION_TYPE[$opLatestsRs['subscriber_verify']] . '">' . getBullets($opLatestsRs['subscriber_verify']) . '</span>
							</span>
						</span>
					  </li>';
}
$opLatests->free();
?>
		  </ul>
		</div>
		<script>
			$(document).ready(function(){
				$('#latestSubscribers').scrollbox({
				  linear: true,
示例#5
0
"><?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']];
            ?>
</td>
					<td data-value="<?php 
            echo $opAccsRs['isActive'];
            ?>
"><?php 
示例#6
0
                            ?>
</td>
                    <td align="center"><?php 
                            if ($opRepRs['pos'] == 2) {
                                echo '<span class="label label-danger">' . letheglobal_bounces . '</span>';
                            } else {
                                if ($opRepRs['pos'] == 1) {
                                    echo '<span class="label label-warning">' . letheglobal_opens . '</span>';
                                } else {
                                    echo '<span class="label label-success">' . letheglobal_clicks . '</span>';
                                }
                            }
                            ?>
</td>
                    <td align="center"><?php 
                            echo setMyDate($opRepRs['add_date'], 2);
                            ?>
</td>
					<td align="center"><span class="label label-info"><?php 
                            echo $opRepRs['hit_cnt'];
                            ?>
</span></td>
					<td align="center"><a href="javascript:;" class="extInfs" data-rep-id="<?php 
                            echo $opRepRs['ID'];
                            ?>
"><span class="glyphicon glyphicon-screenshot"></span></a></td>
                  </tr>
				<?php 
                        }
                        $opRep->free();
                        ?>
示例#7
0
			</div>
			<div class="form-group">
				<label for="subscriber_name">' . letheglobal_name . '</label>
				<input type="text" class="form-control" id="subscriber_name" name="subscriber_name" value="' . showIn($sr->Get('subscriber_name'), 'input') . '">
			</div>
			<div class="form-group">
				<label for="subscriber_mail">' . letheglobal_e_mail . '</label>
				<input type="email" class="form-control" id="subscriber_mail" name="subscriber_mail" value="' . showIn($sr->Get('subscriber_mail'), 'input') . '">
			</div>
			<div class="form-group">
				<label for="subscriber_web">' . letheglobal_web . '</label>
				<input type="text" class="form-control" id="subscriber_web" name="subscriber_web" value="' . showIn($sr->Get('subscriber_web'), 'input') . '">
			</div>
			<div class="form-group">
				<label for="subscriber_date">' . letheglobal_date . '</label>
				<input type="text" class="form-control" id="subscriber_date" name="subscriber_date" value="' . ($sr->Get('subscriber_date') != '' ? setMyDate($sr->Get('subscriber_date'), 1) : '') . '">
			</div>
			<div class="form-group">
				<label for="subscriber_phone">' . letheglobal_phone . '</label>
				<input type="phone" class="form-control" id="subscriber_phone" name="subscriber_phone" value="' . showIn($sr->Get('subscriber_phone'), 'input') . '">
			</div>
			<div class="form-group">
				<label for="subscriber_company">' . letheglobal_company . '</label>
				<input type="text" class="form-control" id="subscriber_company" name="subscriber_company" value="' . showIn($sr->Get('subscriber_company'), 'input') . '">
			</div>
			<div class="form-group">
				<label for="subscriber_verify">' . letheglobal_verification . '</label>
				<select class="form-control autoWidth" id="subscriber_verify" name="subscriber_verify">';
        foreach ($LETHE_VERIFICATION_TYPE as $k => $v) {
            $editForm .= '<option value="' . $k . '"' . formSelector($sr->Get('subscriber_verify'), $k, 0) . '>' . $v . '</option>';
        }
示例#8
0
        ?>
</td>
					<td><?php 
        echo cntData("SELECT ID FROM " . db_table_pref . "subscribe_form_fields WHERE FID=" . $opFormsRs['ID'] . "");
        ?>
</td>
					<td><?php 
        echo getBullets($opFormsRs['isSystem']);
        ?>
</td>
					<td><?php 
        echo getBullets($opFormsRs['subscription_stop'] ? 0 : 1);
        ?>
</td>
					<td><?php 
        echo setMyDate($opFormsRs['add_date'], 2);
        ?>
</td>
				</tr>
			<?php 
    }
    $opForms->free();
    ?>
			</tbody>
		</table>
		<script type="text/javascript">
			$(document).ready(function(){
				$('.footable').footable();
			});
		</script>
示例#9
0
                echo $opTempRs['ID'];
                ?>
" class="tempPrevs effect6"><span><img src="<?php 
                echo $opTempRs['temp_prev'] == '' ? 'holder.js/245x98/text:' . letheglobal_preview . '' : showIn($opTempRs['temp_prev'], 'input');
                ?>
" alt=""></span></a>
      <div class="caption">
        <a href="?p=templates/edit&amp;ID=<?php 
                echo $opTempRs['ID'];
                ?>
"><?php 
                echo showIn($opTempRs['temp_name'], 'page');
                ?>
</a>
		<p><small><?php 
                echo setMyDate($opTempRs['add_date'], 2);
                ?>
</small></p>
		<p>
			<a href="?p=templates/edit&amp;ID=<?php 
                echo $opTempRs['ID'];
                ?>
" class="tooltips text-warning" title="<?php 
                echo templates_edit_template;
                ?>
"><span class="glyphicon glyphicon-edit"></span></a>
			<a href="?p=newsletter/add&amp;TID=<?php 
                echo $opTempRs['ID'];
                ?>
" class="tooltips text-danger" title="<?php 
                echo templates_use_for_newsletter;
示例#10
0
                    }
                }
            } else {
                $temps = '';
                if (!is_array($tempRes['cont'])) {
                    $temps .= '<div class="col-md-12">' . errMod(templates_template_server_is_temporarily_down, 'danger') . '</div>';
                } else {
                    foreach ($tempRes['cont'] as $k => $v) {
                        $controller = cntData("SELECT ID FROM " . db_table_pref . "templates WHERE OID=" . set_org_id . " AND temp_id='" . mysql_prep($v['temp_id']) . "'");
                        $temps .= '
		  <div class="col-sm-5 col-md-3">
			<div class="thumbnail">
			  <a href="modules/lethe.templates/act.xmlhttp.php?pos=tempdown&tempID=' . $v['down_link'] . '&prevs=1" data-fancybox-type="iframe" class="fancybox tempPrevs effect6"><span><img src="' . ($v['image'] == '' ? 'images/temp/tempHolder.png' : showIn($v['image'], 'input')) . '" alt=""></span></a>
			  <div class="caption">
				<a href="modules/lethe.templates/act.xmlhttp.php?pos=tempdown&tempID=' . $v['down_link'] . '&prevs=1" data-fancybox-type="iframe" class="fancybox">' . $v['name'] . '</a>
				<p><small>' . setMyDate($v['add_date'], 2) . '</small></p>
				<p>';
                        if ($controller == 0) {
                            if ($v['isPremium']) {
                                $temps .= '<span class="t' . $v['ID'] . '"><a href="http://www.newslether.com/buyTemplate.php?id=' . $v['premiumKey'] . '" target="_blank" id="t' . $v['ID'] . '" class="text-danger tooltips buyNow" title="' . templates_buy_now . '"><span class="glyphicon glyphicon-shopping-cart"></span></a></span> <span class="text-primary">' . number_format($v['price'], 2) . '$</span><span class="premiumTemp label label-info"><span class="glyphicon glyphicon-star"></span> Premium</span>';
                            } else {
                                $temps .= '<span class="t' . $v['ID'] . '"><a href="javascript:;" id="t' . $v['ID'] . '" class="text-primary tooltips download" title="' . templates_download_now . '" data-temp-premium="0" data-temp-ids="' . $v['down_link'] . '"><span class="glyphicon glyphicon-save"></span></a></span>';
                            }
                        } else {
                            $temps .= '<a href="javascript:;" class="text-success tooltips" title="' . templates_downloaded . '"><span class="glyphicon glyphicon-ok"></span></a>';
                        }
                        $temps .= '
				<span class="label label-warning pull-right">' . templates_download . ': ' . $v['downloads'] . '</span>
				</p>
			  </div>
			</div>