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


PHP addLink函数代码示例

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


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

示例1: getNews

function getNews()
{
    EasyRdf_Namespace::set('sd', 'http://symbolicdata.org/Data/Model#');
    EasyRdf_Namespace::set('sioc', 'http://rdfs.org/sioc/ns#');
    $query1 = '
PREFIX sd: <http://symbolicdata.org/Data/Model#>
construct { ?a ?b ?c . }
from <http://symbolicdata.org/Data/News/>
Where { ?a a sioc:BlogPost ; ?b ?c . }
';
    $query2 = '
PREFIX sd: <http://symbolicdata.org/Data/Model#>
construct { ?p foaf:name ?n . }
from <http://symbolicdata.org/Data/News/>
from <http://symbolicdata.org/Data/People/>
Where { ?a a sioc:BlogPost ; dc:publisher ?p . 
  ?p foaf:name ?n . }
';
    $sparql = new EasyRdf_Sparql_Client('http://symbolicdata.org:8890/sparql');
    $result = $sparql->query($query1);
    // a CONSTRUCT query returns an EasyRdf_Graph
    //echo $result->dump("turtle");
    $people = $sparql->query($query2);
    //echo $people->dump("turtle");
    /* generate data structure for output table */
    $s = array();
    foreach ($result->allOfType("sioc:BlogPost") as $v) {
        $a = $v->getUri();
        $label = $v->get('rdfs:label');
        $created = $v->get('dc:created');
        $subject = $v->join('dc:subject');
        $abstract = $v->get('dc:abstract');
        $publisher = $people->get($v->get('dc:publisher'), 'foaf:name');
        $link = $v->get('sioc:link');
        $linksTo = $v->get('sioc:links_to');
        $out = '<p><dl> <dt><strong><a href="' . $a . '">' . $label . '</a></strong></dt>
';
        $out .= addLine($created, "Created");
        $out .= addLine($subject, "Subject");
        $out .= addLine($abstract, "Abstract");
        $out .= addLine($publisher, "Publisher");
        $out .= addLink($link, "More");
        $out .= addLink($linksTo, "Links to");
        $out .= '</dl></p>';
        $s["{$created_}{$a}"] = $out;
    }
    krsort($s);
    return join($s, "\n");
}
开发者ID:symbolicdata,项目名称:web,代码行数:49,代码来源:News.php

示例2: COUNT

 * View all team affiliations
 *
 * Part of the DOMjudge Programming Contest Jury System and licenced
 * under the GNU GPL. See README and COPYING for details.
 */
