Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Mensajes - felipon12@ha

Páginas: 1 2 [3] 4 5 ... 7
31
Aplicaciones Pre-Fabricadas / Poblema de posicion de imagen en cutenews
« en: 19 de Julio de 2010, 21:46:45 pm »
Bueno he creado una simple por asi decir ''plantilla'' para el cutenews pero yo le agrege una flecha y al escribir mas de una noticia la flecha no sale en las otras notis, solo en la primera miren una imagen:



no se si es porque necesitara un div float o no se y miren aqui dejo el codigo para haber si me ayudan:

Código: [Seleccionar]
<style type="text/css">
<!--
.Estilo1 {font-family: Verdana, Arial, Helvetica, sans-serif}
.Estilo2 {font-size: 12px}
.Estilo3 {
color: #E2C05A;
font-weight: bold;
}
.Estilo4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
}
.Estilo5 {color: #FF0000}
.Estilo6 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;
}
#Layer5 {
        float:right;
        widht: 56px;
position:absolute;
left:330px;
top:27px;
width:54px;
height:20px;
z-index:5;
}
-->
</style>
</head>
<table width="165" border="0" cellspacing="0" cellpadding="0" onmouseover=this.style.background="#F2F2F2" onmouseout=this.style.background="#FFFFFF">

<div style="width: 50%; float: left;">
<table style="width: 100%;">
<tr><td class="highLightCel" style="width: 45px; height: 45px; text-align: center;"><img src="http://fullhabbo.net/images/icon.PNG"></td><td class="highLightCel" style="height: 30px; padding-left: 5px;"><div class="Estilo2 Estilo1 Estilo3" style="color:#E2C05A;">{title}</div><div class="Estilo2 Estilo1">{short-story}</div><div class="Estilo2 Estilo1">Escrito el {date}</div>[link]<div id="Layer5"><img src="http://fullhabbo.net/images/icon_mas.PNG" border="0" alt="mas" width="56" height="34" /></div>[/link]</td></tr>
</div>

32
Minichat o MC / Re:Como poner un BOT en minichat
« en: 08 de Junio de 2010, 22:15:23 pm »
Aver, para aclarar dudas no me quiero llevar mal con nadie caobita y soyjoaquin no es mi intencion copiarles y no me surgio la idea justo cuando abriera su web , enserio no les copiaria.

eso de fullhabbo.net/web esa programacion me la pasaron sin yo saber que era de habbotalk , me dijieron que me iba a ayudar porque queria crear un minichat pero como vi que era una web antigua lo elimine.

y nada que ver que le copiemos los afiliados si a nostros esas webs nos pidieron afiliarnos y algunas pocas nosotros les pedimos.

Asi que porfavor no quiero llevarme mal con nadie y enserio no le he querido copiar a nadie.

33
Minichat o MC / Como poner un BOT en minichat
« en: 07 de Junio de 2010, 23:33:36 pm »
he visto en algunos mcs que ponen un bot que cuando alguien se pone una placa avisa, y al borarr los mensajes igual, quisiera saber como puedo incorporar un bot y ponerle la palca que quiera y  personalizarlo

34
Aplicaciones Pre-Fabricadas / No puedo logearme en mi foro Mybb
« en: 22 de Mayo de 2010, 06:01:23 am »
instale todo bien mi foro mybb pero al logearme sale, has inciado sesion, seras redirigido, y sigue sin entrar , no se si tenga que ver con los cookies o no se pero ayudenme porfavor
se supone que cree un subdominio de mi dominio y al logearme en el subdominio no se logea pero al registrarse en el dominio iendo a la carpeta si se logea

35
Aplicaciones Pre-Fabricadas / [AYUDA] Plantilla Cutenews
« en: 22 de Mayo de 2010, 05:56:43 am »
he creado mi plantilla pero me ha quedado con errores miren se ve asi:



y quiero que se vea asi:



si alguien puede ayudarme o corregir el codigo le agradeceria.

