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


PHP Guest类代码示例

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


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

示例1: mod_guestbook

function mod_guestbook()
{
    require_once BASE_DIR . '/functions/func.modulglobals.php';
    set_modul_globals('guestbook');
    require_once BASE_DIR . '/modules/guestbook/class.guest.php';
    $Guest = new Guest();
    $Guest->guestbookShow("standalone");
}
开发者ID:laiello,项目名称:avecms,代码行数:8,代码来源:modul.php

示例2: createEmailConfirmation

/**
* createEmailConfirmation()
* 
* Create a mailto link for email confirmation
* 
* @param number $bookid id of booking
* @return string mailto link
* @access public 
* @since 2003-10-12
* @author Christian Ehret <chris@uffbasse.de> 
*/
function createEmailConfirmation($bookid)
{
    global $tbl_booking, $tbl_guest, $tbl_address, $tbl_guest_address, $tbl_bookingcat, $tbl_country, $gDatabase, $errorhandler, $request;
    include_once 'guestclass.inc.php';
    $guest = new Guest();
    $query = "SELECT {$tbl_booking}.fk_bookingcat_id, {$tbl_booking}.fk_guest_id, \n\t          UNIX_TIMESTAMP(start_date), UNIX_TIMESTAMP(end_date), \n\t\t\t  TO_DAYS( end_date ) - TO_DAYS( start_date ) AS days, \n\t\t\t  {$tbl_booking}.persons, children, {$tbl_guest}.firstname, \n\t\t\t  {$tbl_guest}.lastname, {$tbl_bookingcat}.bookingcat, \n\t\t\t  DATE_FORMAT({$tbl_guest}.date_of_birth , '%d.%m.%Y'), \n\t\t\t  postalcode, city, address, country_de, email, \n\t\t\t  booking_type, {$tbl_guest}.formal_greeting,  \n\t\t\t  {$tbl_guest}.gender, \n\t\t\t  COALESCE( CASE WHEN {$tbl_bookingcat}.description = '' THEN NULL ELSE {$tbl_bookingcat}.description END, CASE WHEN {$tbl_bookingcat}.bookingcat = '' THEN NULL ELSE {$tbl_bookingcat}.bookingcat END, '' ),\n\t\t\t  children2, children3, children0 \n\t\t\t  FROM {$tbl_booking} \n\t\t\t  LEFT JOIN {$tbl_guest} ON ({$tbl_booking}.fk_guest_id = {$tbl_guest}.pk_guest_id) \n\t\t\t  LEFT JOIN {$tbl_guest_address} ON ({$tbl_guest_address}.default_address  = " . MetabaseGetBooleanFieldValue($gDatabase, true) . " \n\t\t\t  AND {$tbl_guest}.pk_guest_id = {$tbl_guest_address}.pk_fk_guest_id) \n\t\t\t  LEFT JOIN {$tbl_address} ON ({$tbl_address}.pk_address_id = {$tbl_guest_address}.pk_fk_address_id) \n\t\t\t  LEFT JOIN {$tbl_bookingcat} ON ({$tbl_booking}.fk_bookingcat_id = {$tbl_bookingcat}.pk_bookingcat_id) \n\t\t\t  LEFT JOIN {$tbl_country} ON (fk_country_id = {$tbl_country}.pk_country_id )\n\t\t\t  WHERE pk_booking_id =  " . $bookid;
    $result = MetabaseQuery($gDatabase, $query);
    if (!$result) {
        $errorhandler->display('SQL', 'Booking::emailConfirmation()', $query);
    } else {
        if (MetabaseNumberOfRows($gDatabase, $result) == 1) {
            $booking = array();
            $str = "";
            $bookingtype = "";
            $bookingstr = "";
            $isformal = MetabaseFetchBooleanResult($gDatabase, $result, 0, 16);
            $dirihnen = "Dir";
            if ($isformal) {
                $dirihnen = "Ihnen";
            }
            switch (MetabaseFetchResult($gDatabase, $result, 0, 16)) {
                case 'R':
                    $bookingtype = "Reservierungsbestätigung";
                    $bookingstr = "Reservierung";
                    break;
                case 'B':
                    $bookingtype = "Buchungsbestätigung";
                    $bookingstr = "Buchung";
                    break;
                case 'P':
                    $bookingtype = "Buchungsbestätigung";
                    $bookingstr = "Buchung";
                    break;
            }
            $body = "";
            $body .= $guest->GetGreeting(MetabaseFetchResult($gDatabase, $result, 0, 1)) . "\n";
            $body .= "hiermit bestätigen wir " . $dirihnen . " folgende " . $bookingstr . ":\n\n";
            $body .= "Anreise: " . date("d. m. Y", MetabaseFetchResult($gDatabase, $result, 0, 2)) . "\n";
            $body .= "Abreise: " . date("d. m. Y", MetabaseFetchResult($gDatabase, $result, 0, 3)) . "\n";
            $body .= "Kategorie: " . MetabaseFetchResult($gDatabase, $result, 0, 19) . "\n";
            $body .= "Erwachsene: " . MetabaseFetchResult($gDatabase, $result, 0, 5) . "\n";
            $body .= $request->GetVar('children0', 'session') . ": " . MetabaseFetchResult($gDatabase, $result, 0, 22) . "\n";
            $body .= $request->GetVar('children1', 'session') . ": " . MetabaseFetchResult($gDatabase, $result, 0, 6) . "\n";
            $body .= $request->GetVar('children2', 'session') . ": " . MetabaseFetchResult($gDatabase, $result, 0, 20) . "\n";
            $body .= $request->GetVar('children3', 'session') . ": " . MetabaseFetchResult($gDatabase, $result, 0, 21) . "\n\n";
            $body .= "für:\n";
            $body .= MetabaseFetchResult($gDatabase, $result, 0, 7) . " " . MetabaseFetchResult($gDatabase, $result, 0, 8) . "\n";
            $body .= MetabaseFetchResult($gDatabase, $result, 0, 13) . "\n";
            $body .= MetabaseFetchResult($gDatabase, $result, 0, 11) . " " . MetabaseFetchResult($gDatabase, $result, 0, 12) . "\n";
            $body .= MetabaseFetchResult($gDatabase, $result, 0, 14) . "\n\n";
            $str = "mailto:" . MetabaseFetchResult($gDatabase, $result, 0, 7) . "%20" . MetabaseFetchResult($gDatabase, $result, 0, 8) . "%20&lt;" . MetabaseFetchResult($gDatabase, $result, 0, 15) . "&gt;?subject={$bookingtype}" . "&body=" . rawurlencode($body);
        }
        return $str;
    }
}
开发者ID:BackupTheBerlios,项目名称:zvs,代码行数:66,代码来源:emailconfirmation.php

