|
#1
|
|||
|
|||
how to create recommend php file ?
https://imgur.com/a/WLsAOtO
I would like to create a block similar to the one above and put inside chrome mozilla utorrent btitorrent and whatever else I want to look beautiful like the one above. What codes will I use and where will I find these icons? |
#2
|
||||
|
||||
btclients
You put the btclients folder in the images folder. In the blocks folder, you put client_block.php. You install manually sql .And then you activate the block from the admin panel
Bump: I forgot and this sql INSERT INTO `xbtit_bt_clients` (`id`, `name`, `link`, `sort`, `image`) VALUES (1, 'Firefox', 'http://www.mozilla.org/', 1, 'firefox.png'), (2, 'µTorrent ', 'http://www.utorrent.com/', 2, 'utorrent.png'), (3, 'Vuze', 'http://azureus.sourceforge.net/', 3, 'azureus.png'); |
#3
|
|||
|
|||
Quote:
ERR_SQL_ERR in /www/wwwroot/Xbtitfm20/blocks/clients_block.php, line 47 Σφάλμα Εντολή SQL: Αντιγραφή INSERT INTO `xbtit_bt_clients` (`id`, `name`, `link`, `sort`, `image`) VALUES (1, 'Firefox', 'http://www.mozilla.org/', 1, 'firefox.png'), (2, 'µTorrent ', 'http://www.utorrent.com/', 2, 'utorrent.png'), (3, 'Vuze', 'http://azureus.sourceforge.net/', 3, 'azureus.png'); Η MySQL επέστρεψε το μήνυμα: Τεκμηρίωση #1062 - Duplicate entry '1' for key 'PRIMARY' Last edited by soneigr; 18th January 2024 at 09:26. |
#4
|
|||
|
|||
Quote:
You probably didnt AUTO_INCREMENT the Primary Key. |
#5
|
||||
|
||||
btclients
Try this file. I think this one doesn't need a SQL request.
In the file you need to edit the path to the image. Here: <img src='/images/btclients/deluge.png'> You can add more links <div id='index-clients-client'> <div id='index-clients-graphic'> <img src='/images/btclients/qbit.png'> </div> <h15><a href='http://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-2.8.5//'>qBittorrent 2.8.5</a></h15> (Win/Mac) </div> <br style='clear: left;'> </div> |
|
|