Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/06/2004, 18:23
maskaos
 
Fecha de Ingreso: junio-2004
Mensajes: 7
Antigüedad: 19 años, 10 meses
Puntos: 0
Necesito Ayuda porfavor

Hola , estoy haciendo una pagina de chats , y me han pasado este codigo , pero no se que tengo que hacer con el , ni como separarlo para hacer los bloques ni nada , aver si alguno me puede ayudar a separarlo ..gracias

<?php
//PHP2MSN Chat Interface
//by Airwalk
//Please read HTML comments below for copyright information.

// Enter your website's namemb_http_input("");
mb_http_output("");
// Example:
// $name = "AirwalkLogik Chat"

$name = "NetworkXu";

// Enter your chatroom server's name
// Examples:
// $chatserver = "192.168.0.1";
// $chatserver = "silentsoftlan.servebeer.com";

$chatserver = "networkxu.no-ip.com";

// Replace the website
// to your website's homepage.

$homepage = "http://www.hwwuk.xpire.co.uk";

// Do you have a logo for your chat service?
// Enturl the URL here.
// Otherwise leave at NO

$logo = "http://www.hwwuk.xpire.co.uk/images/XuChatLogo";

//Where is your Code of Conduct located?

$cocloc = "http://www.hwwuk.xpire.co.uk/XUCOC";

//Leave these variables and code alone.
$conerr = "";
$mode = "0";
$cat = "OF";
$cattype = "(<i>Unlisted</i>)";
$hasocx = "$HTTP_COOKIE_VARS[hasOCX]";
$cocokay = "$HTTP_COOKIE_VARS[cocAgree]";
if ($hasocx != "9,02,0310,2401" && $ocxchk == "yes") {
$dodownloadocx = "YES";
}
if ($createroom != "") {
$room = $createroom;
$cat = "UC";
$mode = "1";
}
if ($customroom != "") {
$room = $customroom;
$cat = "UC";
}
if ($cocokay == "" && $cocagree == "on") {
setcookie("cocAgree", "YES");
$cocokay = "YES";
}
if ($cocokay == "" && $cocchk == "YES") {
$conerr = "You must agree to our code of conduct before joining.";
}
if ($nick == "" && $room != "") {
$conerr = "You must supply a valid nickname.";
}
if ($room == "") {
$title = "Welcome";
}
if ($room != "" && $conerr == "") {
$title = "Chatroom: $room";
} else {
$title = "Welcome";
}

//You can edit the following section:

// ****ROOM CATEGORYS****

// MP == Your chatroom category ID
// MSN2PHP Rooms = Category Discription
// Example:
// if ($cat == "MP") {
// $cattype = "(<i>MSN2PHP Rooms</i>)";
// }

if ($cat == "AD") {
$cattype = "(<i>Adult</i>)";
}

// DO NOT EDIT PAST THIS LINE
if ($cat == "UC") {
$cattype = "(<i>User-Created Room</i>)";
}
if ($cat == "OF") {
$cattype = "(<i>Official Room</i>)";
}
if ($exit == "home") {
header("Location: $homepage");
}
if ($exit == "chat") {
$room == "";
$conerr == "";
}
?>


lo pongo en varias partes por que en una sola no me deja , Por favor ayudarme