1
Proyectos y búsqueda de equipos / Re:Proyecto página sobre PlayStation3
« en: 18 de Agosto de 2012, 06:54:20 am »
Amigo Yo Te Podria Ayudar Con EL Diseño Del Logo y En Otras Cosas Enviame Un Mensaje Privado y hablamos =D

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.
Eso, es que han/has modificado el archivo show_news.php y te lanza problema. Te recomiendo que lo desacrgues denuevo y lo descomprimas bien.
Deprecated: Function eregi() is deprecated in /data/multiserv/users/525462/projects/1291070/www/vb/cutenews/inc/functions.inc.php on line 289
Deprecated: Function eregi() is deprecated in /data/multiserv/users/525462/projects/1291070/www/vb/cutenews/inc/functions.inc.php on line 289
Warning: Cannot modify header information - headers already sent by (output started at /data/multiserv/users/525462/projects/1291070/www/vb/cutenews/inc/functions.inc.php:289) in /data/multiserv/users/525462/projects/1291070/www/vb/cutenews/index.php on line 90
Warning: Cannot modify header information - headers already sent by (output started at /data/multiserv/users/525462/projects/1291070/www/vb/cutenews/inc/functions.inc.php:289) in /data/multiserv/users/525462/projects/1291070/www/vb/cutenews/index.php on line 96
Warning: Cannot modify header information - headers already sent by (output started at /data/multiserv/users/525462/projects/1291070/www/vb/cutenews/inc/functions.inc.php:289) in /data/multiserv/users/525462/projects/1291070/www/vb/cutenews/index.php on line 97
Deprecated: Function eregi() is deprecated in /data/multiserv/users/525462/projects/1291070/www/vb/cutenews/index.php on line 241
<style type="text/css">
<!--
a {
font-size: 10px;
color: #000000;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
body {
margin-top: 0px;
}
.Estilo3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
.Estilo6 {font-size: 12px}
-->
</style>
<table width="454" border="0" cellspacing="0">
<tr>
<td width="454" height="40" background="http://desmond.imageshack.us/Himg838/scaled.php?server=838&filename=48687241.png&res=medium" class="Estilo3"><div align="left">{title}</div>
<div align="right">{category-icon}</div></td>
</tr>
<tr>
<td width="454" height="22" background="http://desmond.imageshack.us/Himg155/scaled.php?server=155&filename=mediop.png&res=medium"><div align="center" class="Estilo3">{full-story}</div></td>
</tr>
<tr>
<td width="454" height="18" background="http://desmond.imageshack.us/Himg847/scaled.php?server=847&filename=abajo.png&res=medium"><div align="center"><span class="Estilo6"> <img src="http://habboemotion.com/resources/images/icons/new_06.gif" width="17" height="15">Autor:{author-name} <img src="http://habboemotion.com/resources/images/icons/v20_6.gif" width="19" height="16">Fecha:<strong>{date}</strong> <img src="http://habboemotion.com/resources/images/icons/v20_1.gif" width="16" height="17">Comentarios:{comments-num} </span></div></td>
</tr>
</table>
<style type="text/css">
<!--
a {
font-size: 10px;
color: #000000;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
body {
margin-top: 0px;
}
.Estilo3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
.Estilo6 {font-size: 12px}
-->
</style>
<table width="454" border="0" cellspacing="0">
<tr>
<td width="454" height="40" background="http://desmond.imageshack.us/Himg838/scaled.php?server=838&filename=48687241.png&res=medium" class="Estilo3"><div align="left">{title}</div>
</td>
</tr>
<tr>
<td width="454" height="22" background="http://desmond.imageshack.us/Himg155/scaled.php?server=155&filename=mediop.png&res=medium"><div align="center" class="Estilo3">{full-story}</div></td>
</tr>
<tr>
<td width="454" height="18" background="http://desmond.imageshack.us/Himg847/scaled.php?server=847&filename=abajo.png&res=medium"><div align="center"><span class="Estilo6"> <img src="http://habboemotion.com/resources/images/icons/new_06.gif" width="17" height="15">Autor:{author-name} <img src="http://habboemotion.com/resources/images/icons/v20_6.gif" width="19" height="16">Fecha:<strong>{date}</strong> <img src="http://habboemotion.com/resources/images/icons/v20_1.gif" width="16" height="17">Comentarios:{comments-num} </span></div></td>
</tr>
</table>
Es cuestion de crear un formulario con HTML y luego procesarlo en PHP... la función que buscas se llama mail();
Saludos!
<!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=iso-8859-1" />
<title>Documento sin título</title>
<style type="text/css">
<!--
body {
margin-top: 0px;
}
-->
</style></head>
<body>
<table width="39%" border="1" align="center" cellpadding="5" cellspacing="2" bordercolor="#0066FF">
<tr bgcolor="#71B8FF">
<td><div align="center">Noticias</div></td>
</tr>
<tr><td align="left" valign="top">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><?php
mysql_connect("mysql.webcindario.com","nueva_noticias");
mysql_select_db('nueva_noticias');
$re=mysql_query('select * from noticias order by id desc limit 0 ,3 ');
while($f=mysql_fetch_array($re)){
echo '<tr>'.$f['fecha'].'</td><br />';
echo '<tr><a href="noticia.php?id='.$f['id'].'">'.$f['titulo'].'</a></td></tr><br /><br />';
}
echo'<a href="todas.php">mas noticias</a>';
?></td>
</tr>
</table></td>
</tr>
</table>
<div align="center"></div>
</body>
</html>
<table width="50%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php
mysql_connect("mysql.webcindario.com","nueva_noticias");
mysql_select_db('nueva_noticias');
$re=mysql_query('select * from noticias where id ="'.$_GET['id'].'" ');
while($f=mysql_fetch_array($re)){
echo '<tr>'.$f['fecha'].'</td><br />';
echo '<tr>'.$f['titulo'].'</td></tr><br /><br />';
echo '<tr>'.$f['noticia'].'</td></tr><br /><br />';
}
?>
</td>
</tr>
</table>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>mis noticias</title>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script src="ckeditor/_samples/sample.js" type="text/javascript"></script>
<link href="ckeditor/_samples/sample.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- This <fieldset> holds the HTML that you will usually find in your
pages. -->
<form action="sistnoticias.php" method="post">
<p>
<label for="editor1">Sistemas de noticia </label>
</p>
<p>
<label>
titulo
<input name="titulo" type="text" id="titulo" />
</label>
<br/>
<textarea cols="80" id="editor1" name="editor1" rows="10"></textarea>
<script type="text/javascript">
//<![CDATA[
// This call can be placed at any point after the
// <textarea>, or inside a <head><script> in a
// window.onload event handler.
// Replace the <textarea id="editor"> with an CKEditor
// instance, using default configurations.
CKEDITOR.replace( 'editor1' );
//]]>
</script>
</p>
<p>
<label for="editor2"></label><input type="submit" value="Publicar"/>
<a href="mipagina.php">ver noticia </a></p>
</form>
<?php
$noticia = $_POST['editor1'];
$fecha=date('y-m-d');
$titulo=$_POST['titulo'];
if($noticia!="" and $titulo!=""){
mysql_connect("mysql.webcindario.com","nueva_noticias");
mysql_select_db('nueva_noticias');
mysql_query("insert into noticias(titulo,fecha,noticia) values('$titulo','$fecha','$noticia')");
}
?>
<div id="footer"></div>
</body>
</html>
<table width="50%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php
mysql_connect("mysql.webcindario.com","nueva_noticias");
mysql_select_db('nueva_noticias');
$re=mysql_query('select * from noticias order by id desc ');
while($f=mysql_fetch_array($re)){
echo '<tr>'.$f['fecha'].'</td><br />';
echo '<tr><a href="noticia.php?id='.$f['id'].'">'.$f['titulo'].'</a></td></tr><br /><br />';
}
?>
</td>
</tr>
</table>