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


PHP pagetitle函数代码示例

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


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

示例1: getIndex

 /**
  * Show the dashboard
  *
  * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
  */
 public function getIndex()
 {
     pagetitle([trans('main.dashboard'), settings('server_name')]);
     $online_players = 0;
     foreach (DB::connection('account')->table('worlds')->get() as $world) {
         $online_players += $world->online_user;
     }
     $releases = $this->github->api('repo')->releases()->all('huludini', 'aura-kingdom-web');
     return view('admin.index', compact('online_players', 'releases'));
 }
开发者ID:huludini,项目名称:aura-kingdom-web,代码行数:15,代码来源:DashboardController.php

示例2: getIndex

 public function getIndex()
 {
     pagetitle([trans('main.apps.voucher'), settings('server_name')]);
     $voucher_logs = Auth::user()->voucher_logs;
     return view('front.voucher.index', compact('voucher_logs'));
 }
开发者ID:BahaStriker,项目名称:pw-web,代码行数:6,代码来源:VoucherController.php

示例3: getIndex

 public function getIndex()
 {
     pagetitle([trans('main.apps.news'), settings('server_name')]);
     $articles = Article::orderBy('created_at', 'desc')->paginate(settings('news_items_per_page'));
     return view('front.news.index', compact('articles'));
 }
开发者ID:huludini,项目名称:pw-web,代码行数:6,代码来源:NewsController.php

示例4: pagetitle

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">



<head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8" />

    <meta http-equiv="content-language" content="en" />
    <title><?php 
echo pagetitle();
?>
</title>

    <meta name="robots" content="noindex, nofollow" />
    <meta name="description" content="LoudBlog" />

    <meta name="author" content="ONLINETRUST new media" />
    
    <link rel="stylesheet" type="text/css" href="backend/screen.css" />
	<link rel="stylesheet" type="text/css" href="backend/autocomplete.css" />
    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="backend/ie.css"  />
    <![endif]-->
    <script src="backend/jquery.js" type="text/javascript"></script>
    <script src="backend/functions.js" type="text/javascript"></script>
	<script src="backend/autocomplete.js" type="text/javascript"></script>
开发者ID:kldeepak,项目名称:swara,代码行数:30,代码来源:head.php

示例5: getPermissions

 /**
  * Show the permissions page
  *
  * @param User $user
  * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
  */
 public function getPermissions(User $user)
 {
     pagetitle([trans('members.permissions', ['member' => $user->username]), trans('main.apps.members'), settings('server_name')]);
     return view('admin.members.permissions', compact('user'));
 }
开发者ID:huludini,项目名称:aura-kingdom-web,代码行数:11,代码来源:MembersController.php

示例6: getIndex

 public function getIndex()
 {
     $releases = $this->github->api('repo')->releases()->all('huludini', 'pw-web');
     pagetitle([trans('main.dashboard'), settings('server_name')]);
     return view('admin.index', compact('version_info', 'releases'));
 }
开发者ID:huludini,项目名称:pw-web,代码行数:6,代码来源:IndexController.php

示例7: getSettings

 public function getSettings()
 {
     pagetitle([trans('main.settings'), trans('main.apps.donate'), settings('server_name')]);
     return view('admin.donate.settings');
 }
开发者ID:huludini,项目名称:pw-web,代码行数:5,代码来源:DonateController.php

示例8: getIndex

 /**
  * Return the index view
  *
  * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
  */
 public function getIndex()
 {
     pagetitle([trans('main.apps.donate'), settings('server_name')]);
     return view('front.donate.index');
 }
开发者ID:huludini,项目名称:aura-kingdom-web,代码行数:10,代码来源:DonateController.php

示例9: edit

 /**
  * Show the form for editing the specified resource.
  *
  * @param VoteSite $site
  * @return \Illuminate\Http\Response
  */
 public function edit(VoteSite $site)
 {
     pagetitle([trans('vote.edit', ['name' => $site->name]), settings('server_name')]);
     return view('admin.vote.edit', compact('site'));
 }
开发者ID:huludini,项目名称:pw-web,代码行数:11,代码来源:VoteController.php

示例10: getSettings

 public function getSettings()
 {
     pagetitle([trans('main.settings'), settings('server_name')]);
     return view('front.account.index');
 }
开发者ID:huludini,项目名称:pw-web,代码行数:5,代码来源:AccountController.php

示例11: getIndex

 public function getIndex()
 {
     pagetitle([trans('main.apps.services'), settings('server_name')]);
     $services = Service::all();
     return view('front.services.index', compact('services'));
 }
开发者ID:BahaStriker,项目名称:pw-web,代码行数:6,代码来源:ServicesController.php

示例12: getFamily

 /**
  * Get family rankings based on type
  *
  * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
  */
 public function getFamily(Request $request)
 {
     pagetitle([trans('ranking.player') . ' ' . trans('main.apps.ranking'), settings('server_name')]);
     $families = Family::type($request->segment(3))->paginate();
     return view('front.ranking.family', compact('families'));
 }
开发者ID:huludini,项目名称:aura-kingdom-web,代码行数:11,代码来源:RankingController.php

示例13: getApps

 public function getApps()
 {
     pagetitle([trans('system.apps'), trans('main.apps.system'), settings('server_name')]);
     $apps = Application::all();
     return view('admin.system.apps', compact('apps'));
 }
开发者ID:huludini,项目名称:pw-web,代码行数:6,代码来源:SystemController.php

示例14: getManage

 public function getManage()
 {
     pagetitle([trans('members.manage'), trans('main.apps.members'), settings('server_name')]);
     $users = User::paginate();
     return view('admin.members.manage', compact('users'));
 }
开发者ID:huludini,项目名称:pw-web,代码行数:6,代码来源:MembersController.php

示例15: getMask

 public function getMask($mask)
 {
     pagetitle([trans('main.apps.shop'), settings('server_name')]);
     $items = ShopItem::where('mask', $mask)->paginate(settings('shop_items_per_page'));
     return view('front.shop.index', compact('items'));
 }
开发者ID:huludini,项目名称:pw-web,代码行数:6,代码来源:ShopController.php


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