本文整理汇总了PHP中settings::room_info方法的典型用法代码示例。如果您正苦于以下问题:PHP settings::room_info方法的具体用法?PHP settings::room_info怎么用?PHP settings::room_info使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类settings
的用法示例。
在下文中一共展示了settings::room_info方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
}
}
// Prevent errors
if (!isset($_GET['act'])) {
$_GET['act'] = "";
}
// We cannot allow a user to start the frameset without choosing a room
if ($_GET['act'] == "frame" && $x7c->room_name == "") {
$_GET['errore'] = "noroom";
}
// Test to see if server is running in single room mode
if ($x7c->settings['single_room_mode'] != "") {
// Set the room name
$_GET['room'] = $x7c->settings['single_room_mode'];
// Fix problems with room passwords
$x7c->room_info($_GET['room']);
// Set action to frameset
if ($_GET['act'] == "") {
$_GET['act'] = "frame";
}
}
// See if the room is password protected
if (isset($_GET['room'])) {
include_once "./sources/room_password.php";
$cookie_name = "rpw_" . $x7c->room_data['id'];
// See if a cookie password is set
if (!isset($_COOKIE[$cookie_name])) {
$_COOKIE[$cookie_name] = "";
}
// See if the password form was filled out
if (isset($_POST['room_pw'])) {