Printer-friendly versionPrinter-friendly version<?php $sqlquery="SELECT * FROM custom_alumniprofiles where pid=".$_GET['pid']." LIMIT 1"; $result = db_query($sqlquery); while ($row = db_fetch_object($result)) { switch($row->participanttype){ case 'Equal Justice Works Fellowships': $participanttype='Equal Justice Works Fellow'; break; case 'Equal Justice Works Fellow': $participanttype='Equal Justice Works Fellow'; break; case 'AmeriCorps Legal Fellowships': $participanttype='AmeriCorps Legal Fellow'; break; } $page_title = strtoupper($participanttype); if ($row->gradyear && $row->gradyear!=0 ){ $page_title = $page_title.", CLASS OF ".$row->programyear; } drupal_set_title($page_title); ?>
<?php if ($row->picture){ ?>
<?php } ?> <?php print $row->fname." ".$row->lname; ?> <?php if ($row->hostorg){ ?>
Name of Host Organization: <?php if ($row->hostorgurl){ $arreglo_aff = parse_url($row->hostorgurl); print ($arreglo_aff[scheme])? l($row->hostorg,$row->hostorgurl) : l($row->hostorg,"http://".$row->hostorgurl); unset($arreglo_aff); }else{ print $row->hostorg; } ?>
<?php } ?> <?php if ($row->hostorgcity){ ?>
City, State: <?php print $row->hostorgcity.", ".$row->hostorgstate; ?>
<? } ?> <?php if ($row->issuearea){ ?>
Issue area: <?php print $row->issuearea; ?><?php if ($row->issueareaB && $row->issueareaB!='None' && $row->issueareaB!=' ,') { $comma = substr($row->issueareaB, -1); $issueB=$row->issueareaB; if ($comma == ','){ $issueB=substr_replace($issueB ,"",-1); } ?><?php print ", ".$issueB; ?><?php } ?>
<? } ?> <?php if ($row->sponsor){ ?>
Sponsor: <?php print $row->sponsor; if ($row->sponsorB){ print ", ".$row->sponsorB; } if ($row->sponsorC){ print ", ".$row->sponsorC; } ?>
<?php } ?> <?php if ($row->inspiration){ ?>
THE INSPIRATION
<?php print $row->inspiration; ?>
<?php } ?>
<?php if ($row->pdescript){ ?>
THE PROJECT
<?php print $row->pdescript; ?>
<? } else{ ?>
THE PROJECT
<?php print $row->profiletext; ?>
<? } ?>
BIOGRAPHY
<?php if ($row->hometown){ ?><? } ?> <?php if ($row->lawschool){ ?><? } ?> <?php if ($row->mconect){ ?><? } ?> <?php if ($row->slawschool){ ?><? } ?> <?php if ($row->rbooks){ ?><? } ?> <?php if ($row->fwebsite){ ?><? } ?> <?php if ($row->music){ ?><? } ?> <?php if ($row->words){ ?><? } ?>
Hometown:
<?php print $row->hometown.", ".$row->shometown; ?>
Law school:
<?php if ($row->urllawschool){ $arreglo_aff = parse_url($row->urllawschool); print ($arreglo_aff[scheme])? l($row->lawschool.", ".$row->gradyear,$row->urllawschool) : l($row->lawschool.", ".$row->gradyear,"http://".$row->urllawschool); } else { print $row->lawschool.", ".$row->gradyear; } ?>
Making the connection:
<?php print $row->mconect; ?>
Surviving law school:
<?php print $row->slawschool; ?>
Recommended books:
<?php print $row->rbooks; ?>
Favorite website(s):
<?php print makeClickableLinks($row->fwebsite); ?>
Music I love:
<?php print $row->music; ?>
Words to live by:
<?php print $row->words; ?>
<? } ?>

© 2014 Equal Justice Works - 1730 M Street, NW, Suite 1010, Washington, DC 20036-4511