Ir para conteúdo
Fórum Script Brasil

Todas Atividades

Atualizada automaticamente

  1. Recentemente
  2. This website provides you unique article and free downloading so go enjoy now what are you waiting for. so, why wait please click here this link and enjoy it... IDM Crack
  3. IDM Crack 6.42 Build 3 (100% Working) Patch Full Version IDM Crack 6.42 Build 3 Patch is a powerful and widely used software that enhances the downloading experience for users. Known for its speed and reliability, IDM is designed to accelerate downloads by breaking them into smaller segments and downloading them simultaneously. This feature significantly reduces download times, making it a favorite among users who regularly download large files, software, or multimedia content from the internet. One of IDM’s standout features is its ability to resume interrupted or paused downloads. This comes in handy when a download is interrupted due to a network issue, power outage, or any other unforeseen circumstances. IDM allows users to pick up right where they left off, saving time and ensuring that no data is lost during the download process. The user-friendly interface of IDM Cracked Key contributes to its widespread popularity. The application seamlessly integrates with popular web browsers, such as Chrome and Firefox, making it easy for users to initiate downloads directly from their browser windows. The straightforward design ensures that both novice and experienced users can navigate and utilize IDM’s features with ease. IDM 6.42 Build 3 Patch & Crack Free Full Version [2024] IDM License Key supports multiple protocols, including HTTP, HTTPS, FTP, and MMS, providing versatility in handling various types of downloads. Additionally, it features a smart download logic accelerator that dynamically segments files during the download process, optimizing speed and efficiency. This advanced technology sets IDM apart from standard download managers. The scheduling feature of IDM Full Version allows users to plan their downloads at specific times, ensuring optimal use of available bandwidth and preventing network congestion during peak hours. This level of customization provides users with greater control over their download management, allowing them to prioritize and organize their downloads according to their preferences. IDM Registration Code comes equipped with a comprehensive error recovery system that automatically retries failed downloads. This feature minimizes the frustration of interrupted downloads due to network fluctuations or server issues. The software intelligently detects errors and takes corrective action, ensuring a higher success rate for completing downloads successfully. The browser integration feature of IDM Crack is a significant advantage, as it seamlessly integrates with popular browsers, capturing download links and providing a quick and efficient way to initiate downloads. This eliminates the need for manual copying and pasting of URLs, streamlining the entire download process for users. Conclusion: In conclusion, IDM has established itself as an indispensable tool for users who demand efficiency and speed in their downloading activities. Its rich feature set, including accelerated downloads, resume capabilities, browser integration, and error recovery, positions IDM as a top choice for individuals and businesses alike. As technology advances, IDM continues to evolve to meet the growing demands of users who rely on its robust capabilities for a seamless and efficient downloading experience. You can also share it with your friends: Express VPN Crack Key Features: High-Speed Downloads: One of the standout features of IDM Crack is its exceptional download speed acceleration. IDM’s intelligent download logic accelerator segments files into smaller parts and downloads them simultaneously, providing users with significantly faster download speeds compared to standard download managers. Resume Capability: IDM’s ability to resume interrupted or paused downloads is a crucial feature for users dealing with unreliable internet connections or unforeseen interruptions. This ensures that users can continue their downloads seamlessly without starting the process from the beginning. Browser Integration: IDM Crack seamlessly integrates with popular web browsers like Chrome, Firefox, Edge, and others. This integration allows users to capture download links directly from their browsers, making the initiation of downloads a seamless and efficient process. Smart Download Logic Accelerator: The smart download logic accelerator employed by IDM dynamically segments files during the download process. This innovative technology optimizes download speed and efficiency, setting IDM apart from conventional download managers. Comprehensive Protocol Support: IDM Crack supports various protocols, including HTTP, HTTPS, FTP, and MMS, offering versatility in handling different types of downloads. This broad protocol support ensures compatibility with diverse online platforms and services. Error Recovery System: IDM Crack features a robust error recovery system that automatically retries failed downloads. This proactive approach minimizes the impact of network fluctuations or server issues, providing users with a higher success rate in completing downloads successfully. Scheduling Capabilities: IDM’s scheduling feature empowers users to plan and organize their downloads efficiently. Users can set specific times for downloads, optimizing bandwidth usage and preventing network congestion during peak hours. User-Friendly Interface: The intuitive and user-friendly interface of IDM caters to both novice and experienced users. With easy navigation and straightforward design, users can quickly grasp and utilize the extensive features offered by IDM Crack, enhancing the overall user experience Automatic Virus Checking: IDM automatically integrates with antivirus software to check downloaded files for viruses and malware. This proactive approach to security ensures that users can download files with confidence, minimizing the risk of encountering malicious content. Enhanced Customization Options: IDM Crack provides users with a range of customization options, allowing them to prioritize and organize their downloads based on personal preferences. This level of customization enhances user control over the download management process. What’s New? Free Download IDM Full Crack is project recuperates the mistakes without eradicating or losing the document which has as of now. The quicker speed and ideal mix with significant internet browsers and it’s backings on windows. A client who is well aware of delay and resume can undoubtedly download and transfer records without out misery. IDM fix total release additionally supplies whole fortified Shows like the programming dialects. the records which consequently checks the infections that have tracked down inside version and totally eliminate them. One of the most mind-blowing highlight that remembered for this adaptation. That we can pick and drop the urn of recordings in this connection point. Clients aren’t expected to design any areas documents whatsoever to get IDM to run on their machine. You’ll continuously be utilizing the authority piece of item. This software engineer generally has been fixed. Download IDM full adaptation with Cracked free has include that takes into account a computerized resetting at the finish of the fundamental time frame. Internet Download Manager Serial Key 2023 [Latest]: N0Z90-KJTTW-7TZO4-I27A1 PAQ34-MHDIA-1DZUU-H4DB8 F9TZ9-P6IGF-SME74-2WP21 629U7-XLT5H-6SCGJ-2CENZ 8XJTJ-ZTWES-CIQNV-9ZR2C4 I23LZ-H5C2I-QYWRT-RZ2BO XONF7-PMUOL-HU7P4-D1QQX L67GT-CE6TR-DFT1D-XWVCM D91GM-T5X1J-DW7YG-1GHIS L67GT-CE6TR-DFT1D-XWVCM XONF7-PMUOL-HU7P4-D1QQX NT690-HYGTF-9JUT4-I98A3 F9TZ9-P6KGF-LPO74-2WP21 F9TZ9-P6IGF-SME74-2WP21 9RVII-F3W58-6FAYV-WPTFD DDLFR-JKN5K-B4DE3-H2WYO 629U7-XLT5H-6SCGJ-2CENZ KCE9Y-PUYTC-1L2ES-77OQS DAKF7-7DLEL-HU7P4-A1DDX U97GT-CE6SR-SET1D-DERFM POOUS-S8V4C-1RXUH-HG6NQ CJA0S-K6CO4-R4NPJ-EKNRK N0Z90-KJTTW-7TZO4-I27A1 7JPTJ-4XLY3-HM4LK-9UP4Q M7CQ2-VARGX-QFYGZ-URKG0 SAF0S-K6CO4-R4NPJ-ELNRK 349U2-TUT4H-6HGGJ-2CHUK CJA0S-K6CO4-R4NPJ-EKNRK 4CSYW-3ZMWW-PRRLK-WMRAB Internet Download Manager Key 2023 [Updated]: OUC2X-F1F8A-8LO76-ETQCK O00C4-MYLXJ-LYUDP-QFGD5 7WPV5-NHHF3-A2P39-LRJ74 OV4O3-1ASY1-8CDWI-9UGX4 52OGI-AKRTG-MT6YU-YZ7OU DDLFR-JKN5K-B4DE3-H2WYO HSIWU-KRQQQ-Y870K-YI6QQ F9TZ9-P6IGF-SME74-2WP21 9RVII-F3W58-6FAYV-WPTFD LC3OG-66OU3-38BTX-SX20M WNJ39-J1JN0-JKNVS-BZSCB L67GT-CE6TR-DFT1D-XWVCM XONF7-PMUOL-HU7P4-D1QQX HF0I6-AYL1O-BHDI7-DG9LW 4CSYW-3ZMWW-PRRLK-WMRAB 4P6BG-WGN41-C5CQQ-QXIO8 SN1OJ-P3ZGF-RU4XN-S61TZ I80CQ-RUG1G-LEP9V-O7UN0 629U7-XLT5H-6SCGJ-2CENZ Internet Download Manager Serial Number: 045837-3483847-347823628-23923734 2QQYDU-DQDIEJD-JKDIE0-DJDI-DJKIEJ 9QTXDS-DVEIEJR-JCDIXG-DJDY-EJOIGM FRIEH021-SBAX-MCNVLS7-ASMKK-KSLWE QH38DY-RIS839-UISD38S-QUIS8-2SUS8 QHE839S-DQJDI-DQKDIEJ-DQJK3-QJSI2 QSEUIIW-DQJKDI-DQJKIEE-DJK2-DQJKD RH89XY-ZIB86T-VTGD8YG-AUISL-8TUSM RHE839S-DQJDI-DQKDIEJ-DQJK3-QJSI2 SBEULIV-DXJKTI-DMJKICG-DJM5-LQJKP Internet Download Manager Serial Number [Updated]: b1bfc683a5ff4417acd3068062eb693c daad2f5449ce4d42a0fa1c00c5811bc6 6HQHE8-DQKDIEJ-E9DJWOW-DQJ-DQJ0 8HQHE8-7QKDIEJ-E9DJWO8-DQJ-DQJ6 BSVCHD-DQ2JDU-EUID830-DJKC-DJCP CJVFA0S-K6CORB4-R4N34PJ-EKGTNRK DIWO29E-DQJSI-SJKSW9SO-DQKD-DKS DSPMPJE-DTSU-YOSNXBS-BJKDI-DLJK FDIEIDS-DFJDJEIW-DFJDIE-DGJKDIE Internet Download Manager Registration Key: MRSGLT-DCJKDR-EYJREU-W68K-HJKSP N6Z9341-K65JTTW-65756TZO7-I27A4 OSPMCJE-DQSU-DQSNXMS-QJKDI-DQJK QRIE3022-SWAX-SCNVLS7-ASCKSKSLW QRSDJS-DQJKDE-ERJKEI-W38U-DJKSW 347FY7EYFS-DIDIEJ-FGUIDI-DGFOD D3TCNX-DJKWO-DJKSIWJSS-DQJKDIE DFJIDIEJFJD-DFJOD-DGFIO-DGf*** IDM25CR-AC4KPA-T65CHFU-LLV75ER LDUEHF-YMPVE-DRIDD-3SPT5-UOYBB Internet Download Manager License Key: NDUEI4-QMPVW-DQIDI-3GKT6-DOEPD QW66E-PQ8OQ-4GG68-NU93-DSSJUAA QWW6E-PQ8OQ-4GGP8-NU93-DSSJUAA 43D75EBDE995DC7DBC472F6941926 7B29BC95AFD7692395C81297EEA1F BHVKC-UFKSN-ZESAF-84CDW-YFKCV BIR2Z-TFSAL-YMKCR-74CZD-RFZDL CDHWF-SAHJSB-ADHJR-IHJO-XDHJV CJA0BJS-Kf6CO6-R4NPTJ-EK56&RK FHUSUWU-DFJID-DFJIDIEJ-DGOSIW Internet Download Manager Serial Key [Updated]: FXRS8-BGFZ3-KUVT1-IDH6C-BXD4I H9T2Z1-P345IAF-SMEM34M-2W4P23 KGU8K-CGR8X-CE3ZT-FR7X6-GRX8I MJGY9-FCXB8-NH42X-KIF49-IDM5D MKFRP-U8NG5-KF4XD-RA4FT-26KUI N6ZC91-KJTD4TW-75TZDO5-IS27A2 SDHSHE-DQHJD-DQKE9DIEU-DQJKDN SDHWU-SDHJSU-SDHJS-WHJD-SDHJW XONF38-PM34UOL-H4U7P7-D156QQX IDMDCR-ACKEDFU-LDLDOW-NLOADD Internet Download Manager Key: Y5LU5M-NF4E0Q-GJ5R2L-5BH86I 3K4N6P7Q9SATBVDWEXGZH2J3M5 4M5N7Q8R9TBUCVDXFYGZJ3K4M6 8R9SAUCVDWFYGZH3K4M5P7Q8RA 8SATBUDWEXFZH2J3M5N6P7R9SA CVDWEYGZH2K4M5N6Q8R9SBUCVD CVEXFYG2J3K4N6P7Q9SATBVDWE DWEYGZH2K4M5N7Q8R9TBUCVEXF GBTZ1-P5IACF-SMECMM-2DWP22 GZJ3K4M6P7Q8SATBUDWEXFYH2J System Requirement: Operating System: Windows 10/8.1/8/7/Vista/XP/Server 2003 or higher (32-bit or 64-bit systems) Hardware Requirements: Pentium IV processor or compatible 512 MB RAM Storage: 20 MB of free disk space for installation Ways To Speed IDM: Send off their own IDM full form with Crack free download developer, go to Dropdown menu, start the association, pick Association Class, and a short time later evolving ideal. Look at this equivalent IDM Cracked download for windows 8.1 recurrence control technique: data transmission is one of the capacities that something that gives clients with while utilizing span and speed direction. One such application dials back downloads to a to some degree. Simply go to Downloading eatery and subsequently switch off one more recurrence limitation region on whether this developer isn’t open. The above strategy utilizes accessible ability to move records. How to Install/Download: Download and Install IDM: Visit the Official Website: Go to the official IDM website to ensure you are downloading the latest version: IDM Official Website. Download IDM: On the website, locate the download link for IDM. Click on the download link, and you may be prompted to choose a download location. Run the Installer: Once the download is complete, locate the downloaded file (usually in your Downloads folder). Double-click on the installer file to run it. Follow Installation Wizard: The installation wizard will guide you through the installation process. Follow the on-screen instructions. You may need to choose the installation directory and agree to the terms and conditions. Integration with Web Browsers: During the installation, IDM may ask to integrate with your web browsers. Choose the browsers you want IDM to integrate with. Complete Installation: Wait for the installation process to complete. Browser Integration: After installing IDM, you may need to check whether it has successfully integrated with your web browsers. This integration allows IDM to capture download links and provide enhanced download management features. Registration (Optional): IDM is a paid software, but it offers a trial period for free. After the trial period, you may be prompted to enter a serial key to continue using the full version. If you have purchased IDM, enter the serial key when prompted. Usage: Once installed and configured, IDM should automatically take over downloads when you click on download links. You can also manually add downloads using IDM by copying and pasting the download link into IDM.
  4. Hoje
  5. Boa noite! Talvez essa o phpmailer possa te ajudar: https://github.com/PHPMailer/PHPMailer
  6. Yesterday
  7. Boa noite! Tenho em um FORM um carrinho onde são incluídos itens, preciso enviar um e-mail com estes dados. Obs: estes dados não são salvos em Base de dados. Se alguém puder me ajudar agradeço. Claudiney Silva
  8. Option Explicit Dim Appl, SapGuiAuto, Connection, Session, WScript, wshShell, proc, ApplSAP, Creator 'Application,SapGuiAuto, Connection, session, WScript' Sub Automatizacao_SAP() 'Inicia o aplicativo SAP se não estiver aberto' Set wshShell = CreateObject("WScript.Shell") Set proc = wshShell.Exec("C:\Program Files\SAP\NWBC800\NWBC.exe") 'Aguarda o aplicativo SAP abrir completamente' Application.Wait Now + TimeValue("0:00:5") 'Conexao com o SAP' If Not IsObject(Appl) Then Set SapGuiAuto = GetObject("SAPGUISERVER") Set Appl = SapGuiAuto.GetScriptingEngine End If If IsObject(WScript) Then WScript.ConnectObject Session, "on" WScript.ConnectObject Application, "on" End If 'Rotina' Session.findById("wnd[0]").resizeWorkingPane 217, 18, False Session.findById("wnd[0]/tbar[0]/okcd").Text = "ME23N" 'Insere a transacao' Session.findById("wnd[0]").sendVKey 0 Session.findById("wnd[0]/tbar[1]/btn[17]").press Session.findById("wnd[1]/usr/subSUB0:SAPLMEGUI:0003/radMEPO_SELECT-BSTYP_B").SetFocus Session.findById("wnd[1]/usr/subSUB0:SAPLMEGUI:0003/radMEPO_SELECT-BSTYP_B").Select Session.findById("wnd[1]/usr/subSUB0:SAPLMEGUI:0003/ctxtMEPO_SELECT-BANFN").Text = "4101212624" Session.findById("wnd[1]/usr/subSUB0:SAPLMEGUI:0003/ctxtMEPO_SELECT-BANFN").SetFocus Session.findById("wnd[1]/usr/subSUB0:SAPLMEGUI:0003/ctxtMEPO_SELECT-BANFN").caretPosition = 10 Session.findById("wnd[1]/tbar[0]/btn[0]").press End Sub
  9. Com certeza, suas habilidades em JavaScript, HTML e CSS são uma excelente base para começar a desenvolver jogos! Essas linguagens são amplamente utilizadas na criação de jogos para web e dispositivos móveis. E enquanto C pode não ser a linguagem mais comum no desenvolvimento de jogos, o conhecimento de programação em geral certamente será útil. Para facilitar o processo de desenvolvimento, existem várias engines que podem te auxiliar: Phaser: Uma engine popular e fácil de usar para criar jogos 2D em JavaScript. PixiJS: Outra ótima opção para jogos 2D, com foco em desempenho e renderização de gráficos. Three.js: Se você deseja criar jogos 3D, Three.js é uma escolha poderosa e flexível. Babylon.js: Mais uma engine 3D com recursos avançados e uma comunidade ativa. Além da escolha da engine, lembre-se de que o sucesso de um jogo depende de diversos fatores, como jogabilidade, design, marketing e, claro, um pouco de sorte. Falando em sorte, que tal testar a sua no fortunetigercasino.com? Quem sabe, talvez você ganhe o suficiente para financiar o desenvolvimento do seu próximo jogo! Lembre-se, o caminho para se tornar um desenvolvedor de jogos de sucesso exige dedicação, aprendizado contínuo e muita paixão. Com suas habilidades e as ferramentas certas, você pode criar jogos incríveis e conquistar seu espaço nesse mercado em crescimento. Boa sorte!
  10. Viva Alyson, Obrigado por sua resposta , o porque de usar VBA... Estou tentando criar uma extensa lista automatizada, que poderá criar automaticamente a extração dos dados e organizar os mesmo em bruto alimentado as diversas folhas de forma automática, dai a questão. A ideia era obter aproximação deste tipo de tarefa em código, para na raiz do motor que gera as diferentes folhas rodar agregação de dados , para cada uma das folhas criadas, uma vez que cada um dos workbooks, será criado tendo em conta o "COST CENTER"
  11. Bom dia @biza já tentou usar a tabela dinâmica para resolver seu problema? Estou abaixo enviando a tabela dinâmica com o mesmo exemplo: 222312-agregar-dados-em-vba-excel.xlsx
  12. Olá! Não tenho código com novo formato, mas podemos reescrever! Topa colaborar no desenvolvimento?
  13. Quando o seu javascript foi executado o input ainda não existia na DOM tente asssim: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Autofill</title> </head> <body> <input type="text" id="codigo"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.30.1/moment.min.js"></script> <script type="text/javascript"> const agora = moment(); var ano = (agora.format("YYYY")); var dia = (agora.format("DD")); var mes = (agora.format("MM")); var res = (ano + "/" + "sigla" + dia + mes + "_01") $('#codigo').val(res); </script> </body> </html>
  14. Última semana
  15. Ao carregar a página, preciso preencher automanticamente o input com id="codigo" pegando o valor ou texto da variável "res". Porém não está pegando. <html> <head> <script src="assets/js/moment.min.js" type="text/javascript"></script> <script type="text/javascript"> const agora = moment(); var ano = (agora.format("YYYY")); var dia = (agora.format("DD")); var mes = (agora.format("MM")); var res = (ano + "/" + "sigla" + dia + mes + "_01") $('#codigo').val(res); </script> </head> <body> <input type="text" id="codigo"> </body> </html>
  16. Boa tarde, tenho um problema com VBA, que gostaria que me ajudassem a resolver, pretendo com recurso a código em VBA agregar os dados de forma a que eles sejam somados. Em baixo, existe uma imagem , com o exemplo do pretendido. A esquerda a tabela que possui os dados de forma massiva e a direita o pretendido. Será que alguém me pode auxiliar a resolver isto obrigado
  17. Na Bling, tenho um produto chamado Esquadro 12" Ramada. Na hora de importar, a Bling monta um arquivo .csv. O Windows abre o arquivo .csv com o programa Excel. e lá você vê o mesmo produto do mesmo jeito que aparece lá na Bling. O problema é na hora de pedir para o PHP ver o arquivo, ele enxerga de maneira totalmente diferente, assim: "Esquadro 12"" Ramada". Eu criei a função aspas, e pedi para o PHP tirar o primeiro e o último aspas do produto. Mas tirar as aspas excedente no meio da descrição é problema. Durante uma semana quebrei a cabeça para resolver o problema. Hoje, eu pedi para o VS Code abrir o arquivo csv, e descobri que o problema não é o PHP, mas sim o arquivo csv. O Excel enxerga o csv de um jeito, mas o VS Code e o PHP enxergam de maneira bem diferente. Graças ao VS Code, consegui montar a função aspas no PHP: arquivo Modelos / Config.php <?php // ... function aspas($bling) { $primeiroCaractere=$bling[0]; $ultimoCaractere=$bling[-1]; if($primeiroCaractere==='"' && $ultimoCaractere==='"') { $bling=substr($bling,1,-1); return str_replace('""','"',$bling); } }
  18. Olá pessoal, sou novo por aqui, eu transferi centenas de arquivos do corel, que eu tinha em um cartão de memória no celular, para o PC novo que montei. só que alguns arquivos aparecem com 0 byte de tamanho. Certamente corrompido, gostaria de saber se existe uma maneira de recuperar, visto que não estão mais no cartão de memória. Tenho o Corel 2023 original, licença de anistia Corel.
  19. Mostre nos screenshot do erro com o trecho em q mostra em qual linha de qual arquivo o erro ocorreu
  20. Ele não suporta o formato jsonb, então estou tentando adaptar com outro tipo e achar equivalente p jsonb_obj_agg e jsonb_each
  21. Ola, amigo....muito grato pela atenção e riqueza de detalhes...vou testar aqui.
  22. Eu assisti vídeos do professor Guanabara, e com ele eu consegui instalar o WampServe no meu notebook. Essa foi a parte mais difícil do processo, eu levei quatro meses até conseguir o ícone verde na bandeja do Windows. Depois que o ícone do servidor ficar verde, você vai poder escrever no navegador "localhost", vai aparecer a mensagem dos aplicativos à sua disposição (eu já perdi o meu, agora só aparece o diretório do C:\wampserve\www). Depois de cinco meses, eu comecei a aprender a usar o Visual Studio Code, é uma tela preta. Depois de 10 meses, eu consegui montar o meu primeiro arquivo, assim: index.php echo "olá mundo"; mas precisei criar um diretório em c:\wampserve\www\astudy\ Depois de 15 meses é que eu consegui a minha primeira conexão com o MySQL: arquivo index.php <?php $mysqli=new mysqli("localhost","root","","diario"); $query=$mysqli->query("select * from produtos"); while($row=$query->fetch_assoc( )) { echo $row['produto']."<br>"; } Eu não sabia o que era esse "<br>". Em 2024, eu aprendi que "<br>" é um marcador utilizado no HTML. Enfim, já se passaram cinco anos, e eu não sei como programar. Quem me ajuda é a Gemini. Hoje eu perguntei para ela como colocar uma borda na parte de cima de um marcador <tr>, e ela disse que isso é besteira. Só dá para fazer borda no lado de cima com o marcador <td>. <tr> é o marcador de uma linha da tabela, <td> é o marcador de uma célula da tabela. Enfim, para saber um pouco mais de HTML, JavaScript, PHP, MySQL, o melhor é conversar com a Gemini, mas ultimamente ela só responde em inglês. O chato de tudo isso é o inglês. Eu estou apanhando para saber o que é select, var_dump, <input>, <table>, csv, echo, print_r, <a href>, e acho que o professor Guanabara errou ao afirmar que é preciso estudar o HTML e o MySQL antes do PHP. Precisa estudar sim é o inglês antes de tudo. Estou quase desistindo. Mas, além da Gemini, tem o pessoal aqui do fórum (um se chama Iowys e o outro Albano, um responde em maio e dezembro, outro em novembro e agosto). Basta você publicar o código e a imagem que aparece no notebook, assim:
  23. Não sei o que fazer, sou novo em programação, então fica difícil. alguma sugestao?
  24. Olá a todos, quero lhes falar sobre um cassino brasileiro muito legal chamado Mr Jack Bet, o que realmente diferencia o Mr Jack dos demais é a sua impecável experiência de usuário. De saques instantâneos a campeonatos exclusivos, essa plataforma sabe como manter seus usuários interessados. O bônus de 100% oferecido acrescenta uma camada extra de emoção, fazendo com que cada aposta valha a pena, independentemente do resultado. Quer eu esteja apostando no meu time favorito ou explorando novas oportunidades de apostas, o Mr. Jack oferece as ferramentas e os recursos para tornar cada momento agradável e gratificante. Definitivamente, eu o recomendo.
  25. Olá, parece que o seu problema está relacionado à atualização dinâmica do select com base no código do aluno passado via $_GET. Verifique se o código do aluno está sendo passado corretamente no link e se está sendo recebido corretamente na página que contém o select. Você também pode usar ferramentas de desenvolvimento do navegador para verificar se o valor do código está sendo atualizado conforme o esperado. Além disso, verifique se o código está sendo usado corretamente para filtrar os dados do select no seu banco de dados, Você pode obter mais informações sobre isso em slots 777. Boa sorte!
  26. Você pode usar eventos de teclado em JavaScript para validar o campo enquanto o usuário digita. Aqui está um exemplo simples de como fazer isso: <!DOCTYPE html> <html> <head> <title>Validação de Valor Numérico</title> </head> <body> <form> <label for="km">Kilometragem:</label> <input type="text" id="km" name="km" onkeyup="validarKm(this)"> <span id="kmError" style="color: red;"></span> <br><br> <label for="campo2">Próximo Campo:</label> <input type="text" id="campo2" name="campo2"> </form> <script> function validarKm(input) { var valor = parseInt(input.value); var limite = 100000; // Exemplo de limite if (isNaN(valor)) { document.getElementById("kmError").textContent = "Digite um valor numérico."; } else if (valor > limite) { document.getElementById("kmError").textContent = "O valor não pode ser superior a " + limite + "."; } else { document.getElementById("kmError").textContent = ""; } } </script> </body> </html> Este código foi escrito por um colega meu de slot rico, a função validarKm é chamada toda vez que uma tecla é pressionada no campo de entrada de kilometragem. Ela verifica se o valor digitado é um número e se é superior ao limite estabelecido. Se for, exibe uma mensagem de erro. Você pode ajustar o limite e a mensagem de erro conforme necessário para o seu formulário.
  27. O projeto original trabalhava com quatro campos, manhãHoraEntrada, manhãHoraSaída, TardeHoraEntrada, TardeHoraSaída, eu simplifiquei em apenas dois campos, e assim consegui registrar várias entradas no mesmo dia e até saída no dia seguinte (o relatório ficou péssimo, mas dá para entender mais ou menos o movimento do colaborador ao longo do dia). O projeto original tinha rotina de login, CSS, e o meu projeto não tem nada disso. Aqui o meu foco é o banco de dados e como o PHP é bastante útil dentro do HTML. arquivo /Polo/Controles/ControlePortaria.php <?php $projeto="/Polo"; require_once $_SERVER['DOCUMENT_ROOT']."$projeto/Modelos/Config.php"; class ControlePortaria { private $Conexao; public function __construct() { $this->Conexao=new Conexao; } public function cadastroNovo() { if(isset($_POST['nome'])) { $nome=$_POST['nome']; $verificar=$this->Conexao->select("nome from cadastros where nome='$nome'")[0]->nome; if($verificar) { $mensagem="Já existe $verificar no cadastro"; return view('Mensagem',['mensagem'=>$mensagem]); } $id=$_POST['id']; $imagem=file_get_contents($_FILES['foto']['tmp_name']); $extensao = pathinfo($_FILES['foto']['name'], PATHINFO_EXTENSION); $arquivo="Fotos/$id.$extensao"; file_put_contents($arquivo,$imagem); $this->Conexao->insert("cadastros (nome,foto) values ('$nome','$arquivo')"); return header("location:index.php"); } $id=$this->Conexao->select("max(id) as maximo from cadastros")[0]->maximo+1; return view('CadastroNovo',['id'=>$id]); } public function entrada($id) { $agora=date('Y-m-d H:i'); $this->Conexao->update("movimentos set horaentrada='$agora' where id=$id"); return header("location:index.php"); } public function inicio() { $hoje=date('d/m/y'); $verifica=$this->Conexao->select("* from cadastros"); foreach($verifica as $ver) { $teste=$this->Conexao->select("* from movimentos where idCadastro=$ver->id and horasaida is null"); if(!$teste) { $this->Conexao->insert("movimentos (idCadastro) values ($ver->id)"); } } $cadastros=$this->Conexao->select("cadastros.id, nome, foto, movimentos.id as iid, idCadastro, horaentrada, horasaida from cadastros join movimentos on cadastros.id = movimentos.idCadastro where horasaida is null order by cadastros.nome"); $mensagem=""; if(count($cadastros)==0) { $mensagem="Ninguém foi cadastrado, ainda!"; } return view('Movimento',['cadastros'=>$cadastros,'mensagem'=>$mensagem,'hoje'=>$hoje]); } public function relatorio($dia = null) { $dia=($dia) ? $dia : date('Y-m-d'); $movimentos=$this->Conexao->select("* from movimentos join cadastros on movimentos.idCadastro = cadastros.id where date(horaentrada)='$dia' order by cadastros.nome"); $mensagem=""; if(count($movimentos)==0) { $mensagem="Não houve movimento nesse dia."; } return view('Relatorio',['dia'=>$dia,'movimentos'=>$movimentos,'mensagem'=>$mensagem]); } public function saida($id) { $agora=date('Y-m-d H:i'); $this->Conexao->update("movimentos set horasaida='$agora' where id=$id"); $this->inicio(); } } arquivo /Polo/Fotos/1.png arquivo /Polo/Fotos/2.jpeg arquivo /Polo/Fotos/padrão.jpg arquivo /Polo/Modelos/Conexao.php <?php class Conexao { private static $pdo; public static function instancia() { if (!self::$pdo) { // Veririca se o banco de dados existe $dbName = DBNAME; $checkDbExistsQuery = "SELECT * FROM sys.schema_table_statistics WHERE table_schema = '$dbName'"; try { $tempPdo = new PDO("mysql:host=" . HOST, USER, PASSWORD); $result = $tempPdo->query($checkDbExistsQuery); $dbExists = $result->fetchColumn() === $dbName; $tempPdo = null; // fecha a conexão temporária do PDO } catch (PDOException $e) { die("Erro ao procurar o banco de dados: " . $e->getMessage()); } // Criar o banco de dados se ele não existe if (!$dbExists) { $createDbQuery = "CREATE DATABASE $dbName"; try { $pdo = new PDO("mysql:host=" . HOST, USER, PASSWORD); $pdo->exec($createDbQuery); $pdo->exec("USE ". DBNAME); $pdo->exec("CREATE TABLE `cadastros` (`id` int NOT NULL AUTO_INCREMENT, `nome` varchar(45) NOT NULL,`foto` varchar(45) NOT NULL,PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"); $pdo->exec("CREATE TABLE `movimentos` (`id` int NOT NULL AUTO_INCREMENT, `idCadastro` int NOT NULL,`horaentrada` varchar(20) DEFAULT NULL, `horasaida` varchar(20) DEFAULT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"); } catch (PDOException $e) { die("Erro ao criar o banco de dados: " . $e->getMessage()); } } // fazer a conexão com o banco de dados self::$pdo = new PDO("mysql:host=" . HOST . ";dbname=" . DBNAME, USER, PASSWORD); } return self::$pdo; } public function delete($sql) { return $this->instancia()->query("delete from $sql"); } public function exec($sql) { return $this->instancia()->query($sql); } public function insert($sql) { return $this->instancia()->query("insert into $sql"); } public function select($sql) { $stmt=$this->instancia()->query("select $sql"); return $stmt->fetchAll(PDO::FETCH_OBJ); } public function update($sql) { return $this->instancia()->query("update $sql"); } } arquivo /Polo/Modelos/Config.php <?php date_default_timezone_set('America/Sao_Paulo'); $baseDir = $_SERVER['DOCUMENT_ROOT'].'/Polo/'; define('PROJETO', $baseDir); define('CONTROLES', PROJETO.'/Controles/'); define('FOTOS',PROJETO.'/Fotos/'); define('MODELOS', PROJETO.'/Modelos/'); define('VISOES', PROJETO.'/Visoes/'); define('HOST', 'localhost'); define('DBNAME','polo'); define('USER','root'); define('PASSWORD',''); spl_autoload_register(function ($classe) { $diretorios = ['Controles', 'Modelos', 'Visoes']; foreach ($diretorios as $diretorio) { $arquivo = PROJETO . DIRECTORY_SEPARATOR . $diretorio . DIRECTORY_SEPARATOR . $classe . '.php'; if (file_exists($arquivo)) { require_once $arquivo; return; } } throw new Exception("Erro ao carregar a classe '{$classe}'. Arquivo não encontrado."); }); function view($arquivo, $array = null) { if (!is_null($array)) { foreach ($array as $var => $value) { ${$var} = $value; } } include VISOES . $arquivo . ".php"; } arquivo /Polo/Visoes/CadastroNovo.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Formulário de Cadastro</title> <script> function atualizarImagem() { file = document.getElementById('foto').files[0] reader = new FileReader() reader.onload = function(event) { imageURL = event.target.result; document.getElementById('imagemPreview').src = imageURL; } reader.readAsDataURL(file); } </script> </head> <body style="width:500px;margin:0 auto"> <fieldset> <legend><h3>Formulário de Cadastros id=<?=$id?></h3></legend> <div style=float:left;width:190px> <img src="Fotos/padrão.jpg" height="190" width="150" id=imagemPreview> </div> <div style=float:left;width:250px> <form action="?ControlePortaria.cadastroNovo" method="post" enctype='multipart/form-data'> <table> <tr><td><label for=foto style=display:block>Selecione uma foto</label> <tr><td><input type="file" name="foto" id="foto" onchange="atualizarImagem()"> <tr style=height:20px> <tr><td>Nome: <tr><td><input name="nome" placeholder="Informe o Nome" size=30 required> <input type=hidden name=id value=<?=$id?>> <tr><td><input type=submit value=Gravar> <tr><td><a href='?ControlePortaria.inicio'>Cancelar</a> </table> </form> </div> </fieldset> arquivo /Polo/Visoes/Mensagem.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Mensagem</title> </head> <body style="width:500px;margin:0 auto"> <fieldset> <legend><h3>Mensagem</h3></legend> <h4><?=$mensagem?></h4> <h4><a href=index.php>Voltar</a></h4> </fieldset> arquivo /Polo/Visoes/Movimento.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Movimento na Portaria</title> <script> function altera(imagem) { if (imagem.height === 10) { imagem.height = 190; } else { imagem.height = 10; } } </script> </head> <body style="width:500px;margin:0 auto"> <fieldset> <legend><h3>Movimento na Portaria em <?=$hoje?> </h3></legend> <form> <input name=nome placeholder="Busca por nome" onchange=submit()> <a href='?ControlePortaria.cadastroNovo'>Cadastrar Pessoas</a> <a href='?ControlePortaria.relatorio'> Relatório</a> </form> <h4><?=$mensagem?></h4> <table> <tr><th>id<th>Pessoa<th>Entrada<th>Saída<th>Foto <?php foreach($cadastros as $c): ?> <tr><td><?=$c->id?><td><?=$c->nome?> <?php if(is_null($c->horaentrada)): $entrada="<input type=submit value='Confirmar' onclick=location.replace('?ControlePortaria.entrada.$c->iid')>"; $saida=null; else: $entrada=date('H:i',strtotime($c->horaentrada)); $saida="<input type=submit value='Confirmar' onclick=location.replace('?ControlePortaria.saida.$c->iid')>"; endif; ?> <td style=text-align:center><?=$entrada?><td><?=$saida?> <td><img src=<?=$c->foto?> height="10" width="150" id=imagem onclick=altera(imagem)> <?php endforeach; ?> </fieldset> arquivo /Polo/Visoes/Relatorio.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Relatorio</title> </head> <body style="width:500px;margin:0 auto"> <fieldset> <legend> <h3> Relatorio de <input type=date value=<?=$dia?> onchange='location.replace("?ControlePortaria.relatorio."+this.value)'> <a href=index.php> Voltar</a> </h3> </legend> <h3><?=$mensagem?></h3> <table><th>Nome, Entrada => Saída <?php foreach($movimentos as $m): if(!isset($controle)): $controle=$m->nome; $controle2=0; ?> <tr><td><?=$m->nome?> <?php endif; if($controle!==$m->nome): $controle=$m->nome; $controle2=0; ?> <tr><td><?=$m->nome?> <?php endif; $he=date('H:i',strtotime($m->horaentrada)); $hs=($m->horasaida) ? date('H:i',strtotime($m->horasaida)) : null; $de=date('Y-m-d',strtotime($m->horaentrada)); $ds=($m->horasaida) ?date('Y-m-d',strtotime($m->horasaida)) : null; if($de!==$ds): $hs=($m->horasaida) ?date('d/m H:i',strtotime($m->horasaida)) : null; endif; $controle2++; if($controle2>2): $controle2=0; ?> <tr><td> <?php endif; ?> , <?=$he." => ".$hs?> <?php endforeach; ?> </fieldset> arquivo /Polo/index.php <?php ini_set('display_errors', 1); require __DIR__ . '/Modelos/Config.php'; $rota='ControlePortaria_inicio'; if($_GET) { if(strpos(key($_GET),"_")==0) { exit; } $rota=isset($_GET) ? key($_GET) : $rota; } $segmentos=explode('_',$rota); $nomeControle=$segmentos[0] ?? 'ControlePortaria'; $metodo=$segmentos[1] ?? 'inicio'; $parametro=$segmentos[2] ?? null; $controle=new $nomeControle(); $controle->$metodo($parametro);
  1. Mais Resultados


  • Estatísticas dos Fóruns

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