echo '<div style="margin-bottom:20px;background: no-repeat scroll 10px 9px #FF0000;color:white;padding: 15px 27px 10px 43px;font-size:12px;" class="flick_error">'.$error.'</div>';
					}
				}
			}
			return $orderListData;
		}
	}
	
	
	if(isset($_REQUEST['fr_action']) && $_REQUEST['fr_action'] == 'get_theme_id'){
		$FlickrocketObj 		= new Flickrocket();
		$counter 				= 0;
		$fr_email_address 		= $_REQUEST['fr_email'];
		$fr_password 			= $_REQUEST['fr_password'];
		$responseData 			= array();
		$themeDataArray 		= $FlickrocketObj->flickRocketThemeIDBYAjax($fr_email_address, $fr_password);
		
		if($themeDataArray->GetThemesResult == 1){
			if(count($themeDataArray->Themes->stThemes) > 1){
				foreach($themeDataArray->Themes->stThemes as $themeDetails){
					$responseData[$counter]['ID'] = $themeDetails->ID;
					$responseData[$counter]['Name'] = $themeDetails->Name;
					$counter++;
				}
			}else{
				$responseData[$counter]['ID'] = $themeDataArray->Themes->stThemes->ID;
				$responseData[$counter]['Name'] = $themeDataArray->Themes->stThemes->Name;
			}
		}else{
			$responseData['result'] = 'error';
		}