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


PHP pageurl函数代码示例

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


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

示例1: profileSave

 public function profileSave()
 {
     $json_request = array('status' => FALSE, 'responseText' => '', 'redirectURL' => FALSE);
     $validator = Validator::make(Input::all(), Accounts::$update_rules);
     if ($validator->passes()) {
         $post = Input::all();
         if (self::accountUpdate($post)) {
             $result = self::crmAccountUpdate($post);
             if ($result === -1) {
                 Auth::logout();
                 $json_request['responseText'] = Config::get('api.message');
                 $json_request['redirectURL'] = pageurl('auth');
                 return Response::json($json_request, 200);
             }
             $json_request['redirectURL'] = URL::route('dashboard');
             $json_request['responseText'] = Lang::get('interface.DEFAULT.success_save');
             $json_request['status'] = TRUE;
         } else {
             $json_request['responseText'] = Lang::get('interface.DEFAULT.fail');
         }
     } else {
         $json_request['responseText'] = $validator->messages()->all();
     }
     if (Request::ajax()) {
         return Response::json($json_request, 200);
     } else {
         return Redirect::route('dashboard');
     }
 }
开发者ID:Grapheme,项目名称:lipton,代码行数:29,代码来源:participant.controller.php

示例2: pages

/**
 * 分页函数
 *
 * @param $num 信息总数
 * @param $curr_page 当前分页
 * @param $perpage 每页显示数
 * @param $urlrule URL规则
 * @param $array 需要传递的数组,用于增加额外的方法
 * @return 分页
 */
function pages($num, $curr_page, $perpage = 20, $urlrule = '', $array = array(), $setpages = 10)
{
    if (defined('URLRULE') && $urlrule == '') {
        $urlrule = URLRULE;
        $array = $GLOBALS['URL_ARRAY'];
    } elseif ($urlrule == '') {
        $urlrule = url_par('page={$page}');
    }
    $multipage = '';
    if ($num > $perpage) {
        $page = $setpages + 1;
        $offset = ceil($setpages / 2 - 1);
        $pages = ceil($num / $perpage);
        if (defined('IN_ADMIN') && !defined('PAGES')) {
            define('PAGES', $pages);
        }
        $from = $curr_page - $offset;
        $to = $curr_page + $offset;
        $more = 0;
        if ($page >= $pages) {
            $from = 2;
            $to = $pages - 1;
        } else {
            if ($from <= 1) {
                $to = $page - 1;
                $from = 2;
            } elseif ($to >= $pages) {
                $from = $pages - ($page - 2);
                $to = $pages - 1;
            }
            $more = 1;
        }
        $multipage .= '<a class="a1">' . $num . L('page_item') . '</a>';
        if ($curr_page > 0) {
            $multipage .= ' <a href="' . pageurl($urlrule, $curr_page - 1, $array) . '" class="a1">' . L('previous') . '</a>';
            if ($curr_page == 1) {
                $multipage .= ' <a href="javascript:;" class="current">1</a>';
            } elseif ($curr_page > 6 && $more) {
                $multipage .= ' <a href="' . pageurl($urlrule, 1, $array) . '">1</a>..';
            } else {
                $multipage .= ' <a href="' . pageurl($urlrule, 1, $array) . '">1</a>';
            }
        }
        for ($i = $from; $i <= $to; $i++) {
            if ($i != $curr_page) {
                $multipage .= ' <a href="' . pageurl($urlrule, $i, $array) . '">' . $i . '</a>';
            } else {
                $multipage .= ' <a href="javascript:;" class="current">' . $i . '</a>';
            }
        }
        if ($curr_page < $pages) {
            if ($curr_page < $pages - 5 && $more) {
                $multipage .= ' ..<a href="' . pageurl($urlrule, $pages, $array) . '">' . $pages . '</a> <a href="' . pageurl($urlrule, $curr_page + 1, $array) . '" class="a1">' . L('next') . '</a>';
            } else {
                $multipage .= ' <a href="' . pageurl($urlrule, $pages, $array) . '">' . $pages . '</a> <a href="' . pageurl($urlrule, $curr_page + 1, $array) . '" class="a1">' . L('next') . '</a>';
            }
        } elseif ($curr_page == $pages) {
            $multipage .= ' <a href="javascript:;" class="current">' . $pages . '</a> <a href="' . pageurl($urlrule, $curr_page, $array) . '" class="a1">' . L('next') . '</a>';
        } else {
            $multipage .= ' <a href="' . pageurl($urlrule, $pages, $array) . '">' . $pages . '</a> <a href="' . pageurl($urlrule, $curr_page + 1, $array) . '" class="a1">' . L('next') . '</a>';
        }
    }
    return $multipage;
}
开发者ID:hw18708118867,项目名称:htmlmoban,代码行数:74,代码来源:global.func.php

