| 1 |
<?php |
| 2 |
// no direct access! |
| 3 |
defined('ABSPATH') or die("No direct access"); |
| 4 |
?> |
| 5 |
<div id="wpgs_accordion"> |
| 6 |
<!-- **********************************************************Accordion 1************************************************************************************************************************************************ --> |
| 7 |
<h3 style="margin-bottom: -3px;"><?php _e('Style 1 (Default)', 'GSpeech'); ?></h3> |
| 8 |
<div> |
| 9 |
<div class="speaker_preview"> |
| 10 |
<?php |
| 11 |
$bcp1 = $wpgs_options['bcp1']; |
| 12 |
$cp1 = $wpgs_options['cp1']; |
| 13 |
$bca1 = $wpgs_options['bca1']; |
| 14 |
$ca1 = $wpgs_options['ca1']; |
| 15 |
$spop1 = $wpgs_options['spop1']; |
| 16 |
$spop1_ = $spop1 / 100; |
| 17 |
$spoa1 = $wpgs_options['spoa1']; |
| 18 |
$spoa1_ = $spoa1 / 100; |
| 19 |
$speaker_type_1 = $wpgs_options['speaker_type_1']; |
| 20 |
$speaker_size_1 = $wpgs_options['speaker_size_1']; |
| 21 |
$tooltip_1 = $wpgs_options['tooltip_1']; |
| 22 |
|
| 23 |
$speech_title = $wpgs_options['gspeech_v2x_title']; |
| 24 |
?> |
| 25 |
<style> |
| 26 |
.gspeech_selection_1 {background-color: <?php echo $bcp1;?>;color: <?php echo $cp1;?>} |
| 27 |
.gspeech_selection_1_hover {background-color: <?php echo $bca1;?>;color: <?php echo $ca1;?>} |
| 28 |
</style> |
| 29 |
<span class="gspeech_selection gspeech_selection_1 animate_item_passive">Live Preview (Style 1: Default)</span><span id="sound_container_1" roll="1" class="sound_container_pro gspeech_slider_pro speaker_<?php echo $speaker_type_1?> <?php echo $speaker_type_1?> size_<?php echo $speaker_size_1;?>" style="opacity: <?php echo $spop1_;?>;filter: alpha(opacity = <?php echo $spop1;?>);"> </span> |
| 30 |
<span style="margin-left: 20px;" class="gspeech_selection gspeech_selection_1_hover animate_item_active">Live Preview (Style 1: Default) Active State</span> |
| 31 |
<span id="sound_container_1_hover" roll="1" class="sound_container_pro hovered gspeech_slider_pro_hovered speaker_<?php echo $speaker_type_1?> <?php echo $speaker_type_1?> size_<?php echo $speaker_size_1;?>" style="opacity: <?php echo $spoa1_;?>;filter: alpha(opacity = <?php echo $spoa1;?>);"> |
| 32 |
<span class="sexy_tooltip_title"><span class="the-tooltip top left <?php echo $tooltip_1;?>"><span class="tooltip_inner"><?php echo $speech_title;?></span></span></span> |
| 33 |
</div> |
| 34 |
<div style="margin: 15px 0 0 0"> |
| 35 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[speaker_type_1]" id="wpgs_settings[speaker_type_1]" class="speaker_type_select" roll="1"> |
| 36 |
<?php |
| 37 |
for($i = 1; $i <= 40; $i ++) { |
| 38 |
if($wpgs_options['speaker_type_1'] == 'speaker_'.$i) $selected = 'selected="selected"'; else $selected = ''; |
| 39 |
// if($i == $default_speaker_type_1 && $wpgs_options['speaker_type_1'] == '') $selected = 'selected="selected"'; |
| 40 |
echo '<option value="speaker_'.$i.'" '.$selected.'>Speaker '.$i.'</option>'; |
| 41 |
} |
| 42 |
?> |
| 43 |
</select> |
| 44 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 45 |
<div class="next_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 46 |
<div class="prev_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 47 |
</div> |
| 48 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[speaker_type_1]"><?php _e('Choose Speaker <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#speakers" target="_blank">See speakers demo</a></span>', 'GSpeech'); ?></label> |
| 49 |
</div> |
| 50 |
<div style="clear: both;height: 1px;"></div> |
| 51 |
|
| 52 |
<div style="margin: 15px 0 0 0"> |
| 53 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[tooltip_1]" id="wpgs_settings[tooltip_1]" class="tooltip_select" roll="1"> |
| 54 |
<?php |
| 55 |
foreach($tooltips as $key => $val) { |
| 56 |
if($wpgs_options['tooltip_1'] == $key) $selected = 'selected="selected"'; else $selected = ''; |
| 57 |
// if($key == $default_tooltip_1 && $wpgs_options['tooltip_1'] == '') $selected = 'selected="selected"'; |
| 58 |
echo '<option value="'.$key.'" '.$selected.'>'.$val.'</option>'; |
| 59 |
} |
| 60 |
?> |
| 61 |
</select> |
| 62 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 63 |
<div class="next_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 64 |
<div class="prev_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 65 |
</div> |
| 66 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[tooltip_1]"><?php _e('Choose Tooltip <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#tooltips" target="_blank">See tooltips demo</a></span>', 'GSpeech'); ?></label> |
| 67 |
</div> |
| 68 |
<div style="clear: both;height: 1px;"></div> |
| 69 |
<div class="old_p"> |
| 70 |
<label style="margin-right: 50px;"> |
| 71 |
<?php $checked1 = $wpgs_options['speaker_size_1'] == 1 ? 'checked="checked"' : ''; ?> |
| 72 |
<?php $checked2 = $wpgs_options['speaker_size_1'] == 0 ? 'checked="checked"' : ''; ?> |
| 73 |
<input roll="1" class="speaker_size_radio" id="wpgs_settings[speaker_size_11]" name="wpgs_settings[speaker_size_1]" type="radio" value="1" <?php echo $checked1;?> /> |
| 74 |
<label class="description" for="wpgs_settings[speaker_size_11]"><?php _e('Big', 'GSpeech'); ?></label> |
| 75 |
<input roll="1" class="speaker_size_radio" id="wpgs_settings[speaker_size_12]" name="wpgs_settings[speaker_size_1]" type="radio" value="0" <?php echo $checked2;?> /> |
| 76 |
<label class="description" for="wpgs_settings[speaker_size_12]"><?php _e('Small', 'GSpeech'); ?></label> |
| 77 |
</label> |
| 78 |
<label class="description">Speaker Size</label> |
| 79 |
</div> |
| 80 |
<div class="old_p"> |
| 81 |
<div class="selector_wrapper"> |
| 82 |
<?php $value = $wpgs_options['bcp1']?> |
| 83 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 84 |
<input roll="2" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bcp1]" name="wpgs_settings[bcp1]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 85 |
<label class="description" for="wpgs_settings[bcp1]"><?php _e('Audio Block Background Color, Passive State', 'GSpeech'); ?></label> |
| 86 |
</div> |
| 87 |
</div> |
| 88 |
<div class="old_p"> |
| 89 |
<div class="selector_wrapper"> |
| 90 |
<?php $value = $wpgs_options['cp1']?> |
| 91 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 92 |
<input roll="3" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[cp1]" name="wpgs_settings[cp1]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 93 |
<label class="description" for="wpgs_settings[cp1]"><?php _e('Audio Block Text Color, Passive State', 'GSpeech'); ?></label> |
| 94 |
</div> |
| 95 |
</div> |
| 96 |
<div class="old_p"> |
| 97 |
<div class="selector_wrapper"> |
| 98 |
<?php $value = $wpgs_options['bca1']?> |
| 99 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 100 |
<input roll="4" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bca1]" name="wpgs_settings[bca1]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 101 |
<label class="description" for="wpgs_settings[bca1]"><?php _e('Audio Block Background Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 102 |
</div> |
| 103 |
</div> |
| 104 |
<div class="old_p"> |
| 105 |
<div class="selector_wrapper"> |
| 106 |
<?php $value = $wpgs_options['ca1']?> |
| 107 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 108 |
<input roll="5" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[ca1]" name="wpgs_settings[ca1]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 109 |
<label class="description" for="wpgs_settings[ca1]"><?php _e('Audio Block Text Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 110 |
</div> |
| 111 |
</div> |
| 112 |
<div class="old_p"> |
| 113 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 114 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spop1]" id="slider_select11" class="slider_select_1"> |
| 115 |
<?php foreach($opacities as $opacity) { ?> |
| 116 |
<?php if($wpgs_options['spop1'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 117 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 118 |
<?php } ?> |
| 119 |
</select> |
| 120 |
<label class="description" for="wpgs_settings[spop1]"><?php _e('Speaker Icon Opacity, Passive State', 'GSpeech'); ?></label> |
| 121 |
</div> |
| 122 |
<div class="old_p"> |
| 123 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 124 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spoa1]" id="slider_select12" class="slider_select_2"> |
| 125 |
<?php foreach($opacities as $opacity) { ?> |
| 126 |
<?php if($wpgs_options['spoa1'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 127 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 128 |
<?php } ?> |
| 129 |
</select> |
| 130 |
<label class="description" for="wpgs_settings[spoa1]"><?php _e('Speaker Icon Opacity, Active State', 'GSpeech'); ?></label> |
| 131 |
</div> |
| 132 |
<div class="old_p"> |
| 133 |
<?php $opacities = array('0','100','200','300','400','500','600','700','800','900','1000','1100','1200'); ?> |
| 134 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[animation_time_1]" id="slider_select13" class="slider_select_3"> |
| 135 |
<?php foreach($opacities as $opacity) { ?> |
| 136 |
<?php if($wpgs_options['animation_time_1'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 137 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?></option> |
| 138 |
<?php } ?> |
| 139 |
</select> |
| 140 |
<label class="description" for="wpgs_settings[animation_time_1]"><?php _e('Time Between Switching Passive And Active States, In miliseconds.', 'GSpeech'); ?></label> |
| 141 |
</div> |
| 142 |
</div> |
| 143 |
<!-- **********************************************************Accordion 2************************************************************************************************************************************************ --> |
| 144 |
<h3 style="margin-bottom: -3px;"><?php _e('Style 2 (Blue)', 'GSpeech'); ?></h3> |
| 145 |
<div> |
| 146 |
<div class="speaker_preview"> |
| 147 |
<?php |
| 148 |
$bcp2 = $wpgs_options['bcp2']; |
| 149 |
$cp2 = $wpgs_options['cp2']; |
| 150 |
$bca2 = $wpgs_options['bca2']; |
| 151 |
$ca2 = $wpgs_options['ca2']; |
| 152 |
$spop2 = $wpgs_options['spop2']; |
| 153 |
$spop2_ = $spop2 / 100; |
| 154 |
$spoa2 = $wpgs_options['spoa2']; |
| 155 |
$spoa2_ = $spoa2 / 100; |
| 156 |
$speaker_type_2 = $wpgs_options['speaker_type_2']; |
| 157 |
$speaker_size_2 = $wpgs_options['speaker_size_2']; |
| 158 |
$tooltip_2 = $wpgs_options['tooltip_2']; |
| 159 |
?> |
| 160 |
<style> |
| 161 |
.gspeech_selection_2 {background-color: <?php echo $bcp2;?>;color: <?php echo $cp2;?>} |
| 162 |
.gspeech_selection_2_hover {background-color: <?php echo $bca2;?>;color: <?php echo $ca2;?>} |
| 163 |
</style> |
| 164 |
<span class="gspeech_selection gspeech_selection_2 animate_item_passive">Live Preview (Style 2: Blue)</span><span id="sound_container_2" roll="1" class="sound_container_pro gspeech_slider_pro speaker_<?php echo $speaker_type_2?> <?php echo $speaker_type_2?> size_<?php echo $speaker_size_2;?>" style="opacity: <?php echo $spop2_;?>;filter: alpha(opacity = <?php echo $spop2;?>);"> </span> |
| 165 |
<span style="margin-left: 20px;" class="gspeech_selection gspeech_selection_2_hover animate_item_active">Live Preview (Style 2: Blue) Active State</span><span id="sound_container_2_hover" roll="1" class="sound_container_pro hovered gspeech_slider_pro_hovered speaker_<?php echo $speaker_type_2?> <?php echo $speaker_type_2?> size_<?php echo $speaker_size_2;?>" style="opacity: <?php echo $spoa2_;?>;filter: alpha(opacity = <?php echo $spoa2;?>);"> <span class="sexy_tooltip_title"><span class="the-tooltip top left <?php echo $tooltip_2;?>"><span class="tooltip_inner"><?php echo $speech_title;?></span></span></span></span> |
| 166 |
</div> |
| 167 |
<div style="margin: 15px 0 0 0"> |
| 168 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[speaker_type_2]" id="wpgs_settings[speaker_type_2]" class="speaker_type_select" roll="2"> |
| 169 |
<?php |
| 170 |
for($i = 1; $i <= 40; $i ++) { |
| 171 |
if($wpgs_options['speaker_type_2'] == 'speaker_'.$i) $selected = 'selected="selected"'; else $selected = ''; |
| 172 |
// if($i == $default_speaker_type_2 && $wpgs_options['speaker_type_2'] == '') $selected = 'selected="selected"'; |
| 173 |
echo '<option value="speaker_'.$i.'" '.$selected.'>Speaker '.$i.'</option>'; |
| 174 |
} |
| 175 |
?> |
| 176 |
</select> |
| 177 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 178 |
<div class="next_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 179 |
<div class="prev_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 180 |
</div> |
| 181 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[speaker_type_2]"><?php _e('Choose Speaker <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#speakers" target="_blank">See speakers demo</a></span>', 'GSpeech'); ?></label> |
| 182 |
</div> |
| 183 |
<div style="clear: both;height: 1px;"></div> |
| 184 |
<div style="margin: 15px 0 0 0"> |
| 185 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[tooltip_2]" id="wpgs_settings[tooltip_2]" class="tooltip_select" roll="1"> |
| 186 |
<?php |
| 187 |
foreach($tooltips as $key => $val) { |
| 188 |
if($wpgs_options['tooltip_2'] == $key) $selected = 'selected="selected"'; else $selected = ''; |
| 189 |
// if($key == $default_tooltip_2 && $wpgs_options['tooltip_2'] == '') $selected = 'selected="selected"'; |
| 190 |
echo '<option value="'.$key.'" '.$selected.'>'.$val.'</option>'; |
| 191 |
} |
| 192 |
?> |
| 193 |
</select> |
| 194 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 195 |
<div class="next_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 196 |
<div class="prev_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 197 |
</div> |
| 198 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[tooltip_2]"><?php _e('Choose Tooltip <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#tooltips" target="_blank">See tooltips demo</a></span>', 'GSpeech'); ?></label> |
| 199 |
</div> |
| 200 |
<div style="clear: both;height: 1px;"></div> |
| 201 |
<div class="old_p"> |
| 202 |
<label style="margin-right: 50px;"> |
| 203 |
<?php $checked1 = $wpgs_options['speaker_size_2'] == 1 ? 'checked="checked"' : ''; ?> |
| 204 |
<?php $checked2 = $wpgs_options['speaker_size_2'] == 0 ? 'checked="checked"' : ''; ?> |
| 205 |
<input roll="2" class="speaker_size_radio" id="wpgs_settings[speaker_size_21]" name="wpgs_settings[speaker_size_2]" type="radio" value="1" <?php echo $checked1;?> /> |
| 206 |
<label class="description" for="wpgs_settings[speaker_size_21]"><?php _e('Big', 'GSpeech'); ?></label> |
| 207 |
<input roll="2" class="speaker_size_radio" id="wpgs_settings[speaker_size_22]" name="wpgs_settings[speaker_size_2]" type="radio" value="0" <?php echo $checked2;?> /> |
| 208 |
<label class="description" for="wpgs_settings[speaker_size_22]"><?php _e('Small', 'GSpeech'); ?></label> |
| 209 |
</label> |
| 210 |
<label class="description">Speaker Size</label> |
| 211 |
</div> |
| 212 |
<div class="old_p"> |
| 213 |
<div class="selector_wrapper"> |
| 214 |
<?php $value = $wpgs_options['bcp2']?> |
| 215 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 216 |
<input roll="2" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bcp2]" name="wpgs_settings[bcp2]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 217 |
<label class="description" for="wpgs_settings[bcp2]"><?php _e('Audio Block Background Color, Passive State', 'GSpeech'); ?></label> |
| 218 |
</div> |
| 219 |
</div> |
| 220 |
<div class="old_p"> |
| 221 |
<div class="selector_wrapper"> |
| 222 |
<?php $value = $wpgs_options['cp2']?> |
| 223 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 224 |
<input roll="3" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[cp2]" name="wpgs_settings[cp2]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 225 |
<label class="description" for="wpgs_settings[cp2]"><?php _e('Audio Block Text Color, Passive State', 'GSpeech'); ?></label> |
| 226 |
</div> |
| 227 |
</div> |
| 228 |
<div class="old_p"> |
| 229 |
<div class="selector_wrapper"> |
| 230 |
<?php $value = $wpgs_options['bca2']?> |
| 231 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 232 |
<input roll="4" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bca2]" name="wpgs_settings[bca2]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 233 |
<label class="description" for="wpgs_settings[bca2]"><?php _e('Audio Block Background Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 234 |
</div> |
| 235 |
</div> |
| 236 |
<div class="old_p"> |
| 237 |
<div class="selector_wrapper"> |
| 238 |
<?php $value = $wpgs_options['ca2']?> |
| 239 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 240 |
<input roll="5" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[ca2]" name="wpgs_settings[ca2]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 241 |
<label class="description" for="wpgs_settings[ca2]"><?php _e('Audio Block Text Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 242 |
</div> |
| 243 |
</div> |
| 244 |
<div class="old_p"> |
| 245 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 246 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spop2]" id="slider_select21" class="slider_select_1"> |
| 247 |
<?php foreach($opacities as $opacity) { ?> |
| 248 |
<?php if($wpgs_options['spop2'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 249 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 250 |
<?php } ?> |
| 251 |
</select> |
| 252 |
<label class="description" for="wpgs_settings[spop2]"><?php _e('Speaker Icon Opacity, Passive State', 'GSpeech'); ?></label> |
| 253 |
</div> |
| 254 |
<div class="old_p"> |
| 255 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 256 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spoa2]" id="slider_select22" class="slider_select_2"> |
| 257 |
<?php foreach($opacities as $opacity) { ?> |
| 258 |
<?php if($wpgs_options['spoa2'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 259 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 260 |
<?php } ?> |
| 261 |
</select> |
| 262 |
<label class="description" for="wpgs_settings[spoa2]"><?php _e('Speaker Icon Opacity, Active State', 'GSpeech'); ?></label> |
| 263 |
</div> |
| 264 |
<div class="old_p"> |
| 265 |
<?php $opacities = array('0','100','200','300','400','500','600','700','800','900','1000','1100','1200'); ?> |
| 266 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[animation_time_2]" id="slider_select23" class="slider_select_3"> |
| 267 |
<?php foreach($opacities as $opacity) { ?> |
| 268 |
<?php if($wpgs_options['animation_time_2'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 269 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?></option> |
| 270 |
<?php } ?> |
| 271 |
</select> |
| 272 |
<label class="description" for="wpgs_settings[animation_time_2]"><?php _e('Time Between Switching Passive And Active States, In miliseconds.', 'GSpeech'); ?></label> |
| 273 |
</div> |
| 274 |
</div> |
| 275 |
<!-- **********************************************************Accordion 3************************************************************************************************************************************************ --> |
| 276 |
<h3 style="margin-bottom: -3px;"><?php _e('Style 3 (Red)', 'GSpeech'); ?></h3> |
| 277 |
<div> |
| 278 |
<div class="speaker_preview"> |
| 279 |
<?php |
| 280 |
$bcp3 = $wpgs_options['bcp3']; |
| 281 |
$cp3 = $wpgs_options['cp3']; |
| 282 |
$bca3 = $wpgs_options['bca3']; |
| 283 |
$ca3 = $wpgs_options['ca3']; |
| 284 |
$spop3 = $wpgs_options['spop3']; |
| 285 |
$spop3_ = $spop3 / 100; |
| 286 |
$spoa3 = $wpgs_options['spoa3']; |
| 287 |
$spoa3_ = $spoa3 / 100; |
| 288 |
$speaker_type_3 = $wpgs_options['speaker_type_3']; |
| 289 |
$speaker_size_3 = $wpgs_options['speaker_size_3']; |
| 290 |
$tooltip_3 = $wpgs_options['tooltip_3']; |
| 291 |
?> |
| 292 |
<style> |
| 293 |
.gspeech_selection_3 {background-color: <?php echo $bcp3;?>;color: <?php echo $cp3;?>} |
| 294 |
.gspeech_selection_3_hover {background-color: <?php echo $bca3;?>;color: <?php echo $ca3;?>} |
| 295 |
</style> |
| 296 |
<span class="gspeech_selection gspeech_selection_3 animate_item_passive">Live Preview (Style 3: Red)</span><span id="sound_container_3" roll="1" class="sound_container_pro gspeech_slider_pro speaker_<?php echo $speaker_type_3?> <?php echo $speaker_type_3?> size_<?php echo $speaker_size_3;?>" style="opacity: <?php echo $spop3_;?>;filter: alpha(opacity = <?php echo $spop3;?>);"> </span> |
| 297 |
<span style="margin-left: 20px;" class="gspeech_selection gspeech_selection_3_hover animate_item_active">Live Preview (Style 3: Red) Active State</span><span id="sound_container_3_hover" roll="1" class="sound_container_pro hovered gspeech_slider_pro_hovered speaker_<?php echo $speaker_type_3?> <?php echo $speaker_type_3?> size_<?php echo $speaker_size_3;?>" style="opacity: <?php echo $spoa3_;?>;filter: alpha(opacity = <?php echo $spoa3;?>);"> <span class="sexy_tooltip_title"><span class="the-tooltip top left <?php echo $tooltip_3;?>"><span class="tooltip_inner"><?php echo $speech_title;?></span></span></span></span> |
| 298 |
</div> |
| 299 |
<div style="margin: 15px 0 0 0"> |
| 300 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[speaker_type_3]" id="wpgs_settings[speaker_type_3]" class="speaker_type_select" roll="3"> |
| 301 |
<?php |
| 302 |
for($i = 1; $i <= 40; $i ++) { |
| 303 |
if($wpgs_options['speaker_type_3'] == 'speaker_'.$i) $selected = 'selected="selected"'; else $selected = ''; |
| 304 |
// if($i == $default_speaker_type_3 && $wpgs_options['speaker_type_3'] == '') $selected = 'selected="selected"'; |
| 305 |
echo '<option value="speaker_'.$i.'" '.$selected.'>Speaker '.$i.'</option>'; |
| 306 |
} |
| 307 |
?> |
| 308 |
</select> |
| 309 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 310 |
<div class="next_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 311 |
<div class="prev_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 312 |
</div> |
| 313 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[speaker_type_3]"><?php _e('Choose Speaker <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#speakers" target="_blank">See speakers demo</a></span>', 'GSpeech'); ?></label> |
| 314 |
</div> |
| 315 |
<div style="clear: both;height: 1px;"></div> |
| 316 |
<div style="margin: 15px 0 0 0"> |
| 317 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[tooltip_3]" id="wpgs_settings[tooltip_3]" class="tooltip_select" roll="1"> |
| 318 |
<?php |
| 319 |
foreach($tooltips as $key => $val) { |
| 320 |
if($wpgs_options['tooltip_3'] == $key) $selected = 'selected="selected"'; else $selected = ''; |
| 321 |
// if($key == $default_tooltip_3 && $wpgs_options['tooltip_3'] == '') $selected = 'selected="selected"'; |
| 322 |
echo '<option value="'.$key.'" '.$selected.'>'.$val.'</option>'; |
| 323 |
} |
| 324 |
?> |
| 325 |
</select> |
| 326 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 327 |
<div class="next_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 328 |
<div class="prev_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 329 |
</div> |
| 330 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[tooltip_3]"><?php _e('Choose Tooltip <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#tooltips" target="_blank">See tooltips demo</a></span>', 'GSpeech'); ?></label> |
| 331 |
</div> |
| 332 |
<div style="clear: both;height: 1px;"></div> |
| 333 |
<div class="old_p"> |
| 334 |
<label style="margin-right: 50px;"> |
| 335 |
<?php $checked1 = $wpgs_options['speaker_size_3'] == 1 ? 'checked="checked"' : ''; ?> |
| 336 |
<?php $checked2 = $wpgs_options['speaker_size_3'] == 0 ? 'checked="checked"' : ''; ?> |
| 337 |
<input roll="3" class="speaker_size_radio" id="wpgs_settings[speaker_size_31]" name="wpgs_settings[speaker_size_3]" type="radio" value="1" <?php echo $checked1;?> /> |
| 338 |
<label class="description" for="wpgs_settings[speaker_size_31]"><?php _e('Big', 'GSpeech'); ?></label> |
| 339 |
<input roll="3" class="speaker_size_radio" id="wpgs_settings[speaker_size_32]" name="wpgs_settings[speaker_size_3]" type="radio" value="0" <?php echo $checked2;?> /> |
| 340 |
<label class="description" for="wpgs_settings[speaker_size_32]"><?php _e('Small', 'GSpeech'); ?></label> |
| 341 |
</label> |
| 342 |
<label class="description">Speaker Size</label> |
| 343 |
</div> |
| 344 |
<div class="old_p"> |
| 345 |
<div class="selector_wrapper"> |
| 346 |
<?php $value = $wpgs_options['bcp3']?> |
| 347 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 348 |
<input roll="2" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bcp3]" name="wpgs_settings[bcp3]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 349 |
<label class="description" for="wpgs_settings[bcp3]"><?php _e('Audio Block Background Color, Passive State', 'GSpeech'); ?></label> |
| 350 |
</div> |
| 351 |
</div> |
| 352 |
<div class="old_p"> |
| 353 |
<div class="selector_wrapper"> |
| 354 |
<?php $value = $wpgs_options['cp3']?> |
| 355 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 356 |
<input roll="3" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[cp3]" name="wpgs_settings[cp3]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 357 |
<label class="description" for="wpgs_settings[cp3]"><?php _e('Audio Block Text Color, Passive State', 'GSpeech'); ?></label> |
| 358 |
</div> |
| 359 |
</div> |
| 360 |
<div class="old_p"> |
| 361 |
<div class="selector_wrapper"> |
| 362 |
<?php $value = $wpgs_options['bca3']?> |
| 363 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 364 |
<input roll="4" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bca3]" name="wpgs_settings[bca3]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 365 |
<label class="description" for="wpgs_settings[bca3]"><?php _e('Audio Block Background Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 366 |
</div> |
| 367 |
</div> |
| 368 |
<div class="old_p"> |
| 369 |
<div class="selector_wrapper"> |
| 370 |
<?php $value = $wpgs_options['ca3']?> |
| 371 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 372 |
<input roll="5" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[ca3]" name="wpgs_settings[ca3]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 373 |
<label class="description" for="wpgs_settings[ca3]"><?php _e('Audio Block Text Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 374 |
</div> |
| 375 |
</div> |
| 376 |
<div class="old_p"> |
| 377 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 378 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spop3]" id="slider_select31" class="slider_select_1"> |
| 379 |
<?php foreach($opacities as $opacity) { ?> |
| 380 |
<?php if($wpgs_options['spop3'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 381 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 382 |
<?php } ?> |
| 383 |
</select> |
| 384 |
<label class="description" for="wpgs_settings[spop3]"><?php _e('Speaker Icon Opacity, Passive State', 'GSpeech'); ?></label> |
| 385 |
</div> |
| 386 |
<div class="old_p"> |
| 387 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 388 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spoa3]" id="slider_select32" class="slider_select_2"> |
| 389 |
<?php foreach($opacities as $opacity) { ?> |
| 390 |
<?php if($wpgs_options['spoa3'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 391 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 392 |
<?php } ?> |
| 393 |
</select> |
| 394 |
<label class="description" for="wpgs_settings[spoa3]"><?php _e('Speaker Icon Opacity, Active State', 'GSpeech'); ?></label> |
| 395 |
</div> |
| 396 |
<div class="old_p"> |
| 397 |
<?php $opacities = array('0','100','200','300','400','500','600','700','800','900','1000','1100','1200'); ?> |
| 398 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[animation_time_3]" id="slider_select33" class="slider_select_3"> |
| 399 |
<?php foreach($opacities as $opacity) { ?> |
| 400 |
<?php if($wpgs_options['animation_time_3'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 401 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?></option> |
| 402 |
<?php } ?> |
| 403 |
</select> |
| 404 |
<label class="description" for="wpgs_settings[animation_time_3]"><?php _e('Time Between Switching Passive And Active States, In miliseconds.', 'GSpeech'); ?></label> |
| 405 |
</div> |
| 406 |
</div> |
| 407 |
<!-- **********************************************************Accordion 4************************************************************************************************************************************************ --> |
| 408 |
<h3 style="margin-bottom: -3px;"><?php _e('Style 4 (Green)', 'GSpeech'); ?></h3> |
| 409 |
<div> |
| 410 |
<div class="speaker_preview"> |
| 411 |
<?php |
| 412 |
$bcp4 = $wpgs_options['bcp4']; |
| 413 |
$cp4 = $wpgs_options['cp4']; |
| 414 |
$bca4 = $wpgs_options['bca4']; |
| 415 |
$ca4 = $wpgs_options['ca4']; |
| 416 |
$spop4 = $wpgs_options['spop4']; |
| 417 |
$spop4_ = $spop4 / 100; |
| 418 |
$spoa4 = $wpgs_options['spoa4']; |
| 419 |
$spoa4_ = $spoa4 / 100; |
| 420 |
$speaker_type_4 = $wpgs_options['speaker_type_4']; |
| 421 |
$speaker_size_4 = $wpgs_options['speaker_size_4']; |
| 422 |
$tooltip_4 = $wpgs_options['tooltip_4']; |
| 423 |
?> |
| 424 |
<style> |
| 425 |
.gspeech_selection_4 {background-color: <?php echo $bcp4;?>;color: <?php echo $cp4;?>} |
| 426 |
.gspeech_selection_4_hover {background-color: <?php echo $bca4;?>;color: <?php echo $ca4;?>} |
| 427 |
</style> |
| 428 |
<span class="gspeech_selection gspeech_selection_4 animate_item_passive">Live Preview (Style 4: Green)</span><span id="sound_container_4" roll="1" class="sound_container_pro gspeech_slider_pro speaker_<?php echo $speaker_type_4?> <?php echo $speaker_type_4?> size_<?php echo $speaker_size_4;?>" style="opacity: <?php echo $spop4_;?>;filter: alpha(opacity = <?php echo $spop4;?>);"> </span> |
| 429 |
<span style="margin-left: 20px;" class="gspeech_selection gspeech_selection_4_hover animate_item_active">Live Preview (Style 4: Green) Active State</span><span id="sound_container_4_hover" roll="1" class="sound_container_pro hovered gspeech_slider_pro_hovered speaker_<?php echo $speaker_type_4?> <?php echo $speaker_type_4?> size_<?php echo $speaker_size_4;?>" style="opacity: <?php echo $spoa4_;?>;filter: alpha(opacity = <?php echo $spoa4;?>);"> <span class="sexy_tooltip_title"><span class="the-tooltip top left <?php echo $tooltip_4;?>"><span class="tooltip_inner"><?php echo $speech_title;?></span></span></span></span> |
| 430 |
</div> |
| 431 |
<div style="margin: 15px 0 0 0"> |
| 432 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[speaker_type_4]" id="wpgs_settings[speaker_type_4]" class="speaker_type_select" roll="4"> |
| 433 |
<?php |
| 434 |
for($i = 1; $i <= 40; $i ++) { |
| 435 |
if($wpgs_options['speaker_type_4'] == 'speaker_'.$i) $selected = 'selected="selected"'; else $selected = ''; |
| 436 |
// if($i == $default_speaker_type_4 && $wpgs_options['speaker_type_4'] == '') $selected = 'selected="selected"'; |
| 437 |
echo '<option value="speaker_'.$i.'" '.$selected.'>Speaker '.$i.'</option>'; |
| 438 |
} |
| 439 |
?> |
| 440 |
</select> |
| 441 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 442 |
<div class="next_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 443 |
<div class="prev_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 444 |
</div> |
| 445 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[speaker_type_4]"><?php _e('Choose Speaker <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#speakers" target="_blank">See speakers demo</a></span>', 'GSpeech'); ?></label> |
| 446 |
</div> |
| 447 |
<div style="clear: both;height: 1px;"></div> |
| 448 |
<div style="margin: 15px 0 0 0"> |
| 449 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[tooltip_4]" id="wpgs_settings[tooltip_4]" class="tooltip_select" roll="4"> |
| 450 |
<?php |
| 451 |
foreach($tooltips as $key => $val) { |
| 452 |
if($wpgs_options['tooltip_4'] == $key) $selected = 'selected="selected"'; else $selected = ''; |
| 453 |
// if($key == $default_tooltip_4 && $wpgs_options['tooltip_4'] == '') $selected = 'selected="selected"'; |
| 454 |
echo '<option value="'.$key.'" '.$selected.'>'.$val.'</option>'; |
| 455 |
} |
| 456 |
?> |
| 457 |
</select> |
| 458 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 459 |
<div class="next_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 460 |
<div class="prev_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 461 |
</div> |
| 462 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[tooltip_4]"><?php _e('Choose Tooltip <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#tooltips" target="_blank">See tooltips demo</a></span>', 'GSpeech'); ?></label> |
| 463 |
</div> |
| 464 |
<div style="clear: both;height: 1px;"></div> |
| 465 |
<div class="old_p"> |
| 466 |
<label style="margin-right: 50px;"> |
| 467 |
<?php $checked1 = $wpgs_options['speaker_size_4'] == 1 ? 'checked="checked"' : ''; ?> |
| 468 |
<?php $checked2 = $wpgs_options['speaker_size_4'] == 0 ? 'checked="checked"' : ''; ?> |
| 469 |
<input roll="4" class="speaker_size_radio" id="wpgs_settings[speaker_size_41]" name="wpgs_settings[speaker_size_4]" type="radio" value="1" <?php echo $checked1;?> /> |
| 470 |
<label class="description" for="wpgs_settings[speaker_size_41]"><?php _e('Big', 'GSpeech'); ?></label> |
| 471 |
<input roll="4" class="speaker_size_radio" id="wpgs_settings[speaker_size_42]" name="wpgs_settings[speaker_size_4]" type="radio" value="0" <?php echo $checked2;?> /> |
| 472 |
<label class="description" for="wpgs_settings[speaker_size_42]"><?php _e('Small', 'GSpeech'); ?></label> |
| 473 |
</label> |
| 474 |
<label class="description">Speaker Size</label> |
| 475 |
</div> |
| 476 |
<div class="old_p"> |
| 477 |
<div class="selector_wrapper"> |
| 478 |
<?php $value = $wpgs_options['bcp4']?> |
| 479 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 480 |
<input roll="2" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bcp4]" name="wpgs_settings[bcp4]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 481 |
<label class="description" for="wpgs_settings[bcp4]"><?php _e('Audio Block Background Color, Passive State', 'GSpeech'); ?></label> |
| 482 |
</div> |
| 483 |
</div> |
| 484 |
<div class="old_p"> |
| 485 |
<div class="selector_wrapper"> |
| 486 |
<?php $value = $wpgs_options['cp4']?> |
| 487 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 488 |
<input roll="3" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[cp4]" name="wpgs_settings[cp4]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 489 |
<label class="description" for="wpgs_settings[cp4]"><?php _e('Audio Block Text Color, Passive State', 'GSpeech'); ?></label> |
| 490 |
</div> |
| 491 |
</div> |
| 492 |
<div class="old_p"> |
| 493 |
<div class="selector_wrapper"> |
| 494 |
<?php $value = $wpgs_options['bca4']?> |
| 495 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 496 |
<input roll="4" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bca4]" name="wpgs_settings[bca4]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 497 |
<label class="description" for="wpgs_settings[bca4]"><?php _e('Audio Block Background Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 498 |
</div> |
| 499 |
</div> |
| 500 |
<div class="old_p"> |
| 501 |
<div class="selector_wrapper"> |
| 502 |
<?php $value = $wpgs_options['ca4']?> |
| 503 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 504 |
<input roll="5" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[ca4]" name="wpgs_settings[ca4]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 505 |
<label class="description" for="wpgs_settings[ca4]"><?php _e('Audio Block Text Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 506 |
</div> |
| 507 |
</div> |
| 508 |
<div class="old_p"> |
| 509 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 510 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spop4]" id="slider_select41" class="slider_select_1"> |
| 511 |
<?php foreach($opacities as $opacity) { ?> |
| 512 |
<?php if($wpgs_options['spop4'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 513 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 514 |
<?php } ?> |
| 515 |
</select> |
| 516 |
<label class="description" for="wpgs_settings[spop4]"><?php _e('Speaker Icon Opacity, Passive State', 'GSpeech'); ?></label> |
| 517 |
</div> |
| 518 |
<div class="old_p"> |
| 519 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 520 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spoa4]" id="slider_select42" class="slider_select_2"> |
| 521 |
<?php foreach($opacities as $opacity) { ?> |
| 522 |
<?php if($wpgs_options['spoa4'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 523 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 524 |
<?php } ?> |
| 525 |
</select> |
| 526 |
<label class="description" for="wpgs_settings[spoa4]"><?php _e('Speaker Icon Opacity, Active State', 'GSpeech'); ?></label> |
| 527 |
</div> |
| 528 |
<div class="old_p"> |
| 529 |
<?php $opacities = array('0','100','200','300','400','500','600','700','800','900','1000','1100','1200'); ?> |
| 530 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[animation_time_4]" id="slider_select43" class="slider_select_3"> |
| 531 |
<?php foreach($opacities as $opacity) { ?> |
| 532 |
<?php if($wpgs_options['animation_time_4'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 533 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?></option> |
| 534 |
<?php } ?> |
| 535 |
</select> |
| 536 |
<label class="description" for="wpgs_settings[animation_time_4]"><?php _e('Time Between Switching Passive And Active States, In miliseconds.', 'GSpeech'); ?></label> |
| 537 |
</div> |
| 538 |
</div> |
| 539 |
<!-- **********************************************************Accordion 5************************************************************************************************************************************************ --> |
| 540 |
<h3 style="margin-bottom: -3px;"><?php _e('Style 5 (Orange)', 'GSpeech'); ?></h3> |
| 541 |
<div> |
| 542 |
<div class="speaker_preview"> |
| 543 |
<?php |
| 544 |
$bcp5 = $wpgs_options['bcp5']; |
| 545 |
$cp5 = $wpgs_options['cp5']; |
| 546 |
$bca5 = $wpgs_options['bca5']; |
| 547 |
$ca5 = $wpgs_options['ca5']; |
| 548 |
$spop5 = $wpgs_options['spop5']; |
| 549 |
$spop5_ = $spop5 / 100; |
| 550 |
$spoa5 = $wpgs_options['spoa5']; |
| 551 |
$spoa5_ = $spoa5 / 100; |
| 552 |
$speaker_type_5 = $wpgs_options['speaker_type_5']; |
| 553 |
$speaker_size_5 = $wpgs_options['speaker_size_5']; |
| 554 |
$tooltip_5 = $wpgs_options['tooltip_5']; |
| 555 |
?> |
| 556 |
<style> |
| 557 |
.gspeech_selection_5 {background-color: <?php echo $bcp5;?>;color: <?php echo $cp5;?>} |
| 558 |
.gspeech_selection_5_hover {background-color: <?php echo $bca5;?>;color: <?php echo $ca5;?>} |
| 559 |
</style> |
| 560 |
<span class="gspeech_selection gspeech_selection_5 animate_item_passive">Live Preview (Style 5: Orange)</span><span id="sound_container_5" roll="1" class="sound_container_pro gspeech_slider_pro speaker_<?php echo $speaker_type_5?> <?php echo $speaker_type_5?> size_<?php echo $speaker_size_5;?>" style="opacity: <?php echo $spop5_;?>;filter: alpha(opacity = <?php echo $spop5;?>);"> </span> |
| 561 |
<span style="margin-left: 20px;" class="gspeech_selection gspeech_selection_5_hover animate_item_active">Live Preview (Style 5: Orange) Active State</span><span id="sound_container_5_hover" roll="1" class="sound_container_pro hovered gspeech_slider_pro_hovered speaker_<?php echo $speaker_type_5?> <?php echo $speaker_type_5?> size_<?php echo $speaker_size_5;?>" style="opacity: <?php echo $spoa5_;?>;filter: alpha(opacity = <?php echo $spoa5;?>);"> <span class="sexy_tooltip_title"><span class="the-tooltip top left <?php echo $tooltip_5;?>"><span class="tooltip_inner"><?php echo $speech_title;?></span></span></span></span> |
| 562 |
</div> |
| 563 |
<div style="margin: 15px 0 0 0"> |
| 564 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[speaker_type_5]" id="wpgs_settings[speaker_type_5]" class="speaker_type_select" roll="5"> |
| 565 |
<?php |
| 566 |
for($i = 1; $i <= 40; $i ++) { |
| 567 |
if($wpgs_options['speaker_type_5'] == 'speaker_'.$i) $selected = 'selected="selected"'; else $selected = ''; |
| 568 |
// if($i == $default_speaker_type_5 && $wpgs_options['speaker_type_5'] == '') $selected = 'selected="selected"'; |
| 569 |
echo '<option value="speaker_'.$i.'" '.$selected.'>Speaker '.$i.'</option>'; |
| 570 |
} |
| 571 |
?> |
| 572 |
</select> |
| 573 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 574 |
<div class="next_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 575 |
<div class="prev_speaker" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 576 |
</div> |
| 577 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[speaker_type_5]"><?php _e('Choose Speaker <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#speakers" target="_blank">See speakers demo</a></span>', 'GSpeech'); ?></label> |
| 578 |
</div> |
| 579 |
<div style="clear: both;height: 1px;"></div> |
| 580 |
<div style="margin: 15px 0 0 0"> |
| 581 |
<select style="width: 96px;float: left;display: block;" name="wpgs_settings[tooltip_5]" id="wpgs_settings[tooltip_5]" class="tooltip_select" roll="5"> |
| 582 |
<?php |
| 583 |
foreach($tooltips as $key => $val) { |
| 584 |
if($wpgs_options['tooltip_5'] == $key) $selected = 'selected="selected"'; else $selected = ''; |
| 585 |
// if($key == $default_tooltip_5 && $wpgs_options['tooltip_5'] == '') $selected = 'selected="selected"'; |
| 586 |
echo '<option value="'.$key.'" '.$selected.'>'.$val.'</option>'; |
| 587 |
} |
| 588 |
?> |
| 589 |
</select> |
| 590 |
<div style="display: block;float:left;width: 43px;height: 32px;position: relative;"> |
| 591 |
<div class="next_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Next</div> |
| 592 |
<div class="prev_tooltip" style='-moz-user-select: none;-webkit-user-select: none;' onselectstart='return false;'>Prev</div> |
| 593 |
</div> |
| 594 |
<label style="float: left;display: block;margin-top: 7px;" class="description" for="wpgs_settings[tooltip_5]"><?php _e('Choose Tooltip <span style="font-size: 12px;"><a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/demo#tooltips" target="_blank">See tooltips demo</a></span>', 'GSpeech'); ?></label> |
| 595 |
</div> |
| 596 |
<div style="clear: both;height: 1px;"></div> |
| 597 |
<div class="old_p"> |
| 598 |
<label style="margin-right: 50px;"> |
| 599 |
<?php $checked1 = $wpgs_options['speaker_size_5'] == 1 ? 'checked="checked"' : ''; ?> |
| 600 |
<?php $checked2 = $wpgs_options['speaker_size_5'] == 0 ? 'checked="checked"' : ''; ?> |
| 601 |
<input roll="5" class="speaker_size_radio" id="wpgs_settings[speaker_size_51]" name="wpgs_settings[speaker_size_5]" type="radio" value="1" <?php echo $checked1;?> /> |
| 602 |
<label class="description" for="wpgs_settings[speaker_size_51]"><?php _e('Big', 'GSpeech'); ?></label> |
| 603 |
<input roll="5" class="speaker_size_radio" id="wpgs_settings[speaker_size_52]" name="wpgs_settings[speaker_size_5]" type="radio" value="0" <?php echo $checked2;?> /> |
| 604 |
<label class="description" for="wpgs_settings[speaker_size_52]"><?php _e('Small', 'GSpeech'); ?></label> |
| 605 |
</label> |
| 606 |
<label class="description">Speaker Size</label> |
| 607 |
</div> |
| 608 |
<div class="old_p"> |
| 609 |
<div class="selector_wrapper"> |
| 610 |
<?php $value = $wpgs_options['bcp5']?> |
| 611 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 612 |
<input roll="2" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bcp5]" name="wpgs_settings[bcp5]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 613 |
<label class="description" for="wpgs_settings[bcp5]"><?php _e('Audio Block Background Color, Passive State', 'GSpeech'); ?></label> |
| 614 |
</div> |
| 615 |
</div> |
| 616 |
<div class="old_p"> |
| 617 |
<div class="selector_wrapper"> |
| 618 |
<?php $value = $wpgs_options['cp5']?> |
| 619 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 620 |
<input roll="3" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[cp5]" name="wpgs_settings[cp5]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 621 |
<label class="description" for="wpgs_settings[cp5]"><?php _e('Audio Block Text Color, Passive State', 'GSpeech'); ?></label> |
| 622 |
</div> |
| 623 |
</div> |
| 624 |
<div class="old_p"> |
| 625 |
<div class="selector_wrapper"> |
| 626 |
<?php $value = $wpgs_options['bca5']?> |
| 627 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 628 |
<input roll="4" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[bca5]" name="wpgs_settings[bca5]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 629 |
<label class="description" for="wpgs_settings[bca5]"><?php _e('Audio Block Background Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 630 |
</div> |
| 631 |
</div> |
| 632 |
<div class="old_p"> |
| 633 |
<div class="selector_wrapper"> |
| 634 |
<?php $value = $wpgs_options['ca5']?> |
| 635 |
<div id="colorSelector" class="colorSelector" style="float: left;"><div style="background-color: <?php echo $value;?>"></div></div> |
| 636 |
<input roll="5" readonly="readonly" style="margin-top: 6px;width: 101px;background-color: #fff" id="wpgs_settings[ca5]" name="wpgs_settings[ca5]" type="text" value="<?php echo $value; ?>" class="colorSelector" /> |
| 637 |
<label class="description" for="wpgs_settings[ca5]"><?php _e('Audio Block Text Color, Active State(User Hover The Speaker, or Click on it).', 'GSpeech'); ?></label> |
| 638 |
</div> |
| 639 |
</div> |
| 640 |
<div class="old_p"> |
| 641 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 642 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spop5]" id="slider_select51" class="slider_select_1"> |
| 643 |
<?php foreach($opacities as $opacity) { ?> |
| 644 |
<?php if($wpgs_options['spop5'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 645 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 646 |
<?php } ?> |
| 647 |
</select> |
| 648 |
<label class="description" for="wpgs_settings[spop5]"><?php _e('Speaker Icon Opacity, Passive State', 'GSpeech'); ?></label> |
| 649 |
</div> |
| 650 |
<div class="old_p"> |
| 651 |
<?php $opacities = array('10','20','30','40','50','60','70','80','90','100'); ?> |
| 652 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[spoa5]" id="slider_select52" class="slider_select_2"> |
| 653 |
<?php foreach($opacities as $opacity) { ?> |
| 654 |
<?php if($wpgs_options['spoa5'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 655 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?>%</option> |
| 656 |
<?php } ?> |
| 657 |
</select> |
| 658 |
<label class="description" for="wpgs_settings[spoa5]"><?php _e('Speaker Icon Opacity, Active State', 'GSpeech'); ?></label> |
| 659 |
</div> |
| 660 |
<div class="old_p"> |
| 661 |
<?php $opacities = array('0','100','200','300','400','500','600','700','800','900','1000','1100','1200'); ?> |
| 662 |
<select style="width: 136px;margin-bottom: 8px" name="wpgs_settings[animation_time_5]" id="slider_select53" class="slider_select_3"> |
| 663 |
<?php foreach($opacities as $opacity) { ?> |
| 664 |
<?php if($wpgs_options['animation_time_5'] == $opacity) { $selected = 'selected="selected"'; } else { $selected = ''; } ?> |
| 665 |
<option value="<?php echo $opacity; ?>" <?php echo $selected; ?>><?php echo $opacity; ?></option> |
| 666 |
<?php } ?> |
| 667 |
</select> |
| 668 |
<label class="description" for="wpgs_settings[animation_time_5]"><?php _e('Time Between Switching Passive And Active States, In miliseconds.', 'GSpeech'); ?></label> |
| 669 |
</div> |
| 670 |
</div> |
| 671 |
</div> |