当前位置: 首页>>代码示例>>PHP>>正文


PHP accessLevel函数代码示例

本文整理汇总了PHP中accessLevel函数的典型用法代码示例。如果您正苦于以下问题:PHP accessLevel函数的具体用法?PHP accessLevel怎么用?PHP accessLevel使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了accessLevel函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct($db)
 {
     parent::__construct('MessageStatistics');
     $this->messageDAO = new MessageStatisticsPlugin_DAO_Message($db);
     $this->listDAO = new MessageStatisticsPlugin_DAO_List($db);
     $this->attributeDAO = new CommonPlugin_DAO_Attribute($db);
     $this->attributes = $this->attributeDAO->attributesById();
     $this->access = accessLevel('mviews');
     $this->owner = $this->access == 'owner' ? $_SESSION['logindetails']['id'] : '';
     $this->verifySelectedAttributes();
 }
开发者ID:jbenicky,项目名称:phplist-plugin-statistics,代码行数:11,代码来源:Model.php

示例2: listPath

function listPath($path)
{
    global $config;
    $path = fixPath($path);
    $path = rtrim($path, '/');
    if (accessLevel($path) < 1) {
        return array('type' => 'nope', 'path' => $path);
    }
    if (is_dir($config['files'] . $path)) {
        return listDir($path);
    }
    if (is_file($config['files'] . $path)) {
        return listFile($path);
    }
    return list404();
}
开发者ID:Dirbaio,项目名称:TurboFile,代码行数:16,代码来源:list.php

示例3: dirname

<?php

# click stats per message
require_once dirname(__FILE__) . '/accesscheck.php';
if (isset($_GET['id'])) {
    $id = sprintf('%d', $_GET['id']);
} else {
    $id = 0;
}
if (isset($_GET['start'])) {
    $start = sprintf('%d', $_GET['start']);
} else {
    $start = 0;
}
$addcomparison = 0;
$access = accessLevel('mviews');
#print "Access level: $access";
switch ($access) {
    case 'owner':
        $subselect = ' and owner = ' . $_SESSION["logindetails"]["id"];
        if ($id) {
            $allow = Sql_Fetch_Row_query(sprintf('select owner from %s where id = %d %s', $GLOBALS['tables']['message'], $id, $subselect));
            if ($allow[0] != $_SESSION["logindetails"]["id"]) {
                print $GLOBALS['I18N']->get('You do not have access to this page');
                return;
            }
        }
        $addcomparison = 1;
        break;
    case 'all':
        $subselect = '';
开发者ID:byronjumbo,项目名称:phplist3,代码行数:31,代码来源:mviews.php

示例4: sprintf

}
if (isset($_GET['linkid'])) {
    $linkid = sprintf('%d', $_GET['linkid']);
} else {
    $linkid = 0;
}
if (isset($_GET['userid'])) {
    $userid = sprintf('%d', $_GET['userid']);
} else {
    $userid = 0;
}
if (!$msgid && !$linkid && !$userid) {
    print $GLOBALS['I18N']->get('Invalid Request');
    return;
}
$access = accessLevel('userclicks');
switch ($access) {
    case 'owner':
    case 'all':
        $subselect = '';
        break;
    case 'none':
    default:
        print $GLOBALS['I18N']->get('You do not have access to this page');
        return;
        break;
}
$ls = new WebblerListing($GLOBALS['I18N']->get('User Click Statistics'));
if ($linkid) {
    $urldata = Sql_Fetch_Array_Query(sprintf('select url from %s where linkid = %d', $GLOBALS['tables']['linktrack'], $linkid));
}
开发者ID:alancohen,项目名称:alancohenexperience-com,代码行数:31,代码来源:userclicks.php

