Jump to content
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Olá sou novo aqui no forum, e gostaria de saber como faço para fazer a integração das noticias do whmcs, no meu templante HTML do meu site. Aguardo a Resposta de Vocês.



  • Administration

O código que vc precisa é:

<?php include("support/dbconnect.php"); include("support/includes/functions.php"); $query = "SELECT * FROM tblannouncements WHERE published='on' ORDER BY date DESC LIMIT 0,3";  $result = mysql_query($query); while ($data = mysql_fetch_array($result)) {  $id = $data["id"];  $date = $data["date"];  $title = $data["title"];  $announcement = $data["announcement"];  $date = fromMySQLDate($date);   echo("<p><font color=#cccccc>$date</font> - <b>$title</b><br>$announcement</p>"); } ?>[/PHP]

Lembre de ver os caminhos dos requires para apontar certo pra a sua instalação do whmcs.

https://angelcosta.com.br | “Not all of us can change the world. Some of us can only change ourselves.”


sim, mais meu templante é em HTML,e o código é em PHP tem como eu por no HTML ?

Agardo!


sim, mais meu templante é em HTML,e o código é em PHP tem como eu por no HTML ?

Agardo!

Neste caso só se vc usar um iframe de um arquivo.php com o código postado pelo nosso amigo acima.


Não necessáriamente, se ele mudar a extensão para .php, ele pode depois só incluir os:

<?

?>

quando for colocar o código PHP, o resto nem precisa mexer.


Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Do you agree with our terms?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.