Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    You can check in this example: https://abortivo.org/posso-beber-alcool-apos-um-aborto/

    Now to result in minify HTML (remove line break) is necessary to check the option:
    “Line break removal” in w3total.

    But in Autoptimize no more worwking the option “Optimize HTML Code”.

    Thanks

    Hi Alex,

    Thanks by the alert. The problem is solved.

    Thank you!

    Hi,

    Follow the same:

    BLOCK 01

    <h2>Ficha do golpista - [insert_php]
    $url = $_SERVER['REQUEST_URI'];
    $url = str_replace('ficha-do-golpista/','',rtrim($url, '/\'));
    $url = str_replace('/','',$url);
    echo $url;
    [/insert_php]</h2>

    BLOCK 02

    [insert_php]
    $coni = mysqli_connect("162.144.84.149", "abortivo_golpes", "golpes@77","abortivo_golpes") or die("BANCO NÃO CONECTADO!");
    
    $url = $_SERVER['REQUEST_URI'];
    $url = str_replace('ficha-do-golpista/','',rtrim($url, '/\'));
    $url = str_replace('/','',$url);
    
    $n_unico = $url;
    
    echo '
    <table class="website-summary-table">
    <tbody>
    <tr>
    <td>Nomes:</td>
    <td>';
    $SQL = "select * from nome where n_unico = '".$n_unico."'";
    $dataDB = mysqli_query($coni, $SQL);
    while ($r_ = mysqli_fetch_assoc($dataDB)){
    echo $r_['nome']."
    ";
    
    }
    
    echo '</td>
    </tr>
    <tr>
    <td>Sites</td>
    <td>';
    $SQL = "select * from site where n_unico = '".$n_unico."'";
    $dataDB = mysqli_query($coni, $SQL);
    while ($r_ = mysqli_fetch_assoc($dataDB)){
    echo $r_['site']."
    ";
    
    }
    
    echo '</td>
    </tr>
    <tr>
    <td>Email:</td>
    <td>';
    $SQL = "select * from email where n_unico = '".$n_unico."'";
    $dataDB = mysqli_query($coni, $SQL);
    while ($r_ = mysqli_fetch_assoc($dataDB)){
    echo $r_['email'] . "
    ";
    
    }
    
    echo '</td>
    </tr>
    <tr>
    <td>Telefones:</td>
    <td>';
    $SQL = "select * from telefone where n_unico = '".$n_unico."'";
    $dataDB = mysqli_query($coni, $SQL);
    while ($r_ = mysqli_fetch_assoc($dataDB)){
    echo $r_['telefone']."
    ";
    
    }
    
    echo '</td>
    </tr>
    </tbody>
    </table>
    ';
    
    //Dados do boleto
    $SQL = "select * from boleto where n_unico = '".$n_unico."'";
    $conf = mysqli_fetch_assoc(mysqli_query($coni, $SQL));
    if ($conf == true){
    
    echo '
    <table class="website-summary-table">
    <tbody>
    <tr>
    <td>Forma de cobrança</td>
    <td>Boleto</td>
    </tr>
    <tr>
    <td>Nome do emissor:</td>
    <td>';
    $SQL = "select * from boleto where n_unico = '".$n_unico."'";
    $dataDB = mysqli_query($coni, $SQL);
    while ($r_ = mysqli_fetch_assoc($dataDB)){
    echo $r_['nome'] . "
    ";
    }
    echo '</td>
    </tr>
    </tbody>
    </table>
    ';
    
    }
    
    //Dados do banco
    $SQL = "
    select * from (
    (select * from banco where n_unico = '".$n_unico."') a,
    (SELECT id, banco as nomebanco FROM comp_bancos) b
    ) where a.banco = b.id
    ";
    
    $dataDB = mysqli_query($coni, $SQL);
    while ($r_ = mysqli_fetch_assoc($dataDB)){
    echo '
    <table class="website-summary-table">
    <tbody>
    <tr>
    <td>Forma de cobrança</td>
    <td>Depósito bancário</td>
    </tr>
    <tr>
    <td>Banco:</td>
    <td>'.utf8_encode($r_['nomebanco']).'</td>
    </tr>
    <tr>
    <td>Agência</td>
    <td>'.$r_['agencia'].'</td>
    </tr>
    <tr>
    <td>Conta</td>
    <td>'.$r_['conta'].'</td>
    </tr>
    <tr>
    <td>Titular da conta:</td>
    <td>'.$r_['titular'].'</td>
    </tr>
    </tbody>
    </table>
    ';
    }[/insert_php]

    BLOCK 03

    [insert_php]
    if (!empty($_GET['r'])){
    if ($_GET['r'] == "n"){
    echo "
    <h3 style="text-align: center;">NENHUM REGISTO ENCONTRADO</h3>
    ";
    }
    }
    [/insert_php]

    Thanks

    Same thing here!

    Hi,

    Sorry for the delay. I do not use MPD links. I believe that this phenomenon can occur whenever there are pages in the destination site with the same ID.

    Yes… NOT WORKING in MULTISITE

    I did not find other plugins doing the same thing satisfactorily

    Same problem here.

Viewing 7 replies - 1 through 7 (of 7 total)