Posted: 07/13/2003 10:14:00 AM
Wie muss ich die list_cats.tpl verändern, damit das NEW bei den entsprechenden Kategorien erscheint, wenn neue Links vorhanden sind?
Posted: 07/13/2003 10:14:00 AM
Posted: 07/14/2003 6:16:00 PM
Posted: 07/21/2003 12:43:00 PM
Posted: 07/24/2003 7:08:00 PM
function runmod_newlinks_in_cat()
{ global $conn, $cat_data, $cat_ids, $link_new;
$link_query = "SELECT inl_links.link_id, link_name, link_pick, link_desc, link_date, link_hits, link_rating, link_votes, link_numrevs, link_image, link_user, link_url, cat_id, link_vis, user_name, email FROM inl_lc LEFT JOIN inl_links ON inl_lc.link_id=inl_links.link_id LEFT JOIN inl_users ON inl_links.link_user=inl_users.user_id ";
$l_time = mktime(0,0,0,date("m",date("d"-$link_new,date("Y");
$where = "WHERE link_date>=$l_time AND link_vis=1 AND inl_lc.link_pend=0";
cat_subs($cat_data[6]);
if $cat_ids)
{
$cat_ids = ereg_replace(", $", "", $cat_ids);
$where.= " AND inl_lc.cat_id IN $cat_ids)";
}
$cat_ids="";
echo $link_query.$where."<BR>";
$rs = &$conn->Execute($link_query.$where);
if $rs->RecordCount()>0)
$ret = "New Links";
else
$ret = "";
return $ret;
}
Posted: 07/26/2003 4:47:00 AM
Posted: 07/27/2003 11:42:00 PM
Follow In-Portal: Facebook Twitter LinkedIn
In-Portal Jobs - Post Resume
Terms and Conditions of Use | Sale and Service Agreement | Privacy Policy
Web Development by Intechnic | © 1997-2013, In-Portal Non-profit Organization. All Rights Reserved