require 'init.php';
$title = 'Affiliations';
require LIBWWWDIR . '/header.php';
echo "<h1>Affiliations</h1>\n\n";
$res = $DB->q('SELECT a.*, COUNT(teamid) AS cnt FROM team_affiliation a
               LEFT JOIN team USING (affilid)
               GROUP BY affilid ORDER BY name');
if ($res->count() == 0) {
    echo "<p class=\"nodata\">No affiliations defined</p>\n\n";
} else {
    echo "<table class=\"list sortable\">\n<thead>\n" . "<tr><th>ID</th>" . "<th>shortname</th>" . "<th>name</th>" . "<th>country</th>" . "<th>#teams</th>" . "<th></th></tr>\n</thead>\n<tbody>\n";
    while ($row = $res->next()) {
        $countryflag = "../images/countries/" . urlencode($row['country']) . ".png";
        $link = '<a href="team_affiliation.php?id=' . urlencode($row['affilid']) . '">';
        echo '<tr><td>' . $link . htmlspecialchars($row['affilid']) . '</a></td><td>' . $link . htmlspecialchars($row['shortname']) . '</a></td><td>' . $link . htmlspecialchars($row['name']) . '</a></td><td class="tdcenter">' . $link . htmlspecialchars($row['country']) . (is_readable($countryflag) ? ' <img src="' . $countryflag . '" alt="' . htmlspecialchars($row['country']) . '" />' : '&nbsp;') . '</a></td><td class="tdright">' . $link . (int) $row['cnt'] . '</a></td>';
        if (IS_ADMIN) {
            echo "<td class=\"editdel\">" . editLink('team_affiliation', $row['affilid']) . "&nbsp;" . delLink('team_affiliation', 'affilid', $row['affilid']) . "</td>";
        }
        echo "</tr>\n";
    }
    echo "</tbody>\n</table>\n\n";
}
if (IS_ADMIN) {
    echo "<p>" . addLink('team_affiliation') . "</p>\n\n";
}
require LIBWWWDIR . '/footer.php';
开发者ID:retnan,项目名称:domjudge,代码行数:31,代码来源:team_affiliations.php

示例3: getRequestVar

     $rid = getRequestVar('rid');
     deleteRSS($rid);
     break;
 case "editLink":
     $lid = getRequestVar('lid');
     $editLink = getRequestVar('editLink');
     $editSite = getRequestVar('editSite');
     editLink($lid, $editLink, $editSite);
     break;
 case "editLinks":
     editLinks();
     break;
 case "addLink":
     $newLink = getRequestVar('newLink');
     $newSite = getRequestVar('newSite');
     addLink($newLink, $newSite);
     break;
 case "moveLink":
     $lid = getRequestVar('lid');
     $direction = getRequestVar('direction');
     moveLink($lid, $direction);
     break;
 case "deleteLink":
     $lid = getRequestVar('lid');
     deleteLink($lid);
     break;
 case "CreateUser":
     CreateUser();
     break;
 case "addUser":
     $newUser = getRequestVar('newUser');
开发者ID:BackupTheBerlios,项目名称:tf-b4rt-svn,代码行数:31,代码来源:admin.php

示例4: foreach

    }
    echo "<th scope=\"col\">process<br />balloons?</th>";
    echo "<th scope=\"col\">public?</th>";
    echo "<th scope=\"col\" class=\"sorttable_numeric\"># teams</th>";
    echo "<th scope=\"col\" class=\"sorttable_numeric\"># problems</th>";
    echo "<th scope=\"col\">name</th>" . (IS_ADMIN ? "<th scope=\"col\"></th>" : '') . "</tr>\n</thead>\n<tbody>\n";
    $iseven = false;
    foreach ($res as $row) {
        $link = '<a href="contest.php?id=' . urlencode($row['cid']) . '">';
        echo '<tr class="' . ($iseven ? 'roweven' : 'rowodd') . (!$row['enabled'] ? ' disabled' : '') . (in_array($row['cid'], $curcids) ? ' highlight' : '') . '">' . "<td class=\"tdright\">" . $link . "c" . (int) $row['cid'] . "</a></td>\n";
        echo "<td>" . $link . specialchars($row['shortname']) . "</a></td>\n";
        foreach ($times as $time) {
            echo "<td title=\"" . printtime(@$row[$time . 'time'], '%Y-%m-%d %H:%M:%S (%Z)') . "\">" . $link . (isset($row[$time . 'time']) ? printtime($row[$time . 'time']) : '-') . "</a></td>\n";
        }
        echo "<td>" . $link . ($row['process_balloons'] ? 'yes' : 'no') . "</a></td>\n";
        echo "<td>" . $link . ($row['public'] ? 'yes' : 'no') . "</a></td>\n";
        echo "<td>" . $link . ($row['public'] ? '<em>all</em>' : $row['numteams']) . "</a></td>\n";
        echo "<td>" . $link . $numprobs[$row['cid']] . "</a></td>\n";
        echo "<td>" . $link . specialchars($row['name']) . "</a></td>\n";
        $iseven = !$iseven;
        if (IS_ADMIN) {
            echo "<td class=\"editdel\">" . editLink('contest', $row['cid']) . "&nbsp;" . delLink('contest', 'cid', $row['cid']) . "</td>\n";
        }
        echo "</tr>\n";
    }
    echo "</tbody>\n</table>\n\n";
}
if (IS_ADMIN) {
    echo "<p>" . addLink('contest') . "</p>\n\n";
}
require LIBWWWDIR . '/footer.php';
开发者ID:sponi78,项目名称:domjudge,代码行数:31,代码来源:contests.php