示例5: sprintf

            $findfield = $table_prefix . 'listattr_' . $findatt['tablename'] . '.name as display, ' . $tables['user'] . '.bouncecount';
            $findfieldname = $findatt['name'];
            break;
    }
} else {
    $findtables = '';
    $findbyselect = sprintf(' %s like "%%%s%%"', $findby, sql_escape($find));
    $findfield = $tables['user'] . '.bouncecount,' . $tables['user'] . '.foreignkey';
    $findfieldname = 'Email';
    $find_url = '&amp;find=' . urlencode($find);
}
if (empty($findfield)) {
    $findfield = 'email';
}
if ($require_login && !isSuperUser()) {
    $access = accessLevel('users');
    switch ($access) {
        case 'owner':
            $table_list = $tables['user'] . ',' . $tables['listuser'] . ',' . $tables['list'] . $findtables;
            $subselect = "{$tables['user']}.id = {$tables['listuser']}.userid and {$tables['listuser']}.listid = {$tables['list']}.id and {$tables['list']}.owner = " . $_SESSION['logindetails']['id'];
            if ($unconfirmed) {
                $subselect .= ' and !confirmed ';
            }
            if ($blacklisted) {
                $subselect .= ' and blacklisted ';
            }
            if ($find && $findbyselect) {
                $listquery = "select DISTINCT {$tables['user']}.email,{$tables['user']}.id,{$findfield},confirmed from " . $table_list . " where {$subselect} and {$findbyselect}";
                $count = Sql_query("SELECT count(distinct {$tables['user']}.id) FROM " . $table_list . " where {$subselect} and {$findbyselect}");
                $unconfirmedcount = Sql_query("SELECT count(distinct {$tables['user']}.id) FROM " . $table_list . " where {$subselect} and !confirmed and {$findbyselect}");
            } else {
开发者ID:bramley,项目名称:phplist3,代码行数:31,代码来源:users.php

示例6: dirname

       document.folderlist.elements[i].checked = isset;
  }
}
</script>

<?php 
require_once dirname(__FILE__) . '/accesscheck.php';
if (!ALLOW_IMPORT) {
    print '<p class="information">' . $GLOBALS['I18N']->get('import is not available') . '</p>';
    return;
}
ob_end_flush();
print '<p class="button">' . $GLOBALS['I18N']->get('Import emails from IMAP folders') . '</p>';
$email_header_fields = array("to", "from", "cc", "bcc", "reply_to", "sender", "return_path");
if ($require_login && !isSuperUser()) {
    $access = accessLevel("import3");
    if ($access == "owner") {
        $subselect = " where owner = " . $_SESSION["logindetails"]["id"];
    } elseif ($access == "all") {
        $subselect = "";
    } elseif ($access == "none") {
        $subselect = " where id = 0";
    }
}
$result = Sql_query("SELECT id,name FROM " . $tables["list"] . " {$subselect} ORDER BY listorder");
while ($row = Sql_fetch_array($result)) {
    $available_lists[$row["id"]] = $row["name"];
    $some = 1;
}
if (!$some) {
    echo $GLOBALS['I18N']->get('No lists available') . ", " . PageLink2("editlist", $GLOBALS['I18N']->get('Add a list'));
开发者ID:dehvCurtis,项目名称:phplist,代码行数:31,代码来源:import3.php

示例7: dirname

<?php

require_once dirname(__FILE__) . '/accesscheck.php';
$access = accessLevel("send");
switch ($access) {
    case "owner":
        $subselect = " where owner = " . $_SESSION["logindetails"]["id"];
        $ownership = ' and owner = ' . $_SESSION["logindetails"]["id"];
        break;
    case "all":
        $subselect = "";
        $ownership = '';
        break;
    case "none":
    default:
        $subselect = " where id = 0";
        $ownership = " and id = 0";
        break;
}
$some = 0;
# handle commandline
if ($GLOBALS["commandline"]) {
    $cline = parseCline();
    reset($cline);
    if (!$cline || !is_array($cline) || !$cline["s"] || !$cline["l"]) {
        clineUsage("-s subject -l list [-f from] < message");
        exit;
    }
    $listnames = explode(" ", $cline["l"]);
    $listids = array();
    foreach ($listnames as $listname) {
开发者ID:Gerberus,项目名称:phplist3,代码行数:31,代码来源:send.php

示例8: dirname

<?php

# click stats per url
require_once dirname(__FILE__) . '/accesscheck.php';
if (isset($_GET['id'])) {
    $id = sprintf('%d', $_GET['id']);
} else {
    $id = 0;
}
$some = 0;
$access = accessLevel('uclicks');
switch ($access) {
    case 'owner':
        $select_tables = $GLOBALS['tables']['linktrack_ml'] . ' as ml, ' . $GLOBALS['tables']['message'] . ' as message, ' . $GLOBALS['tables']['linktrack_forward'] . ' as forward ';
        $owner_and = ' and message.id = ml.messageid and message.owner = ' . $_SESSION['logindetails']['id'];
        break;
    case 'all':
        $select_tables = $GLOBALS['tables']['linktrack_ml'] . ' as ml, ' . $GLOBALS['tables']['linktrack_forward'] . ' as forward ';
        $owner_and = '';
        break;
        break;
    case 'none':
    default:
        print $GLOBALS['I18N']->get('You do not have access to this page');
        return;
        break;
}
$download = !empty($_GET['dl']);
if ($download) {
    ob_end_clean();
    #  header("Content-type: text/plain");
开发者ID:narareddy,项目名称:phplist3,代码行数:31,代码来源:uclicks.php

示例9: PageURL2

function PageURL2($name, $desc = "", $url = "", $no_plugin = false)
{
    if (empty($name)) {
        return '';
    }
    if ($url) {
        $url = "&amp;" . $url;
    }
    $access = accessLevel($name);
    if ($access == "owner" || $access == "all" || $access == "view") {
        if (!$no_plugin && !preg_match("/&amp;pi=/i", $name) && $_GET["pi"] && is_object($GLOBALS["plugins"][$_GET["pi"]])) {
            $pi = '&amp;pi=' . $_GET["pi"];
        } else {
            $pi = "";
        }
        return sprintf('./?page=%s%s%s%s', $name, $url, $pi, addCsrfGetToken());
    } else {
        return '';
    }
}
开发者ID:shaikhlut,项目名称:phplist3,代码行数:20,代码来源:connect.php

示例10: PageLinkButton

        }
        print '<div class="actions">
    ' . PageLinkButton('send&new=1' . $toList, s('Send a campaign')) . PageLinkButton('importsimple', s('Import some more emails')) . '</div>';
    }
    if (!empty($rejectReport['invalid'])) {
        $report .= "\n\n" . s('Rejected email addresses') . ":\n";
        $report .= $rejectReport['invalid'];
    }
    sendMail(getConfig("admin_address"), s('phplist Import Results'), $report);
    foreach ($GLOBALS['plugins'] as $pluginname => $plugin) {
        $plugin->importReport($report);
    }
    return;
}
if ($GLOBALS["require_login"] && !isSuperUser()) {
    $access = accessLevel("import1");
    switch ($access) {
        case "owner":
            $subselectimp = " where owner = " . $_SESSION["logindetails"]["id"];
            break;
        case "all":
            $subselectimp = "";
            break;
        case "none":
        default:
            $subselectimp = " where id = 0";
            break;
    }
}
if (isset($_GET['list'])) {
    $id = sprintf('%d', $_GET['list']);
开发者ID:Gerberus,项目名称:phplist3,代码行数:31,代码来源:importsimple.php

示例11: moveUser

    }
}
function moveUser($userid)
{
    global $tables;
    $newlist = $_GET["list"];
    Sql_Query(sprintf('delete from %s where userid = %d', $tables["listuser"], $userid));
    Sql_Query(sprintf('insert into %s (userid,listid,entered) values(%d,%d,current_timestamp)', $tables["listuser"], $userid, $newlist));
}
function addUniqID($userid)
{
    Sql_query(sprintf('update %s set uniqid = "%s" where id = %d', $GLOBALS["tables"]["user"], getUniqID(), $userid));
}
if ($require_login && !isSuperUser() || !$require_login || isSuperUser()) {
    $action_result = '';
    $access = accessLevel("reconcileusers");
    switch ($access) {
        case "all":
            if (isset($_GET["option"]) && $_GET["option"]) {
                set_time_limit(600);
                switch ($_GET["option"]) {
                    case "markallconfirmed":
                        $list = sprintf('%d', $_GET["list"]);
                        if ($list == 0) {
                            $action_result .= $GLOBALS['I18N']->get("Marking all subscribers confirmed");
                            Sql_Query("update {$tables["user"]} set confirmed = 1");
                        } else {
                            $action_result .= sprintf($GLOBALS['I18N']->get("Marking all subscribers on list %s confirmed"), ListName($list));
                            Sql_Query(sprintf('UPDATE %s, %s SET confirmed =1 WHERE  %s.id = %s.userid AND %s.listid= %d', $tables['user'], $tables['listuser'], $tables['user'], $tables['listuser'], $tables['listuser'], $list));
                        }
                        $total = Sql_Affected_Rows();
开发者ID:juvenal,项目名称:PHPlist,代码行数:31,代码来源:reconcileusers.php

示例12: dirname

# click stats per message
require_once dirname(__FILE__) . '/accesscheck.php';
if (isset($_GET['id'])) {
    $id = sprintf('%d', $_GET['id']);
} else {
    $id = 0;
}
$start = 0;
$limit = ' limit 10';
if (isset($_GET['start'])) {
    $start = sprintf('%d', $_GET['start']);
    $limit = ' limit ' . $start . ', 10';
}
$addcomparison = 0;
$access = accessLevel('statsoverview');
$ownership = '';
$subselect = '';
$paging = '';
#print "Access Level: $access";
switch ($access) {
    case 'owner':
        $ownership = sprintf(' and owner = %d ', $_SESSION['logindetails']['id']);
        if ($id) {
            $query = sprintf('select owner from %s where id = ? and owner = ?', $GLOBALS['tables']['message']);
            $rs = Sql_Query_Params($query, array($id, $_SESSION['logindetails']['id']));
            $allow = Sql_Fetch_Row($rs);
            if ($allow[0] != $_SESSION["logindetails"]["id"]) {
                print $GLOBALS['I18N']->get('You do not have access to this page');
                return;
            }
开发者ID:juvenal,项目名称:PHPlist,代码行数:30,代码来源:statsoverview.php

示例13: musicLookup

function musicLookup($type, $itemid)
{
    mp3act_connect();
    switch ($type) {
        case 'browse':
            $output = "<div class=\"head\">";
            $output .= "<h2>Browse the Music Database</h2></div>";
            $output .= "<p>";
            $output .= "<strong>By Artist Beginning With</strong><br/>" . letters() . "<br/></p>\n";
            $output .= "<p><strong>By Genre</strong><br/>\n";
            $output .= genreForm() . "<br/><br/>\n";
            $output .= "<input type='button' value='Browse All Albums' onclick=\"updateBox('all','All'); return false;\" class='btn2' />\n";
            $output .= "</p>\n";
            break;
        case 'search':
            $output = "<div class=\"head\">";
            $output .= "<h2>Search the Music Database</h2></div>";
            $output .= "<form onsubmit='return searchMusic(this)' method='get' action=''>\n";
            $output .= "<p>\n\t\t\t\t<strong>Keywords</strong><br/>\n\t\t\t\t<input type='text' onfocus='this.select()' name='searchbox' size='35' id='searchbox' value='[enter your search terms]' />\n    \t\t<br/><br/>\n    \t\t<strong>Narrow Your Search</strong>\n    \t\t<br/>\n    \t\t<select name='search_options' size='1'>\n    \t\t\t<option value='all'>All Fields</option>\n    \t\t\t<option value='artists'>Artists</option>\n    \t\t\t<option value='albums'>Albums</option>\n    \t\t\t<option value='songs'>Songs</option>\n    \t\t</select><br/><br/>\n    \t\t<input type='submit' value='submit search' class='btn' /></form>";
            $output .= "</p>\n";
            break;
        case 'letter':
            if ($itemid == "#") {
                $query = "SELECT * FROM mp3act_artists \n                WHERE artist_name \n                LIKE '0%' \n                OR artist_name LIKE '1%' \n                OR artist_name LIKE '2%' \n                OR artist_name LIKE '3%' \n                OR artist_name LIKE '4%' \n                OR artist_name LIKE '5%' \n                OR artist_name LIKE '6%' \n                OR artist_name LIKE '7%' \n                OR artist_name LIKE '8%'\n                OR artist_name LIKE '9%'\n                ORDER BY artist_name";
            } else {
                $query = "SELECT * FROM mp3act_artists\n                WHERE artist_name LIKE '{$itemid}%'\n                ORDER BY artist_name";
            }
            $result = mysql_query($query);
            $output = "<div class=\"head\">";
            $output .= "<h2>Artists Beginning with '" . strtoupper($itemid) . "'</h2></div>";
            $output .= "<p>\n\t\t\t\t<strong>Artist Listing</strong></p>\n\t\t\t\t<ul>";
            $count = 1;
            while ($row = mysql_fetch_array($result)) {
                $alt = getAlt($count);
                $output .= "<li {$alt}><a href=\"#\" onclick=\"updateBox('artist',{$row['artist_id']}); return false;\" title=\"View Albums for {$row['prefix']} {$row['artist_name']}\">{$row['prefix']} {$row['artist_name']}</a></li>\n";
                $count++;
            }
            $output .= "</ul>\n";
            break;
        case 'all':
            $output = "<div class=\"head\">";
            //$output .= "<div class=\"right\"><a href='#' onclick=\"updateBox('all',$itemid-30); return false;\">Prev Page</a> <a href='#' onclick=\"updateBox('all',$itemid+30); return false;\">Next Page</a> </div>";
            $output .= "<h2>All Albums</h2></div> ";
            $output .= "<p>\n\t\t\t\t<strong>Album Listing</strong></p>";
            // $start = $itemid;
            $query = "SELECT mp3act_artists.artist_name,mp3act_artists.prefix,mp3act_albums.* FROM mp3act_albums,mp3act_artists WHERE mp3act_albums.artist_id=mp3act_artists.artist_id ORDER BY artist_name,album_name";
            /* LIMIT $start,30"; */
            $output = buildAlbumList($output, $query);
            break;
        case 'album':
            $query = "SELECT mp3act_albums.*,mp3act_artists.artist_name,mp3act_artists.prefix,COUNT(mp3act_songs.song_id) as tracks,SEC_TO_TIME(SUM(mp3act_songs.length)) as time FROM mp3act_albums,mp3act_artists,mp3act_songs WHERE mp3act_albums.album_id={$itemid} AND mp3act_albums.artist_id=mp3act_artists.artist_id AND mp3act_songs.album_id={$itemid} GROUP BY mp3act_songs.album_id";
            $result = mysql_query($query);
            $row = mysql_fetch_array($result);
            $album_art = '';
            if ($row['album_art'] == "") {
                $row['album_art'] = art_insert($row['album_id'], $row['artist_name'], $row['album_name']);
                if ($row['album_art'] != '') {
                    $album_art = "<img onmouseover=\"showAlbumArt('block'); return false;\" onmouseout=\"showAlbumArt('none'); return false;\" src=\"art/{$row['album_art']}\" />\n";
                }
            } elseif ($row['album_art'] != "fail") {
                $album_art = "<img onmouseover=\"showAlbumArt('block'); return false;\" onmouseout=\"showAlbumArt('none'); return false;\" src=\"art/{$row['album_art']}\" />\n";
            }
            $output = "<div class=\"head\">";
            $output .= "<div class=\"right\"><a href=\"#\" onclick=\"play('album'," . $row['album_id'] . "); return false;\" title=\"Play this Album Now\">play</a> <a href=\"#\" onclick=\"pladd('album',{$row['album_id']}); return false;\" title=\"Add Album to Current Playlist\">add</a> " . (getSystemSetting("downloads") == 1 || getSystemSetting("downloads") == 2 && accessLevel(5) ? "<a href=\"#\" onclick=\"newWindow('download',{$row['album_id']}); return false;\" title=\"Download this Album Now\">download</a>" : "") . "</div>";
            $output .= "<h2>" . $row['album_name'] . "</h2>" . $row['prefix'] . " " . $row['artist_name'] . "</div>";
            $output .= "<p>{$album_art}\n";
            $output .= "\t<strong>Tracks:</strong> {$row['tracks']}<br/>\n";
            $output .= $row['album_year'] != 0 ? "<strong>Year:</strong> " . $row['album_year'] . "<br/>\n" : "";
            $output .= "\t<strong>Genre:</strong> <a href=\"#\" onclick=\"updateBox('genre','{$row['album_genre']}'); return false;\" title=\"View Artists from {$row['album_genre']} Genre\">{$row['album_genre']}</a><br/>\n";
            $output .= "\t<strong>Play Time:</strong> {$row['time']}\n";
            $output .= "\t<br/><br/>\n";
            $output .= "\t<strong>Album Tracks</strong></p>\n";
            $output .= "<img id='bigart' src=\"art/{$row['album_art']}\" />\n";
            $query = "SELECT *,SEC_TO_TIME(length) as length FROM mp3act_songs WHERE album_id={$itemid} ORDER BY track";
            $output = buildSongList($output, mysql_query($query));
            break;
        case 'genre':
            $query = "SELECT mp3act_artists.artist_id,mp3act_artists.artist_name,mp3act_artists.prefix FROM mp3act_artists,mp3act_albums WHERE mp3act_albums.album_genre='{$itemid}' AND mp3act_artists.artist_id=mp3act_albums.artist_id GROUP BY mp3act_artists.artist_id ORDER BY mp3act_artists.artist_name";
            $result = mysql_query($query);
            $row = mysql_fetch_array($result);
            $output = "<div class=\"head\">";
            $output .= "<h2>Artists for Genre '{$itemid}'</h2></div>";
            $output .= "<p>\n\t\t\t\t<strong>Artist Listing</strong></p>\n\t\t\t\t<ul>";
            $result = mysql_query($query);
            $count = 1;
            while ($row = mysql_fetch_array($result)) {
                $alt = getAlt($count);
                $output .= "<li {$alt}><a href=\"#\" onclick=\"updateBox('artist',{$row['artist_id']}); return false;\" title=\"View Albums for {$row['artist_name']}\">{$row['prefix']} {$row['artist_name']}</a></li>\n";
                $count++;
            }
            $output .= "</ul>\n";
            break;
        case 'artist':
            $query = "SELECT artist_id,artist_name,prefix FROM mp3act_artists WHERE artist_id={$itemid}";
            $result = mysql_query($query);
            $row = mysql_fetch_array($result);
            $output = "<div class=\"head\">";
            $output .= "<h2>{$row['prefix']} {$row['artist_name']}</h2></div>";
            $output .= "<p>\n";
            $output .= "<strong>Album Listing</strong></p>\n";
//.........这里部分代码省略.........
开发者ID:benbruscella,项目名称:Grammafone,代码行数:101,代码来源:mp3act_functions.php

示例14: sprintf

    $id = sprintf('%d', $_GET["id"]);
} else {
    $id = 0;
}
if (isset($_GET['delete'])) {
    $delete = sprintf('%d', $_GET["delete"]);
} else {
    $delete = 0;
}
$useremail = isset($_POST["useremail"]) ? $_POST["useremail"] : '';
if (!$id && !$delete) {
    Fatal_Error($GLOBALS['I18N']->get('NoRecord'));
    exit;
}
if ($GLOBALS["require_login"] && !isSuperUser()) {
    $access = accessLevel("bounce");
    switch ($access) {
        case "all":
            $subselect = "";
            break;
        case "none":
        default:
            $subselect = " and " . $tables["list"] . ".id = 0";
            break;
    }
}
if (isset($start)) {
    echo "<br />" . PageLink2("bounces", $GLOBALS['I18N']->get('BackToBList'), "start={$start}") . "\n";
}
if (isset($_GET["doit"]) && ($GLOBALS["require_login"] && isSuperUser() || !$GLOBALS["require_login"])) {
    if ($useremail) {
开发者ID:radicaldesigns,项目名称:amp,代码行数:31,代码来源:bounce.php

示例15: dirname

<?php

require_once dirname(__FILE__) . '/accesscheck.php';
if (!ALLOW_IMPORT) {
    print '<p>' . $GLOBALS['I18N']->get('import is not available') . '</p>';
    return;
}
# import from a different PHPlist installation
if ($require_login && !isSuperUser()) {
    $access = accessLevel("import4");
    if ($access == "owner") {
        $subselect = " where owner = " . $_SESSION["logindetails"]["id"];
    } elseif ($access == "all") {
        $subselect = "";
    } elseif ($access == "none") {
        $subselect = " where id = 0";
    }
}
function connectLocal()
{
    $database_connection = Sql_Connect($GLOBALS["database_host"], $GLOBALS["database_user"], $GLOBALS["database_password"], $GLOBALS["database_name"]);
    return $database_connection;
}
function connectRemote()
{
    return Sql_Connect($_POST["remote_host"], $_POST["remote_user"], $_POST["remote_password"], $_POST["remote_database"]);
}
$result = Sql_query("SELECT id,name FROM " . $tables["list"] . " {$subselect} ORDER BY listorder");
while ($row = Sql_fetch_array($result)) {
    $available_lists[$row["id"]] = $row["name"];
    $some = 1;
开发者ID:narareddy,项目名称:phplist3,代码行数:31,代码来源:import4.php


注:本文中的accessLevel函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。