Welcome

Username:

Password:


Remember me

[ Signup ]
[ Forgot password? ]


db_Select("event", "*", "(event_start>='$monthstart' AND event_start<= '$monthend') OR (event_rec_y='$current_month')"); $events = $sql -> db_Rows(); while($row = $sql -> db_Fetch()){ extract($row); $evf = getdate($event_start); $tmp = $evf['mday']; $event_true[$tmp] = $event_category; } // ----------------------------------------------------------------------------------------------------------- // set up arrays for calender display ------------------------------------------------------------------ $week = Array(EC_LAN_25,EC_LAN_19,EC_LAN_20,EC_LAN_21,EC_LAN_22,EC_LAN_23,EC_LAN_24); $months = Array(EC_LAN_0,EC_LAN_1,EC_LAN_2,EC_LAN_3,EC_LAN_4,EC_LAN_5,EC_LAN_6,EC_LAN_7,EC_LAN_8,EC_LAN_9,EC_LAN_10,EC_LAN_11); $calendar_title = $months[$datearray[mon]-1]." ".$current_year; // ----------------------------------------------------------------------------------------------------------- $text = "
"; if($events){ $text .= EC_LAN_26 . ": ".$events; }else{ $text .= EC_LAN_27; } $start = $monthstart; $text .= "

"; foreach($week as $day){ $text .= ""; } $text .= ""; $thismonth = $datearray['mon']; $thisday = $datearray['mday']; for($c=0; $c<$firstdayarray['wday']; $c++){ $text .= ""; } $loop = $firstdayarray['wday']; for($c=1; $c<=31; $c++){ $dayarray = getdate($start+($c*84460)); if($dayarray['mon'] == $thismonth){ if($thisday == $c){ $text .= "\n"; $loop++; if($loop == 7){ $loop = 0; $text .= ""; } } } for($a=($loop+1); $a<=7; $a++){ $text .=""; } $text .= "
".$day."

"; }else{ $text .=""; } if($event_true[($c)]){ $sql -> db_Select("event_cat", "*", "event_cat_id='".$event_true[($c)]."' "); $icon = $sql -> db_Fetch(); extract($icon); $img = ""; }else{ $img = ""; } $linkut = mktime(0 ,0 ,0 ,$dayarray['mon'], $c, $datearray['year']); $text .="$img
$c
"; if($thisday == $c){ } $text .= "
 
"; $ns -> tablerender($calendar_title, $text); ?>
DHL News
Our headlines can be syndicated by using either our rss or text feeds.
news.xml - news.txt


formtpa($_POST['link_name'], "public"); $link_url = $aj -> formtpa($_POST['link_url'], "public"); $link_description = $aj -> formtpa($_POST['link_description'], "public"); $link_button = $aj -> formtpa($_POST['link_button'], "public"); $submitted_link = $_POST['cat_name']."^".$link_name."^".$link_url."^".$link_description."^".$link_button."^".USERNAME; $sql -> db_Insert("tmp", "'submitted_link', '".time()."', '$submitted_link' "); $ns -> gen_tablerend(LAN_99, "
".LAN_100."
"); ?>
"; if($link_cats = $sql -> db_Select("link_category")){ $text .= ""; } $text .= "
".LAN_93."
".LAN_86."
".LAN_94."
".LAN_95."
".LAN_96."
".LAN_97."
"; $ns -> gen_tablerend(LAN_92, $text); ?>
db_Select("link_category", "*", "link_category_id != '1' "); $total_links = $sql2 -> db_Count("links", "(*)", "WHERE link_category!=1"); while($row = $sql-> db_Fetch()){ extract($row); $total_links_cat = $sql2 -> db_Count("links", "(*)", " WHERE link_category=$link_category_id "); $text .="bullet ". (!$total_links_cat ? $link_category_name : "".$link_category_name."")." $link_category_description ($total_links_cat ".($total_links_cat == 1 ? LAN_65 : LAN_66)." ".LAN_64.")
"; } $text .= "

There ".($total_links == 1 ? "is" : "are")." ".$total_links." ".($total_links == 1 ? LAN_65 : LAN_66)." total in ".$category_total." ".($category_total == 1 ? LAN_63 : LAN_62).".

".LAN_67." "; $ns -> gen_tablerend($caption, $text); }else{ if(eregi("cat", e_QUERY)){ $qs = explode(".", e_QUERY); $category = $qs[1]; if($category == "all"){ $sql -> db_Select("link_category", "*", "link_category_id != '1' "); }else{ $sql -> db_Select("link_category", "*", "link_category_id='$category'"); } }else{ $id = e_QUERY; if($id != ""){ $sql -> db_Update("links", "link_refer=link_refer+1 WHERE link_id='$id' "); $sql -> db_Select("links", "*", "link_id='$id AND link_class!=255' "); list($link_id, $link_name, $link_url) = $sql-> db_Fetch(); header("location:".$link_url); } $sql -> db_Select("link_category", "*", "link_category_id != '1' "); } $sql2 = new db; while(list($link_category_id, $link_category_name, $link_category_description) = $sql-> db_Fetch()){ if($sql2 -> db_Select("links", "*", "link_category ='$link_category_id' ORDER BY link_order ")){ unset($text); while($row = $sql2-> db_Fetch()){ extract($row); if(!$link_class || check_class($link_class)){ $text .= ""; $caption = LAN_86." $link_category_name"; if($link_category_description != ""){ $caption .= " [$link_category_description]"; } switch ($link_open) { case 1: $link_append = ""; break; case 2: $link_append = ""; break; case 3: $link_append = ""; break; case 4: $link_append = ""; break; default: $link_append = ""; } $text .= "\n"; if(ADMIN == TRUE && getperms("I")){ $text .= ""; } $text .= "
"; if($link_button){ $text .= (strstr($link_button, "/") ? $link_append."\n$link_name" : $link_append."\n$link_name"); }else{ $text .= $link_append."\n$link_name"; } $text .= " "; $text .= $link_append."".$link_name."\n"; $text .= "[$link_url]
$link_description
[ ".LAN_88." $link_refer ]
".LAN_89."[ ".LAN_68." ] [ ".LAN_69." ][ ".LAN_90." ][ ".LAN_91." ]
"; } } $ns -> gen_tablerend($caption, $text); } } } if($pref['link_submit'] && check_class($pref['link_submit_class'])){ echo "Please click here to submit a link"; } ?>