示例5: loadPlayers

    loadPlayers($data);
}
if ($type == "loadUsers") {
    loadUsers();
}
if ($type == "addPlayer") {
    addPlayer($data);
}
if ($type == "loadChalleneges") {
    loadChalleneges();
}
if ($type == "loadChallengeText") {
    loadChallengeText();
}
if ($type == "addLink") {
    addLink($data);
}
if ($type == "loadLinks") {
    loadLinks($data);
}
if ($type == "getTeamRating") {
    getTeamRating($data);
}
if ($type == "getTeamRanking") {
    getTeamRanking($data);
}
if ($type == "getWinners") {
    getWinners($data);
}
if ($type == "getTodaysChallenge") {
    getTodaysChallenge($data);
开发者ID:k12youthcode,项目名称:modules,代码行数:31,代码来源:coach.php

示例6: json_encode

    }
    $_POST['data'][0]['restrictions'] = json_encode($_POST['data'][0]['restrictions']);
    require_once 'edit.php';
    exit;
}
require 'init.php';
$title = 'Judgehost restrictions';
require LIBWWWDIR . '/header.php';
echo "<h1>Judgehost Restrictions</h1>\n\n";
$res = $DB->q('SELECT judgehost_restriction.*, COUNT(hostname) AS numjudgehosts
               FROM judgehost_restriction LEFT JOIN judgehost USING (restrictionid)
               GROUP BY judgehost_restriction.restrictionid ORDER BY restrictionid');
if ($res->count() == 0) {
    echo "<p class=\"nodata\">No judgehost restrictions defined</p>\n\n";
} else {
    echo "<table class=\"list sortable\">\n<thead>\n" . "<tr><th scope=\"col\">ID</th>" . "<th scope=\"col\">name</th><th scope=\"col\">#contests</th>\n" . "<th scope=\"col\">#problems</th><th scope=\"col\">#languages</th>\n" . "<th scope=\"col\">#linked judgehosts</th>\n" . "<th scope=\"col\"></th>\n" . "</thead>\n<tbody>\n";
    while ($row = $res->next()) {
        $restrictions = json_decode($row['restrictions'], true);
        $link = '<a href="judgehost_restriction.php?id=' . (int) $row['restrictionid'] . '">';
        echo '<tr><td>' . $link . (int) $row['restrictionid'] . '</a></td><td>' . $link . specialchars($row['name']) . '</a></td><td class="tdright">' . $link . count($restrictions['contest']) . '</a></td><td class="tdright">' . $link . count($restrictions['problem']) . '</a></td><td class="tdright">' . $link . count($restrictions['language']) . '</a></td><td class="tdright">' . $link . (int) $row['numjudgehosts'] . '</a></td>';
        if (IS_ADMIN) {
            echo "<td class=\"editdel\">" . editLink('judgehost_restriction', $row['restrictionid']) . "&nbsp;" . delLink('judgehost_restriction', 'restrictionid', $row['restrictionid']) . "</td>";
        }
        echo "</tr>\n";
    }
    echo "</tbody>\n</table>\n\n";
}
if (IS_ADMIN) {
    echo "<p>" . addLink('judgehost_restriction') . "</p>\n\n";
}
require LIBWWWDIR . '/footer.php';
开发者ID:rohit-takhar,项目名称:domjudge,代码行数:31,代码来源:judgehost_restrictions.php

示例7: isset

    $op = isset($_GET['op']) ? $_GET['op'] : 'main';
} else {
    $op = $_POST['op'];
}
switch ($op) {
    case "delNewLink":
        delNewLink();
        break;
    case "approve":
        approve();
        break;
    case "addCat":
        addCat();
        break;
    case "addLink":
        addLink();
        break;
    case "listBrokenLinks":
        listBrokenLinks();
        break;
    case "delBrokenLinks":
        delBrokenLinks();
        break;
    case "ignoreBrokenLinks":
        ignoreBrokenLinks();
        break;
    case "listModReq":
        listModReq();
        break;
    case "changeModReq":
        changeModReq();
开发者ID:koki-h,项目名称:xoops_utf8,代码行数:31,代码来源:index.php

示例8: array

<?php

/// Copyright (c) 2004-2015, Needlworks  / Tatter Network Foundation
/// All rights reserved. Licensed under the GPL.
/// See the GNU General Public License for more details. (/documents/LICENSE, /documents/COPYRIGHT)
$IV = array('POST' => array('name' => array('string'), 'rss' => array('string', 'default' => ''), 'url' => array('string'), 'category' => array('int', 'mandatory' => false), 'newCategory' => array('string', 'mandatory' => false)));
require ROOT . '/library/preprocessor.php';
importlib("model.blog.link");
requireStrictRoute();
if (strpos($_POST['rss'], 'http://') !== 0) {
    $_POST['rss'] = 'http://' . $_POST['rss'];
}
if (strpos($_POST['url'], 'http://') !== 0) {
    $_POST['url'] = 'http://' . $_POST['url'];
}
Respond::ResultPage(addLink($blogid, $_POST));
开发者ID:Avantians,项目名称:Textcube,代码行数:16,代码来源:index.php

示例9: while

require LIBWWWDIR . '/header.php';
echo "<h1>Users</h1>\n\n";
if ($users->count() == 0) {
    echo "<p class=\"nodata\">No users defined</p>\n\n";
} else {
    echo "<table class=\"list sortable\">\n<thead>\n" . "<tr><th scope=\"col\">username</th><th scope=\"col\">name</th>" . "<th scope=\"col\">email</th><th scope=\"col\">roles</th>" . "<th scope=\"col\">team</th>" . "<th class=\"thleft\" scope=\"col\">status</th><th></th>" . "</tr>\n</thead>\n<tbody>\n";
    while ($row = $users->next()) {
        $status = 0;
        if (isset($row['last_login'])) {
            $status = 1;
        }
        $link = '<a href="user.php?id=' . urlencode($row['userid']) . '">';
        echo "<tr class=\"" . ($row['enabled'] == 1 ? '' : 'sub_ignore') . "\">" . "<td class=\"username\">" . $link . specialchars($row['username']) . "</a></td>" . "<td>" . $link . specialchars($row['name']) . "</a></td>" . "<td>" . $link . (isset($row['email']) ? specialchars($row['email']) : '&nbsp;') . "</a></td>" . "<td>" . $link . specialchars($row['roles']) . "</a></td>" . "<td>" . $link . (isset($row['teamid']) ? "t" . specialchars($row['teamid']) : '&nbsp;') . "</a></td>";
        echo "<td sorttable_customkey=\"" . $status . "\" class=\"";
        if ($status == 1) {
            echo 'team-ok" title="logged in: ' . printtime($row['last_login']) . '"';
        } else {
            echo 'team-nocon" title="no connections made"';
        }
        echo ">{$link}" . CIRCLE_SYM . "</a></td>";
        if (IS_ADMIN) {
            echo "<td class=\"editdel\">" . editLink('user', $row['userid']) . "&nbsp;" . delLink('user', 'userid', $row['userid'], $row['name']) . "</td>";
        }
        echo "</tr>\n";
    }
    echo "</tbody>\n</table>\n\n";
}
if (IS_ADMIN) {
    echo "<p>" . addLink('user') . "</p>\n";
}
require LIBWWWDIR . '/footer.php';
开发者ID:bertptrs,项目名称:domjudge,代码行数:31,代码来源:users.php

示例10: htmlspecialchars

            echo "\">" . $link . "-";
        }
        echo "</a></td><td>" . $link . ($row['room'] ? htmlspecialchars($row['room']) : '&nbsp;') . "</a></td>";
        echo "<td class=\"";
        switch ($status) {
            case 0:
                echo 'team-nocon" title="no connections made"';
                break;
            case 1:
                echo 'team-nosub" title="teampage viewed, no submissions"';
                break;
            case 2:
                echo 'team-nocor" title="submitted, none correct"';
                break;
            case 3:
                echo 'team-ok" title="correct submission(s)"';
                break;
        }
        echo ">{$link}" . CIRCLE_SYM . "</a></td>";
        echo "<td class=\"teamstat\" title=\"{$numcor} correct / {$numsub} submitted\">{$link}{$numcor} / {$numsub}</a></td>";
        if (IS_ADMIN) {
            echo "<td class=\"editdel\">" . editLink('team', $row['teamid']) . " " . delLink('team', 'teamid', $row['teamid']) . "</td>";
        }
        echo "</tr>\n";
    }
    echo "</tbody>\n</table>\n\n";
}
if (IS_ADMIN) {
    echo "<p>" . addLink('team') . "</p>\n";
}
require LIBWWWDIR . '/footer.php';
开发者ID:nya3jp,项目名称:domjudge,代码行数:31,代码来源:teams.php