示例3: processNavigationStats

 /**
  * Log statistics on navigation (resolution, plugins, etc.)
  */
 protected function processNavigationStats()
 {
     $id_guest = (int) Tools::getValue('id_guest');
     if (sha1($id_guest . _COOKIE_KEY_) != $this->param_token) {
         die;
     }
     $guest = new Guest((int) substr($_POST['id_guest'], 0, 10));
     $guest->javascript = true;
     $guest->screen_resolution_x = (int) substr($_POST['screen_resolution_x'], 0, 5);
     $guest->screen_resolution_y = (int) substr($_POST['screen_resolution_y'], 0, 5);
     $guest->screen_color = (int) substr($_POST['screen_color'], 0, 3);
     $guest->sun_java = (int) substr($_POST['sun_java'], 0, 1);
     $guest->adobe_flash = (int) substr($_POST['adobe_flash'], 0, 1);
     $guest->adobe_director = (int) substr($_POST['adobe_director'], 0, 1);
     $guest->apple_quicktime = (int) substr($_POST['apple_quicktime'], 0, 1);
     $guest->real_player = (int) substr($_POST['real_player'], 0, 1);
     $guest->windows_media = (int) substr($_POST['windows_media'], 0, 1);
     $guest->update();
 }
开发者ID:IngenioContenidoDigital,项目名称:americana,代码行数:22,代码来源:StatisticsController.php

