本文整理汇总了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');
}
示例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ệ';
}
示例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);
}
示例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();
}
}
示例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;
}
}
}
示例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";
}
示例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";
}
示例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";
}
示例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');
}
示例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());
}
示例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');
}
}
示例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";
}
示例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' => '');
}
示例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;
}
}
}
示例15: Feedback
function Feedback($row)
{
Module::Module($row);
CGlobal::$website_title = AZNet::$page['title'];
require_once "forms/FeedbackSend.php";
$this->add_form(new FeedbackSendForm());
}