Home Page

Enlaces de las Alas Rojas

"; mysql_free_result($result2); } unset($linkname); unset($linkurl); unset($folder); echo ""; mysql_free_result($result1); } echo "
Whoops! Something wrong happened to the my database! It would be nice if you emailed me and told me!"); if ($result2) { while ($r2 = mysql_fetch_array($result2)) { extract($r2); if ( $folder != $folder_previous) { if ($column == 1) { echo "
"; $column = 2; } elseif ($column == 0) { echo ""; $column = 1; } else { echo "
"; $column = 1; } echo "» $folder
"; } echo "     -   $linkname
"; $folder_previous = $folder; } echo "
"; if (isset($submitbookmark)) { echo "El enlace ha sido enviado. Una vez se apruebe aparecerá en la lista.

Si quiere enviar más, pulse aquí.


"; } else { echo "
Envianos nuevos enlaces

"; mysql_connect($hostname,$username,$passwrd) OR DIE("Oh twadi! Couldnt connect to the database, sorry mate!"); @mysql_select_db($dbname) or die( "Unable to select database"); $query4 = "SELECT folder FROM $tablename GROUP BY folder"; $result4 = mysql_query($query4) or die("Whoops! Something wrong happened to the my database! It would be nice if you emailed me and told me!"); if ($result4) { echo "
Categoría :"; mysql_free_result($result4); } echo "
Nombre :
Dirección :

"; } mysql_connect($hostname,$username,$passwrd) OR DIE("Oh twadi! Couldnt connect to the database, sorry mate!"); @mysql_select_db($dbname) or die( "Unable to select database"); $query1 = "SELECT * FROM $tablename WHERE approved='yes' ORDER BY id DESC LIMIT 10"; $result1 = mysql_query($query1) or die ("Whoops! Something wrong happened to the my database! It would be nice if you emailed me and told me!"); if ($result1) { echo "Ultimos 10 enlaces recibidos
"; while ($r1 = mysql_fetch_array($result1)) { extract($r1); echo " » $linkname
"; } echo "
"; ?>