Ir para conteúdo
Fórum Script Brasil

Todas Atividades

Atualizada automaticamente

  1. Hoje
  2. This phrase describes windows specifically designed for hotels in Paris. The search intent is highly specialized, targeting manufacturers or suppliers who understand the unique constraints of the city. Windows for Parisian hotels must comply with strict urban planning regulations, especially for buildings in historic districts (like Haussmannian architecture). They often need to be custom-made to match original styles while incorporating modern performance features like high thermal and acoustic insulation. The aesthetic is crucial—these windows must preserve the classic Parisian façade while providing the functionality and efficiency required for a high-end hospitality environment. https://fenetreparisienne.fr/
  3. This search term is used by dental professionals—such as dentists, oral surgeons, or dental hygienists—seeking advanced training and certification in dental implantology within New Jersey. The user is looking for accredited continuing education (CE) courses, hands-on workshops, or symposiums led by experienced implantologists. These programs cover topics like surgical placement techniques, bone grafting, impression taking, prosthetics, and practice integration. The intent is to gain the knowledge and credentials necessary to safely and effectively offer dental implant services to their own patients, thereby expanding their clinical skills and growing their practice. https://www.vizstara.com/
  4. Ayyathtech is more than just a contractor—it’s a complete interior design & fit out company offering premium solutions across the UAE. They specialize in creating interiors that combine beauty, practicality, and durability. Choosing Ayyathtech means partnering with an interior design & fit out company that understands client needs and delivers customized results. Their expert team manages the entire process, from conceptualization and design to execution and handover, ensuring stress-free experiences. Whether it’s a residential villa, a modern office, or a commercial outlet, Ayyathtech guarantees flawless results. With innovation, sustainability, and customer satisfaction at the core of their services, they remain one of the most sought-after names in the UAE.
  5. This search indicates a need for extreme convenience and on-the-go assistance. The user is likely experiencing a breakdown while traveling in or through Florida and cannot easily drive their RV to a stationary shop. "Mobile repair service" means they need a certified technician to come to their location—whether it's a campground, RV park, or even the side of the road. The term "near Florida" suggests they might be on the state's border or are looking for a service with a wide coverage area across the region, prioritizing a rapid response to get them back on their journey as quickly as possible. https://ocalarvrepair.com
  6. This is a broader term that encompasses the comprehensive care of the entire hotel property, both indoors and outdoors. It goes beyond engineering systems and room repairs to include the holistic upkeep of the estate. This includes landscaping, swimming pool maintenance, exterior painting, facade cleaning, parking lot repairs, and upkeep of all outdoor facilities. For a hotel in Malta, where first impressions and outdoor amenities (like pools and terraces) are crucial to the guest experience, property maintenance ensures the entire grounds are immaculate, safe, and inviting, thus protecting the hotel's curb appeal and overall market value. https://hotelcarebyemme.com/hotelcare
  7. Yesterday
  8. Última semana
  9. Não encontrei como dar o post como Resolvido. Mas deixo aqui meu muito obrigado
  10. Yes, MatchLive delivers ball-by-ball updates, live scores, and in-depth commentary for T20s, ODIs, Tests, and domestic leagues. With a fast and reliable service, MatchLive allows fans to stay on top of every run and wicket live, in real time! Even if you want to follow an ICC tournament, World Cup, IPL, Big Bash or domestic leagues, you'll stay connected to every match from anywhere.
  11. Mexer no <body> ou mexer na fonte é uma dor de cabeça. A melhor solução que eu encontrei foi mexer na escala, assim: <!DOCTYPE html> <html lang="en"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <script src="https://cdn.tailwindcss.com"></script> <script> window.addEventListener('DOMContentLoaded', () => { const width = window.innerWidth; const height = window.innerHeight; const e=document.getElementById('escala') // alert(width+" "+height) // Galaxy Tab S10 Lite no modo retrato if (width == 880 && height == 1252) { e.classList.add('scale-[1.25]') } // Galaxy Tab S10 Lite no modo paisagem if (width == 1408 && height == 724) { e.classList.add('scale-[1.25]') } }); </script> <link rel="icon" type="image/svg+xml" sizes="any" href="https://www.php.net/favicon.svg?v=2"> <title>Projeto Classe</title> <body class="w-[630px] m-0 m-auto"> <div id="escala" class="transform scale-[1] origin-top">
  12. consegui mexer no style. segue como ficou agora.. <style> table { border: 3px solid #ecececff; border-collapse: collapse; background-color: #f5f5f5; width: 30%; margin-bottom: 20px; } th, td { padding: 8px; text-align: left; } th { background-color: #333; color: #fff; } tr:nth-child(even) { background-color: #ddd; } tr:hover { background-color: #ccc; } </style> so as linhas q não apareceu mas já e alguma coisa.. vamos fuçando q sai kkkkkkkkkk
  13. não todos são a mesma conta local. ate porque so eu uso o pc.. vou instalar o wampserv pra testar nele.. vai que o xampp ta com pau.. vou por o wampserv no meu pc de casa e testo..
  14. O problema de arquivo já não é a minha praia, espero que você tenha mais sorte e encontre alguém que entenda do assunto. Graças a Deus, o WampServ nunca me deu esse tipo de trabalho. Mas, por curiosidade, você usa contas diferentes para entrar no Windows no PC da sua casa? Se for o caso, só quem criou o arquivo é que tem permissão de abrir. Aqui no notebook, eu só tenho a minha conta.
  15. rapaz não sei o que acontece viu. aqui no meu computador so da erro ae já no computador do meu trabalho roda lindo e olha que é o xampp e vscode instalado.. agora ficou tudo dentro da tabela ae aqui não aparece as fotos ae no outro pc aparece tudo kkkkkkkkkkk vai saber.. amanha eu testo no pc do escritorio pra ver.. valeu por enquanto.. tb não sou bom em css mas vou mexendo aki ali ate q fica certo..
  16. arquivo etiqueta.php <?php date_default_timezone_set('America/Sao_Paulo'); ?> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Etiquetas dos Cadastros</title> <meta http-equiv="Content-Type" content="charset=utf-8" /> </head> <style> table { border-collapse: collapse; border: 3px double black; /* Borda externa dupla */ } th, td { border: 2px double gray; /* Bordas internas duplas */ padding: 8px; -align: center; } </style> <body> <p><button type="button" onclick="window.open(href='geraetiqueta.php', 'popup', 'fullscreen=1, height=680px, width=900px')">GERAR PDF</button ></p> <h1>Etiquetas de Cadastros</h1> <?php $mysqli=new mysqli("localhost","root","","polo"); $res=$mysqli->query("select * from tb_cadastro"); ?> <table> <tr> <th>Foto</th> <th>Matrícula</th> <th>Nome</th> <th>Tipo</th> </tr> <?php if($res->num_rows > 0) : ?> <?php while($row = $res->fetch_object()) : ?> <tr> <?php $path = __DIR__ . "/" . $row->foto; $type = mime_content_type($path); $data = base64_encode(file_get_contents($path)); $src = "data:$type;base64,$data"; ?> <td><img src="<?= $src ?>" width="100" /></td> <td><?=$row->matricula?></td> <td><?=$row->nome?></td> <td><?=$row->tipo?></td> </tr> <?php endwhile; ?> </table> <?php else: echo 'Nenhum dado recebido'; endif ?> </body> </html> Eu sou péssimo com CSS. Não consegui fazer borda dupla.
  17. O meu $row['foto'] retorna coisa do tipo fotos/foto1.webp - estamos cadastrando de maneira diferente, no banco de dados eu incluo o nome do subdiretório, e você não, e assim o php não consegue encontrar mesmo.
  18. mas agora faz um teste ae no seu.. quando se tem mais cadastros um fica dentro das tabelas ou outros ficam de fora.. tentei corrigir mas mesmo assim fica de fora..
  19. nesse ae o meu pega o caminho :: 404 Not Found localhost/polo/nomeimagem.jpg
  20. corri o erro agora apareceu a foto apenas acrescentei um ./ <?php $path = __DIR__ . "./fotos/" . $row->foto;
  21. não entendi como assim coloca a culpa em você... não falei isso.. so mudei a barra "/" por "\" ae da erro na linha $src = "data:$type;base64,$data"; ?> Parse error: syntax error, unexpected identifier "data" in C:\xampp\htdocs\polo\etiqueta.php on line 32
  22. Tentei importar a solução PHP no Livewire, mas não deu certo com o Tablet. Mas deu certo com o micro, mas a resolução do micro mudou depois que fiz a atualização do Windows hoje de manhã. Ontem, a minha resolução do notebook era 1360x599, hoje ele está com 1511x665. Em teoria, o código JavaScript não deveria funcionar no Livewire, porque ele é um JavaScript (Ajax) camuflado com a linguagem PHP. É por isso que continuo usando o PHP, eu não confio no Livewire, apesar dele ser muito bacana. arquivo resources > views > components > layouts > app.blade.php <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="{{ asset('favicon.ico?v=2') }}"> @vite(['resources/css/app.css', 'resources/js/app.js']) <title>{{ $titulo ?? 'Menu' }}</title> </head> <script> window.addEventListener('DOMContentLoaded', () => { const width = window.innerWidth; const height = window.innerHeight; // alert(width+" "+height) // Galaxy Tab S10 Lite // não funciona no Livewire if (width == 880 && height == 1252) { document.body.classList.add('w-[800px]') } // Galaxy Book 4 if (width == 1511 && height == 665) { document.body.classList.add('text-sm') } }); </script> <body class="w-[630px] m-0 m-auto text-lg"> <header class="bg-white shadow-sm flex items-center justify-between font-normal"> <flux:heading class="px-2 font-normal">Livewire</flux:heading> <div class="relative group z-10"> <flux:button icon:trailing="chevron-down" variant="ghost" class="text-gray-500"> {{ $titulo ?? 'Menu' }} </flux:button> <div class="hidden group-hover:block absolute bg-white text-gray-800 rounded-md shadow-lg w-45 "> @if(auth()->user()->id == 1) <div class="flex space-x-4 px-4 py-2"> <a href="/previsao" wire:navigate class="text-gray-500 transition-colors"> Previsão </a> <a href="/diario" wire:navigate class="px-3 text-gray-500 transition-colors"> Diário </a> </div> <a class="block px-4 py-2 text-gray-500" href=/outros wire:navigate>Outros</a> @endif <a class="block px-4 py-2 text-gray-500" href='/orcamento/0/1' wire:navigate>Orçamento</a> <a class="block px-4 py-2 text-gray-500" href=/pagar wire:navigate>Pagar</a> <a class="block px-4 py-2 text-gray-500" href=/receber wire:navigate>Receber</a> <a class="block px-4 py-2 text-gray-500" href=/pessoa wire:navigate>Pessoa</a> <a class="block px-4 py-2 text-gray-500" href=/produto/1 wire:navigate>Produto</a> <a class="block px-4 py-2 text-gray-500" href=/venda wire:navitate>Relatório de Venda</a> </div> </div> <div class="relative group"> <flux:button icon:trailing="chevron-down" variant="ghost" class="text-gray-500"> {{ auth()->user()->nome}} </flux:button> <div class="hidden group-hover:block absolute bg-white text-gray-500 rounded-md shadow-lg w-40"> <flux:button href="/logout" variant="ghost" class="text-gray-500">Sair</flux:button> <flux:button href=# variant="ghost" class="text-gray-500">Mudar Senha</flux:button> </div> </div> </header> @livewireScripts {{ $slot }} </script> </body> </html>
  23. Hahahaha... eu também tive essa dor de cabeça, mas se você prestar atenção na mensagem de erro, dá para ver que ele está procurando a foto no lugar errado. A foto não está na pasta polo, e sim na pasta polo/fotos/. Reveja o seu código, ele não contempla o subdiretório fotos no diretório polo. No meu caso, eu cadastrei o endereço do arquivo dentro do banco de dados, na tb_cadastro, no campo foto, assim: fotos/foto1.webp (veja se esse arquivo existe com o mesmo nome através do gerenciador de arquivos do Windows! qualquer letra errada, tudo dá errado). No meu caso, precisei acrescentar "\" no código. Eu faço de um jeito, e faz de outro jeito, e depois coloca a culpa em mim. Isso sim está errado!!! Hahahahaha...
  24. cara tu e bom em.. vou estudar o codigo e ver onde eu tva errando kkkkkkkkk mas com certeza tem muita diferença.. valeu 👍 so copiei e colei o seu e o meu deu erro kkkkkkkk tem a pasta fotos e tem a pasta tmp ae ele da como se não tivesse encontrado a pasta ou as fotos.. olha..
  25. O meu projeto Orçamento foi feito para o tablet Galaxy S5e do meu irmão. Na base da tentativa e erro, eu descobri que ele tem 630 pixels, e assim desenhei todo o projeto baseado nesse número. Mas nessa semana eu comprei um tablet Galaxy S10 Lite, o meu projeto coube nele, mas sobrou um monte de espaço pelos lados. Com a ajuda do window.innerWidth e o window.innerHeight do JavaScript descobri que o S10 Lite tem 880 x 1252 de resolução. Na base da improvisação, eu pedi para o projeto usar um <body> de 800 pixels, quando ele for trabalhar dentro do S10 Lite, e assim eu tive muita sorte, todo o meu projeto de 630 pixels foram espalhados no espaço de 800 pixels. Claro que existe muita tecnologia como o CSS responsivo. O problema é que eu nem sei mexer com o CSS básico, ainda. *** Escrevi besteira: uma coisa é medir a resolução do micro pelo localhost, e outra bem diferente é medir através da Hostinger *** arquivo appView.php <!DOCTYPE html> <html lang="en"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <script src="https://cdn.tailwindcss.com"></script> <link rel="icon" type="image/svg+xml" sizes="any" href="https://www.php.net/favicon.svg?v=2"> <style> summary { list-style:none } </style> <script> window.addEventListener('DOMContentLoaded', () => { const width = window.innerWidth; const height = window.innerHeight; // alert(width+" "+height) // Galaxy Tab S10 Lite if (width == 880 && height == 1252) { document.body.classList.add('w-[800px]') } // Galaxy Book 4 if (width == 1360 && height == 599) { document.body.classList.add('text-sm') } }); </script> <title>Projeto Classe</title> <body class="w-[630px] m-0 m-auto text-lg">
  26. Veja se na tb_cadastro existe algum visitante com o id=34, eu não tenho: <?php $conn = new mysqli("localhost", "root", "", "polo"); $result = $conn->query("select * from tb_cadastro where id=5"); if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) { echo "<div style='width:500px;margin:0 auto'>"; echo "Nome da Etiqueta: " . $row["nome"]. "<br>"; echo "<img src=". $row['foto']. " width=100px alt='Foto da Etiqueta'></div>"; } }
  27. Esse deu trabalho, tive que mexer na etiqueta.php e no geraetiqueta.php, a foto coloquei na pasta fotos, e no campo foto coloquei coisa do tipo fotos/foto1.webp: etiqueta.php <?php date_default_timezone_set('America/Sao_Paulo'); ?> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Etiquetas dos Cadastros</title> <meta http-equiv="Content-Type" content="charset=utf-8" /> </head> <body> <p><button type="button" onclick="window.open(href='geraetiqueta.php', 'popup', 'fullscreen=1, height=680px, width=900px')">GERAR PDF</button ></p> <h1>Etiquetas de Cadastros</h1> <?php $mysqli=new mysqli("localhost","root","","polo"); $res=$mysqli->query("select * from tb_cadastro"); if($res->num_rows > 0) : ?> <table border='1'> <?php while($row = $res->fetch_object()) : ?> <tr> <th>Foto</th> <th>Matrícula</th> <th>Nome</th> <th>Tipo</th> </tr> <tr> <?php $path = __DIR__ . "/" . $row->foto; $type = mime_content_type($path); $data = base64_encode(file_get_contents($path)); $src = "data:$type;base64,$data"; ?> <td><img src="<?= $src ?>" width="100" /></td> <td><?=$row->matricula?></td> <td><?=$row->nome?></td> <td><?=$row->tipo?></td> </tr> </table> <?php endwhile; else: echo 'Nenhum dado recebido'; endif ?> </body> </html> geraetiqueta.php <?php require __DIR__ . '/vendor/autoload.php'; use Dompdf\Dompdf; use Dompdf\Options; $options = new Options(); ob_start(); include 'etiqueta.php'; $html=ob_get_clean(); $options->setIsRemoteEnabled(true); $dompdf = new Dompdf($options); $dompdf->loadHtml($html); $dompdf->setPaper('A4', 'portrait'); $dompdf->render(); $output = $dompdf->output(); file_put_contents("./tmp/etiqueta.pdf", $output); die("<script>location.href='./tmp/etiqueta.pdf';</script>"); ?>
  28. obrigado por sua dica. assim vou aprendendo.. agora to querendo apresentar a foto antes da matricula.. mas so aparece um quadrado.. a pasta temp já tem no diretorio..
  1. Mais Resultados


  • Estatísticas dos Fóruns

    • Tópicos
      152,5k
    • Posts
      652,5k
×
×
  • Criar Novo...