示例3: resendMobilePhoneConfirmation

 public function resendMobilePhoneConfirmation()
 {
     $json_request = array('status' => FALSE, 'responseText' => '', 'redirectURL' => FALSE);
     if (Request::ajax()) {
         if (Auth::check()) {
             $post['customerId'] = Auth::user()->remote_id;
             $post['sessionKey'] = Auth::user()->sessionKey;
             $api = (new ApiController())->resendMobilePhoneConfirmation($post);
             if ($api === -1) {
                 Auth::logout();
                 $json_request['redirectURL'] = pageurl('auth');
                 return Response::json($json_request, 200);
             } elseif ($api === FALSE) {
                 $json_request['status'] = FALSE;
             } else {
                 $json_request['status'] = TRUE;
                 $json_request['responseText'] = Config::get('api.message');
             }
             $json_request['responseText'] = Config::get('api.message');
         }
     } else {
         return App::abort(404);
     }
     return Response::json($json_request, 200);
 }
开发者ID:Grapheme,项目名称:lipton,代码行数:25,代码来源:register.controller.php

示例4: pages

/**
 * 分页函数
 *
 * @param $num 信息总数
 * @param $curr_page 当前分页
 * @param $perpage 每页显示数
 * @param $urlrule URL规则
 * @param $array 需要传递的数组,用于增加额外的方法
 * @return 分页
 */
function pages($num, $curr_page, $perpage = 20, $urlrule = '', $array = array())
{
    if ($urlrule == '') {
        $urlrule = url_par('page={$page}');
    } else {
        $urlrule = url_par('page={$page}', $urlrule);
    }
    $multipage = '';
    if ($num > $perpage) {
        $page = 11;
        $offset = 4;
        $pages = ceil($num / $perpage);
        $from = $curr_page - $offset;
        $to = $curr_page + $offset;
        $more = 0;
        if ($page >= $pages) {
            $from = 2;
            $to = $pages - 1;
        } else {
            if ($from <= 1) {
                $to = $page - 1;
                $from = 2;
            } elseif ($to >= $pages) {
                $from = $pages - ($page - 2);
                $to = $pages - 1;
            }
            $more = 1;
        }
        $multipage .= '总数<b>' . $num . '</b>&nbsp;&nbsp;';
        if ($curr_page > 0) {
            if ($curr_page == 1) {
                $multipage .= ' <a href="' . pageurl($urlrule, 1, $array) . '" class="a1">上一页</a>';
                $multipage .= ' <span>1</span>';
            } elseif ($curr_page > 6 && $more) {
                $multipage .= ' <a href="' . pageurl($urlrule, $curr_page - 1, $array) . '" class="a1">上一页</a>';
                $multipage .= ' <a href="' . pageurl($urlrule, 1, $array) . '">1</a>..';
            } else {
                $multipage .= ' <a href="' . pageurl($urlrule, $curr_page - 1, $array) . '" class="a1">上一页</a>';
                $multipage .= ' <a href="' . pageurl($urlrule, 1, $array) . '">1</a>';
            }
        }
        for ($i = $from; $i <= $to; $i++) {
            if ($i != $curr_page) {
                $multipage .= ' <a href="' . pageurl($urlrule, $i, $array) . '">' . $i . '</a>';
            } else {
                $multipage .= ' <span>' . $i . '</span>';
            }
        }
        if ($curr_page < $pages) {
            if ($curr_page < $pages - 5 && $more) {
                $multipage .= ' ..<a href="' . pageurl($urlrule, $pages, $array) . '">' . $pages . '</a> <a href="' . pageurl($urlrule, $curr_page + 1, $array) . '" class="a1">下一页</a>';
            } else {
                $multipage .= ' <a href="' . pageurl($urlrule, $pages, $array) . '">' . $pages . '</a> <a href="' . pageurl($urlrule, $curr_page + 1, $array) . '" class="a1">下一页</a>';
            }
        } elseif ($curr_page == $pages) {
            $multipage .= ' <span>' . $pages . '</span> <a href="' . pageurl($urlrule, $curr_page, $array) . '" class="a1">下一页</a>';
        } else {
            $multipage .= ' <a href="' . pageurl($urlrule, $pages, $array) . '">' . $pages . '</a> <a href="' . pageurl($urlrule, $curr_page + 1, $array) . '" class="a1">下一页</a>';
        }
    }
    return $multipage;
}
开发者ID:spwx820,项目名称:lock-money-admin_cp,代码行数:72,代码来源:functions.php

