AlkantarClanX12
Current Path : /proc/self/root/home/thanudqk/128shen.com/wp-content/plugins/cp-polls/ |
Current File : //proc/self/root/home/thanudqk/128shen.com/wp-content/plugins/cp-polls/cp-public-int.inc.php |
<?php if ( !defined('CP_AUTH_INCLUDE') ) { echo 'Direct access not allowed.'; exit; } ?> <?php $alreadyvoted = $this->has_already_voted() || (isset($results) && $results == '1'); ?> </p> <div id="cpresults"><div id="<?php echo $this->prefix; ?>_presults<?php echo '_'.$this->print_counter; ?>" ></div></div> <?php $custom_styles = base64_decode(get_option('CP_POLLS_CSS', '')); if ($custom_styles != '') echo '<style type="text/css">'.esc_html($custom_styles).'</style>'; ?> <form <?php if ($alreadyvoted) echo 'style="display:none;"'; ?> class="cpp_form" name="<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>" id="<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>" action="<?php $this->get_site_url(); ?>" method="post" enctype="multipart/form-data" onsubmit="return <?php echo $this->prefix; ?>_pform_doValidate<?php echo '_'.$this->print_counter; ?>(this);"><input type="hidden" name="cp_pform_psequence" value="<?php echo '_'.$this->print_counter; ?>" /><input type="hidden" name="<?php echo $this->prefix; ?>_pform_process" value="1" /><input type="hidden" name="<?php echo $this->prefix; ?>_id" value="<?php echo $this->item; ?>" /><input type="hidden" name="cp_ref_page" value="<?php esc_attr($this->get_site_url()); ?>" /><input type="hidden" name="form_structure<?php echo '_'.$this->print_counter; ?>" id="form_structure<?php echo '_'.$this->print_counter; ?>" size="180" value="<?php echo str_replace('"','"',str_replace("\r","",str_replace("\n","",esc_attr($this->cleanJSON($this->translate_json($this->get_option('form_structure', CP_POLLS_DEFAULT_form_structure))))))); ?>" /> <div id="fbuilder"> <div id="fbuilder<?php echo '_'.$this->print_counter; ?>"> <div id="formheader<?php echo '_'.$this->print_counter; ?>"></div> <div id="fieldlist<?php echo '_'.$this->print_counter; ?>"></div> </div> </div> <div id="cpcaptchalayer<?php echo '_'.$this->print_counter; ?>" class="cpcaptchalayer"> <?php if ($this->get_option('cv_enable_captcha', CP_POLLS_DEFAULT_cv_enable_captcha) != 'false') { ?> <?php esc_html_e("Please enter the security code","cppolls"); ?>:<br /> <img src="<?php echo $this->get_site_url().'/?'.$this->prefix.'_captcha=captcha&ps=_'.$this->print_counter.'&inAdmin=1&width='.$this->get_option('cv_width', CP_POLLS_DEFAULT_cv_width).'&height='.$this->get_option('cv_height', CP_POLLS_DEFAULT_cv_height).'&letter_count='.$this->get_option('cv_chars', CP_POLLS_DEFAULT_cv_chars).'&min_size='.$this->get_option('cv_min_font_size', CP_POLLS_DEFAULT_cv_min_font_size).'&max_size='.$this->get_option('cv_max_font_size', CP_POLLS_DEFAULT_cv_max_font_size).'&noise='.$this->get_option('cv_noise', CP_POLLS_DEFAULT_cv_noise).'&noiselength='.$this->get_option('cv_noise_length', CP_POLLS_DEFAULT_cv_noise_length).'&bcolor='.$this->get_option('cv_background', CP_POLLS_DEFAULT_cv_background).'&border='.$this->get_option('cv_border', CP_POLLS_DEFAULT_cv_border).'&font='.$this->get_option('cv_font', CP_POLLS_DEFAULT_cv_font); ?>" id="captchaimg<?php echo '_'.$this->print_counter; ?>" alt="security code" border="0" class="skip-lazy" /> <br /><?php esc_html_e("Security Code (lowercase letters)","cppolls"); ?>:<br /> <div class="dfield"><input type="text" size="20" name="hdcaptcha_<?php echo $this->prefix; ?>_post" id="hdcaptcha_<?php echo $this->prefix; ?>_post<?php echo '_'.$this->print_counter; ?>" value="" /> <div class="cpefb_error message" id="hdcaptcha_error<?php echo '_'.$this->print_counter; ?>" generated="true" style="display:none;position: absolute; left: 0px; top: 25px;"><?php echo esc_attr($this->get_option('cv_text_enter_valid_captcha', CP_POLLS_DEFAULT_cv_text_enter_valid_captcha)); ?></div> </div><br /> <?php } ?> </div> <div id="cp_subbtn<?php echo '_'.$this->print_counter; ?>" class="cp_subbtn"><?php esc_html_e($button_label,"cppolls"); ?></div> <div class="clearer"></div> <?php $option_private = $this->get_option('poll_private_reports', CP_POLLS_POLL_PRIVATE_REPORTS); $option_seeres = $this->get_option('poll_see_results', CP_POLLS_POLL_SEE_RESULTS); if (!$alreadyvoted && $option_private == 'false' && ($option_seeres == 'true' || $option_seeres == '')) { ?> <div class="cpseeresults">[<a class="cpseeresultstext" href="javascript:<?php echo $this->prefix; ?>_cpSeeResults<?php echo '_'.$this->print_counter; ?>();"><?php $label = esc_attr($this->get_option('poll_text_seeres', CP_POLLS_POLL_TEXT_SEERES)); echo ($label==''?CP_POLLS_POLL_TEXT_SEERES:$label); ?></a>]</div> <?php } ?> </form> <?php if ($alreadyvoted) { ?><script type="text/javascript"><?php echo $this->prefix; ?>_cpSeeResults<?php echo '_'.$this->print_counter; ?>();</script><?php } ?>