1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
function affichage_liens($links, $url_r=true, $fil=true, $display_feeds=false, $display_tags=true)
{
global $tab_pr, $CONFIG, $lang;
$url_r = $CONFIG['url_rewriting'];
$smarty =& TemplateEngine::getInstance();
$re =& MyRewriteEngine::getInstance();
if(count($links) > 0)
{
$feeds = array();
$meta_desc = '';
$meta_keyw = '';
foreach($links as $link)
{
$meta_desc_temp = '';
$id = $link->getVar('id');
$url = $link->getVar('url');
$name = $link->getVar('name');
$category = $link->getVar('category');
$tab_pr[$url] = $link->getVar('pr');
$title_chemin = isset($category) && $fil ? show_me_the_way_clic($category, $url_r) : "";
$smarty->assign('display_link_cat',$fil);
$smarty->append("sites", array(
'id' => $id,
'name' => $name,
'description' => $link->getVar('description'),
'url' => $link->getVar('url'),
'pagerank' => $link->getVar('pr'),
'hits' => $link->getVar('hits'),
'image' => $link->getVar('image'),
'cate' => $link->getVar('category'), |
Partager