示例5: postUlogin

 public function postUlogin()
 {
     $url_request = 'http://ulogin.ru/token.php?token=' . Input::get('token') . '&host=' . $_SERVER['HTTP_HOST'];
     $result = (new ApiController())->getCurl($url_request, FALSE);
     $_user = json_decode($result['curl_result'], true);
     $validate = Validator::make([], []);
     if (isset($_user['error'])) {
         return Redirect::to(URL::route('page', 'registering'));
     }
     $post['provider'] = $_user['network'];
     $post['identity'] = $_user['uid'];
     $api_social = (new ApiController())->social_logon($post);
     try {
         if (is_array($api_social)) {
             if (Ulogin::where('identity', '=', $_user['identity'])->exists() === FALSE) {
                 $post = array();
                 $post['customerId'] = @$api_social['id'];
                 $post['sessionKey'] = @$api_social['sessionKey'];
                 $api = (new ApiController())->get_register($post);
                 if (isset($api['email'])) {
                     $password = Str::random(8);
                     $post['remote_id'] = $post['customerId'];
                     $post['email'] = $api['email'];
                     $post['name'] = @$api['name'];
                     $post['surname'] = @$api['surname'];
                     $post['sex'] = @$api['sex'] == 'female' ? 0 : 1;
                     $post['dd'] = @$api['dd'];
                     $post['mm'] = @$api['mm'];
                     $post['yyyy'] = @$api['yyyy'];
                     $post['phone'] = @$api['phone'];
                     $post['city'] = @$api['city'];
                     $post['password'] = Hash::make($password);
                     $post['code'] = Input::get('promo-code');
                     $user = (new RegisterController())->getRegisterAccount($post);
                     (new RegisterController())->createULogin($user->id, $post);
                 }
             }
         } else {
             /*
             if (Config::has('api.message')):
                                 Session::flash('message', Config::get('api.message'));
                             else:
                                 Session::flash('message', 'Возникла ошибка при авторизации через социальную сеть.');
                             endif;
                             return Redirect::to(pageurl('auth') . '#message');
             */
         }
     } catch (Exception $e) {
         Session::flash('message', 'Возникла ошибка при авторизации через социальную сеть.');
         return Redirect::to(pageurl('auth') . '#message');
     }
     if ($check = Ulogin::where('identity', '=', $_user['identity'])->first()) {
         Auth::loginUsingId($check->user_id, FALSE);
         if (is_array($api_social)) {
             Auth::user()->active = 1;
             Auth::user()->remote_id = @$api_social['id'];
             Auth::user()->sessionKey = @$api_social['sessionKey'];
             Auth::user()->save();
         }
         if (isset($_COOKIE['firstCodeCookie']) && !empty($_COOKIE['firstCodeCookie'])) {
             $result = PromoController::registerPromoCode($_COOKIE['firstCodeCookie']);
             Session::flash('message', Config::get('api.message'));
             setcookie("firstCodeCookie", "", time() - 3600, '/');
             return Redirect::to(AuthAccount::getGroupStartUrl() . '#message');
         }
         return Redirect::to(AuthAccount::getGroupStartUrl());
     } elseif (isset($_user['email']) && User::where('email', @$_user['email'])->exists()) {
         return Redirect::to(URL::route('page', 'registering'))->with('token', Input::get('token'))->with('email', @$_user['email'])->with('identity', @$_user['identity'])->with('profile', @$_user['profile'])->with('first_name', @$_user['first_name'])->with('last_name', @$_user['last_name'])->with('sex', @$_user['sex'] - 1)->with('bdate', @$_user['bdate'])->with('uid', @$_user['uid'])->with('photo_big', @$_user['photo_big'])->with('photo', @$_user['photo'])->with('network', @$_user['network'])->with('verified_email', @$_user['verified_email']);
     } else {
         $rules = array('network' => 'required|max:255', 'identity' => 'required|max:255|unique:ulogin', 'email' => 'required|unique:ulogin|unique:users');
         $validate = Validator::make($_user, $rules);
         if ($validate->passes()) {
             return Redirect::to(URL::route('page', 'registering'))->with('token', Input::get('token'))->with('email', @$_user['email'])->with('identity', @$_user['identity'])->with('profile', @$_user['profile'])->with('first_name', @$_user['first_name'])->with('last_name', @$_user['last_name'])->with('sex', @$_user['sex'] - 1)->with('bdate', @$_user['bdate'])->with('uid', @$_user['uid'])->with('photo_big', @$_user['photo_big'])->with('photo', @$_user['photo'])->with('network', @$_user['network'])->with('verified_email', @$_user['verified_email']);
         } else {
             return Redirect::to(URL::route('page', 'registering'));
         }
     }
 }
