| 1 |
<?php |
| 2 |
$active_tab = (!empty($_GET['active-tab'])) ? esc_attr($_GET['active-tab']) : 'tab1'; |
| 3 |
|
| 4 |
$this_poll_id = (isset($_GET['filter_answer'])) ? esc_attr($_GET['filter_answer']) : ''; |
| 5 |
$result_obj = $this->results_obj; |
| 6 |
$poll_cats = $result_obj->get_categories(); |
| 7 |
// $answer_actions = $this->answer_results_obj; |
| 8 |
$polls = $result_obj->get_polls(); |
| 9 |
$last_id = 0; |
| 10 |
$content = ''; |
| 11 |
$disable_chart_filter = ''; |
| 12 |
$selected_poll_title = array(); |
| 13 |
$latest_poll_id = 0; |
| 14 |
if((!empty($polls) && $this_poll_id != "0" && strpos($_SERVER['REQUEST_URI'], 'filter_answer=') == false) || !empty($polls) && $this_poll_id == "0"){ |
| 15 |
$content = '<div><blockquote style="font-size: 17px;border-color:#f3ca03;">'. esc_html__("There are no selected polls." , "poll-maker").'</blockquote></div>'; |
| 16 |
} else if(!empty($polls) && $this_poll_id != "0"){ |
| 17 |
foreach($polls as $p_key => $p_value){ |
| 18 |
$this_poll_id = isset($p_value['id']) && $p_value['id'] != "" ? esc_attr($p_value['id']) : ""; |
| 19 |
$this_poll_title = isset($p_value['title']) && $p_value['title'] != "" ? esc_attr($p_value['title']) : ""; |
| 20 |
$selected_poll_title[$this_poll_id] = $this_poll_title; |
| 21 |
$last_id = $p_key; |
| 22 |
} |
| 23 |
$last_id = isset($this_poll_id) && $this_poll_id != '' ? $this_poll_id : $polls[$last_id]['id']; |
| 24 |
$latest_poll_id = isset($_REQUEST['filter_answer']) && $_REQUEST['filter_answer'] != '' ? absint($_REQUEST['filter_answer']) : intval($last_id); |
| 25 |
$poll_answers = $result_obj->get_poll_answers($latest_poll_id); |
| 26 |
|
| 27 |
$all_answer_data = array(); |
| 28 |
$votes_all_sum = 0; |
| 29 |
foreach($poll_answers as $key => $answers){ |
| 30 |
$votes = isset($answers['votes']) && $answers['votes'] != '' ? intval($answers['votes']) : 0; |
| 31 |
$votes_all_sum += $votes; |
| 32 |
} |
| 33 |
$votes_sum = 0; |
| 34 |
foreach($poll_answers as $key => $answers){ |
| 35 |
$answer_percent = "0"; |
| 36 |
$votes = isset($answers['votes']) && $answers['votes'] != '' ? intval($answers['votes']) : 0; |
| 37 |
$votes_sum += $votes; |
| 38 |
if($votes_all_sum > 0 && $votes > 0){ |
| 39 |
$answer_percent = ceil(($votes * 100) / $votes_all_sum); |
| 40 |
} |
| 41 |
$all_answer_data[0] = array("Total votes" , "Total votes (".$votes_sum.")"); |
| 42 |
$ans = ( isset($answers['answer']) && $answers['answer'] != '') ? strip_tags( stripslashes( $answers['answer'] ) ) : ''; |
| 43 |
$all_answer_data[$key+1] = array($ans . " " . '('.$answer_percent . "%".')', $votes); |
| 44 |
} |
| 45 |
$poll_js_title = $latest_poll_id > 0 ? $selected_poll_title[$latest_poll_id] : 0; |
| 46 |
wp_localize_script("ays-poll-admin-js", 'pollAnswerChartObj', array( |
| 47 |
'answerData' => $all_answer_data, |
| 48 |
'pollTitle' => $poll_js_title |
| 49 |
) ); |
| 50 |
|
| 51 |
} else{ |
| 52 |
$content = '<div><blockquote style="font-size: 17px;border-color:red;">'. esc_html__("There are no polls yet." , "poll-maker").'</blockquote></div>'; |
| 53 |
$disable_chart_filter = "disabled"; |
| 54 |
} |
| 55 |
|
| 56 |
// Poll get user ids |
| 57 |
$poll_users = $this->results_obj->ays_poll_get_users(); |
| 58 |
?> |
| 59 |
|
| 60 |
<div class="wrap ays-poll-results-list-table"> |
| 61 |
<div class="ays-poll-heading-box"> |
| 62 |
<div class="ays-poll-wordpress-user-manual-box"> |
| 63 |
<a href="https://ays-pro.com/wordpress-poll-maker-user-manual" target="_blank" style="text-decoration: none;font-size: 13px;"> |
| 64 |
<i class="ays_poll_fas ays_fa_file_text"></i> |
| 65 |
<span style="margin-left: 3px;text-decoration: underline;"><?php echo esc_html__("View Documentation", "poll-maker"); ?></span> |
| 66 |
</a> |
| 67 |
</div> |
| 68 |
</div> |
| 69 |
<h1 class="wp-heading-inline"> |
| 70 |
<?php |
| 71 |
echo esc_html(get_admin_page_title()); |
| 72 |
?> |
| 73 |
</h1> |
| 74 |
<div class="ays-poll-export-import-box"> |
| 75 |
<div class="only_pro" style="position: relative"> |
| 76 |
<div class="pro_features pro_features_popup" style="background: none; box-shadow: none; color: #fff"> |
| 77 |
<div class="pro-features-popup-conteiner"> |
| 78 |
<div class="pro-features-popup-title"> |
| 79 |
<?php echo esc_html__("Export Results", "poll-maker"); ?> |
| 80 |
</div> |
| 81 |
<div class="pro-features-popup-content" data-link="https://youtu.be/DYof2ejoDVQ"> |
| 82 |
<p> |
| 83 |
<?php echo esc_html__("Analyzing poll results is the most important point of creating polls. The plugin supports CSV and XLSX file formats to export the results of your polls.", "poll-maker"); ?> |
| 84 |
</p> |
| 85 |
<p> |
| 86 |
<?php echo esc_html__("Use the feature to analyze poll results and get a better understanding of your website visitors.", "poll-maker"); ?> |
| 87 |
</p> |
| 88 |
</div> |
| 89 |
<div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-export-results"> |
| 90 |
<?php echo esc_html__("Pricing", "poll-maker"); ?> |
| 91 |
</div> |
| 92 |
</div> |
| 93 |
</div> |
| 94 |
<div class="ays-poll-crown-img-container-main"> |
| 95 |
<a href="https://ays-pro.com/wordpress/poll-maker/" target="_blank" class="ays-poll-crown-img-container"> |
| 96 |
<button class="disabled-button" style="color: #fff; float: right; margin-right: 5px; cursor: pointer; width: 77px; position: relative; display: flex; justify-content: space-between; align-items: center" title="<?php echo esc_html__('This property available only in PRO version', "poll-maker");?>" > |
| 97 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL) . '/images/icons/crown.png';?>"> |
| 98 |
<?php echo esc_html__('Export', "poll-maker");?> |
| 99 |
</button> |
| 100 |
</a> |
| 101 |
</div> |
| 102 |
</div> |
| 103 |
</div> |
| 104 |
<div class="ays-top-menu-wrapper"> |
| 105 |
<div class="ays_menu_left" data-scroll="0"><i class="ays_poll_fas ays_poll_fa-left"></i></div> |
| 106 |
<div class="ays-top-menu"> |
| 107 |
<div class="nav-tab-wrapper ays-poll-results-page-wrapper ays-top-tab-wrapper"> |
| 108 |
<a href="#tab1" class="nav-tab <?php echo $active_tab == "tab1" ? "nav-tab-active" : ""; ?>"><?php echo esc_html__('Results', "poll-maker"); ?></a> |
| 109 |
<a href="#tab2" class="nav-tab <?php echo $active_tab == "tab2" ? "nav-tab-active" : ""; ?> ays_poll_answer_chart_active"><?php echo esc_html__('Answer Chart', "poll-maker"); ?></a> |
| 110 |
<a href="#tab3" class="nav-tab"><?php echo esc_html__('Statistics', "poll-maker"); ?></a> |
| 111 |
<a href="#tab4" class="nav-tab"><?php echo esc_html__('Global Leaderboard', "poll-maker"); ?></a> |
| 112 |
<a href="#tab5" class="nav-tab"><?php echo esc_html__('All Results', "poll-maker"); ?></a> |
| 113 |
</div> |
| 114 |
</div> |
| 115 |
<div class="ays_menu_right" data-scroll="-1"><i class="ays_poll_fas ays_poll_fa-right"></i></div> |
| 116 |
</div> |
| 117 |
<div id="tab1" class="ays-poll-tab-content <?php echo $active_tab == "tab1" ? "ays-poll-tab-content-active" : ""; ?>"> |
| 118 |
<div id="poststuff"> |
| 119 |
<div id="post-body" class="metabox-holder"> |
| 120 |
<div id="post-body-content"> |
| 121 |
<div class="meta-box-sortables ui-sortable"> |
| 122 |
<form method="POST" > |
| 123 |
<?php |
| 124 |
$this->results_obj->prepare_items(); |
| 125 |
$this->results_obj->display(); |
| 126 |
?> |
| 127 |
</form> |
| 128 |
</div> |
| 129 |
</div> |
| 130 |
</div> |
| 131 |
<br class="clear"> |
| 132 |
</div> |
| 133 |
</div> |
| 134 |
|
| 135 |
<div id="tab2" class="ays-poll-tab-content <?php echo $active_tab == "tab2" ? "ays-poll-tab-content-active" : ""; ?>"> |
| 136 |
<div style="padding:10px 0;"> |
| 137 |
<form method="get"> |
| 138 |
<div> |
| 139 |
<input type="hidden" name="page" value="poll-maker-ays-results"> |
| 140 |
<select name="filter_answer" <?php echo $disable_chart_filter; ?>> |
| 141 |
<option value="0"><?php echo esc_html__("Select Poll", "poll-maker"); ?></option> |
| 142 |
<?php |
| 143 |
$selected_poll = ""; |
| 144 |
$opt_cont = ""; |
| 145 |
$selected_poll_title = array(); |
| 146 |
foreach($polls as $obj_key => $obj_value){ |
| 147 |
$poll_id = isset($obj_value['id']) && $obj_value['id'] != "" ? esc_attr($obj_value['id']) : ""; |
| 148 |
$selected_poll = ($latest_poll_id == intval($obj_value['id'])) ? "selected" : ""; |
| 149 |
$poll_title = isset($obj_value['title']) && $obj_value['title'] != "" ? esc_attr($obj_value['title']) : ""; |
| 150 |
|
| 151 |
$opt_cont .= "<option value=".$poll_id." ".$selected_poll.">".$poll_title."</option>"; |
| 152 |
} |
| 153 |
echo $opt_cont; |
| 154 |
?> |
| 155 |
</select> |
| 156 |
<input type="submit" value="<?php echo esc_attr__("Filter", "poll-maker"); ?>" class="button action" <?php echo $disable_chart_filter; ?>> |
| 157 |
<input type="hidden" name="active-tab" value="tab2"> |
| 158 |
</div> |
| 159 |
<div id="ays_poll_answer_chart" style = "width: 100%;"> |
| 160 |
<?php echo $content; ?> |
| 161 |
</div> |
| 162 |
</form> |
| 163 |
</div> |
| 164 |
</div> |
| 165 |
|
| 166 |
<div id="tab3" class="ays-poll-tab-content" style="padding-top: 18px;"> |
| 167 |
<div class="form-group row" style="margin: 0px;"> |
| 168 |
<div class="col-sm-12 only_pro" style="padding:10px 0 0 10px;"> |
| 169 |
<div class="pro_features" style="justify-content:flex-end;"> |
| 170 |
</div> |
| 171 |
<a href="https://ays-pro.com/wordpress/poll-maker/" target="_blank" title="<?php echo esc_html__('This property available only in PRO version', "poll-maker");?>"> |
| 172 |
<img src="<?php echo plugins_url() . '/poll-maker/admin/images/chart_screen.png';?>" alt="Statistics" style="width:100%" > |
| 173 |
</a> |
| 174 |
<a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 175 |
<div class="ays-poll-new-upgrade-button-box"> |
| 176 |
<div> |
| 177 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> |
| 178 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> |
| 179 |
</div> |
| 180 |
<div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> |
| 181 |
</div> |
| 182 |
</a> |
| 183 |
<div class="ays-poll-center-big-main-button-box ays-poll-new-big-button-flex"> |
| 184 |
<div class="ays-poll-center-big-main-button-box"> |
| 185 |
<a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 186 |
<div class="ays-poll-center-new-big-upgrade-button"> |
| 187 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>" class="ays-poll-new-button-img-hide"> |
| 188 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> |
| 189 |
<?php echo esc_html__("Upgrade", "poll-maker"); ?> |
| 190 |
</div> |
| 191 |
</a> |
| 192 |
</div> |
| 193 |
</div> |
| 194 |
</div> |
| 195 |
</div> |
| 196 |
</div> |
| 197 |
<div id="tab4" class="ays-poll-tab-content" style="padding-top: 18px;"> |
| 198 |
<div class="form-group row" style="margin: 0px;"> |
| 199 |
<div class="col-sm-12 only_pro" style="padding:10px 0 0 10px;"> |
| 200 |
<div class="pro_features" style="justify-content:flex-end;"> |
| 201 |
</div> |
| 202 |
<div class='ays_lb_container'> |
| 203 |
<ul class='ays_lb_ul' style='width: 100%;'> |
| 204 |
<li class='ays_lb_li'> |
| 205 |
<div class='ays_lb_pos'>Pos.</div> |
| 206 |
<div class='ays_lb_user'><?php echo esc_html__("Name", "poll-maker")?></div> |
| 207 |
<div class='ays_lb_score'><?php echo esc_html__("Attempts", "poll-maker")?></div> |
| 208 |
</li> |
| 209 |
<li class="ays_lb_li"> |
| 210 |
<div class="ays_lb_pos">1.</div> |
| 211 |
<div class="ays_lb_user">admin</div> |
| 212 |
<div class="ays_lb_score">2</div> |
| 213 |
</li> |
| 214 |
</ul> |
| 215 |
</div> |
| 216 |
<a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 217 |
<div class="ays-poll-new-upgrade-button-box"> |
| 218 |
<div> |
| 219 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> |
| 220 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> |
| 221 |
</div> |
| 222 |
<div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> |
| 223 |
</div> |
| 224 |
</a> |
| 225 |
</div> |
| 226 |
</div> |
| 227 |
</div> |
| 228 |
<div id="tab5" class="ays-poll-tab-content" style="padding-top: 18px;"> |
| 229 |
<div class="form-group row" style="margin: 0px;"> |
| 230 |
<div class="col-sm-12 only_pro" style="padding:10px 0 0 10px;"> |
| 231 |
<div class="pro_features" style="justify-content:flex-end;"> |
| 232 |
</div> |
| 233 |
<table class="wp-list-table widefat fixed striped table-view-list"> |
| 234 |
<thead> |
| 235 |
<tr> |
| 236 |
<td id="" class="manage-column column-cb check-column"> |
| 237 |
<label class="screen-reader-text" for="cb-select-all-1">Select All</label> |
| 238 |
<input id="cb-select-all-1" type="checkbox"> |
| 239 |
</td> |
| 240 |
<th scope="col" id="" class="manage-column column-polls column-primary sortable asc" sortable asc> |
| 241 |
<a href="javascript:void(0)"> |
| 242 |
<span>Polls</span> |
| 243 |
<span class="sorting-indicator"></span> |
| 244 |
</a> |
| 245 |
</th> |
| 246 |
<th scope="col" id="" class="manage-column column-answer sortable asc" > |
| 247 |
<a href="javascript:void(0)"> |
| 248 |
<span>Answer</span> |
| 249 |
<span class="sorting-indicator"></span> |
| 250 |
</a> |
| 251 |
</th> |
| 252 |
<th scope="col" id="" class="manage-column column-user_ip sortable asc" > |
| 253 |
<a href="javascript:void(0)"> |
| 254 |
<span>User IP</span> |
| 255 |
<span class="sorting-indicator"></span> |
| 256 |
</a> |
| 257 |
</th> |
| 258 |
<th scope="col" id="" class="manage-column column-wp_user sortable asc" > |
| 259 |
<a href="javascript:void(0)"> |
| 260 |
<span>WP User</span> |
| 261 |
<span class="sorting-indicator"></span> |
| 262 |
</a> |
| 263 |
</th> |
| 264 |
<th scope="col" id="" class="manage-column column-user_email sortable asc > |
| 265 |
<a href="javascript:void(0)"> |
| 266 |
<span>User Email</span> |
| 267 |
<span class="sorting-indicator"></span> |
| 268 |
</a> |
| 269 |
</th> |
| 270 |
<th scope="col" id="" class="manage-column column-user-name sortable asc" > |
| 271 |
<a href="javascript:void(0)"> |
| 272 |
<span>User Name</span> |
| 273 |
<span class="sorting-indicator"></span> |
| 274 |
</a> |
| 275 |
</th> |
| 276 |
<th scope="col" class="manage-column column-vote_date sortable asc"> |
| 277 |
<a href="javascript:void(0)"> |
| 278 |
<span>Vote Datetime</span> |
| 279 |
<span class="sorting-indicator"></span> |
| 280 |
</a> |
| 281 |
</th> |
| 282 |
<th scope="col" class="manage-column column-vote_reason sortable asc"> |
| 283 |
<a href="javascript:void(0)"> |
| 284 |
<span>Vote Reason</span> |
| 285 |
<span class="sorting-indicator"></span> |
| 286 |
</a> |
| 287 |
</th> |
| 288 |
<th scope="col" class="manage-column column-unread sortable asc"> |
| 289 |
<a href="javascript:void(0)"> |
| 290 |
<span>Read Status</span> |
| 291 |
<span class="sorting-indicator"></span> |
| 292 |
</a> |
| 293 |
</th> |
| 294 |
</tr> |
| 295 |
</thead> |
| 296 |
<tbody> |
| 297 |
<tr> |
| 298 |
<th scope="row" class="check-column"> |
| 299 |
<input type="checkbox" class="" name="" value="3"> |
| 300 |
</th> |
| 301 |
<td class="column- has-row-actions column-primary" data-colname="" > |
| 302 |
<a href="javascript:void(0)" data-result="" class="">Default title</a> |
| 303 |
<input type="hidden" value="1" class=""> |
| 304 |
<div class="row-actions"> |
| 305 |
<span class="view-details"><a href="javascript:void(0);" data-result="3" >View details</a> | </span> |
| 306 |
<span class="delete"><a class="ays_confirm_del" data-message="this report" href="">Delete</a></span> |
| 307 |
</div> |
| 308 |
<button type="button" class="toggle-row"><span class="screen-reader-text">Show more details</span></button> |
| 309 |
<button type="button" class="toggle-row"><span class="screen-reader-text">Show more details</span></button> |
| 310 |
</td> |
| 311 |
<td class="answer_id column-answer_id">12</td> |
| 312 |
<td class="user_ip column-user_ip">::1</td> |
| 313 |
<td class="user_id column-user_id">Guest</td> |
| 314 |
<td class="user_email column-user_email">usermail@mail.com</td> |
| 315 |
<td class="user_name column-user_name">User Name</td> |
| 316 |
<td class="vote_date column-vote_date">17:43:00 21.12.2020</td> |
| 317 |
<td class="vote_reason column-vote_reason">text</td> |
| 318 |
<td class="read column-read" > |
| 319 |
<div class="unread-result-badge" style="margin: 0;"></div> |
| 320 |
</td> |
| 321 |
</tr> |
| 322 |
</tbody> |
| 323 |
<tfoot> |
| 324 |
<tr> |
| 325 |
<td id="" class="manage-column column-cb check-column"> |
| 326 |
<label class="screen-reader-text" for="cb-select-all-1">Select All</label> |
| 327 |
<input id="" type="checkbox"> |
| 328 |
</td> |
| 329 |
<th scope="col" id="" class="manage-column column-poll_id column-primary sortable asc"> |
| 330 |
<a href="javascript:void(0)"> |
| 331 |
<span>Polls</span> |
| 332 |
<span class=""></span> |
| 333 |
</a> |
| 334 |
</th> |
| 335 |
<th scope="col" id="" class="manage-column column-answer_id sortable asc"> |
| 336 |
<a href="javascript:void(0)"> |
| 337 |
<span>Answer</span> |
| 338 |
<span class=""></span> |
| 339 |
</a> |
| 340 |
</th> |
| 341 |
<th scope="col" id="" class="manage-column column-user_ip sortable asc"> |
| 342 |
<a href="javascript:void(0)"> |
| 343 |
<span>User IP</span> |
| 344 |
<span class=""></span> |
| 345 |
</a> |
| 346 |
</th> |
| 347 |
<th scope="col" id="" class="manage-column column-user_id sortable asc"> |
| 348 |
<a href="javascript:void(0)"> |
| 349 |
<span>WP User</span> |
| 350 |
<span class=""></span> |
| 351 |
</a> |
| 352 |
</th> |
| 353 |
<th scope="col" id="" class="manage-column column-user_email sortable asc"> |
| 354 |
<a href="javascript:void(0)"> |
| 355 |
<span>User Email</span> |
| 356 |
<span class=""></span> |
| 357 |
</a> |
| 358 |
</th> |
| 359 |
<th scope="col" id="" class="manage-column column-user_name sortable asc"> |
| 360 |
<a href="javascript:void(0)"> |
| 361 |
<span>User Name</span> |
| 362 |
<span class=""></span> |
| 363 |
</a> |
| 364 |
</th> |
| 365 |
<th scope="col" id="" class="manage-column column-vote_date sortable asc"> |
| 366 |
<a href="javascript:void(0)"> |
| 367 |
<span>Vote Datetime</span> |
| 368 |
<span class=""></span> |
| 369 |
</a> |
| 370 |
</th> |
| 371 |
<th scope="col" id="" class="manage-column column-vote_reason sortable asc"> |
| 372 |
<a href="javascript:void(0)"> |
| 373 |
<span>Vote Reason</span> |
| 374 |
<span class=""></span> |
| 375 |
</a> |
| 376 |
</th> |
| 377 |
<th scope="col" id="" class="manage-column column-unread sortable asc"> |
| 378 |
<a href="javascript:void(0)"> |
| 379 |
<span>Read Status</span> |
| 380 |
<span class=""></span> |
| 381 |
</a> |
| 382 |
</th> |
| 383 |
</tr> |
| 384 |
</tfoot> |
| 385 |
</table> |
| 386 |
<a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 387 |
<div class="ays-poll-new-upgrade-button-box"> |
| 388 |
<div> |
| 389 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> |
| 390 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> |
| 391 |
</div> |
| 392 |
<div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> |
| 393 |
</div> |
| 394 |
</a> |
| 395 |
</div> |
| 396 |
</div> |
| 397 |
</div> |
| 398 |
<div class="ays-modal" id="pro-features-popup-modal"> |
| 399 |
<div class="ays-modal-content"> |
| 400 |
<!-- Modal Header --> |
| 401 |
<div class="ays-modal-header"> |
| 402 |
<span class="ays-close-pro-popup">×</span> |
| 403 |
<!-- <h2></h2> --> |
| 404 |
</div> |
| 405 |
|
| 406 |
<!-- Modal body --> |
| 407 |
<div class="ays-modal-body"> |
| 408 |
<div class="row"> |
| 409 |
<div class="col-sm-6 pro-features-popup-modal-left-section"> |
| 410 |
</div> |
| 411 |
<div class="col-sm-6 pro-features-popup-modal-right-section"> |
| 412 |
<div class="pro-features-popup-modal-right-box"> |
| 413 |
<div class="pro-features-popup-modal-right-box-icon"><i class="ays_poll_fa ays_poll_fa-lock"></i></div> |
| 414 |
|
| 415 |
<div class="pro-features-popup-modal-right-box-title"></div> |
| 416 |
|
| 417 |
<div class="pro-features-popup-modal-right-box-content"></div> |
| 418 |
|
| 419 |
<div class="pro-features-popup-modal-right-box-button"> |
| 420 |
<a href="#" class="pro-features-popup-modal-right-box-link" target="_blank"></a> |
| 421 |
</div> |
| 422 |
</div> |
| 423 |
<div class="pro-features-popup-modal-right-box-footer-text"> |
| 424 |
<span class="ays_poll_small_hint_text_for_message_variables"><?php echo esc_html__( "One-time payment", 'poll-maker' ); ?></span> |
| 425 |
</div> |
| 426 |
</div> |
| 427 |
</div> |
| 428 |
</div> |
| 429 |
|
| 430 |
<!-- Modal footer --> |
| 431 |
<div class="ays-modal-footer" style="display:none"> |
| 432 |
</div> |
| 433 |
</div> |
| 434 |
</div> |
| 435 |
</div> |
| 436 |
|