示例4: setPhpCookieData

 public function setPhpCookieData()
 {
     if (!isset($_COOKIE['id_guest'])) {
         if (!isset($this->context->cookie->id_guest)) {
             Guest::setNewGuest($this->context->cookie);
         }
         setcookie('id_guest', $this->context->cookie->id_guest, time() + 86400, "/");
     } else {
         $this->context->cookie->id_guest = $_COOKIE['id_guest'];
         setcookie('id_guest', $this->context->cookie->id_guest, time() + 86400, "/");
     }
     $guest = new Guest($this->context->cookie->id_guest);
     if (!isset($_COOKIE['id_cart']) && !isset($this->context->cart->id)) {
         $cart = new Cart();
         $cart->recyclable = 0;
         $cart->gift = 0;
         $cart->id_shop = (int) $this->context->shop->id;
         $cart->id_lang = ($id_lang = (int) Tools::getValue('id_lang')) ? $id_lang : Configuration::get('PS_LANG_DEFAULT');
         $cart->id_currency = ($id_currency = (int) Tools::getValue('id_currency')) ? $id_currency : Configuration::get('PS_CURRENCY_DEFAULT');
         $cart->id_address_delivery = 0;
         $cart->id_address_invoice = 0;
         $cart->id_currency = Configuration::get('PS_CURRENCY_DEFAULT');
         $cart->id_guest = (int) $this->context->cookie->id_guest;
         $cart->setNoMultishipping();
         $cart->save();
         $this->context->cart = $cart;
         $this->context->cookie->id_cart = $cart->id;
         setcookie('id_cart', $cart->id, time() + 86400, "/");
     } else {
         $cart = new Cart((int) $_COOKIE['id_cart']);
         $this->context->cart = $cart;
         $this->context->cookie->id_cart = $cart->id;
         setcookie('id_cart', $cart->id, time() + 86400, "/");
     }
     $customer = new Customer();
     $customer->id_gender = 0;
     $customer->id_default_group = 1;
     $customer->outstanding_allow_amount = 0;
     $customer->show_public_prices = 0;
     $customer->max_payment_days = 0;
     $customer->active = 1;
     $customer->is_guest = 0;
     $customer->deleted = 0;
     $customer->logged = 0;
     $customer->id_guest = $this->context->cookie->id_guest;
     $this->context->customer = $customer;
 }
开发者ID:Rohit-jn,项目名称:hotelcommerce,代码行数:47,代码来源:AdminHotelRoomsBookingController.php

示例5: register

 public function register()
 {
     $data['message1'] = "";
     $data['message2'] = "";
     $this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email|max_length[60]|xxs_clean');
     $this->form_validation->set_rules('firstname', 'First name', 'trim|required|max_length[30]|min_length[2]');
     $this->form_validation->set_rules('lastname', 'Last name', 'trim|required|max_length[30]|min_length[2]');
     $this->form_validation->set_rules('passwd', 'Password', 'trim|required|matches[cnfpasswd]|max_length[16]|min_length[5]|md5');
     $this->form_validation->set_rules('cnfpasswd', 'Confirm password', 'trim|required|max_length[16]|md5');
     if ($this->form_validation->run() == TRUE) {
         if (ctype_alpha($this->input->post('firstname')) && ctype_alpha($this->input->post('lastname'))) {
             $user = new User_info();
             $user->user_email = $this->input->post('email');
             $user->user_name = $this->input->post('email');
             $user->password = $this->input->post('passwd');
             $user->first_name = $this->input->post('firstname');
             $user->last_name = $this->input->post('lastname');
             $user->verify_code = mt_rand(999999, 99999999);
             if ($user->register()) {
                 /**********Send email verification**************/
                 Guest::sendMail($user->email, $user->first_name, $user->verify_code);
                 Guest::setSession($user->user_email);
                 Guest::recordLoginEvent("Successful", $user->user_email);
                 $url = base_url() . "user/index/";
                 redirect($url, 'Location');
             } else {
                 $data['message1'] = "Email already registered.";
                 $data['message2'] = "retry";
             }
         } else {
             $data['message1'] = "First & Last Name must be valid.";
             $data['message2'] = "retry";
         }
     } else {
         if (isset($_POST['email'])) {
             $data['message2'] = "retry";
         }
     }
     $this->load->view('guest/header', $data);
     $this->load->view('guest/register', $data);
     $this->load->view('guest/footer', $data);
 }