开发者ID:Grapheme,项目名称:lipton,代码行数:78,代码来源:social.controller.php

示例6: wpa_pages

/**
 * 分页函数
 * 
 * @param $num 信息总数
 * @param $curr_page 当前分页
 * @param $perpage 每页显示数
 * @param $urlrule URL规则
 * @param $array 需要传递的数组,用于增加额外的方法
 * @return 分页
 */
function wpa_pages($num, $curr_page, $perpage = 20, $urlrule = '', $array = array(), $setpages = 10)
{
    if (defined('URLRULE')) {
        $urlrule = URLRULE;
        $array = $GLOBALS['URL_ARRAY'];
    } elseif ($urlrule == '') {
        $urlrule = url_par('page={$page}');
    }
    $multipage = '';
    if ($num > $perpage) {
        $page = $setpages + 1;
        $offset = ceil($setpages / 2 - 1);
        $pages = ceil($num / $perpage);
        if (defined('IN_ADMIN') && !defined('PAGES')) {
            define('PAGES', $pages);
        }
        $from = $curr_page - $offset;
        $to = $curr_page + $offset;
        $more = 0;
        if ($page >= $pages) {
            $from = 2;
            $to = $pages - 1;
        } else {
            if ($from <= 1) {
                $to = $page - 1;
                $from = 2;
            } elseif ($to >= $pages) {
                $from = $pages - ($page - 2);
                $to = $pages - 1;
            }
            $more = 1;
        }
        $multipage .= $curr_page . '/' . $pages;
        if ($curr_page > 0) {
            $multipage .= ' <a href="' . pageurl($urlrule, $curr_page - 1, $array) . '">' . L('previous') . '</a>';
        }
        if ($curr_page == $pages) {
            $multipage .= ' <a href="' . pageurl($urlrule, $curr_page, $array) . '">' . L('next') . '</a>';
        } else {
            $multipage .= ' <a href="' . pageurl($urlrule, $curr_page + 1, $array) . '">' . L('next') . '</a>';
        }
    }
    return $multipage;
}
开发者ID:ahmatjan,项目名称:huluphp,代码行数:54,代码来源:global.func.php

示例7: array

            return Redirect::route('mainpage');
    }
    if (View::exists(Helper::layout($code))) {
        return Response::view(Helper::layout($code), array('message' => $exception->getMessage()), $code);
    }
});
App::missing(function ($exception) {
    #Helper::classInfo('Route');
    #Helper::dd(get_declared_classes());
    $tpl = View::exists(Helper::layout('404')) ? Helper::layout('404') : 'error404';
    return Response::view($tpl, array('message' => $exception->getMessage()), 404);
});
Route::filter('auth', function () {
    if (Auth::guest()) {
        //App::abort(404);
        return Redirect::to(pageurl('auth'));
    }
});
Route::filter('login', function () {
    if (Auth::check()) {
        return Redirect::to(AuthAccount::getStartPage());
    }
});
Route::filter('auth.basic', function () {
    return Auth::basic();
});
Route::filter('admin.auth', function () {
    if (!AuthAccount::isAdminLoggined()) {
        return Redirect::to('/');
    }
});
开发者ID:Grapheme,项目名称:newyork.bar,代码行数:31,代码来源:filters.php

