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


PHP CGlobal::website_title方法代码示例

本文整理汇总了PHP中CGlobal::website_title方法的典型用法代码示例。如果您正苦于以下问题:PHP CGlobal::website_title方法的具体用法?PHP CGlobal::website_title怎么用?PHP CGlobal::website_title使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CGlobal的用法示例。


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

示例1: AdminUserForm

 function AdminUserForm()
 {
     $this->link_css('style/admin/role.css');
     $this->link_js('javascript/admin/role.js');
     CGlobal::$website_title = "Danh sách Quản trị";
     Form::Form('AdminUserForm');
 }
开发者ID:hqd276,项目名称:bigs,代码行数:7,代码来源:AdminUserForm.php

示例2:

 function __construct()
 {
     Form::Form('ContactForm');
     $this->link_css('style/contact.css');
     $this->link_js('javascript/default/support.js');
     CGlobal::$website_title = 'Liên hệ';
 }
开发者ID:hqd276,项目名称:bigs,代码行数:7,代码来源:contact.php

示例3: AddContentForm

 function AddContentForm()
 {
     Form::Form('AddContentForm');
     CGlobal::$website_title = "Thêm nội dung Spam";
     $this->link_css('style/manage_item.css');
     $this->spam_content = array('des' => '', 'subject' => '', 'content' => '', 'status' => 0);
 }
开发者ID:duynhan07,项目名称:elink,代码行数:7,代码来源:AddContent.php

示例4: ManageUserLock

 function ManageUserLock($row)
 {
     CGlobal::$website_title = 'Quản lý thành viên bị khóa';
     Module::Module($row);
     if (User::have_permit(ADMIN_USER)) {
         switch (Url::get('cmd')) {
             case 'unban_nick':
                 $id = (int) Url::get('id', 0);
                 $user_id = (int) Url::get('user_id', 0);
                 if ($id) {
                     DB::update('user', array('block_time' => 0), 'id="' . $user_id . '"');
                     DB::update('user_lock', array('unlock_time' => TIME_NOW, 'unlock_user' => User::user_name()), 'id = ' . $id);
                     User::getUser($id, 0, 1);
                 }
                 Url::redirect_url(Url::build_all(array('chk_id', 'del_all', 'cmd', 'id', 'lock_die_all', 'hd_ac')));
                 break;
             default:
                 require_once 'forms/ManageUserLock.php';
                 $this->add_form(new ListUserLockForm());
                 break;
         }
     } else {
         Url::access_denied();
     }
 }
开发者ID:duynhan07,项目名称:elink,代码行数:25,代码来源:class.php

示例5: FeedbackAdmin

 function FeedbackAdmin($row)
 {
     Module::Module($row);
     CGlobal::$website_title = AZNet::$page['title'];
     if (User::is_admin()) {
         $cmd = Url::get('cmd');
         switch ($cmd) {
             case 'delete':
                 $this->add_form(new DeleteFeedBackForm());
                 break;
             case 'exam':
                 $this->add_form(new ExmamFeedBackForm());
                 break;
             case 'unexam':
                 $this->add_form(new UnexmamFeedBackForm());
                 break;
             case 'reply':
                 require_once "forms/FeedbackReply.php";
                 $this->add_form(new FeedbackReplyForm());
                 break;
             default:
                 require_once "forms/FeedbackAdmin.php";
                 $this->add_form(new FeedbackAdminForm());
                 break;
         }
     }
 }
开发者ID:duynhan07,项目名称:elink,代码行数:27,代码来源:class.php

示例6: AdminNewsCategoryDetail

 function AdminNewsCategoryDetail()
 {
     Form::Form('AdminNewsCategoryDetail');
     //$this->link_css('style/chonmon_block.css');
     //$this->link_js('javascript/chonmon_block.js');
     CGlobal::$website_title = "Quản trị Danh mục Tin tức";
 }
开发者ID:hqd276,项目名称:bigs,代码行数:7,代码来源:detail.php

示例7: AdminRoleForm

 function AdminRoleForm()
 {
     $this->link_css('style/admin/role.css');
     $this->link_js('javascript/admin/role.js');
     Form::Form('AdminRoleForm');
     CGlobal::$website_title = "Quản trị Phân Quyền";
 }
开发者ID:hqd276,项目名称:bigs,代码行数:7,代码来源:AdminRoleForm.php

示例8: ForgotPasswordForm

 function ForgotPasswordForm()
 {
     $this->link_js('javascript/jquery/packed/jquery.validate.js');
     $this->link_css('style/forgot_password.css');
     Form::Form('ForgotPasswordForm');
     CGlobal::$website_title = "Reset Password";
 }
开发者ID:hqd276,项目名称:bigs,代码行数:7,代码来源:forgot_password.php

示例9: AddBookingVipForm

 function AddBookingVipForm()
 {
     Form::Form('AddBookingVipForm');
     CGlobal::$website_title = "Thêm booking VIP";
     $this->link_css('style/aznet/ui.datepicker.css');
     $this->link_js('javascript/jquery/ui.datepicker.js');
 }
