| Server IP : www.new.bangkokfinder.com / Your IP : 162.158.170.163 Web Server : nginx/1.20.1 System : Linux new 4.15.0-159-generic #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021 x86_64 User : bangkokfinder ( 1000) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bangkokfinder/www/wp-content/themes/wpl_twentyeight/wpl/ |
Upload File : |
<?php
/**
* Style Selector
*/
echo '
<div id="style_selector">
<div id="style_selector_handle" class="closed"></div>
<div class="styles_selector_main_title">'.__('Style Selector', 'wpl_twentyeight' ).'</div>
<div class="styles_selector_boxes">
<div class="styles_selector_title">'.__('Select the layout', 'wpl_twentyeight' ).'</div>
<div class="styles_selector_cont">
<select id="options_layout">
<option value="1" '.((isset($this->theme_options['layout']) and $this->theme_options['layout']==='1' ) ? 'selected="selected"' : '').'>'.__('Wide', 'wpl_twentyeight').'</option>
<option value="2" '.((isset($this->theme_options['layout']) and $this->theme_options['layout']==='2' ) ? 'selected="selected"' : '').'>'.__('Boxed', 'wpl_twentyeight').'</option>
</select>
</div>
<div class="styles_selector_title">'.__('Choose the theme', 'wpl_twentyeight' ).'</div>
<div class="styles_selector_cont">
<select id="options_theme">
<option value="'.home_url('/').'" '.((isset($this->theme_options['theme']) and $this->theme_options['theme']==='1' ) ? 'selected="selected"' : '').'>'.__('Light', 'wpl_twentyeight').'</option>
<option value="'.home_url('/').'?theme=dark" ';
if(wpl_theme::getVar('theme') =='dark' or ($this->theme_options['theme']==='dark'))
{
echo 'selected="selected"';
}
echo '>'.__('Dark', 'wpl_twentyeight').'</option>
</select>
</div>
</div>
<div class="styles_selector_boxes">
<div class="styles_selector_title">'.__('Preset colors', 'wpl_twentyeight' ).'</div>
<div class="styles_selector_cont">
<div id="preset_0">'.__('No Preset', 'wpl_twentyeight').'</div>';
for($i=1;$i<=5;$i++)
{
echo '<div id="preset_'.$i.'"></div>';
}
echo '</div>
</div>
<div class="styles_selector_boxes pattern">
<div class="styles_selector_title">'.__('Select the pattern', 'wpl_twentyeight' ).'</div>
<div class="styles_selector_cont">';
for($i=1;$i<=10;$i++)
{
echo '<div id="pattern_'.$i.'"></div>';
}
echo '</div>
</div>
</div>';
?>