Article ID 896: This content is not yet published
Article ID 871: This content is not yet published
Article ID 907: This content is not yet published
Article ID 908: This content is not yet published
Article ID 862: This content is not yet published
stephanedeluca.com: On gagne ensemble, on perd ensemble stephanedeluca.com: On gagne ensemble, on perd ensemble
Article ID 896: This content is not yet published
Article ID 871: This content is not yet published
Article ID 907: This content is not yet published
Article ID 908: This content is not yet published
Article ID 862: This content is not yet published

Site Index

July. 26th, 2006 20:47 by Stéphane de LucaPermalink | TrackBack: https://stephanedeluca.com/trackback/347 — updated on Apr. 25th, 2019 16:10 exists for 12 years & 9 months ago - .

global $db, $siteid;
$object=”“;

$query = “SELECT id, title, subject, refurl, published, authorid FROM columnarticles where site_id=’$siteid’ ORDER BY title ASC”;

$arts = $db->querySelectAllRows( $query);

reset($arts);

$n = count($arts)>>1;

$alphabet=”| “;

$i=0;
foreach ( $arts as $art )
{ if (!hasAccessRightsToArticle($art) ) { $i++; continue; }

if (empty($idx)) $idx = mb_strtoupper( mb_substr($art[title],0,1));

$nidx = mb_strtoupper( mb_substr($art[title],0,1)) ;

if ($nidx != $idx) { $idx = $nidx; $object .= “ 

$idx

“; $alphabet .= “$idx | “; }

$allTags = split(“;\s*”, $art[subject]); $tags = “”; foreach ($allTags as $tag) { $tags .= “$tag “; } //$tags = “(Tags: “.str_replace(“;”,”; “,$art[subject]).” )”;

// GET TO ARTICLE PAGE //if (ItsMe()) {print $pageurl; }

if (!stristr($art[refurl],$domainname)) $object .= “$art[title] $tags
“ ; else $object.= “$art[title] $tags
“ ;

$i++;
}

$object = “

“.$alphabet.”



.$object.”
“.$alphabet.”

“;

$common = $object;