Ver Mensaje Individual
  #5 (permalink)  
Antiguo 14/05/2011, 21:56
federico20102010
 
Fecha de Ingreso: mayo-2011
Ubicación: Rosario
Mensajes: 65
Antigüedad: 13 años, 6 meses
Puntos: 0
Respuesta: Problema con simbolos

Edito, el codigo de codificacion que vos me pasaste donde iria ?

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <?php
  3.  
  4. include 'fonctions.php';
  5.  
  6. ?>
  7.  
  8. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/">
  9.  
  10. <?PHP
  11. if($_GET['id']){
  12.         $select = mysql_query("SELECT * FROM `likes` WHERE `id`='$_GET[id]' LIMIT 1");
  13.         $count = mysql_num_rows($select);
  14.         $fetch = mysql_fetch_array($select);
  15.             $count = $fetch[numLikes] + 1;
  16.             $valm = $_GET[id] - 1;
  17.             $valp = $_GET[id] + 1;
  18.             mysql_query("UPDATE `likes` SET `numLikes`='$count' WHERE `id`='$_GET[id]'");
  19. echo '<title>'.$fetch[title].'</title>';
  20. echo '<meta property="og:title" content="'.$fetch[title].'"/>';
  21.  }else{
  22.    
  23.     if($_GET['imageid']){
  24.         $select = mysql_query("SELECT * FROM `images` WHERE `id`='$_GET[imageid]' LIMIT 1");
  25.         $count = mysql_num_rows($select);
  26.         $fetch = mysql_fetch_array($select);
  27.             $count = $fetch[numLikes] + 1;
  28.             $valm = $_GET[id] - 1;
  29.             $valp = $_GET[id] + 1;
  30.             mysql_query("UPDATE `images` SET `numLikes`='$count' WHERE `id`='$_GET[imageid]'");
  31. echo '<title>'.$fetch[description].'</title>';
  32. echo '<meta property="og:title" content="'.$fetch[description].'"/>';
  33. } else {
  34. echo "<title>Welcome to $name</title>"; }
  35.  
  36. ?>
  37. <? } ?>
  38. <meta property="og:site_name" content="LikePortal.info &#x2665;"/>
  39. <meta name="description" content="Welcome to LikePortal. Want to share anything with your Friends on Facebook? We have this site for you. Come Share the Likes. We also have Many Top liked, Proverbs, Funny Quotes to be Liked." />
  40. <meta name="keywords" content="like on facebook, facebook sites, likefb, likeylike, likeportal, facebook like, fblike, like things on facebook, like my things, like, like my views, facebooked likes, thefacebook, google, like on facebook, social website"/>
  41. <meta http-equiv="Content-Type" content="text/html; charset="<?php echo $encoding ?>">
  42. <link rel="stylesheet" href="/files/stylesheet.css" type="text/css">
  43. <link rel="shortcut icon" href="favicon.png" type="image/x-icon">
  44. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  45. <meta property="og:site_name" content="Tumejorfrase &#x2665;"/>
  46. <?php   if($_GET['imageid']){
  47. echo '<meta property="og:image" content="'.$website.'/upload/'.$fetch[url].'"/>
  48. <link rel="'.$website.'/upload/'.$fetch[url].'" href="thumbnail_image" />';
  49.  } else {
  50. echo'<meta property="og:image" content="'.$website.'/images/likebutton.png"/>
  51. <link rel="/images/likebutton.png" href="thumbnail_image" />'; } ?>
  52.  
  53. <SCRIPT LANGUAGE="JavaScript" SRC="files/tabs.js">
  54. </head>
  55.  
  56. <body onload="init()">
  57. <?php echo' <!-- Top Bar -->
  58.             <div id="navigate_wrapper">
  59.             <div id="nav">
  60.                 <ul>
  61.                 <li><a href="'.$website.'/index.php">'.$name.': '.$home.'</a></li>
  62.                 <li><a href="'.$website.'/popular.php">'.$popular.'</a></li>
  63.                 <li><a href="'.$website.'/random.php">'.$random_likes.'</a></li>
  64.                 <li><a href="'.$website.'/new.php">'.$newest.'</a></li>    
  65. <li><a href="http://facebook.com/">'.$returnfb.'</a></li>
  66. <li>
  67.  
  68.   <div id="likebutton" style="padding-top:7px;" >Like us! :   <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.facebook.com/pbjbreaktime" layout="button_count" show_faces="false" width="90" action="recommend" font=""></fb:like> </div></li></ul>'; ?>
  69. <!--End Top Bar-->
  70. </div>
  71. </div>
  72.  
  73. <div class="everything">
  74. <div align="center"">
  75.  
  76. <table border="0">
  77. <tr>
  78. <td><div style="float:left"><img src="/images/logo.png" style="float:left;margin:5px 5px 5px 5px;" alt="logo"></div></td>
  79. <td><div class="rounded_ads"><!-- Begin: YOUR ADS HERE --></div></td></table></div>
  80. </tr>
  81. <script type="text/javascript">
  82. function clearText(field){
  83.  
  84.     if (field.defaultValue == field.value) field.value = '';
  85.     else if (field.value == '') field.value = field.defaultValue;
  86.  
  87. }

Última edición por federico20102010; 14/05/2011 a las 22:22