Skip to content
Snippets Groups Projects
Commit e6899c50 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

update to filter out the "did not attend unl"

parent 6ea59a32
No related branches found
No related tags found
No related merge requests found
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
else else
echo "'',"; echo "'',";
echo "'" . $user->name . "',"; echo "'" . $user->name . "',";
if($user->profile_attended_from) if($user->profile_attended_from != "Did Not Attend UNL")
echo "'Attended UNL: " . $user->profile_attended_from . "-" . $user->profile_attended_to . "'"; echo "'Attended UNL: " . $user->profile_attended_from . "-" . $user->profile_attended_to . "'";
else else
echo "''"; echo "''";
...@@ -322,7 +322,10 @@ ...@@ -322,7 +322,10 @@
mysql_select_db($CONFIG->dbname) or die(mysql_error()); mysql_select_db($CONFIG->dbname) or die(mysql_error());
//get the most recent wire posts //get the most recent wire posts
$result = mysql_query("SELECT * from elggentities where type='object' and subtype=4 and site_guid = 1 order by time_created desc limit 0, 3") or die(mysql_error()); if (isloggedin())
$result = mysql_query("SELECT * from elggentities where type='object' and subtype=4 and site_guid = 1 order by time_created desc limit 0, 5") or die(mysql_error());
else
$result = mysql_query("SELECT * from elggentities where type='object' and subtype=4 and site_guid = 1 order by time_created desc limit 0, 3") or die(mysql_error());
while($row = mysql_fetch_array( $result )) while($row = mysql_fetch_array( $result ))
{ {
//get the actual post //get the actual post
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment