Update eligible.php
authorPatrick McGuire <insidenothing@gmail.com>
Thu, 14 May 2020 13:36:38 +0000 (09:36 -0400)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 13:36:38 +0000 (09:36 -0400)
eligible.php

index 77a02e7..4cccf18 100644 (file)
@@ -50,11 +50,12 @@ while($d2 = mysqli_fetch_array($r2)){
 if ($d4['id'] > 0){
   $available .= "<div class='row'>
   <div class='col-sm-2'><a target='_Blank' href='soft_copy.php?id=$d4[id]'>Already Signed - View</a> or <a target='_Blank' href='?remove=$d4[id]'>Remove</a></div>
-  <div class='col-sm-6'><del>$d2[petition_name]</del></div>
+  <div class='col-sm-6'>$d2[petition_name]</div>
   <div class='col-sm-4'>$field == $pass</div>
     </div>"; 
  }elseif($d[$field] == $pass){
-   if($_COOKIE['invite'] != '' && strtoupper($_COOKIE['invite']) == strtoupper($d2['web_short_name'])){
+  $checked = ''; 
+  if($_COOKIE['invite'] != '' && strtoupper($_COOKIE['invite']) == strtoupper($d2['web_short_name'])){
      $checked = 'checked';
    }else{
      $checked = '';
@@ -68,6 +69,7 @@ if ($d4['id'] > 0){
      $available .= '<script>document.getElementById("form").submit();</script>';
    }
  }else{
+   $checked = '';
    if($_COOKIE['invite'] != '' && strtoupper($_COOKIE['invite']) == strtoupper($d2['web_short_name'])){
      $checked = 'checked';
    }else{
@@ -75,7 +77,7 @@ if ($d4['id'] > 0){
    }
   $available .= "<div class='row'>
   <div class='col-sm-2'><input type='radio' id='petition' name='petition' value='$d2[petition_id]' checked > </div>
-  <div class='col-sm-6'><del>$d2[petition_name]</del></div>
+  <div class='col-sm-6'>$d2[petition_name]</div>
   <div class='col-sm-4'>$field != $pass</div>
     </div>"; 
    if($_COOKIE['invite'] != '' && strtoupper($_COOKIE['invite']) == strtoupper($d2['web_short_name'])){