Ir para conteúdo
Fórum Script Brasil

Todas Atividades

Atualizada automaticamente

  1. Hoje
  2. TuneXplorer 3.2.0.0 Crack is a BPM key-identifying software that provides highly accurate service in selecting the song’s key and BPM. It supports many popular audio formats, including WMA, MP3, WAV, AIFF (AAC and ALAC), FLAC, OGG, and M4A. Hence, TuneXplorer Download allows you to check the audio tags. Therefore, you can store the key and BPM in the audio tags for later use in any well-known DJ software. https://crackgenius.com/tunexplorer-crack/
  3. O próximo código presume que o Bootstrap já foi carregado. Usei o modal para substituir as funções prompt(), confirm() e alert() do JavaScript. A grande diferença entre essas funções e o modal é que as funções param a execução do código, enquanto as funções não forem concluídas. Para simular algo parecido, eu fiz uma gambiarra, criando um temporizdor de 10 segundos: arquivo modal.php <script> function abrir(abrirModal) { abrirModal.classList.remove('d-none') abrirModal.classList.add('d-block') } function fechar(fecharModal) { fecharModal.classList.remove('d-block') fecharModal.classList.add('d-none') } function bling(pedido,vendido) { if(!vendido) { mensagemModalSheet.innerHTML="<h1>Não dá para criar pedido Bling quando ainda não foi vendido</h1>" abrir(modalSheet) } else { btnVariavel.addEventListener('click',function(event) { window.location.href=`bling.php?pedido=${pedido}&pBling=${variavel.value}` fechar(modalSignin) setTimeout(()=>{location.replace("orcamento.php")},1000) // atualizar a tela após 10 segundos }) abrir(modalSignin) } } function apagarBling(pedido) { mensagemModalChoice.innerHTML=`Você quer apagar o pedido Bling do pedido ${pedido} ?` btnChoice.addEventListener('click',function(event){window.location.href=`orcamento.php?apagarBling=${pedido}`}) abrir(modalChoice) } </script> <!-- modalSheet --> <div class="modal d-none p-4 py-md-5" tabindex="-1" role="dialog" id="modalSheet"> <div class="modal-dialog" role="document"> <div class="modal-content rounded-4 shadow"> <div class="modal-header border-bottom-0 opacity-1"> <h1 class="modal-title fs-5">Mensagem</h1> <button type="button" class="btn-close" onclick=fechar(modalSheet) aria-label="Close"></button> </div> <div class="modal-body py-0"> <p id=mensagemModalSheet></p> </div> </div> </div> </div> <!-- modalSignin --> <div class="modal d-none" tabindex="-1" role="dialog" id="modalSignin"> <div class="modal-dialog" role="document"> <div class="modal-content rounded-4 shadow"> <div class="modal-header p-5 pb-4 border-bottom-0"> <h5 class="fw-semibold mb-0 fs-2">Digite o número do pedido Bling</h5> <button type="button" class="btn-close" onclick=fechar(modalSignin) aria-label="Close"></button> </div> <div class="modal-body p-5 pt-0"> <div class="form-floating mb-3"> <input class="form-control rounded-3" id=variavel autofocus> <label for="floatingInput">Número do Pedido Bling</label> <button class="w-100 mb-2 btn btn-lg rounded-3 btn-primary" type="submit" id=btnVariavel>Enviar</button> </div> </div> </div> </div> </div> <!-- modalChoice --> <div class="modal d-none p-4 py-md-5" tabindex="-1" role="dialog" id="modalChoice"> <div class="modal-dialog" role="document"> <div class="modal-content rounded-3 shadow"> <div class="modal-body p-4 text-center"> <h4 class="mb-0" id=mensagemModalChoice></h4> </div> <div class="modal-footer flex-nowrap p-0"> <button type="button" class="btn btn-lg btn-link fs-6 text-decoration-none col-6 py-3 m-0 rounded-0 border-end" id=btnChoice><strong>Sim, eu quero</strong></button> <button type="button" class="btn btn-lg btn-link fs-6 text-decoration-none col-6 py-3 m-0 rounded-0" onclick=fechar(modalChoice)>Não, apertei por engano</button> </div> </div> </div> </div>
  4. Yesterday
  5. Varaldi

    Tempo livre

    Hello, dear comrades! I would like to share with you a wonderful betting application - Linebet https://linebetstavka.com/en/mobile, which I was able to discover recently in Uzbekistan and which I really liked. This app offers a wide selection of sports events, a user-friendly interface, prompt payouts, and excellent customer support. If you are passionate about sports and love betting, then this app is definitely worth checking out.
  6. Existem vários tipos de modal, tem um para dar um alerta, aguardar confirmação e outro para coletar informação. O código seguinte sugere colocar tudo que é tipo de modal dentro de um arquivo: arquivo index.php <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> <?php require 'modal.php' ?> <script> function fechar(fecharModal) { fecharModal.classList.remove('d-block') fecharModal.classList.add('d-none') } function abrir(abrirModal) { abrirModal.classList.remove('d-none') abrirModal.classList.add('d-block') } </script> <div class=h-25></div> <table class='table table-striped w-25'> <tr class=fw-semibold><td>Exemplos do Bootstrap <tr><td onclick=abrir(modalSheet)>modalSheet <tr><td onclick=abrir(modalChoice)>modalChoice <tr><td onclick=abrir(modalTour)>modalTour <tr><td onclick=abrir(modalSignin)>modalSigin </table> arquivo modal.php <!-- modalSheet --> <div class="modal opacity-75 d-none bg-body-secondary p-4 py-md-5" tabindex="-1" role="dialog" id="modalSheet"> <div class="modal-dialog" role="document"> <div class="modal-content rounded-4 shadow"> <div class="modal-header border-bottom-0"> <h1 class="modal-title fs-5">Modal title</h1> <button type="button" class="btn-close" onclick=fechar(modalSheet) aria-label="Close"></button> </div> <div class="modal-body py-0"> <p>This is a modal sheet, a variation of the modal that docs itself to the bottom of the viewport like the newer share sheets in iOS.</p> </div> <div class="modal-footer flex-column align-items-stretch w-100 gap-2 pb-3 border-top-0"> <button type="button" class="btn btn-lg btn-primary">Save changes</button> <button type="button" class="btn btn-lg btn-secondary" data-bs-dismiss="modal">Close</button> </div> </div> </div> </div> <!-- modalChoice --> <div class="modal opacity-75 d-none bg-body-secondary p-4 py-md-5" tabindex="-1" role="dialog" id="modalChoice"> <div class="modal-dialog" role="document"> <div class="modal-content rounded-3 shadow"> <div class="modal-body p-4 text-center"> <h5 class="mb-0">Enable this setting?</h5> <p class="mb-0">You can always change your mind in your account settings.</p> </div> <div class="modal-footer flex-nowrap p-0"> <button type="button" class="btn btn-lg btn-link fs-6 text-decoration-none col-6 py-3 m-0 rounded-0 border-end"><strong>Yes, enable</strong></button> <button type="button" class="btn btn-lg btn-link fs-6 text-decoration-none col-6 py-3 m-0 rounded-0" onclick=fechar(modalChoice)>No thanks</button> </div> </div> </div> </div> <!-- modalTour --> <div class="modal opacity-75 d-none bg-body-secondary" tabindex="-1" role="dialog" id="modalTour"> <div class="modal-dialog" role="document"> <div class="modal-content rounded-4 shadow"> <div class="modal-body p-5"> <h2 class="fw-bold mb-0">What's new</h2> <ul class="d-grid gap-4 my-5 list-unstyled small"> <li class="d-flex gap-4"> <svg class="bi text-body-secondary flex-shrink-0" width="48" height="48"><use xlink:href="#grid-fill"/></svg> <div> <h5 class="mb-0">Grid view</h5> Not into lists? Try the new grid view. </div> </li> <li class="d-flex gap-4"> <svg class="bi text-warning flex-shrink-0" width="48" height="48"><use xlink:href="#bookmark-star"/></svg> <div> <h5 class="mb-0">Bookmarks</h5> Save items you love for easy access later. </div> </li> <li class="d-flex gap-4"> <svg class="bi text-primary flex-shrink-0" width="48" height="48"><use xlink:href="#film"/></svg> <div> <h5 class="mb-0">Video embeds</h5> Share videos wherever you go. </div> </li> </ul> <button type="button" class="btn btn-lg btn-primary mt-5 w-100" onclick=fechar(modalTour)>Great, thanks!</button> </div> </div> </div> </div> <!-- modalSignin --> <div class="modal opacity-75 d-none bg-body-secondary" tabindex="-1" role="dialog" id="modalSignin"> <div class="modal-dialog" role="document"> <div class="modal-content rounded-4 shadow"> <div class="modal-header p-5 pb-4 border-bottom-0"> <h1 class="fw-bold mb-0 fs-2">Sign up for free</h1> <button type="button" class="btn-close" onclick=fechar(modalSignin) aria-label="Close"></button> </div> <div class="modal-body p-5 pt-0"> <form class=""> <div class="form-floating mb-3"> <input type="email" class="form-control rounded-3" id="floatingInput" placeholder="name@example.com"> <label for="floatingInput">Email address</label> </div> <div class="form-floating mb-3"> <input type="password" class="form-control rounded-3" id="floatingPassword" placeholder="Password"> <label for="floatingPassword">Password</label> </div> <button class="w-100 mb-2 btn btn-lg rounded-3 btn-primary" type="submit">Sign up</button> <small class="text-body-secondary">By clicking Sign up, you agree to the terms of use.</small> <hr class="my-4"> <h2 class="fs-5 fw-bold mb-3">Or use a third-party</h2> <button class="w-100 py-2 mb-2 btn btn-outline-secondary rounded-3" type="submit"> <svg class="bi me-1" width="16" height="16"><use xlink:href="#twitter"/></svg> Sign up with Twitter </button> <button class="w-100 py-2 mb-2 btn btn-outline-primary rounded-3" type="submit"> <svg class="bi me-1" width="16" height="16"><use xlink:href="#facebook"/></svg> Sign up with Facebook </button> <button class="w-100 py-2 mb-2 btn btn-outline-secondary rounded-3" type="submit"> <svg class="bi me-1" width="16" height="16"><use xlink:href="#github"/></svg> Sign up with GitHub </button> </form> </div> </div> </div> </div>
  7. Última semana
  8. Venturing into dungeons with Boosthive has been an absolute game-changer for me! Their team's proficiency and dedication have made navigating through challenging dungeons a seamless and enjoyable experience. From their efficient process to their exceptional support, every aspect of their service is top-notch. For WoW players seeking to conquer dungeons effortlessly, I highly recommend exploring Boosthive's dungeon services and also you can visit https://boosthive.eu/wow/dungeons. Enhance your gameplay and embark on epic dungeon adventures with confidence!
  9. Eu sempre quis colocar um modal no meu projeto PHP. O problema é que eu não sabia como chamar o modal através do JavaScript. A sintaxe (new bootstrap.Modal(myModal)).show() só funciona com o Bootstrap 5.2 para cima, e ela vai ser útil quando você precisar deixar uma mensagem para o usuário, quando ele solicitar um serviço que não está disponível ou faltarem mais dados. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"> </script> <button data-bs-toggle="modal" data-bs-target="#myModal"> versão clássica </button> <p> <button onclick="(new bootstrap.Modal(myModal)).show()"> versão java script </button> <!-- Modal --> <div class="modal fade" id="myModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> Teste <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> </div> </div> </div>
  10. Olá amigo, estou com o mesmo problema, você pode me orientar como você fez para resolver esse problema. Grato Márcio Casale.
  11. Se é só para pausar o programa use getchar. não incluia bibliotecas enteiras só para pausar um programa.
  12. Em resumo, minha experiência com o 888Starz Portugal tem sido extremamente positiva. A variedade de jogos, a segurança, a conveniência do aplicativo móvel e os bônus generosos fazem desta plataforma uma das melhores opções para quem gosta de jogos de cassino e apostas esportivas. Se você está procurando uma nova maneira de se divertir e ganhar alguns prêmios pelo caminho, não deixe de conferir disponível em. Tenho certeza de que você não vai se arrepender!
  13. eu tentei assim mas não deu certo WITH MovimentacoesNumeradas AS ( SELECT idProcessoJudicial, DataMovimentacao, DescricaoDetalhada, ROW_NUMBER() OVER (PARTITION BY idProcessoJudicial ORDER BY idProcessoJudicialMovimentacao DESC) AS NumLinha FROM ProcessoJudicialMovimentacao where idProcessoJudicial = 17991 ) SELECT idProcessoJudicial, MAX(CASE WHEN NumLinha = 1 THEN DataMovimentacao END) AS DataUltimoAndamento, MAX(CASE WHEN NumLinha = 1 THEN DescricaoDetalhada END) AS UltimoAndamento, MAX(CASE WHEN NumLinha = 2 THEN DataMovimentacao END) AS DataPenultimoAndamento, MAX(CASE WHEN NumLinha = 3 THEN DataMovimentacao END) AS DataAntepenultimoAndamento FROM MovimentacoesNumeradas WHERE NumLinha <= 6 GROUP BY idProcessoJudicial;
  14. o que foi indicado, deu super certo, contudo eu preciso alem da data da descrição do ultima andamento idProcessoJudicial, MAX(CASE WHEN NumLinha = 1 THEN DataMovimentacao END) AS UltimoAndamento, MAX(CASE WHEN NumLinha = 2 THEN DataMovimentacao END) AS PenultimoAndamento, MAX(CASE WHEN NumLinha = 3 THEN DataMovimentacao END) AS AntepenultimoAndamento tentei colocar aqui mas não deu certo, na verdade precisava do UltimoAndamento e a data UltimoAndamento, e os demais, so que assim so aparece a data, precisava tb da descrição que tem o nome na tabela o campo DescricaoDetalhada, desta forma precisaria que ficasse: DataUltimoAndamento | UltimoAndamento | DataPenultimoAndamento | PenultimoAndamento ... consegue me ajudar?
  15. What is Link Building? Link building is the process of getting other websites to link back to your site. It's like a digital vote of confidence, signaling to search engines that others find your content valuable and trustworthy. The more high-quality links you have, the better your chances of ranking higher in search engine results. How Does the 360 Marketing Tool Help with Link Building? The 360 Marketing Tool is a one-stop shop for several features that can supercharge your link-building strategy. Here are a few ways it can help: Competitor Analysis: Look at what other businesses similar to yours are doing. See where they're getting links from other websites. Then, try to get links from those same places. It's like learning from what your competitors are doing well and using it to help your website. With the 360 Marketing Tool, you can easily find and analyze your competitors, which will help you rank higher in the search engine results. Broken Link Building: The 360 Marketing Tool helps you with broken links by finding a website with a broken link related to your content, allowing you to reach out to the website owner and suggest your content as a replacement. It's a win-win situation—you get a link, and they fix their content! Advanced Analytics: Gain valuable insights into your link-building strategy with 360 Marketing Tool's advanced analytics. Track the performance of your backlinks, monitor their impact on your website's SEO, and make data-driven decisions for future strategies. Content Insights: Find out what topics are popular right now. Then, make content about those topics that other websites will want to link to. This way, you can get links without even asking for them. It's like making stuff that people really like and want to share with others. Link Building Strategies with 360 Marketing Tool Now that we understand the features, let's dive into some effective link-building strategies you can implement using the 360 Marketing Tool: 1. Guest Blogging Collaborate with industry-relevant blogs and websites to publish guest posts with backlinks to your site. 360 Marketing Tool helps you identify potential guest blogging opportunities by comparing the top websites ranking on SERPs and managing the outreach through an email campaign within the same platform, allowing you to complete the task easily. 2. Content Creation With the help of this tool, you can find out what kind of content is doing great in your field. Then, you can make even better versions of that content to get more links. It's like looking at what people really like and making something even cooler to get more attention and links to your website. 3. Broken Link Building Identify broken links on authoritative websites within your industry. Reach out to these sites with suggestions to replace the broken links with your content, providing a win-win situation for both parties. 4. Influencer Outreach Leverage the reach of influencers in your industry by collaborating on content that includes backlinks to your website. The 360 Marketing Tool simplifies the influencer outreach process, making it easier to build valuable connections. Conclusion 360 Marketing Tool is a beneficial friend in your search for improved link-building strategies. With its automated outreach, advanced analytics, and competitor analysis, you can elevate your website's authority and improve your SEO performance. Implement the strategies outlined in this guide and watch your website climb the search engine rankings. Are you ready to take your link-building efforts to new heights? Try the 360 Marketing Tool today and experience the difference. Boost your website's authority, drive organic traffic, and achieve better SEO results. Sign up now and unlock the full potential of superior link-building strategies!
  16. No site que você recomendou tudo é um pouco complicado para um iniciante, para mim também. E eu não gostei dos jogos. Gostaria de partilhar a minha opinião de que https://888.casinologinportugal.net/ é mais adequado para iniciantes. Grandes bônus, tudo é muito mais simples, principalmente retirada de fundos. Então, para mim e acho que para muitos outros, isso é mais adequado.
  17. The baby shower invitation sets the tone for the entire event, offering a glimpse into the theme, ambiance, and level of excitement to be expected. It serves as the initial point of contact between the host and the guests, making it essential to make a lasting impression.
  18. Mais Cedo
  19. Boa Tarde... Dúvida: Quando coloco parâmetros de entrada @_piCodConv = '0002', @_piCodPlano = '0200', @_piCodExa = 'CONS', @_piQtdExa = '1', @_piData = '20/05/2024', direto no 'EXECUTE' da minha procedure o parâmetro de saída @_poQtdCh me retorna '120' que seria referente ao exame 'CONS' do convenio '0002' plano '0200'. Porém quando uso esses mesmos parâmetros na minha tabela temporária criada para chamar resultados da minha procedure ele me retorna na coluna 'CODEXA' e 'VALOR' como null, alguém sabe me dizer se tem algo de errado no meu código ou se estou me referenciando de forma errada? Agradeço desde já Query abaixo: CREATE TABLE #Faturamento ( CodExa varchar(10), Valor float ); DECLARE @_piCodConv char(04); DECLARE @_piData DATE; DECLARE @_piCodPlano varchar(6); DECLARE @_piCodExa varchar(10); DECLARE @_piQtdExa INT = 1; DECLARE @_piUrgente char(01); DECLARE @_piCodReq INT; DECLARE @_piUrgPac char(01); DECLARE @_piMatMed char(01); DECLARE @_piML51Temp char(01); DECLARE @_piCodMeds INT; DECLARE @_piMedico varchar(40); DECLARE @_piCodExaOrig varchar(10); DECLARE @_poMoedaConv varchar(03); DECLARE @_poCodAMB varchar(11); DECLARE @_poTaxaUrg float; DECLARE @_poValBruto float; DECLARE @_poValLiquido float; DECLARE @_poValPac float; DECLARE @_poValPacTot float; DECLARE @_poValConv float; DECLARE @_poValConvTot float; DECLARE @_poValCh float; DECLARE @_poQtdCh float; DECLARE @_poMetraFilme float; DECLARE @_poValFilme float; DECLARE @_poValMatMed float; DECLARE @_poValMatMedConv float; DECLARE @_poValMatMedPac float; DECLARE @_poCobraFranq varchar(01); DECLARE @_poValFranq float; DECLARE @_poConvPart varchar(01); DECLARE @_poValChFilme float; DECLARE @_poAcrescimo float; DECLARE @_poAcrPlano float; DECLARE @_poFatorSetor float; DECLARE @_poAvista float; DECLARE @_poDescExa varchar(27); DECLARE @_poCodTabela varchar(03); DECLARE @_poTabela varchar(15); DECLARE @_poDescMoedaConv varchar(05); DECLARE @_poCodFilme varchar(11); DECLARE @_poMoedaFilme varchar(03); DECLARE @_poDescMoedaFilme varchar(05); INSERT INTO #Faturamento (CodExa, Valor) VALUES (@_piCodExa, @_poQtdCh) EXEC FAZ_FATURAMENTO @_piCodConv = '0002', @_piCodPlano = '0200', @_piCodExa = 'CONS', @_piQtdExa = '1', @_piData = '20/05/2024', @_piUrgente = @_piUrgente, @_piCodReq = @_piCodReq, @_piUrgPac = @_piUrgPac, @_piMatMed = @_piMatMed, @_piML51Temp = @_piML51Temp, @_piCodMeds = @_piCodMeds, @_piMedico = @_piMedico, @_piCodExaOrig = @_piCodExaOrig, @_poMoedaConv = @_poMoedaConv OUTPUT, @_poCodAMB = @_poCodAMB OUTPUT, @_poTaxaUrg = @_poTaxaUrg OUTPUT, @_poValBruto = @_poValBruto OUTPUT, @_poValLiquido = @_poValLiquido OUTPUT, @_poValPac = @_poValPac OUTPUT, @_poValPacTot = @_poValPacTot OUTPUT, @_poValConv = @_poValConv OUTPUT, @_poValConvTot = @_poValConvTot OUTPUT, @_poValCh = @_poValCh OUTPUT, @_poQtdCh = @_poQtdCh OUTPUT, @_poMetraFilme = @_poMetraFilme OUTPUT, @_poValFilme = @_poValFilme OUTPUT, @_poValMatMed = @_poValMatMed OUTPUT, @_poValMatMedConv = @_poValMatMedConv OUTPUT, @_poValMatMedPac = @_poValMatMedPac OUTPUT, @_poCobraFranq = @_poCobraFranq OUTPUT, @_poValFranq = @_poValFranq OUTPUT, @_poConvPart = @_poConvPart OUTPUT, @_poValChFilme = @_poValChFilme OUTPUT, @_poAcrescimo = @_poAcrescimo OUTPUT, @_poAcrPlano = @_poAcrPlano OUTPUT, @_poFatorSetor = @_poFatorSetor OUTPUT, @_poAvista = @_poAvista OUTPUT, @_poDescExa = @_poDescExa OUTPUT, @_poCodTabela = @_poCodTabela OUTPUT, @_poTabela = @_poTabela OUTPUT, @_poDescMoedaConv = @_poDescMoedaConv OUTPUT, @_poCodFilme = @_poCodFilme OUTPUT, @_poMoedaFilme = @_poMoedaFilme OUTPUT, @_poDescMoedaFilme = @_poDescMoedaFilme OUTPUT; SELECT XLABORC.DATA AS "DATA ORCAMENTO", XLABORC.CODORC AS "NÚMERO ORÇAMENTO", XLABORC.CODFIC AS "PRONTUÁRIO", XLABORC.PACIENTE AS "NOME DO PACIENTE", (SELECT LEFT(STRING_AGG(XLABORC2.CODEXA, ', '), 50) FROM XLABORC2 WHERE XLABORC2.CODORC = XLABORC.CODORC) AS "EXAMES ORÇADOS", (SELECT SUM(XLABORC2.VALLIQUIDO) FROM XLABORC2 WHERE XLABORC2.CODORC = XLABORC.CODORC) AS "VALOR ORÇAMENTO", XLABAGENDA.DATA AS "DATA DO AGENDAMENTO", (SELECT LEFT(STRING_AGG(XLABAGENDA.CODEXA, ', '), 50) FROM XLABAGENDA WHERE XLABAGENDA.CODFIC = XLABORC.CODFIC AND XLABAGENDA.DATA >= XLABORC.DATA) AS "EXAMES AGENDADOS", OPERADOR_AGENDA.APELIDO AS "OPERADOR QUE AGENDOU", ML5.AMOSTRA AS "AMOSTRA", ML5.DATA AS "DATA REQUISIÇÃO", (SELECT LEFT(STRING_AGG(ML51.CODEXA, ', '), 50) FROM ML51 WHERE ML5.CODREQ = ML51.CODREQ AND ML51.DATAENTRADA >= ML5.DATA) AS "EXAMES REQUISIÇÃO", ML2.APELIDO AS "CONVENIO REQUISIÇÃO", OPERADOR.APELIDO AS "OPERADOR REQUISIÇÃO", CAIXA_ITENS.VALOR, CASE WHEN CAIXA_ITENS.VALOR IS NOT NULL THEN 'S' ELSE 'N' END AS PAGO FROM XLABORC INNER JOIN XLABORC2 ON XLABORC.CODORC = XLABORC2.CODORC LEFT JOIN ML5 ON ML5.CODFIC = XLABORC.CODFIC AND ML5.DATA >= XLABORC.DATA LEFT JOIN ML51 ON ML5.CODREQ = ML51.CODREQ AND ML51.DATAENTRADA >= ML5.DATA LEFT JOIN ML1 ON ML51.CODEXA = ML1.CODEXA LEFT JOIN OPERADOR ON OPERADOR.CODOPER = ML5.CODOPER LEFT JOIN CAIXA_ITENS ON ML5.AMOSTRA = CAIXA_ITENS.AMOSTRA LEFT JOIN ML2 ON ML51.CODCONV = ML2.CODCONV LEFT JOIN XLABAGENDA ON XLABAGENDA.CODFIC = XLABORC.CODFIC AND XLABAGENDA.DATA >= XLABORC.DATA LEFT JOIN OPERADOR AS OPERADOR_AGENDA ON XLABAGENDA.CODOPER_AGENDA = OPERADOR_AGENDA.CODOPER WHERE XLABORC.DATA BETWEEN '20/05/2024' AND '20/05/2024' AND (ML5.DATA IS NULL OR ML5.DATA >= XLABORC.DATA) AND XLABORC.CODFIC <> '' AND (XLABAGENDA.DATA >= XLABORC.DATA OR XLABAGENDA.DATA IS NULL) AND (ML51.DATAENTRADA = XLABORC.DATA AND ML51.CODCONV = '0002' OR ML51.CODCONV IS NULL) GROUP BY XLABORC.DATA, XLABORC.CODORC, XLABORC.CODFIC, XLABORC.PACIENTE, XLABAGENDA.DATA, OPERADOR.APELIDO, ML5.AMOSTRA, ML5.DATA, ML2.APELIDO, ML5.CODREQ, CAIXA_ITENS.VALOR, OPERADOR_AGENDA.APELIDO;
  20. Para realizar essa consulta, você pode usar a cláusula ROW_NUMBER() para numerar as linhas em ordem decrescente de idProcessoJudicialMovimentacao e, em seguida, filtrar os três últimos registros para cada grupo de idProcessoJudicial. Em seguida, você pode usar a cláusula CASE para transformar essas linhas em colunas. Aqui está um exemplo de como isso pode ser feito em SQL: WITH MovimentacoesNumeradas AS ( SELECT idProcessoJudicial, DataMovimentacao, ROW_NUMBER() OVER (PARTITION BY idProcessoJudicial ORDER BY idProcessoJudicialMovimentacao DESC) AS NumLinha FROM SuaTabela ) SELECT idProcessoJudicial, MAX(CASE WHEN NumLinha = 1 THEN DataMovimentacao END) AS UltimoAndamento, MAX(CASE WHEN NumLinha = 2 THEN DataMovimentacao END) AS PenultimoAndamento, MAX(CASE WHEN NumLinha = 3 THEN DataMovimentacao END) AS AntepenultimoAndamento FROM MovimentacoesNumeradas WHERE NumLinha <= 3 GROUP BY idProcessoJudicial; Substitua "SuaTabela" pelo nome da sua tabela. Este SQL agrupa os registros pelo idProcessoJudicial, numerando as linhas em ordem decrescente de idProcessoJudicialMovimentacao. Em seguida, ele seleciona apenas as três últimas linhas para cada grupo de idProcessoJudicial e usa a cláusula CASE para transformar essas linhas em colunas, retornando os resultados desejados.
  21. Olá pessoal! espero que estejam bem... Estou trabalhando em um projeto meu e me deparei com um obstáculo que estou tendo dificuldade de solucionar (as vezes é até simples e me falta esse conhecimento). No meu projeto, o VBA filtra uma tabela a partir de informações cedidas pelo usuário e posteriormente ele irá navegar pela tabela filtrada realizando as modificações necessárias na tabela. O problema é que ao filtrar a tabela o VBA não navega apenas nas células visíveis e sim todas as células, até aquelas que estão ocultas devido o filtro. Existe alguma maneira de fazer ele navegar somente nas células visíveis da tabela? Digo isso, pois posso sanar o problema colocando uma estrutura de if e offset para células ocultas, entretanto a tabela possui mais de 10000 linhas o que torna o processo extremamente lento e isso é o que eu menos desejo. Por favor, se alguém puder me ajudar agradeceria imensamente!
  22. Boa tarde, estou tentando criar um gráfico, porém o campo que estou precisando utilizar pra preencher os valores desse gráfico, aparentemente está como criptografados/hexadecimal, e está me retornando erro quando coloco no gráfico para chamar os resultados, alguém poderia me ajudar em como posso resolver isso? Os dados do campo retornam dessa forma: 0x98180000B5060000052101002102002303000400230500040023060004000407000........etc (o campo vem enorme, coloquei apenas uma parte dele)
  23. O seguinte código coloca todos os arquivos no diretório raiz, as definições e a conexão foram colocadas no arquivo Controle, e foi utilizado o prefixo v para todos os arquivos que contém os formulários em HTML. arquivo /Astudy/Controle.php <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> <div style=height:20px></div> <?php date_default_timezone_set('America/Sao_Paulo'); defined('HOST') || define('HOST', 'localhost'); defined('DBNAME') || define('DBNAME', 'teste'); defined('USER') || define('USER','root'); defined('PASSWORD') || define('PASSWORD',''); spl_autoload_register( function ($classe) { $arquivo = $classe . '.php'; if (file_exists($arquivo)) { require_once $arquivo; return; } throw new Exception("Erro ao carregar a classe '{$classe}'. Arquivo não encontrado.$arquivo"); } ); function dec($value) { if($value==null) { return null; } return number_format($value,2,',','.'); } function deca($num) { $value=str_replace(".","",$num); return str_replace(",",".",$value); } function fmt($date) { return date('d/m/y',strtotime($date)); } function pvenda($custo,$margem) { $calculo=intval($custo*(1+$margem/100)*100)/100; $fracao=$calculo-intval($calculo); if ($fracao < 0.09) { $pvenda=intval($calculo); } else { if ($fracao <= 0.59) { $pvenda=intval($calculo)+0.5; } else { $pvenda=intval($calculo)+1; } } return dec($pvenda); } function view($arquivo, $array = null) { if (!is_null($array)) { foreach ($array as $var => $value) { ${$var} = $value; } } ob_start(); include $arquivo . ".php"; ob_flush(); } class Controle { private static $pdo; public static function instancia() { if(!self::$pdo) { self::$pdo=new PDO("mysql:host=".HOST.";dbname=".DBNAME,USER,PASSWORD); } return self::$pdo; } function select($sql) { $stmt=$this->instancia()->query("select $sql"); return $stmt->fetchAll(PDO::FETCH_OBJ); } function insert($sql) { return $this->instancia()->query("insert into $sql"); } function delete($sql) { return $this->instancia()->query("delete $sql"); } function update($sql) { return $this->instancia()->query("update $sql"); } } arquivo /Astudy/ControleOrcamento.php <?php class ControleOrcamento extends Controle { public function alteraQt() { $qt=$_POST['alteraQt']; $id=$_POST['id']; $ped=$_POST['ped']; $unitario=$_POST['unitario']; $subtotal=$qt*$unitario; $this->update("tbhistped set qt=$qt, subtotal=$subtotal where id=$id"); $total=$this->select("sum(subtotal) as total from tbhistped where ped=$ped")[0]->total; $this->update("tbpedido set total=$total where ped=$ped"); return $this->inicio($ped); } public function excluir($id) { $pedido=$_GET['pedido']; $this->delete("from tbhistped where id=$id"); $total=$this->select("sum(subtotal) as total from tbhistped where ped=$pedido")[0]->total; $this->update("tbpedido set total=$total where ped=$pedido"); return $this->inicio($pedido); } public function historico($hist = null) { $where=""; if($hist) { $ped=$_GET['referencia']+$hist; $where="where ped <= $ped"; } $pedidos=$this->select("* from tbpedido $where order by ped desc limit 15"); return view('vHistorico',['pedidos'=>$pedidos]); } public function incluirProduto($codprod) { $pedido=$_GET['pedido']; return $this->inicio($pedido,$codprod); } public function incluirQt() { $qt=deca($_POST['qt']); $ped=$_POST['ped']; $codprod=$_POST['codprod']; $unitario=str_replace(",",".",$_POST['venda']); $un=$_POST['un']; $subtotal=$qt*$unitario; $this->insert("tbhistped (ped,codprod,un,unitario,subtotal,qt) values ($ped,$codprod,'$un',$unitario,$subtotal,$qt)"); $total=$this->select("sum(subtotal) as total from tbhistped where ped=$ped")[0]->total; $this->update("tbpedido set total=$total where ped=$ped"); return $this->inicio($ped); } public function inicio($pedido = null, $codprod = null) { if($pedido) { $pedido=$this->select("* from tbpedido where ped=$pedido")[0]; } else { $ultimo=$this->select("max(ped) as ultimo from tbpedido")[0]->ultimo; $pedido=$this->select("* from tbpedido where ped=$ultimo")[0]; } if($codprod) { $vr['codprod']=$codprod; $produto=$this->select("* from tbprod where codprod=$codprod")[0]; $vr['prod']=$produto->prod; $vr['venda']=$produto->venda; $vr['un']=$produto->un; } else { $vr['codprod']=null; $vr['prod']=null; $vr['venda']=null; $vr['un']=null; } $vr['ped']=$pedido->ped; $vr['diaped'] = $pedido->dia; $vr['total'] = $pedido->total; $vr=json_decode(json_encode($vr)); $histped=$this->select("* from tbhistped join tbprod on tbprod.codprod = tbhistped.codprod where ped=$vr->ped"); return view('vOrcamento',['vr'=>$vr,'histped'=>$histped]); } public function novoPedido() { $pedido=$this->select("* from tbpedido order by ped desc")[0]; $ped=$pedido->ped; $total=$pedido->total; if($total!==null) { $ped++; $dia=date('Y-m-d'); $this->insert("tbpedido (ped,dia) values ($ped,'$dia')"); } return $this->inicio($ped); } public function produto() { $pedido=$_POST['pedido']; $produtos=$this->select("* from tbprod order by prod limit 15"); return view('vProduto',['produtos'=>$produtos,'pedido'=>$pedido]); } } arquivo /Astudy/ControleProduto.php <?php class ControleProduto extends Controle { public function procurarProduto() { $procura=$_POST['procura']; $pedido=$_POST['pedido']; $criterio=str_replace(" ","%",$procura); $produtos=$this->select("* from tbprod where prod like '%$criterio%' order by prod"); return view('vProduto',['produtos'=>$produtos,'pedido'=>$pedido]); } public function selecionado($codprod) { $pedido=$_GET['pedido']; return header("location:?ControleOrcamento.incluirProduto.$codprod&pedido=$pedido"); } } arquivo /Astudy/index.php <?php require('Controle.php'); $rota='ControleOrcamento_inicio'; if($_GET) { if(strpos(key($_GET),"_")==0) { exit; } $rota=isset($_GET) ? key($_GET) : $rota; } $segmentos=explode('_',$rota); $nomeControle=$segmentos[0] ?? 'ControleOrcamento'; $metodo=$segmentos[1] ?? 'inicio'; $parametro=$segmentos[2] ?? null; $controle=new $nomeControle(); $controle->$metodo($parametro); arquivo /Astudy/mysql.txt CREATE TABLE `tbhistped` ( `ped` int DEFAULT NULL, `codprod` int DEFAULT NULL, `un` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `unitario` float DEFAULT NULL, `subtotal` float DEFAULT NULL, `id` int NOT NULL AUTO_INCREMENT, `qt` float DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=13063 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci CREATE TABLE `tbpedido` ( `ped` int NOT NULL AUTO_INCREMENT, `total` float DEFAULT NULL, `dia` date DEFAULT NULL, `codp` mediumint DEFAULT NULL, `horavenda` datetime DEFAULT NULL, `vendido` date DEFAULT NULL, `dinheiro` float DEFAULT NULL, `troco` float DEFAULT NULL, `cartao` tinyint DEFAULT NULL, `pix` tinyint DEFAULT NULL, `bling` int DEFAULT NULL, PRIMARY KEY (`ped`) ) ENGINE=InnoDB AUTO_INCREMENT=5825 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci CREATE TABLE `tbprod` ( `codprod` mediumint NOT NULL AUTO_INCREMENT, `un` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'un', `prod` varchar(80) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `custo` decimal(13,2) DEFAULT NULL, `marg` decimal(5,2) DEFAULT NULL, `codbar` varchar(29) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `loc` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '""', `emb` float DEFAULT NULL, `cf` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `codforn` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `estoque` float DEFAULT NULL, `origem` int NOT NULL DEFAULT '0', `vazio` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `venda` decimal(13,2) DEFAULT NULL, PRIMARY KEY (`codprod`) ) ENGINE=InnoDB AUTO_INCREMENT=2288 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci arquivo /Astudy/vHistorico.php <?php $referencia = $pedidos[0]->ped; ?> <table class='table table-striped table-sm w-25 m-auto'> <th style=width:20px>Dia <th style=width:40px> <div style="display:flex;width:30px;margin-right:15px"> <a href="?ControleOrcamento.historico.-14&referencia=<?=$referencia?>"><</a>&nbsp; <a href="?ControleOrcamento.inicio">Ped</a>&nbsp; <a href="?ControleOrcamento.historico.14&referencia=<?=$referencia?>" >></a> </div> <th class=text-end>Total <?php foreach($pedidos as $ped) : ?> <tr><td><?=date('d/m/y',strtotime($ped->dia))?> <td class=text-end><a href=?ControleOrcamento.inicio.<?=$ped->ped?>><?=$ped->ped?></a> <td class=text-end><?=dec($ped->total)?> <?php endforeach; ?> arquivo /Astudy/vOrcamento.php <table class='table table-striped table-sm w-50 m-auto pt-3'> <tr class="fw-semibold align-middle" style=height:40px> <td>Produto <a href=?ControleOrcamento.historico>Historico</a> <a href="?ControleOrcamento.novoPedido">Novo</a> <spam class=text-danger>Pedido <?=$vr->ped?> de <?=fmt($vr->diaped)?></spam> <td class=text-end>Qt<td>Un<td>Preço<td class=text-end>Total <?php foreach($histped as $item): ?> <tr> <td><?=$item->prod?> <td class=text-end> <form class='m-0' action=?ControleOrcamento.alteraQt method=post> <?php if($item->qt==intval($item->qt)): ?> <input name=alteraQt value='<?=$item->qt?>' onchange=submit() size=1 style=text-align:right;border:none;background:transparent> <?php else: ?> <input name=alteraqQt value='<?=dec($item->qt)?>' onchange=submit() size=1 style=text-align:right;border:none;background:transparent> <?php endif; ?> <input type=hidden name=id value=<?=$item->id?>> <input type=hidden name=ped value=<?=$item->ped?>> <input type=hidden name=unitario value=<?=$item->unitario?>> </form> <td><a href=?ControleOrcamento.excluir.<?=$item->id?>&pedido=<?=$item->ped?>><?=$item->un?></a> <td class=text-end><?=dec($item->unitario)?> <td class=text-end><?=dec($item->subtotal)?> <?php endforeach; ?> <tr > <?php if($vr->prod==""):?> <td> <form action=?ControleOrcamento.produto method=post class=m-0> <input type=submit value="Selecione um produto" autofocus> <input type=hidden name=pedido value=<?=$vr->ped?>> </form> <?php else: ?> <td><?=$vr->prod?> <?php endif; ?> <?php if(isset($_GET['pedido'])): ?> <td class=text-end> <form action=?ControleOrcamento.incluirQt method=post class=m-0> <input id=qt name=qt onchange=submit() size=1 placeholder=qt autofocus> <input type=hidden name=ped value="<?=$vr->ped?>"> <input type=hidden name=codprod value="<?=$vr->codprod?>"> <input type=hidden name=venda value="<?=$vr->venda?>"> <input type=hidden name=un value="<?=$vr->un?>"> </form> <td><?=$vr->un?><td class=text-end><?=$vr->venda?><td> <?php else: ?> <td><td><td><td> <?php endif; ?> <tr class=fw-semibold><td><td><td><td>Total<td class=text-end><?=dec($vr->total)?> </table>> arquivo /Astudy/vProduto.php <table class='table table-striped table-sm w-50 m-auto'> <tr><td><td> <form action="?ControleProduto.procurarProduto" method=post class=m-0> <input name=procura size=40 onchange=submit() autofocus> <input type=hidden name=pedido value=<?=$pedido?>> </form> <td> <tr class=fw-semibold><td>Cód<td>Descrição dos Produtos<td>Venda <?php foreach($produtos as $prod): ?> <tr><td class=text-end> <a href='?ControleProduto.selecionado.<?=$prod->codprod?>&pedido=<?=$pedido?>'> <?=$prod->codprod?></a> <td><?=$prod->prod?> <td class=text-end><?=pvenda($prod->custo,$prod->marg)?> <?php endforeach; ?>
  24. Este código VBA parece ser utilizado para automatizar tarefas no SAP usando o SAP GUI Scripting. Ele inicia o aplicativo SAP, espera alguns segundos para que ele abra completamente, e então realiza uma série de ações, como redimensionar a janela, inserir uma transação, e pressionar botões no zhengzhoujiulu.com/. É importante ter cuidado ao usar automações desse tipo, pois podem violar políticas de segurança ou termos de serviço da empresa. Certifique-se de ter permissão para automatizar essas tarefas e de seguir as diretrizes da sua organização.
  25. Angela, para criar um projeto .NET Core no Visual Studio 2019 ou 2022, você precisa ter instalado o workload ".NET Core cross-platform development". Você pode verificar isso no Visual Studio Installer, na seção " ojogodobicho.vip ". Se essa workload não estiver instalada, você pode adicioná-la e, em seguida, reiniciar o Visual Studio para que as alterações tenham efeito. Após isso, você deve conseguir criar projetos .NET Core normalmente.
  26. Assim sendo, envie o html inteiro. Não precisa isolar a tabela. Em outras palavras: Ajude-nos a ajudá-lo. Pense no tempo de qualquer um de nós, se for escrever uma tabela html pra te servir como exemplo e, no fim, a construção dessa tabela ficar bem diferente da sua, e o script que você vai copiar e colar não funciona com a sua estrutura. Vai ser tempo perdido pra todo mundo. Enquanto que, se compartilhares o seu trecho de script a solução que qualquer um de nós sugerir vai servir exatamente pra estrutura do seu código. Lembre-se de que somos todos voluntários. (estamos pagando energia elétrica, internet, equipamentos, tempo etc... só pra ajudar, sem esperar nem receber nada em troca)
  27. Olá vou aproveitar que o assunto é o mesmo e pedir um help! Criei uma planilha no Excel, exportei em html para incorporar em um site Elementor Wordpress, incorporei em container ou grade, tentei de todas as formas com meu conhecimento limitado😬 e não resolvi o tamanho da tabela, posso alterar qualquer configuração no Elementor de largura ou tamanho total e a tabela não muda nada, ela ficou grande para tela no desktop, e no responsivo também. Procurei no código onde corrigir a largura total, mas não encontrei. Vou colocar o link do código para analise de quem puder e agradeço ajuda. https://codepen.io/Lesimi/pen/mdYJwwZ Lesimi
  28. Desculpe, como fazer isso? Não sei onde tirar o trecho html da tabela
  29. arquivo resources > views > notaFornecedor.blade.php <x-app-layout> <script>btmenu.innerHTML='Nota do Fornecedor';document.title="Nota do Fornecedor"</script> <form class="text-center" action="processaNF" method=post enctype="multipart/form-data"> @csrf <input type=file name=arquivo onchange=submit()> </form> @if($jatriz) <div class="container"> <table class="mx-auto border border-separate border-collapse"> <tr class="text-center font-medium"><td>CodForn<td>Cod<td>Produto<td>Qtdade<td>Total @foreach($jatriz as $vetor) <tr class="odd:bg-white even:bg-gray"><td class="px-4 py-2">{{$vetor->codforn}} <td class="text-right px-4 py-2"><?=$vetor->codprod?> <td class="px-4 py-2">{{$vetor->produto}} <td class="text-right px-4 py-2">{{intval($vetor->qt)}} <td class="text-right px-4 py-2">{{dec($vetor->subtotal)}} @endforeach </table> </div> @endif </x-app-layout>
  1. Mais Resultados


  • Estatísticas dos Fóruns

    • Tópicos
      152,1k
    • Posts
      651,9k
×
×
  • Criar Novo...