Codigo active news:
Código: [Seleccionar]
<style type="text/css">
<!--
.Estilo1 {font-family: Verdana, Arial, Helvetica, sans-serif}
.Estilo2 {font-size: 10px}
.Estilo3 {
color: #FFFFFF;
font-weight: bold;
}
.Estilo4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
}
.Estilo5 {color: #FF0000}
.Estilo6 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
-->
</style>
</head>

<body>
<table width="498" height="83" border="0">
  <tr>
    <td width="493" height="83" background="http://fullhabbo.net/images/header_activenews.PNG"><table width="324" border="0">
      <tr>
        <th width="129" rowspan="3" scope="col">{avatar}</th>
        <th width="185" align="left" scope="col">{title}</th>
      </tr>
      <tr>
        <td>{short-story}</td>
      </tr>
      <tr>
        <td>{author-name}</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="middle" background="http://fullhabbo.net/images/middle_activenews.PNG">{full-story}</td>
  </tr>
  <tr>
    <td background="http://fullhabbo.net/images/down_activenews.PNG">&nbsp;</td>
  </tr>
</table>
<p>&nbsp;</p>

</body>

36
PHP / Re:[¿AYUDAITA?] Formulario
« en: 11 de Mayo de 2010, 04:15:24 am »
una cosa...¿creaste un archivo para procesar y enviar los datos del formulario a tu email? osea un procesar.php.

Cuando lo crees pon un link en tu enviar que se vaya al procesar.php

37
PHP / Re:[Aporte] Pequeño "script".
« en: 11 de Mayo de 2010, 04:12:50 am »
no puedo descargarlo sale error de pagina

38
PHP / Re:problema de posiciones con login.php
« en: 08 de Mayo de 2010, 05:13:07 am »
gracias gerald ya solucione problema :D

39
PHP / problema de posiciones con login.php
« en: 07 de Mayo de 2010, 23:24:55 pm »
Bueno no se que pasa que se ve el texto de usuario y contraseña junto y no donde yo quiero miren asi se ve:



lo que quiero es que ''Nombre de usuario'' se vea arriba de donde se inserta el nombre y ''Contraseña'' arriba de donde se escribe la contraseña y el que dice ''Logeate/Registrate para enviar mensajes'' se vea arriba de todo

Aqui esta el codigo del index aver si pueden ayudarme

Código: [Seleccionar]
<?
// Comprobamos si el archivo indispensable para le funcionamiento este presente
if(!file_exists("conectar.php")){
echo"<body><title>
Error: archivo conectar inexistente!!</title><b><font size=3> El Archivo conectar.php no existe!!</font></b><br><br><h1><font face=verdana>Sin ese archivo dificilmente vas a poder usar el minichat &#65533;, arreglalo! xD</font></h1></body>";
} else {
// Comprobamos si el instalador esta presente en la carpeta
if(file_exists("instalador.php")){
echo"<body><title>
Error: debes borrar el archivo instalar.php!!</title><b><font size=3> Para poder usar el minichat debes borrar el archivo instalador.php!!</font></b><br><br>
<h1><font face=verdana>Mas facil no puede ser, BORRA EL ARCHIVO instalador.php ;)</font></h1></body>";
} else {
session_start();
session_cache_limiter('nocache,private');

include("configtag.php");
include("lanzaralerta.php");
include("lanzaralertageneral.php");
include("colores.php");
include("funciones.php");
include("language/lang-".$langactual.".php");
// Panel del usuario v1 by: RamFu
// Chekamos DB
$check = mysql_query("SELECT * from `usuarios` where nick='".$_SESSION['nnick']."'");
$user = mysql_fetch_array($check);

// Variables
$nombre = $_SESSION['nnick'];
$habboname = $user['habbo'];
$pixels = $user['pixeles'];
$fichas = $user['cantidad'];
$rango = $user['rol'];
$mensajes = $user['mensajes'];
$hotel = $user['hotel'];

// Placas
$qbadge = mysql_query("SELECT * FROM `placas` WHERE user = '".$nombre."' and puesta=1");
$respre = mysql_fetch_array($qbadge);
if ($respre['user'] == $nombre) {
$mybadge = $respre['placa'];
} else {
$plakae = "placas/".$user['rol'].".gif";
$mybadge = $plakae;
}
?>

<? if ($activarMant == "off") { ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="Minichat v<?=$version; ?>">
<meta name="Author" content="RamFu">
<meta name="Generator" content="Minichat v<?=$version; ?>">
<title>Minichat v<?=$version; ?></title>
<link REL="STYLESHEET" HREF="style.css" TYPE="text/css">
<link href="css/general.css" rel="stylesheet" type="text/css" />

<script language="javascript">
<? include("funciones.js"); ?>
function catalogo(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=980,height=990,left = 500,top = 500');");
}
function registro(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=230,height=260,left = 152,top = 134');");
}
function badges(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=230,height=200,left = 152,top = 134');");
}
function guias(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=230,height=260,left = 152,top = 134');");
}
function ayuda(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,menubar=0,resizable=0,width=307,height=263,left = 152,top = 134');");
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
</script>
<style type="text/css">
.CampoTexto {
   font-size: 10px;
   font-family: verdana;
   border: 1px solid <? echo $bordecampo; ?>;
   background: <? echo $fondocampo; ?>;

}
#caja1 {
margin:0px;
padding:0px;
width:161px;
height:auto;
}
#caja2 {
margin:0px;
padding:0px;
width:161px;
height:auto;
background-image:url(img/vip_middle.png);
background-repeat:repeat;
}
.Texto {
   font-family: verdana;
   font-size: 10px;
   font-weight: normal;
   color: <?=$colortexto; ?>;
}

.toolbar{
background-image:url(menu_new/back.png);
border:#37798A SOLID 1PX;
}
body {
background-image: url();
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.lithiumboton {
border:1px solid #CCC;
margin:2px;
padding:2px;
font-family:Verdana, Geneva, sans-serif;
font-size:11px;
border-radius:3px;
-ms-border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
-khtml-border-radius:3px;
}

.buttonv3 {
BORDER-RIGHT: #37798A 2px solid; BORDER-TOP: #37798A 2px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #37798A 2px solid; CURSOR: pointer; COLOR: #37798A; BORDER-BOTTOM: #37798A 4px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #E0EFF3; border-radius: 4px; moz-border-radius: 4px
}
.buttonv31 { BORDER-RIGHT: #37798A 2px solid; BORDER-TOP: #37798A 2px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #37798A 2px solid; CURSOR: pointer; COLOR: #37798A; BORDER-BOTTOM: #37798A 4px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #E0EFF3; border-radius: 4px; moz-border-radius: 4px
}
.Estilo17 {font-size: 12}
.Estilo5 {font-size: 9}
.buttonv32 { BORDER-RIGHT: #37798A 2px solid; BORDER-TOP: #37798A 2px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #37798A 2px solid; CURSOR: pointer; COLOR: #37798A; BORDER-BOTTOM: #37798A 4px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #E0EFF3; border-radius: 4px; moz-border-radius: 4px
}
.Estilo19 {
font-size: 12px;
font-weight: bold;
}
.Estilo20 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
}
</style>
</head>
<body style="background-color: transparent">
<span class="Estilo5">
<?php
if (isset($_SESSION[&#39;nnick&#39;])) {
?>

</span>
<table width="200" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="119" valign="top"><table width="208" height="129" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="right" width="68" height="129" valign="top"><span class="Estilo5"><img src="http://www.habbo.es/habbo-imaging/avatarimage?user=<?php echo $habboname?>&action=wav&direction=3&head_direction=3&img_format=gif&gesture=sml" width="64" height="110"></span></td>
        <td width="140" valign="top"><table width="132" height="105" border="0" cellpadding="0" cellspacing="0">
          <div id="Box_center" style="padding-bottom:3px;" align="left"><img src="images/icons/new_01.gif" width="15" height="16" /><a href="account-messages.php" target="main"> <strong>Mis mensajes</strong></a></div>
<div id="Box_center" style="padding-bottom:3px;" align="left"><img src="images/icons/new_05.gif" width="16" height="16" /><a href="account-badges.php" target="main"> <strong>Mis placas</strong></a></div>
<div id="Box_center" style="padding-bottom:3px;" align="left"><img src="images/icons/new_04.gif" width="16" height="14" /><a href="account-money.php" target="main"> <strong>Monedero</strong></a></div>
<div id="Box_center" style="padding-bottom:3px;" align="left"><img src="images/icons/new_11.gif" width="15" height="15" /><a href="account-nick.php" target="main"> <strong>Mi nick y Subnick</strong></a></div>
<div id="Box_center" style="padding-bottom:3px;" align="left"><img src="images/icons/new_03.gif" width="15" height="16" /> <a href="account-club.php" target="main"> <strong>Talk Club</strong></a></div>
<div id="Box_center" style="padding-bottom:3px;" align="left"><img src="images/icons/my_5.gif" width="16" height="16" /><a href="account-dates.php" target="main"> <strong>Mis datos</strong></a></div>
<div id="Box_center" style="padding-bottom:3px;" align="left"><img src="images/icons/new_15.gif" width="15" height="16" /><a href="exit.php"> <strong>Desconectar</strong></a></div>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<span class="Estilo5">
<?php
} else {?>

</span>
<table width="187" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
   
  </tr>
</table>
<span class="Estilo5"></span>
<form action="procesar2.php?<? echo session_name()."=".session_id() ?>" method="post" name="tag" id="tag" onSubmit="return enviado()">
  <div align="center"><span class="Estilo17">
    <?
include ("main.php");
if ($_GET['mostrar'] == "tag.php") {
?>
    <?

if (isset($_SESSION['nnick'])) {
 echo _WELLCOME." <b>".$_SESSION['nnick']."";
 echo "</b> <a href=\"exit.php\" class=\"EnlaceMenu\">"._LOGOUT."</a>&nbsp;";
 if (isset($_SESSION['nnick'])){
 $nick = $_SESSION['nnick'];
   }
 else if (isset($_POST['nick'])) {
      echo "</b> <a href=\"exit.php\" class=\"EnlaceMenu\">"._LOGOUT."</a>&nbsp;";
       }
 } else {

if ($activarReg == "on")
$size = "17";
else
$size = "30";

if (!isset($_GET['n']) || $_GET['n'] == "")
$nick =_NICKNAME;
else
$nick = $_GET['n'];

?>
    <? } ?>
    <? if ($activarReg == "on") { ?>
    <? } ?>
    <br>
    </span>
    <table width="200" border="0" cellspacing="0" cellpadding="0">
      <tr>
      <td align="center"><a href="login.php" target="">Logeate</a>/<a href="catalogo/index.php" target="">Registrate</a> para enviar mensajes</td>     
        <td align="center" class="Estilo20"></td>
      </tr>
      <tr>
      <img src="http://img266.imageshack.us/img266/2909/new19.gif"> Nombre de Usuario
        <td align="center"><span class="Estilo17">
          <input name="nick" class="lithiumboton" id="nick" style="text-align:center" onFocus="this.value=(this.value=='<?=$nick; ?>') ? '' : this.value;"
onBlur="this.value=(this.value=='') ? '<?=$nick; ?>' : this.value;" value="<?=$nick; ?>" size="19" maxlength="<? echo $maxNick; ?>" />
        </span></td>
      </tr>
      <tr>
        <td align="center"><span class="Estilo20"></span></td>
      </tr>
      <tr>
      <img src="http://img59.imageshack.us/img59/9835/new16gif.png"> Contraseña
        <td align="center"><span class="Estilo17"><strong>
          <input name="clave" type="password" class="lithiumboton" id="clave" style="text-align:center"  onFocus="this.value=(this.value=='<?=_PASSWORD; ?>') ? '' : this.value;"
onBlur="this.value=(this.value=='') ? '<?=_PASSWORD; ?>' : this.value;" value="<?=_PASSWORD; ?>" size="19" maxlength="10" />
        </strong></span></td>
      </tr>
      <tr>
        <td height="31" align="center"><input name="enviar" type="submit" class="lithiumboton" id="enviar" value="Entrar"></td>
      </tr>
    </table>
<a href="catalogo/index.php" target='_blank' class="Estilo20">Registrate</a>
    <?
} else {
?>
    <? include($_GET['mostrar']); ?>
    <?php
  if (isset(
$_SESSION[&#39;nnick&#39;])) {
  } else {
  ?>

    <?php
  }
  if (isset($_SESSION[&#39;nnick&#39;])) {
  } else {
  }
  ?>

    <? } ?>
  </div>
</form>
<? } ?>
</body>
</html>
<? } else { ?>
<? include ("maintenmance.php");?>
<? } } } ?>
<? if ($raton == "off") {?>

<script language="Javascript">
var vie=
parseFloat(navigator.appVersion.slice(navigator.appVersion.indexOf("MSIE")+4,navigator.appVersion.length));
function sinmenu()
{
event.cancelBubble = true;
event.returnValue = false;
return false;
}
function noclicderecho(e)
{
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false;
else
if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3))
{
if (vie < 5) // -- para el IE4 -- \\
{
alert('Puedes personalizar este mensaje');
return false;
}
else
if (vie >= 5) // -- para el IE5 -- \\
{
document.oncontextmenu = sinmenu;
return false;
}
}
return true;
}
document.onmousedown=noclicderecho;

// -- Desabilita el clic derecho en las capas (layers) -- \\

if (document.layers)window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=noclicderecho;
</script>
<!--webbot bot="HTMLMarkup" endspan --><!--webbot bot="HTMLMarkup" startspan --><script language="JavaScript">
<!--

   function event_false() {
         window.event.returnValue = false
   }

document.onselectstart = event_false

//-->
</script>
<!--webbot bot="HTMLMarkup" endspan -->
<? } ?>

40
Aplicaciones Pre-Fabricadas / problema con opciones de login.php
« en: 05 de Mayo de 2010, 00:52:27 am »
bueno son muchas dudas pero ire de a poco la primera es que:

Cambiar nick y subnick
-Tengo una opcion de cambiar tu subnick y poner tu nick de colores, me sale todo y esta todo bien menos que al poner 'guardar cambios' es como que no reconoce a ningun usuario y no se hacen los cambios en el nick o subnick , aqui les dejo el codigo:

Código: [Seleccionar]
<?
session_start();
 ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<link href="css/general.css" rel="stylesheet" type="text/css" />
<link href="css/botones.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="459" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="458" height="24" background="images/boxes/bigbox_orange.png"><div class="LetraBlanca" id="Div_Big_Box_Izq" align="left"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="31" align="center" class="Estilo1"><img src="images/icons/new_11.gif" width="15" height="15" /></td>
                                <td width="313" class="LetraBlanca"><strong>iColor de mi nick!</strong></td>
          </tr>
                              </table></div></td>
  </tr>
  <tr>
    <td background="images/boxes/bigbox_middle.png"><div id="Div_Big_Content" align="left">
<?
include("conectar.php");
if(isset($_POST['OK'])) {
function limpiar($d) {
$d = trim($d);
$d = htmlspecialchars($d);
}
$colornick = $_POST['Color'];
$user = $_SESSION['nick'];
$query = mysql_query("SELECT * FROM usuarios WHERE nick='$user'");
$array = mysql_fetch_array($query);
$precio = "5";
if($array[creditos] >= $precio) {
$restar = $array['creditos'] - $precio;
mysql_query("UPDATE `usuarios` SET `colornick` = '$colornick' WHERE nick = '$user'");
mysql_query("UPDATE `usuarios` SET `creditos` = '$restar' WHERE nick = '$user'");
print('Tu color de nick se ha actualizado correctamente');
}else{
print('No tienes creditos suficientes');
}
}else{
?>
<form action="<?=$PHP_SELF;?>" method="post">
    Cabia de tu nick de los colores que quieras.
    Actualizar esto  tiene un valor de <strong>5 coins</strong>.<br />
    <br />
    <center>
<select class="Boton" name="Color" id="Color">
<option value="#000000" selected="selected">Negro</option>
<option value="#00FF2C">Verde</option>
<option value="#008316">Verde intenso</option>
<option value="#F9FF00">Amarillo</option>
<option value="#8C007A">Morado</option>
<option value="#FF8A00">Naranja</option>
<option value="#A9A9A8">Gris</option>
<option value="#41403D">Gris oscuro</option>
<option value="#FF0000">Rojo</option>
<option value="#FF00DF" >Rosa</option>
<option value="#7E4C09">Marron</option>
<option value="#0043FF">Azul</option>
<option value="#050383">Azul intenso</option>
<option value="#00DCC5">Azul-Verde</option>
</select
      ><label>
       &nbsp; <a class="new-button" style="float:right;"><b><input name="OK" id="save" value="Cambiar Color" class="button-b" type="submit"></b><i></i></a>
      </label>
    </center>
    </form>
    <? } ?>
    </div></td>
  </tr>
  <tr>
    <td><img src="images/boxes/bigbox_bottom.png" width="459" height="1" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="459" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="458" height="24" background="images/boxes/bigbox_orange.png"><div class="LetraBlanca" id="Div_Big_Box_Izq" align="left"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="31" align="center" class="Estilo1"><img src="images/icons/new_11.gif" width="15" height="15" /></td>
                                <td width="313" class="LetraBlanca"><strong>iColor de mi nick!</strong></td>
          </tr>
                              </table></div></td>
  </tr>
  <tr>
    <td background="images/boxes/bigbox_middle.png"><div id="Div_Big_Content" align="left">
<?
include("conectar.php");
$n = $_SESSION['nick'];
$q = mysql_query("SELECT * FROM usuarios WHERE nick='$n'");
$a = mysql_fetch_array($q);
if(isset($_POST['OK2'])) {
function limpiar($d) {
$d = trim($d);
$d = htmlspecialchars($d);
}
$subnick = $_POST['Subnick'];
if(strlen($subnick) > 50) {
print('El Subnick no puede tener mas de 30 caracteres');
}else{
mysql_query("UPDATE `usuarios` SET `subnick` = '$subnick' WHERE nick = '$n'");
print('Tu Subnick es:<br>'.$subnick);
}
}else{
?>
    <form action="<?=$PHP_SELF;?>" method="post">
      Aqui pudes cambiar tu subick, pon alguna frase divetida o algo que te represente. No puede ser algo ofensivo<br />
      Actualiza tu <strong>Subnick</strong> desde aqui <strong>gratuitamente.<br />
      </strong><br />
    <center>
      <label>
        <input name="Subnick" type="text" class="Boton" id="textfield" value="<?=$a[subnick];?>" size="40" maxlength="50" />
</label>
<label>
       &nbsp; <br />
       <br />
       <a class="new-button" style="float:right;"><b><input name="OK2" id="save" value="Cambiar Subnick" class="button-b" type="submit"></b><i></i></a>
      </label>
    </center>
    </form>
    <? } ?>
    </div></td>
  </tr>
  <tr>
    <td><img src="images/boxes/bigbox_bottom.png" width="459" height="1" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

Tengo mas dudas pero a medida que se resuelva una ire agragando las otras

41
PHP / Re:agregar templates a un sistema de noticias
« en: 04 de Mayo de 2010, 00:05:21 am »
gerald no es cutenews es uno creado por naveda y marco aqui esta el link

http://www.phperos.net/foro/index.php/topic,142.0.html

42
PHP / Re:agregar templates a un sistema de noticias
« en: 03 de Mayo de 2010, 23:13:45 pm »
es el sistema de noticias de naveda

43
PHP / agregar templates a un sistema de noticias
« en: 01 de Mayo de 2010, 22:38:00 pm »
Hola, tengo un sistema de noticias que lo encontre aqui en phperos y me funciona pero no se como agregar para cambiar los templates de las noticias y comentarios, osea para ponerlos a mi estilo

si alguien sabe que hacer o poner algun archivo posteelo porfavor :D

44
PHP / Re:problema con enviar.php formulario
« en: 22 de Abril de 2010, 23:28:21 pm »
grax siquillote aora me funciono

45
PHP / problema con enviar.php formulario
« en: 22 de Abril de 2010, 00:01:50 am »
hola, miren hize un formulario y al enviarlo me sale este codigo

Código: [Seleccionar]
< ?php $nombre = $_POST['textfield']; $mail = $_POST['textfield2']; $asunto = $_POST['select']; $header = 'From: ' . $mail . " \r\n"; $header .= "X-Mailer: PHP/" . phpversion() . " \r\n"; $header .= "Mime-Version: 1.0 \r\n"; $header .= "Content-Type: text/plain"; $mensaje = "Este mensaje fue enviado por " . $nombre . ", con el asunto " . $asunto. " \r\n"; $mensaje .= "Su e-mail es: " . $mail . " \r\n"; $mensaje .= "Mensaje: " . $_POST['textarea'] . " \r\n"; $mensaje .= "Enviado el " . date('d/m/Y', time()); $para = 'info@fullhabbo.net'; $asunto = 'Contacto desde Taller Webmaster'; mail($para, $asunto, utf8_decode($mensaje), $header); echo '&estatus=ok&'; ?>
y no me envia a mi correo como lo arreglo?

Páginas: 1 2 [3] 4 5 ... 7