开发者ID:ihebBenSalem,项目名称:SocialNetworkingSite,代码行数:42,代码来源:guest.php

示例6: setNewGuest

 public static function setNewGuest($cookie)
 {
     $guest = new Guest(isset($cookie->id_customer) ? Guest::getFromCustomer((int) $cookie->id_customer) : null);
     $guest->userAgent();
     $guest->save();
     $cookie->id_guest = (int) $guest->id;
 }
开发者ID:toufikadfab,项目名称:PrestaShop-1.5,代码行数:7,代码来源:Guest.php

示例7: dirname

*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 1.4 $
*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/
if (!isset($_POST['token']) or !isset($_POST['type'])) {
    die;
}
include dirname(__FILE__) . '/config/config.inc.php';
if ($_POST['type'] == 'navinfo') {
    if (sha1($_POST['id_guest'] . _COOKIE_KEY_) != $_POST['token']) {
        die;
    }
    $guest = new Guest((int) $_POST['id_guest']);
    $guest->javascript = true;
    $guest->screen_resolution_x = (int) $_POST['screen_resolution_x'];
    $guest->screen_resolution_y = (int) $_POST['screen_resolution_y'];
    $guest->screen_color = (int) $_POST['screen_color'];
    $guest->sun_java = (int) $_POST['sun_java'];
    $guest->adobe_flash = (int) $_POST['adobe_flash'];
    $guest->adobe_director = (int) $_POST['adobe_director'];
    $guest->apple_quicktime = (int) $_POST['apple_quicktime'];
    $guest->real_player = (int) $_POST['real_player'];
    $guest->windows_media = (int) $_POST['windows_media'];
    $guest->update();
} elseif ($_POST['type'] == 'pagetime') {
    if (sha1($_POST['id_connections'] . $_POST['id_page'] . $_POST['time_start'] . _COOKIE_KEY_) != $_POST['token']) {
        die;
    }
开发者ID:hecbuma,项目名称:quali-fisioterapia,代码行数:31,代码来源:statistics.php

示例8: setNewGuest

 public static function setNewGuest($cookie)
 {
     $guest = new Guest(isset($cookie->id_customer) ? Guest::getFromCustomer((int) $cookie->id_customer) : null);
     $guest->userAgent();
     if ($guest->id_operating_system or $guest->id_web_browser) {
         $guest->save();
         $cookie->id_guest = (int) $guest->id;
     }
 }
开发者ID:Evil1991,项目名称:PrestaShop-1.4,代码行数:9,代码来源:Guest.php

示例9: profileRename

    /**
     * 
     * @param string : lastname
     * @param string : firstname
     * @param int : gender
     * @param string : email
     * @param string : phone number
     * @param string : language
     * @param int : timeZone
     * @param int : user id, not used
     */
    function profileRename($lastname, $firstname, $gender, $email, $phone, $language, $timeZone, $id = 0)
    {
        $link = Link::get_link('domoleaf');
        if ($gender != 1) {
            $gender = 0;
        }
        $langList = Guest::language();
        if (empty($langList[$language])) {
            $language = $this->getLanguage();
        }
        if (empty($timeZone) || !($timeZone > 0 && $timeZone < 42)) {
            $timeZone = 1;
        }
        $sql = 'UPDATE mcuser
		        SET lastname= :lastname,
		            firstname= :firstname,
		            gender= :gender,
		            mcuser_mail= :email,
		            phone= :phone,
		            language= :language,
					timezone= :timezone
		        WHERE mcuser_id=:user_id';
        $req = $link->prepare($sql);
        $req->bindValue(':lastname', $lastname, PDO::PARAM_STR);
        $req->bindValue(':firstname', $firstname, PDO::PARAM_STR);
        $req->bindValue(':gender', $gender, PDO::PARAM_INT);
        $req->bindValue(':email', $email, PDO::PARAM_STR);
        $req->bindValue(':phone', $phone, PDO::PARAM_STR);
        $req->bindValue(':language', $language, PDO::PARAM_STR);
        $req->bindValue(':timezone', $timeZone, PDO::PARAM_INT);
        $req->bindValue(':user_id', $this->getId(), PDO::PARAM_INT);
        $req->execute() or die(error_log(serialize($req->errorInfo())));
    }
开发者ID:bonion,项目名称:Domoleaf,代码行数:44,代码来源:User.class.php

示例10: Guest

*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* Show guest documents
* 
* Guest
* 
* @since 2004-06-05
* @author Christian Ehret <chris@ehret.name> 
*/
$smartyType = "www";
include_once "../includes/default.inc.php";
$auth->is_authenticated();
include_once 'guestclass.inc.php';
$guest = new Guest();
$smarty->assign("tpl_title", "Gast bearbeiten/anlegen");
if ($request->GetVar('type', 'get') == "edit") {
    $smarty->assign('tpl_nav', 'gast');
    $smarty->assign('tpl_type', 'edit');
} else {
    $smarty->assign('tpl_nav', 'showgast');
    $smarty->assign('tpl_type', 'show');
}
$smarty->assign('tpl_subnav', 'documents');
if ($request->GetVar('guestid', 'get') !== $request->undefined) {
    $guestid = $request->GetVar('guestid', 'get');
    $smarty->assign('tpl_guestid', $guestid);
    if ($request->GetVar('showall', 'get') == 'true') {
        $number = 0;
    } else {
开发者ID:BackupTheBerlios,项目名称:zvs,代码行数:31,代码来源:showguestdocuments.php

示例11: exit

        exit('Error: Wrong parameter type for albumID!');
    }
    if (isset($_POST['photoID']) && preg_match('/^[0-9]{14}$/', $_POST['photoID']) !== 1) {
        exit('Error: Wrong parameter type for photoID!');
    }
    # Function for switch statement
    if (isset($_POST['function'])) {
        $fn = $_POST['function'];
    } else {
        $fn = $_GET['function'];
    }
    if (isset($_SESSION['login']) && $_SESSION['login'] === true && (isset($_SESSION['identifier']) && $_SESSION['identifier'] === $settings['identifier'])) {
        ###
        # Admin Access
        # Full access to Lychee. Only with correct password/session.
        ###
        define('LYCHEE_ACCESS_ADMIN', true);
        $admin = new Admin($database, $plugins, $settings);
        $admin->check($fn);
    } else {
        ###
        # Guest Access
        # Access to view all public folders and photos in Lychee.
        ###
        define('LYCHEE_ACCESS_GUEST', true);
        $guest = new Guest($database, $plugins, $settings);
        $guest->check($fn);
    }
} else {
    exit('Error: Called function not found!');
}
开发者ID:waitman,项目名称:Lychee,代码行数:31,代码来源:api.php

示例12: Guest

*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* Manage guest categories
* 
* Guest
* 
* @since 2004-07-24
* @author Christian Ehret <chris@ehret.name> 
*/
$smartyType = "www";
include_once "../includes/default.inc.php";
$auth->is_authenticated();
include_once 'guestclass.inc.php';
include_once 'guestcategoryclass.inc.php';
$guest = new Guest();
$gcategory = new GuestCategory();
$smarty->assign("tpl_title", "Gast bearbeiten/anlegen");
$smarty->assign('tpl_nav', 'gast');
$smarty->assign('tpl_subnav', 'cat');
$smarty->assign('tpl_type', 'editgast');
if ($request->GetVar('guestid', 'get') !== $request->undefined) {
    $guestid = $request->GetVar('guestid', 'get');
} elseif ($request->GetVar('frm_gastid', 'post') !== $request->undefined) {
    $guestid = $request->GetVar('frm_gastid', 'post');
} else {
    // noch kein Gast angelegt
    header("Location: " . $wwwroot . "editgast.php");
    exit;
}
if ($request->GetVar('frm_changeAction', 'post') == 'add') {
开发者ID:BackupTheBerlios,项目名称:zvs,代码行数:31,代码来源:editcat.php

示例13: go

 public function go()
 {
     try {
         // select visitor type (user or guest)
         if (self::CheckSession()) {
             $visitor = new User($_SESSION['user']['name']);
         } elseif (self::checkCookies()) {
             $visitor = new User($_COOKIE['name']);
         } else {
             $visitor = new Guest();
         }
         // select action
         $action = $visitor->getAction();
         // perform action
         if ($action) {
             switch ($action) {
                 case "login":
                     if ($visitor->auth()) {
                         $visitor = new User($visitor->getName());
                         $visitor->login();
                     }
                     break;
                 case "register":
                     if ($visitor->register()) {
                         $visitor = new User($visitor->getName());
                         $visitor->login();
                     }
                     break;
                 case "logout":
                     $visitor->logout();
                     break;
                 case "delete":
                     $visitor->remove();
                     break;
             }
             $this->reload();
         }
         // show html
         if ($visitor instanceof User) {
             $this->templateVars['name'] = $visitor->getName();
             $this->templateVars['id'] = $visitor->getId();
             $this->templateVars['regdate'] = $visitor->getRegDate();
             $this->templateVars['lastvisit'] = $visitor->getLastVisit();
             $this->showTemplate('inner');
         } elseif ($visitor instanceof Guest) {
             if (isset($_SESSION['message'])) {
                 $this->templateVars['message'] = $_SESSION['message'];
                 unset($_SESSION['message']);
             }
             if (isset($_SESSION['guest']['entered_name'])) {
                 $this->templateVars['entered_name'] = $_SESSION['guest']['entered_name'];
                 unset($_SESSION['guest']['entered_name']);
             }
             $this->showTemplate('login');
         } else {
             throw new \Exception();
         }
     } catch (\Exception $e) {
         $_SESSION['message'] = $e->getMessage();
         $this->reload();
     }
 }
开发者ID:kamenskaya,项目名称:auth,代码行数:62,代码来源:Application.php

示例14: hookHeader

 /**
  * Hook Header : Add Media CSS & JS
  *
  * @param array $params list of specific data
  */
 public function hookHeader($params)
 {
     if (!isset($params['cookie']->id_guest)) {
         Guest::setNewGuest($params['cookie']);
     }
     // Check if prediggo module can be executed in this page
     if ($this->oPrediggoCallController->isPageAccessible() || $this->oPrediggoCallController->getPageName() == 'prediggo_search' || $this->oPrediggoSearchConfig->search_active) {
         Tools::addCSS($this->_path . 'css/' . $this->name . '.css', 'all');
         Tools::addJS(array($this->_path . 'js/prediggo_autocomplete.js', $this->_path . 'js/' . $this->name . '.js'));
     }
 }
开发者ID:rtajmahal,项目名称:PrestaShop-modules,代码行数:16,代码来源:prediggo.php

示例15: Guest

*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* Show guest data
* 
* Guest
* 
* @since 2004-06-05
* @author Christian Ehret <chris@ehret.name> 
*/
$smartyType = "www";
include_once "../includes/default.inc.php";
$auth->is_authenticated();
include_once 'guestclass.inc.php';
$guest = new Guest();
$smarty->assign("tpl_title", "Gast bearbeiten");
$smarty->assign('tpl_nav', 'showgast');
$smarty->assign('tpl_subnav', 'hauptgast');
$smarty->assign('tpl_type', 'showgast');
// select Countries
$smarty->assign("tpl_countries", $guest->GetCountries());
// select salutation
$smarty->assign("tpl_salutation", $guest->getSalutation());
if ($request->GetVar('edit', 'get') !== $request->undefined) {
    $smarty->assign('tpl_editmode', true);
}
if ($request->GetVar('guestid', 'get') !== $request->undefined) {
    $smarty->assign('tpl_gast', $guest->getGuest($request->GetVar('guestid', 'get')));
} elseif ($request->GetVar('frm_guestid', 'post') !== $request->undefined) {
    $guestid = $guest->saveupdateguest();
开发者ID:BackupTheBerlios,项目名称:zvs,代码行数:31,代码来源:guestdetail.php


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