开发者ID:duynhan07,项目名称:elink,代码行数:7,代码来源:AddBookingVip.php

示例10: UserActiveAddForm

 function UserActiveAddForm()
 {
     Form::Form('UserActiveAddForm');
     CGlobal::$website_title = 'Thêm THÀNH VIÊN CHÍNH THỨC';
     $this->link_css('style/manage_content.css');
     $this->a_row = array('user_id' => 0, 'user_name' => '', 'sms_total' => 0, 'status' => 0, 'note' => '', 'c_time' => TIME_NOW, 'm_time' => TIME_NOW, 'm_user_name' => User::user_name());
 }
开发者ID:hqd276,项目名称:bigs,代码行数:7,代码来源:UserActiveAdd.php

示例11: ZoneEditForm

 function ZoneEditForm()
 {
     Form::Form('ZoneEditForm');
     if (Url::get('cmd') == 'edit') {
         CGlobal::$website_title = 'Sửa Nhóm Danh mục';
         $id = (int) Url::get('id', 0);
         if ($id) {
             $this->cat_zone = DB::select('category_zone', 'id=' . $id);
         }
         if (!$this->cat_zone) {
             Url::redirect_current();
         }
         //$re = DB::query("SELECT c.id, c.name FROM (SELECT zoneid, catid FROM category_zone_cat WHERE zoneid=$id) AS z LEFT JOIN category AS c ON c.id=z.catid");
         $re = DB::query("SELECT catid FROM category_zone_cat WHERE zoneid={$id} ORDER BY position");
         if ($re) {
             while ($cat = mysql_fetch_assoc($re)) {
                 //$this->cats[$cat['id']] = $cat;
                 if ($this->cats != '') {
                     $this->cats .= ',';
                 }
                 $this->cats .= $cat['catid'];
             }
         }
     } else {
         CGlobal::$website_title = 'Thêm Nhóm Danh mục';
         $this->cat_zone = array('name' => '', 'brief_name' => '', 'position' => 1, 'status' => 0, 'class' => 'fashion');
     }
 }
开发者ID:duynhan07,项目名称:elink,代码行数:28,代码来源:ZoneEdit.php

示例12: ListModuleAdminForm

 function ListModuleAdminForm()
 {
     Form::Form('ListModuleAdminForm');
     CGlobal::$website_title = "Quản trị Modules";
     $this->link_css('style/manage_content.css');
     CGlobal::$website_title = "Quản trị Modules";
 }
开发者ID:hqd276,项目名称:bigs,代码行数:7,代码来源:list.php

示例13: AddEmailForm

 function AddEmailForm()
 {
     Form::Form('AddEmailForm');
     CGlobal::$website_title = "Thêm Email list";
     $this->link_css('style/manage_item.css');
     $this->email_list = array('email_list' => '');
 }
开发者ID:duynhan07,项目名称:elink,代码行数:7,代码来源:AddEmail.php

示例14: SearchSphinxForm

 function SearchSphinxForm()
 {
     Form::Form('SearchResultForm');
     $this->link_css('style/listItem.css');
     $keywords = AZLib::getParam('keywords');
     if ($keywords != '') {
         CGlobal::$website_title = "{$keywords} - Tìm bởi " . WEB_NAME;
         CGlobal::$meta_desc = "Tìm kiếm nội dung liên quan tới {$keywords} - Tìm bởi " . WEB_NAME;
     } else {
         CGlobal::$website_title = "Trang tìm kiếm sản phẩm";
         CGlobal::$meta_desc = "Trang tìm kiếm sản phẩm";
     }
     $this->search_catid = (int) Url::get('search_catid', -1);
     if ($this->search_catid <= 0 || !isset(CGlobal::$allCategories[$this->search_catid]) || CGlobal::$allCategories[$this->search_catid]['status'] == 'HIDE') {
         $this->search_catid = 0;
     }
     if ($this->search_catid) {
         $curCategory = CGlobal::$allCategories[$this->search_catid];
         if ($curCategory['parent_id'] && isset(CGlobal::$allCategories[$curCategory['parent_id']])) {
             $parent_cat = CGlobal::$allCategories[$curCategory['parent_id']];
             $this->search_top_catid = $curCategory['parent_id'];
             $this->search_sec_catid = $this->search_catid;
         } else {
             $this->search_top_catid = $this->search_catid;
         }
     }
 }
开发者ID:duynhan07,项目名称:elink,代码行数:27,代码来源:sphinx_search.php

示例15: Feedback

 function Feedback($row)
 {
     Module::Module($row);
     CGlobal::$website_title = AZNet::$page['title'];
     require_once "forms/FeedbackSend.php";
     $this->add_form(new FeedbackSendForm());
 }
开发者ID:duynhan07,项目名称:elink,代码行数:7,代码来源:class.php


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