Lo ultimo en el Foro |
/**
* Mod Title: Latest posts/topics
* Mod Version: phpBB 2.0
* Author: Pegas (pegas@ami.cz) (originally made by ?, previous version by LiLCoolboy (M@urice Cheung))
* Description: Shows latest posts or topics on any page, 2 optional parameters
* Release: v3.0, 27.01.2003
***
* DeMo: http://kocky-online.cz (Czech language)
* Installation Level: Easy
* Installation Time: 5 minutes
* Files To Edit: 0
* Included Files: (if necessary)
***
* Installation Notes:
* Put this code into new file, set $serverPath and $urlPath,
* upload this file onto server and include into your page and you are done!
* -- OR --
* Put this code into your page, set $serverPath and $urlPath,
* and you are done!
***
* Parameters:
* There are 2 optional parameters when calling this code as standalone file via include!
* type - whether to show topics or posts
* type=posts - posts [default when missing]
* type=topics - topics
* count - how much posts/topics show
* count=# [default is 3]
***
* Examples (assume that your file with this code is hilites.php):
* hilites.php?type=topics&count=5
* - shows latest 5 topics
* hilites.php?type=topics
* - shows latest 3 topics
* hilites.php
* - shows latest 3 posts
***
* Revision:
* v1.0
* author: ?
* v2.0
* author: LiLCoolboy (M@urice Cheung)
* - not working without significant changes, mistypes
* v3.0
* author: Petr Gasparik
* + added parameters when called as standalone file
* + posts/topics selection corrected
* + corrected mistypes
*/
$urlPath = "/foros"; //example: if your forum URL looks like http://kocky-online.cz/forum, this should be "/forum"
$serverPath = "foros/config.php"; //example: when this file is in URL path /forum/mod, this should be ../config.php
if(empty($count))
$count = "15"; //default value of how many posts/topics to show
if(empty($type))
$type = "topics"; //default value of whether to show 'posts' or 'topics'
$titleLimit = 20; //this is max.length of 'title' of topic/post
$moreLimit = 20; //this is max.length of 'more' (used in posts)
//-----------------[ DO NOT EDIT BELOW HERE ]-------------------------
include_once("$serverPath");
$db = @mysql_connect("$dbhost", "$dbuser", "$dbpasswd") or die("here we die at connection");
@mysql_select_db("$dbname",$db) or die("here we die");
if($type == "posts")
{
$prefix = 'p';
$sql = "SELECT x.post_subject as title, p.post_id as id, f.forum_id, t.topic_title as more "
."FROM ${table_prefix}topics t, ${table_prefix}forums f, ${table_prefix}posts p, ${table_prefix}posts_text x "
."WHERE t.topic_id = p.topic_id AND f.forum_id = t.forum_id AND p.post_id = x.post_id "
."ORDER BY p.post_id DESC "
."LIMIT $count";
}
else
{
$prefix = 't';
$sql = "SELECT t.topic_title as title, t.topic_id as id, f.forum_id, '' as more "
."FROM ${table_prefix}topics t, ${table_prefix}forums f "
."WHERE f.forum_id = t.forum_id "
."ORDER BY topic_time DESC "
."LIMIT $count";
}
//echo $sql;
if($r = mysql_query($sql, $db)) {
while($m = mysql_fetch_array($r)) {
$j = stripslashes($m[title]);
$k = substr($j, 0, $titleLimit); // . "..."
if(!empty($m[more]))
$m[more] = ''.substr($m[more], 0, $moreLimit) . ''; //...
if ($type == 'posts') {
$anchor = '#'.$m[id];
}
//-------------------[ THIS IS ONLY LINE YOU COULD CHANGE ]--------------------------
echo "".ucfirst(strtolower(utf8_encode($k)))."..."; //$k
}
}
//
//-------------------[ DO NOT EDIT UP HERE ]--------------------------
?>
|
|
Escrito por Patricia Alvarez
|
Martes, 02 de Marzo de 2010 11:57 |
Origen de la raza Cirneco de l'Etna
Algunos expertos aseguran que esta raza es descendiente del Podenco de los faraones y había sido introducida en Sicilia por los viajeros Fenicios. Otra corriente, más actual, cree que se trata de una raza autóctona y originaria de los alrededores del Etna, existente desde el siglo IV a. C., de hecho otro nombre de esta raza canina es el lebrel siciliano. Su imagen se asemeja muchísimo al perro representado en los bajorrelieves de las tumbas egipcias. En 1939, se redactó el primer estándar de la raza Cirneco de l'Etna.
Características generales del Cirneco de l'Etna
Perro muy rústico y resistente, lleno de vitalidad. Es un buen guardián, reservado con los extraños pero no agresivo. Muy ágil y potente, puede cazar en terrenos difíciles, se utiliza para el conejo, el faisán y la perdiz. Tiene una personalidad fuerte, por lo que necesita una educación firme y precoz. Sin embargo, es de buen carácter y muy afectuoso, así que resulta un compañero agradable y alegre. No presenta inconvenientes para vivir en la ciudad. Pero necesita hacer ejercicio permanentemente para descargar su energía. Hay que cepillarlo con regularidad.

Estándar de la raza Cirneco de l'Etna
El perro Cirneco de l'Etna macho mide de 46 a 50 cm de altura a la cruz y pesa entre 10 y 12 kg, mientras la hembra mide de 42 a 46 cm y pesa entre 8 y 10 kg. De cabeza alargada, cráneo casi chato, con stop muy marcado y testuz recto. Hocico puntiagudo, carrillos chatos y labios finos, tensos y delgados. Sus orejas, de inserción alta, muy juntas, son de forma triangular y van erguidas, muy rígidas y abiertas hacia adelante. Tiene ojos pequeños y almendrados, de color ocre, ámbar o gris.
Cuerpo muy musculoso, de huesos fuertes y silueta cuadrada, cuello muy arqueado. Espala recta y cota; lomo ancho y musculoso; antepecho estrecho y costillas arqueadas. La cola, de inserción baja, bastante gruesa y larga. La lleva en forma de sable, en reposo y levantada, en acción. Pelo rígido como la crin. Raso sobre la cabeza, las orejas y los miembros. Apenas más largo, liso y chato en el tronco y la cola. Pelaje leonado, más o menos intenso, leonado con blanco o blanco, con o sin manchas naranja.
|
|
Animalistas conectados |
Tenemos 79 invitados conectado(s) |
|