コード例 #1
0
        echo settings_sending_method;
        ?>
</th>
					<th data-hide="phone"><?php 
        echo letheglobal_active;
        ?>
</th>
					<th data-hide="phone"><?php 
        echo letheglobal_primary;
        ?>
</th>
				</tr>
			</thead>
			<tbody>
			<?php 
        isMob() ? $limit = 10 : ($limit = 20);
        !isset($_GET["pgGo"]) || !is_numeric($_GET["pgGo"]) ? $pgGo = 1 : ($pgGo = intval($_GET["pgGo"]));
        $count = mysqli_num_rows($myconn->query("SELECT ID FROM " . db_table_pref . "submission_accounts"));
        $total_page = ceil($count / $limit);
        $dtStart = ($pgGo - 1) * $limit;
        $opAccs = $myconn->query("SELECT * FROM " . db_table_pref . "submission_accounts ORDER BY systemAcc DESC,acc_title ASC LIMIT {$dtStart},{$limit}") or die(mysqli_error($myconn));
        while ($opAccsRs = $opAccs->fetch_assoc()) {
            ?>
				<tr>
					<td><a href="?p=settings/submission/edit&amp;ID=<?php 
            echo $opAccsRs['ID'];
            ?>
"><?php 
            echo showIn($opAccsRs['acc_title'], 'page');
            ?>
</a></td>
コード例 #2
0
ファイル: pg.subscribers.php プロジェクト: BersnardC/DROPINN
        # Char
        if ($src_c == '09') {
            $srcQry[] = "AND (UPPER(LEFT(S.subscriber_name,1)) REGEXP '^[0-9]')";
        } else {
            if ($src_c == 'A2') {
                $srcQry[] = "AND (UPPER(LEFT(S.subscriber_name,1)) NOT REGEXP '^[0-9A-Za-z]')";
            } else {
                $srcQry[] = "AND (UPPER(LEFT(S.subscriber_name,1)) = UPPER('" . mysql_prep($src_c) . "'))";
            }
        }
    }
    /* Render Queries */
    $rndQry = implode(' ', $srcQry);
    /* Page Limit */
    if (!isset($_GET['limit']) || !is_numeric($_GET['limit'])) {
        isMob() ? $limit = 10 : ($limit = 25);
    } else {
        $limit = intval($_GET['limit']) > 200 ? 25 : intval($_GET['limit']);
    }
    ?>
<!-- Subscriber List Start -->
<div id="searchBox" class="well search-panel<?php 
    echo $src_on == 'YES' ? '' : ' sHide';
    ?>
">
	<h4><?php 
    echo letheglobal_search;
    ?>
</h4><hr>
	<form name="srcForm" id="srcForm" action="" method="GET">
		<input type="hidden" name="src_on" value="YES">