20){$Antipode_tribe_num = ($Antipode_tribe_num - 20);} $Antipode_tribe_num_for_img = $Antipode_tribe_num; if (strlen($Antipode_tribe_num_for_img) < 2){$Antipode_tribe_num_for_img = '0'.$Antipode_tribe_num_for_img;} $AP_Tribe_Name = $kin_line_array["$Antipode_tribe_num"]["11"]; // Figure Analog users tribe + analog_tribe = 19 $Analog_tribe_num = ($tribe_num - 19); if ($tribe_num == 20){$Analog_tribe_num = 19;} if ($Analog_tribe_num == 0){$Analog_tribe_num = 20;} $Analog_tribe_num = abs($Analog_tribe_num); // $abs3 = 5; (integer) $Analog_tribe_num_for_img = $Analog_tribe_num; if (strlen($Analog_tribe_num_for_img) < 2){$Analog_tribe_num_for_img = '0'.$Analog_tribe_num_for_img;} $AL_Tribe_Name = $kin_line_array[$Analog_tribe_num][11]; // Figure Occult users tribe + occult_tribe = 21 $Occult_tribe_num = ($tribe_num - 21); $Occult_tribe_num = abs($Occult_tribe_num); $Occult_tribe_num_for_img = $Occult_tribe_num; if (strlen($Occult_tribe_num_for_img) < 2){$Occult_tribe_num_for_img = '0'.$Occult_tribe_num_for_img;} $OC_Tribe_Name = $kin_line_array["$Occult_tribe_num"]["11"]; // Build contents of each cell // Assign Various Images // TONES $KN_Tone_Image = 'This Kin Tone'; $OC_Tone_Image = 'This Kin Tone'; // TRIBES OR SEALS $KN_Tribe_Image = 'This Kin Seal'; $GP_Tribe_Image = 'This Kin Seal'; $AP_Tribe_Image = 'This Kin Seal'; $AL_Tribe_Image = 'This Kin Seal'; $OC_Tribe_Image = 'This Kin Seal'; $KN_PKG = '
'; $KN_PKG .= '
'.$KN_Tone_Image.'
'; $KN_PKG .= '
'.$KN_Tribe_Image.'
'; $KN_PKG .= '
'.$KN_Tribe_Name.'
'; $KN_PKG .= '
'; $GP_PKG = '
'; $GP_PKG .= '
'.$word_guiding_power.'
'; $GP_PKG .= '
'.$GP_Tribe_Image.'
'; $GP_PKG .= '
'.$GP_Tribe_Name.'
'; $GP_PKG .= '
'; $AP_PKG = '
'; $AP_PKG .= '
'.$word_antipode.'
'; $AP_PKG .= '
'.$AP_Tribe_Image.'
'; $AP_PKG .= '
'.$AP_Tribe_Name.'
'; $AP_PKG .= '
'; $AL_PKG = '
'; $AL_PKG .= '
'.$word_analog.'
'; $AL_PKG .= '
'.$AL_Tribe_Image.'
'; $AL_PKG .= '
'.$AL_Tribe_Name.'
'; $AL_PKG .= '
'; $OC_PKG = '
'; $OC_PKG .= '
'.$word_occult.'
'; $OC_PKG .= '
'.$OC_Tribe_Image.'
'; $OC_PKG .= '
'.$OC_Tribe_Name.'
'; $OC_PKG .= '
'; // Start Pop Content $ocx = ""; // Wrapper $ocx .= "
"; // One Divs to wrap EVERYTHING $ocx .= "
"; // Another DIV is the toggle content // Diusplay Destiny Pattern $ocx .= "
"; // div to wrap table // -------------- Table for five kin $ocx .= "\n"; // Guiding Power Row $ocx .= ''; $ocx .= ''; $ocx .= ''; $ocx .= ""; $ocx .= "\n"; // Antipode $ocx .= "\n"; $ocx .= ''; // This Kin $ocx .= ''; // Analog Pwr $ocx .= ''; $ocx .= "\n"; // Occult Power Row $ocx .= "\n"; $ocx .= ""; $ocx .= ''; $ocx .= ""; $ocx .= "\n"; $ocx .= "
'.$GP_PKG.'
'.$AP_PKG.''.$KN_PKG.''.$AL_PKG.'
'.$OC_PKG.'
\n"; // end table $ocx .= "
\n"; // end Div that wraps table $ocx .= "
\n"; // end DIV is the toggle content // FOR WIDGET ONLY Set the starting visibility of the main section if (isset($this_instance_settings['display_onload'])) { $display_onload = $this_instance_settings['display_onload']; if ($display_onload === "on") {$start_display = 'block';} else {$start_display = 'none';} } else {$start_display = 'none';} // Wrap the whole thing in a disappearing div $ocx .= "
"; // Show a header $ocx .= '
'; $ocx .= 'Oracle of Destiny'; $ocx .= '
'; // Show Kin Number and Text $ocx .= "
"; $ocx .= "
$color_name $tone_name $seal_name
\n"; $ocx .= "
\n"; $ocx .= "
"; $ocx .= ''; $ocx .= "
\n"; $ocx .= "
\n\n"; // END disappearing div $ocx .= "
\n"; // END DIV is the ENTIRE content echo "$ocx"; ?>