示例8: pageurl

    <article class="col-xs-9">
        <h1 class="page-title"><?php 
echo $Published->title;
?>
</h1>
        <h3 class="page-subtitle"><?php 
echo $Published->subtitle;
?>
</h3>
        <div class="page-meta">
            <a href="http://facebook.com/sharer.php?u=<?php 
echo pageurl($Published);
?>
" target="_blank"><i class="fa fa-facebook"></i></a>
            <a href="<?php 
echo twitter_link($Published->title, pageurl($Published));
?>
" target="_blank"><i class="fa fa-twitter"></i></a>
        </div>
        <div class="page-content">
            <?php 
echo $Published->data;
?>
        </div>
        <p class="page-footer">Last Updated <?php 
echo date('d/m/Y', $Published->updated);
?>
</p>
    </article>
    <div class="col-xs-3 other-pages">
        <?php 
开发者ID:Swift-Jr,项目名称:thmdhc,代码行数:31,代码来源:info.php

示例9: pages

 /**
  * 分页函数
  * 
  * @param $num 信息总数
  * @param $curr_page 当前分页
  * @param $perpage 每页显示数
  * @param $urlrule URL规则
  * @param $array 需要传递的数组,用于增加额外的方法
  * @return 分页
  */
 function pages($num, $curr_page, $perpage = 20, $urlrule = '', $array = array(), $setpages = 10)
 {
     $setpages = 10;
     $multipage = '<nav><ul class="pagination pagination-sm">';
     if ($num > $perpage) {
         $page = $setpages + 1;
         $offset = ceil($setpages / 2 - 1);
         $pages = ceil($num / $perpage);
         $from = $curr_page - $offset;
         $to = $curr_page + $offset;
         $more = 0;
         if ($page >= $pages) {
             $from = 1;
             $to = $pages - 1;
         } else {
             if ($from <= 1) {
                 $to = $page - 1;
                 $from = 1;
             } elseif ($to >= $pages) {
                 $from = $pages - ($page - 2);
                 $to = $pages - 1;
             }
             $more = 1;
         }
         $multipage .= '<li class="disabled"><span> 共 : ' . $num . ' 条记录</span></li>';
         if ($curr_page > 0) {
             //$multipage .= ' <a href="'.pageurl($urlrule, $curr_page-1, $array).'" class="previouspage"> &lt;&lt;</a>';
             if ($curr_page == 1) {
                 //$multipage .= ' <li class="active"><span>1</span></li>';
             } elseif ($curr_page > 11 && $more) {
                 $multipage .= ' <li><a href="' . pageurl($urlrule, 1, $array) . '" class="firstpage">首页</a> <a href="' . pageurl($urlrule, $curr_page - 1, $array) . '" class="previouspage"> &lt;&lt;</a></li>';
             } else {
                 $multipage .= ' <li><a href="' . pageurl($urlrule, 1, $array) . '" class="firstpage">首页</a>  <a href="' . pageurl($urlrule, $curr_page - 1, $array) . '" class="previouspage"> &lt;&lt;</a></li>';
             }
         }
         for ($i = $from; $i <= $to; $i++) {
             if ($i != $curr_page) {
                 $multipage .= ' <li><a href="' . pageurl($urlrule, $i, $array) . '">' . $i . '</a></li>';
             } else {
                 $multipage .= ' <li class="active"><span>' . $i . '</span></li>';
             }
         }
         if ($curr_page < $pages) {
             if ($curr_page < $pages - 10 && $more) {
                 $multipage .= ' <li><a href="' . pageurl($urlrule, $curr_page + 1, $array) . '" class="nextpage">&gt;&gt;</a> <a href="' . pageurl($urlrule, $pages, $array) . '">末页</a></li> ';
             } else {
                 $multipage .= ' <li><a href="' . pageurl($urlrule, $pages, $array) . '">' . $pages . '</a> <a href="' . pageurl($urlrule, $curr_page + 1, $array) . '" class="nextpage">&gt;&gt;</a></li>';
             }
         } elseif ($curr_page == $pages) {
             $multipage .= ' <li class="active"><a >' . $pages . '</a></li> ';
         } else {
             $multipage .= ' <li><a href="' . pageurl($urlrule, $pages, $array) . '">' . $pages . '</a> <a href="' . pageurl($urlrule, $curr_page + 1, $array) . '" class="nextpage"">&gt;&gt;</a></li>';
         }
     }
     return $multipage . "</ul></nav>";
 }