示例11: addWeeks

function addWeeks($max)
{
    global $LANG_TXT_WEEKS, $LANG_TXT_DAYS;
    echo '<center>';
    addText($LANG_TXT_WEEKS);
    addSpace(5);
    $idx = 0;
    $from = strtotime('last monday', time());
    for ($i = 0; $i < $max; $i++) {
        addLink('from', gmdate("m/d", $from), 3);
        $idx += 1;
        if ($idx == 10) {
            echo '<br>';
            $idx = 0;
        }
        $from = strtotime('last monday', $from);
    }
    echo '</center>';
    echo '<center>';
    addText($LANG_TXT_DAYS . ":");
    addSpace(5);
    $from = strtotime('last monday', time());
    $idx = 0;
    for ($i = 0; $i < 7; $i++) {
        addLink('fromday', gmdate("d", $from), 3);
        $idx += 1;
        if ($idx == 10) {
            echo '<br>';
            $idx = 0;
        }
        $from = strtotime('tomorrow', $from);
    }
    echo '</center>';
}
开发者ID:rafaelurrutia,项目名称:bmonitor-y-bi,代码行数:34,代码来源:api.php

示例12: addLink

            function addLink($string)
            {
                $pattern = '/((ftp|http|https):\\/\\/(\\w+:{0,1}\\w*@)?(\\S+)(:[0-9]+)?(\\/|\\/([\\w#!:.?+=&%@!\\-\\/]))?)/i';
                $replacement = '<a class="tweet_url" href="$1">$1</a>';
                $string = preg_replace($pattern, $replacement, $string);
                return $string;
            }
        } else {
            function addLink($string)
            {
                return $string;
            }
        }
        echo '<div id="twitter-feed">';
        echo '<div class="twitter-username"><img src="' . base_url('media/modules/tweet/twitter_bird.png') . '" width="45" height="30" alt="Follow us on Twitter">
			Follow <a href="http://twitter.com/' . $content->username . '" target="_blank">' . $content->username . '</a> on Twitter</div>';
        if (is_array($string) && empty($string['errors'])) {
            foreach ($string as $items) {
                echo '<div class="twitter-article">';
                if (isset($content->show_picture) && $content->show_picture == 'show') {
                    echo '<div class="twitter-pic"><a href="https://twitter.com/' . $items['user']['screen_name'] . '" ><img src="' . $items['user']['profile_image_url_https'] . '" width="42" height="42" alt="twitter avatar" /></a></div>';
                }
                echo '<div class="twitter-text"><p><span class="tweetprofilelink"><strong><a href="https://twitter.com/' . $items['user']['screen_name'] . '" >' . $items['user']['name'] . '</a></strong> <a href="https://twitter.com/' . $items['user']['screen_name'] . '" >@' . $items['user']['screen_name'] . '</a></span><span class="tweet-time"><a href="https://twitter.com/' . $items['user']['screen_name'] . '/status/' . $items['id_str'] . '"></a></span><br/>' . addLink($items['text']) . '</p></div>';
                echo '</div>';
            }
        }
        echo '</div>';
    }
} else {
    echo 'Data not found';
}
开发者ID:Nnamso,项目名称:tbox,代码行数:31,代码来源:tweet.php

