";
for ($intU=0;$intU<$numberroles;$intU++) {
// Changing Background color for each alternate row
// Retreiving data and putting it in local variables for each row
$role_id=mysql_result($resultroles,$intU,"role_id");
$role_uuid=mysql_result($resultroles,$intU,"role_uuid");
$role_name=mysql_result($resultroles,$intU,"role_name");
$signed = $this_session->session_volunteers($role_uuid, "signed");
$booked = $this_session->session_volunteers($role_uuid, "booked");
// echo "role:" . $role_name . " " . $booked . "
";
if ($role_name == "Clyde's Comic") {
$my_person = new person($r_link);
$resultperformer = $my_person->find_role ($role_uuid, $this_session->uuid, "Y");
$numberperformer = mysql_Numrows($resultperformer);
for ($intC=0;$intC<$numberperformer;$intC++) {
$performer_id=mysql_result($resultperformer,$intC,"person_id");
$performer_uuid=mysql_result($resultperformer,$intC,"person_uuid");
//die("pef");
$aka=mysql_result($resultperformer,$intC,"aka");
$performer_list[count($arrShowDates)-1][] = $aka;
}
}
if ($booked == "1") {
if ($role_name=="Emcee" || $role_name=="Math Time") {
//get the artist
$resultlist = $my_meet->list_staff($this_session->uuid, $role_uuid);
$numberlist = mysql_numrows($resultlist);
if ($numberlist>0) {
$talent_uuid = mysql_result($resultlist, $intL, "person_uuid");
$talent_id = mysql_result($resultlist, $intL, "person_id");
//let's get the website for our artist
$my_talent = new person($r_link);
$my_talent->uuid = $talent_uuid;
$my_website = new comm($r_link);
$website_uuid = $my_talent->getattribute("comm","website");
$my_website = new comm($r_link);
$my_website->uuid = $website_uuid;
$my_website->fetch();
$arrTalentWebsite[] = str_replace("http://", "", $my_website->comm);
$talent_name = mysql_result($resultlist, $intL, "aka");
$arrTalent[count($arrShowDates)-1][] = $talent_name;
//now get the image
$query = "select image_id, image_path, featured_image
from images where person_id = '" . $talent_id . "'
ORDER BY featured_image DESC";
$resultimage = mysql_query($query, $r_link) or die("unable to get image");
$numberimage = mysql_numrows($resultimage);
if ($numberimage>0) {
$talent_image_path = mysql_result($resultimage, 0, "image_path");
$arrTalentPath[count($arrShowDates)-1][] = "https://flapperscomedyclub.hosting-advantage.com/med/" . $talent_image_path;
}
}
}
}
}
}
}
?>
UCCC Calendar