View Single Post
  #1  
Old 19th August 2023, 09:20
xblade's Avatar
xblade xblade is offline
Cod3r
 
Join Date: Nov 2020
P2P
Posts: 239
Thumbs up Torrent Table Icons Modification
Modification with this so here we go to replace the old icons

@stdhead.php
Add
Code:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
or
ADD
@header.php
Code:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
Now we Add the new icons to torrenttable so it can be viewed by one and all....

Code:
<i class='fa-solid fa-download' style='font-size:14px; color:green;' title='".Add here what you are using("DL")."'></i>
Code:
<i class='fas fa-user-edit' style='font-size:14px; color:#1E90FF;' title='".Add here what you are using("ADDED_BY")."'></i>
Code:
<i class='far fa-comment-alt' style='font-size:14px; color:#FFC300;' title='".Add here what you are using("COMM")."'></i>
Code:
<i class='fas fa-hdd' style='font-size:14px; color:#4682B4;' title='".Add here what you are using("SIZE")."'></i>
Code:
<i class='fas fa-check' style='font-size:14px; color:#32CD32;' title='".Add here what you are using("COMPLETED")."'></i>
Code:
<i class='fas fa-angle-double-up' style='font-size:14px; color:#32CD32;' title='".Add here what you are using("SEEDERS")."'></i>
Code:
<i class='fas fa-angle-double-down' style='font-size:14px; color:#FF0000;' title='".Add here what you are using("LEECHERS")."'></i>
Code:
<i class='far fa-calendar-alt' style='font-size:14px; color:#C70039;' title='".Add here what you are using("DATE")."'></i>
New change
the Add here what you are using
to what Languages you using

for those who have a @stdhead.php
On torrenttable functions .php
Easy way to do

Code:
<td class="hone" align="center"><i class='fas fa-check' style='font-size:14px; color:#32CD32;' title='Progres'></i></td> 
<td class="hone" align="right">Files</td>
<td class="hone" align="right"><i class='far fa-comment-alt' style='font-size:14px; color:#FFC300;' title='Comm'></i></td>
<td class="hone" align="center"><i class='far fa-calendar-alt' style='font-size:14px; color:#C70039;' title='Added'></i></td>
<td class="hone" align="center"><i class='fas fa-hdd' style='font-size:14px; color:#4682B4;' title='Size'></i></td>
<td class="hone" align="right"><i class='fas fa-angle-double-up' style='font-size:14px; color:#32CD32;' title='Seeders'></i></td>
<td class="hone" align="right"><i class='fas fa-angle-double-down' style='font-size:14px; color:#FF0000;' title='Leechers'></i></td>
<?php if ($variant == "index") print("<td class=\"hone\" align=\"center\"><i class='fas fa-user-edit' style='font-size:14px; color:#1E90FF;' title='Upped'></i></td>\n");
__________________

i do custom mods in torrenttrader for £
Reply With Quote