I've made a mod based on an old tbdev one, wich will separate by a row the torrents added each day.
Here it it what you should do:
in TSSE 5.6 -
browse.php, find
PHP Code:
$contentmiddle .= '
<tr'.($torrents['sticky'] == 'yes' ? ' class="sticky"' : '').'>
replace it with:
PHP Code:
/**
* @author mmisu120000
* @copyright 2010
* @mod name Show torrents by day
* @version v1.1
*/
/** Make some date varibles **/
$day_added = $torrents['added'];
$day_show = strtotime($day_added);
$thisdate = date('Y-m-d',$day_show);
/** If date already exist, disable $cleandate varible **/
if($thisdate==$prevdate){
$cleandate = '';
/** If date does not exist, make some varibles **/
}else{
$day_added = 'Torrents added '.my_datee($dateformat, $torrents['added']); // You can change this to something else
$cleandate = "<tr><td align = 'center' style='background-color: #999999; color: black;' colspan=15><b>$day_added</b></td></tr>\n"; // This also...
}
/** Prevent that "torrents added..." wont appear again with the same date **/
$prevdate = $thisdate;
/** If torrents not listed by added date **/
if ($torrents["sticky"] == "no")
if(!$_GET['sort'] && !$_GET['d']){
$zzzzzz = $cleandate;
}
$contentmiddle .= $zzzzzz . '
<tr'.($torrents['sticky'] == 'yes' ? ' class="sticky"' : '').'>
This should do the trick ...
Enjoy!