开发者ID:q546530715,项目名称:ACI-CodeIgnter,代码行数:66,代码来源:global_helper.php

示例10: pageurl

                              <div class="form-group">
                                 <div class="col-md-12">
                                    <button type="submit" value="Submit" class="btn btn-primary pull-right" id="emailToFriend_btn">Send</button>                                
                                 </div>
                              </div>
                              <input name="title" type="hidden" value="<?php 
echo $_GET['itemdata']['title'];
?>
">
                              <input name="artist" type="hidden" value="<?php 
echo $_GET['itemdata']['firstName'];
?>
 <?php 
echo $_GET['itemdata']['lastName'];
?>
">
                              <input name="link" type="hidden" value="<?php 
echo pageurl();
?>
">                              
                           </form>
                        </div>
                        <div class="modal-footer">
                           <div id="emailToFriendStatus" class="pull-left"></div>
                           <!--<a class="btn btn-default pull-right" data-dismiss="modal">Close</a> -->   
                        </div>
                     </div>
                     <!-- /model-content  -->
                  </div>
               </div>
               <!--    / popup   -->
开发者ID:araranga,项目名称:homan,代码行数:31,代码来源:det-email-form.php

示例11: secondRegisterCertificates

 public function secondRegisterCertificates()
 {
     $json_request = array('status' => FALSE, 'responseText' => '', 'redirectURL' => FALSE);
     $validator = Validator::make(Input::all(), array('certificate' => 'required', 'ticket_id' => 'required'));
     if ($validator->passes()) {
         $certificates = Config::get('directcrm.certificates');
         if (!isset($certificates[Input::get('certificate')])) {
             $json_request['status'] = FALSE;
             $json_request['responseText'] = 'Выбранный курс недоступен';
             return Response::json($json_request, 200);
         }
         $post['wonLotteryTicketId'] = Input::get('ticket_id');
         $post['prizesystemname'] = Input::get('certificate');
         $post['customerId'] = Auth::user()->remote_id;
         $post['sessionKey'] = Auth::user()->sessionKey;
         $api_result = (new ApiController())->register_certificate($post);
         if ($api_result === -1) {
             Auth::logout();
             $json_request['redirectURL'] = pageurl('auth');
             return Response::json($json_request, 200);
         } elseif ($api_result === FALSE) {
             $json_request['status'] = FALSE;
         } else {
             $json_request['status'] = TRUE;
             $json_request['responseText'] = Config::get('api.message');
             $json_request['redirectURL'] = URL::to(AuthAccount::getGroupStartUrl());
         }
         $json_request['responseText'] = Config::get('api.message');
     } else {
         $json_request['responseText'] = $validator->messages()->all();
     }
     if (Request::ajax()) {
         return Response::json($json_request, 200);
     } else {
         return Redirect::route('mainpage');
     }
 }
开发者ID:Grapheme,项目名称:lipton,代码行数:37,代码来源:promo.controller.php

示例12: urlencode

                     <li><a href="http://pinterest.com/pin/create/bookmarklet/?media=<?php 
echo urlencode($_GET['itemdata']['pictures'][0]);
?>
&url=<?php 
echo urlencode(pageurl());
?>
&description=<?php 
echo urlencode($_GET['itemdata']['title'] . " by " . $_GET['itemdata']['firstName'] . " " . $_GET['itemdata']['lastName']);
?>
" target="_blank">Pinterest</a></li>
                     <li><a href="http://www.facebook.com/sharer.php?u=<?php 
echo urlencode(pageurl());
?>
" target="_blank">Facebook</a></li>
                     <li><a href="http://twitter.com/home?status=<?php 
echo urlencode(pageurl());
?>
" target="_blank">Twitter</a></li>
                  </ul>
               </li>
               <li class="list-group-item item-info">
                  <a href="artist-works.php?artistId=<?php 
echo $_GET['artistId'];
?>
">
                  <button type="button" class="btn btn-primary btn-sm widest-button">More Work By This Artist</button>
                  </a>                   
               </li>
<li class="list-group-item item-info">
   <div class="row">
      <ul class="list-inline" id="multiple-thumbs">
开发者ID:araranga,项目名称:homan,代码行数:31,代码来源:artistdetails.php


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