Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/06/2004, 18:27
maskaos
 
Fecha de Ingreso: junio-2004
Mensajes: 7
Antigüedad: 19 años, 10 meses
Puntos: 0
Segunda parte del codigo :

<!-- DO NOT EDIT ANY CODING BELOW THIS LINE! EVERYTHING IS SET ABOVE -->
<!-- EXCEPT FOR CHATROOMS DEFINED BELOW, LOOK FOR COMMENT TAGS FOR INFO -->
<!--
<html>
<head>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Chat</title>
<meta name="description" content="Chat with all of your buddies at this chat service.">
<meta name="keywords" content="mIRC, IRC, Chat, MSN, TechGear, scripts, Airwalk">
<meta name="author" content="Reid Burke - [email protected]">
<meta http-equiv="content-language" content="en">
<meta http-equiv="Page-Exit" content=blendTrans(Duration=1.0)>
<meta name="robots" content="index,follow">
<meta name="generator" content="Microsoft Notepad">
<meta name="copyright" content="PHP2MSN Copyright © 2003 Reid Burke and Burke Computer Company. All rights reserved. Unauthorized use prohibited.">
<style>
<!--
FONT {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
TD {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
BODY {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px; BACKGROUND: #000000}
P {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
DIV {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
INPUT {
BORDER-TOP-COLOR: #9900CC;
BORDER-LEFT-COLOR: #9900CC;
BORDER-RIGHT-COLOR: #9900CC;
BORDER-BOTTOM-COLOR: #9900CC;
BORDER-TOP-WIDTH: 1px;
BORDER-LEFT-WIDTH: 1px;
FONT-SIZE: 10px;
BORDER-BOTTOM-WIDTH: 1px;
FONT-FAMILY: Verdana,Helvetica;
BORDER-RIGHT-WIDTH: 1px;
color: #9900CC;
background-color: #9900CC;
}
TEXTAREA {
BORDER-TOP-COLOR: #9900CC;
BORDER-LEFT-COLOR: #9900CC;
BORDER-RIGHT-COLOR: #9900CC;
BORDER-BOTTOM-COLOR: #9900CC;
BORDER-TOP-WIDTH: 1px;
BORDER-LEFT-WIDTH: 1px;
FONT-SIZE: 10px;
BORDER-BOTTOM-WIDTH: 1px;
FONT-FAMILY: Verdana,Helvetica;
BORDER-RIGHT-WIDTH: 1px;
background-color: #9900CC;
color: #9900CC;
}
SELECT {
BORDER-TOP-COLOR: #9900CC;
BORDER-LEFT-COLOR: #9900CC;
BORDER-RIGHT-COLOR: #9900CC;
BORDER-BOTTOM-COLOR: #9900CC;
BORDER-TOP-WIDTH: 1px;
BORDER-LEFT-WIDTH: 1px;
FONT-SIZE: 10px;
BORDER-BOTTOM-WIDTH: 1px;
FONT-FAMILY: Verdana,Helvetica;
BORDER-RIGHT-WIDTH: 1px;
background-color: #9900CC;
color: #9900CC;
}
FORM {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
A:link {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:active {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:visited {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:hover {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
body,td,th {
color: #9900CC;
}
-->
</style>
</head>
<body>
<?php
if ($logo != "NO") {
?>
<link href="http://www.hwwuk.xpire.co.uk/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
}
.style5 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
}
-->
</style>
<body bgcolor="#999999">
<span class="style4"><a href="<?php echo $homepage; ?>">
</span>
<center class="style4">
<span class="style5"><img src="<?php echo $logo; ?>" alt="<?php echo $name; ?>">
</span>
</center>
<span class="style5">
<?php
} else {
?>
</span>
<center class="style5"><a href="<?php echo $homepage; ?>"><h1>
<?php echo $name; ?></h1></a></center>
<span class="style5">
<?php
}
?>
</a>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php
if ($downwnloadocx == "YES") {

if ($room == "") {
$nexturl = "$PHP_SELF?ocxstat=loaded";
}
else {
$nexturl = "$PHP_SELF?nickname=$nick&room=$room&cat=$cat&Join =Join";
}
?>
<script language="javascript">

SetCookie("uid", "");
function SetCookie(name, value) {if (name){var never = new Date();if (value){never.setDate (31);never.setMonth (12);never.setYear (2037);}else{never.setTime(never.getTime() - 1);}
var expString = "; expires=" + never.toGMTString();document.cookie = name + "=" + escape(value) + expString + "; path=/";}}

function nextpage()
{
SetCookie("hasOCX", "9,02,0310,2401");
top.location.href = "<?php echo $nexturl; ?>";
}
</script>
</span>
<table width="100%" border=0><tr><td class="style5">
<B>We are now downloading the latest chat software provided by MSN.
</B><br><br>
If a Security Warning box like this appears, please click its <font color=#009933>
<B>Yes</B></font> button to complete the download.<br><i>
NOTE: If you click <B>No</B>, you will not be able to chat.
</i><br><br>
<font color=#009933><B>
The download is in progress.</B></font><br>
It takes approximately 2 minutes.<br>
(using a 28.8k modem)</td>
<td class="style5"><IMG src="http://chat.msn.com/en-us/images/certificate.jpg" width=206 height=140 alt="Click Yes Download MSN Chat">
<tr><td class="style5">
Click the "I See the Smiley Face" link when you see the smiley face to the right.
This will be your indication that the software has been successfully downloaded
and you are ready to begin using chat. <td class="style5"><span style="font-weight:bold"><b><span class="style5">If
you have already downloaded the software, the smiley face will appear very quickly.
</span></b><br><br>
<td class="style5"><center>
<OBJECT ID="ChatFrame"CLASSID="CLSID:F58E1CEF-A068-4c15-BA5E-587CAF3EE8C6" codebase="http://fdl.msn.com/public/chat/msnchat45.cab#Version=9,02,0310,2401" CONTROLNAME="MSNChat" WIDTH="64" HEIGHT="64" VIEWASTEXT>
<param name="ChatMode" value=3>
</OBJECT>
<br>
<A style="" href="javascript:nextpage();">I See the Smiley Face!</A><BR></center><br><br></td></tr></table>
<span class="style5">
<?php
}

if ($room != "" && $conerr == "" && $create != "true" && $dodownloadocx != "YES") {
?>
<strong>Chatting in:</strong> <?PHP echo $room; ?> <?PHP echo $cattype; ?> | <strong><a href='<?php echo "$PHP_SELF?exit=chat"; ?>'>Change Room</a></strong> | <strong><a href='<?php echo "$PHP_SELF?create=true"; ?>'>Create Room</a></strong> | <strong><a href="javascript:window.open('chatoptions.html','_ blank','toolbar=0,location=0,directories=0,status= 0,menubar=0,scrollbars=1,resizable=0,height=420,wi dth=630'); void('');">Chatroom Options</a></strong> | <strong><a href="<?php echo $homepage; ?>">Exit Chat</a></strong>
</div>
<OBJECT ID="ChatFrame" CLASSID="CLSID:F58E1CEF-A068-4c15-BA5E-587CAF3EE8C6" width="100%" standby="Loading the MSN Chat Controls..." CODEBASE="http://fdl.msn.com/public/chat/msnchat45.cab#Version=9,02,0310,2401">
<PARAM name="_cx" value="19368">
<PARAM name="_cy" value="12330">
<PARAM name="RoomName" value="<?php echo $room; ?>">
<PARAM name="NickName" value="<?php echo $nick; ?>">
<PARAM name="Server" value="<?php echo $chatserver; ?>">
<PARAM name="Category" value="<?php echo $cat; ?>">
<PARAM name="CreationModes" value="nt">
<PARAM name="BaseURL" value="<?php echo $homepage; ?>">
<PARAM name="URLBack" value='<?php echo "$PHP_SELF?exit=chat"; ?>'>
<PARAM name="ChatHome" value="<?php echo $homepage; ?>">
<PARAM name="CreateRoom" value='<?php echo "$PHP_SELF?create=true"; ?>'>
<PARAM name="WhisperContent" value="">
<PARAM name="UpSell" value="">
<PARAM name="ResDLL" value="">
<PARAM name="ButtonTextColor" value="0">
<PARAM name="ButtonBackColor" value="16350833">
<PARAM name="ButtonFrameColor" value="16750949">
<PARAM name="BackColor" value="16518264">
<PARAM name="InputBorderColor" value="13505365">
<PARAM name="BackHighlightColor" value="15159425">
<PARAM name="TopBackHighlightColor" value="16777215">
<PARAM name="MessageOfTheDay" value="<B>Welcome to the <?php echo $name; ?> chat service!</B> We do not monitor or endorse any activities on this server. Use at your own risk.
<?php
if ($cocchk == "YES" ) {
?>
Your use of this server constitutes agreement of our Code of Conduct at <?php echo $cocloc; ?>">
<?php
} else {
?>
">
<?php
}
?>
<PARAM name="AuditMessage" value="The MSN Chat Control has detected you are connecting from <B>%1</B>.[/color][/color]">
<PARAM name="ChatMode" value="<?php echo $mode; ?>">
<PARAM name="Feature" value="4">
<strong>Error:</strong> You are using a browser that does not support ActiveX. You must use Microsoft Internet Explorer to use webchat. <i>If you're on IE, the control isn't downloading or you canceled the download. <a href='<?php echo"$PHP_SELF?dosownloadocx=yes"; ?>'>Click here to retry the download process</a></i>
</OBJECT>
<!-- END GENERATED CHAT CONTROL -->
<script language="JavaScript">
function fnResize() {
iAdj = 90;
newheight=document.body.clientHeight-iAdj;if (newheight<252)newheight=252;document.all("ChatFra me").style.pixelHeight=newheight;}window.onresize= fnResize;fnResize();
</script>
<?php
}
if ($room == "" && $create != "true" && $dodownloadocx != "YES") {
?>
<br>
</span>
<center class="style5">
<h3>Welcome to the <u><?php echo $name; ?> Chat Service</u>.</h3>
<?php
if ($conerr != "") {
echo "<br><font color=red><strong>Error:</strong> $conerr</font>";
}
?>
</center>
<span class="style5"><br>
Select a room and a nickname and click Join, or <a href='<?php echo "$PHP_SELF?create=true"; ?>'>Create a New Chatroom</a>.<br>
</span>
<form action="<?php echo $PHP_SELF; ?>" method="post" name="join" class="style5">
<table border=0 bgcolor="#CCCCCC">
<tr><td bgcolor="#CCCCCC">
<p>Select Chatroom:
<td bgcolor="#CCCCCC">
<select name="room">