示例13: addLink

     $link_from_object = $sel_object;
     $link_from_sid = $sys_id;
 }
 if ($post_action == 'post_add_link_to') {
     $link_from_object = $par['a3_link_from_object'];
     $link_from_sid = $par['a3_link_from_sid'];
     // 	$link_to_object   = $par['a3_link_to_object'];
     // 	$link_to_sid      = $par['a3_link_to_sid'];
     $link_to_object = $sel_object;
     $link_to_sid = $sys_id;
     //echo("from_sid=	$link_from_sid to_sid= $link_to_sid <br>");
     $from_struct = $a3pr[$link_from_sid]['a3_db'];
     // 	$to_struct   = $a3pr[$link_to_sid]['a3_db'];
     $to_struct = $sel_db;
     //echo("addLink($from_struct,$link_from_object,$to_struct,$link_to_object)");
     addLink($from_struct, $link_from_object, $to_struct, $link_to_object);
     //$par['a3_link_to_object']   = $sel_object;
     // Clear from destination
     $par['a3_link_from_object'] = 0;
     $par['a3_link_from_sid'] = 0;
     $par['a3_link_to_object'] = 0;
     $par['a3_link_to_sid'] = 0;
 }
 if ($post_action == 'post_add_link_cancel') {
     $par['a3_link_from_object'] = 0;
     $par['a3_link_from_sid'] = 0;
     $link_from_object = 0;
     $link_from_sid = 0;
 }
 if ($post_action == 'post_set_image') {
     if ($sel_db && $sel_object) {
开发者ID:nisal,项目名称:php-viking,代码行数:31,代码来源:app_3_tree.php

示例14: while

<?php

/**
 * View the languages
 *
 * Part of the DOMjudge Programming Contest Jury System and licenced
 * under the GNU GPL. See README and COPYING for details.
 */
require 'init.php';
$title = 'Languages';
require LIBWWWDIR . '/header.php';
echo "<h1>Languages</h1>\n\n";
$res = $DB->q('SELECT * FROM language ORDER BY name');
if ($res->count() == 0) {
    echo "<p class=\"nodata\">No languages defined</p>\n\n";
} else {
    echo "<table class=\"list sortable\">\n<thead>\n" . "<tr><th scope=\"col\">ID/ext</th><th scope=\"col\">name</th>" . "<th scope=\"col\">allow<br />submit</th>" . "<th scope=\"col\">allow<br />judge</th><th scope=\"col\">timefactor</th>" . "<th scope=\"col\">extensions</th><th scope=\"col\"></th>" . "</tr>\n</thead>\n<tbody>\n";
    while ($row = $res->next()) {
        $link = '<a href="language.php?id=' . urlencode($row['langid']) . '">';
        echo "<tr" . ($row['allow_submit'] ? '' : ' class="disabled"') . "><td>" . $link . specialchars($row['langid']) . "</a>" . "</td><td>" . $link . specialchars($row['name']) . "</a>" . "</td><td>" . $link . printyn($row['allow_submit']) . "</a>" . "</td><td>" . $link . printyn($row['allow_judge']) . "</a>" . "</td><td>" . $link . specialchars($row['time_factor']) . "</a>" . "</td><td>" . $link . specialchars(implode(', ', json_decode($row['extensions']))) . "</a>";
        if (IS_ADMIN) {
            echo "</td><td class=\"editdel\">" . editLink('language', $row['langid']) . "&nbsp;" . delLink('language', 'langid', $row['langid']);
        }
        echo "</td></tr>\n";
    }
    echo "</tbody>\n</table>\n\n";
}
if (IS_ADMIN) {
    echo "<p>" . addLink('language') . "</p>\n\n";
}
require LIBWWWDIR . '/footer.php';
开发者ID:rohit-takhar,项目名称:domjudge,代码行数:31,代码来源:languages.php

示例15: deleteTag

     $response = deleteTag($_REQUEST['url'], $_REQUEST['url_parameter'], $_REQUEST['tag']);
     break;
 case "get_pages_with_tag":
     $response = getPagesWithTag($_REQUEST['tag']);
     break;
 case "follow_contact":
     $response = followContact($_REQUEST['username']);
     break;
 case "unfollow_contact":
     $response = unfollowContact($_REQUEST['username']);
     break;
 case "get_contact_list":
     $response = getContactList();
     break;
 case "add_link":
     $response = addLink($_REQUEST['from_url'], $_REQUEST['from_url_param'], $_REQUEST['to_url'], $_REQUEST['to_url_param'], $_REQUEST['note']);
     break;
 case "delete_link":
     $response = deleteLink($_REQUEST['from_url'], $_REQUEST['from_url_param'], $_REQUEST['to_url'], $_REQUEST['to_url_param']);
     break;
 case "get_links":
     $response = getLinks($_REQUEST['url'], $_REQUEST['url_param']);
     break;
 case "rate_link":
     $response = rateLink($_REQUEST['from_url'], $_REQUEST['from_url_param'], $_REQUEST['to_url'], $_REQUEST['to_url_param'], $_REQUEST['up']);
     break;
 case "get_link_comment":
     $response = getLinkComment($_REQUEST['from_url'], $_REQUEST['from_url_param'], $_REQUEST['to_url'], $_REQUEST['to_url_param']);
     break;
 case "verify_user":
     $response = verifyUser($_REQUEST['confirm_code']);
开发者ID:qing3gan,项目名称:socialcobs,代码行数:31,代码来源:do_command.php


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