Thanks
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCSS()
{
datetoday = new Date();
timenow=datetoday.getTime();
datetoday.setTime(timenow);
thehour = datetoday.getHours();
if (thehour > 20)
display = "tree_twilight.css";
else if (thehour > 17)
display = "tree_sunset.css";
else if (thehour > 14)
display = "tree_afternoon.css";
else if (thehour > 11)
display = "tree_noon.css";
else if (thehour > 7)
display = "tree_morning.css";
else if (thehour > 4)
display = "tree_sunrise.css";
else if (thehour > 1)
display = "tree_twilight.css";
else
display = "tree_sunset.css";
var css = '<'; css+='link rel="stylesheet" href=' + display + ' /'; css+='>';
document.write(css);
// End -->
}
</script>
<script language="javascript">getCSS();</script>
"link" => "view.article.php" . URL_DELIMITER . "{$item_id}",
$xoopsTpl -> assign("xoops_module_header", $xoopsOption["xoops_module_header"]);
$xoopsTpl -> assign("xoops_pagetitle", $xoopsOption["xoops_pagetitle"]);
$xoopsTpl->assign('xoops_pagetitle', $page['title'].$xoopsModule->getVar('name'));
if ($isModuleAction) {
include_once dirname(__FILE__) . "/include/functions.render.php";
$modversion["templates"] = art_getTplPageList("", true);
}
$modversion['templates'] = array();
$modversion['templates'][1] = array(
'file' => 'article_archive.html',
'description' => 'archives'
);
$modversion['templates'][] = array(
'file' => 'article_article.html',
'description' => 'article page'
);
$modversion['templates'][] = array(
'file' => 'article_author.html',
'description' => 'authors'
);
$modversion['templates'][] = array(
'file' => 'article_category.html',
'description' => 'categories'
);
$modversion['templates'][] = array(
'file' => 'article_cparticle.html',
'description' => 'article cpanel'
);
$modversion['templates'][] = array(
'file' => 'article_cpcategory.html',
'description' => 'category cpanel'
);
$modversion['templates'][] = array(
'file' => 'article_cptopic.html',
'description' => 'topic cpanel'
);
$modversion['templates'][] = array(
'file' => 'article_directory.html',
'description' => 'directory'
);
$modversion['templates'][] = array(
'file' => 'article_inc_category.html',
'description' => ''
);
$modversion['templates'][] = array(
'file' =>'article_inc_sponsor.html',
'description' =>'sponsor text'
);
$modversion['templates'][] = array(
'file' =>'article_inc_topic.html',
'descrition' =>''
);
$modversion['templates'][] = array(
'file' =>'article_index.html',
'description' =>'article index page'
);
$modversion['templates'][] = array(
'file' =>'article_index_blog.html',
'description' =>'blog layout'
);
$modversion['templates'][] = array(
'file' =>'article_index_list.html',
'description' =>'list layout'
);
$modversion['templates'][] = array(
'file' =>'article_index_news.html',
'description' =>'news layout'
);
$modversion['templates'][] = array(
'file' =>'article_item_blog.html',
'description' =>'bloglayout item'
);
$modversion['templates'][] = array(
'file' =>'article_list.html',
'description' =>'list of articles'
);
$modversion['templates'][] = array(
'file' =>'article_search.html',
'description' =>'search page'
);
$modversion['templates'][] = array(
'file' =>'article_topic.html',
'description' =>'topic page'
);
$modversion['templates'][] = array(
'file' =>'article_topics.html',
'description' =>'topics'
);