Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
torrents-search
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2025-02-11 16:26:12
Hello and we have a problem with the search for torrents.

We have 19600 torrents in sharing and when we do torrents research, the Torrent research function does not find them and the torrent are present on the site so if someone has a more precise torrent search file thank you for share ,...



Here is the Torrents-search.php file code below and I attach it in file

<?php
require_once("backend/functions.php");
dbconn();

//check permissions
if ($site_config["MEMBERSONLY"]){
loggedinonly();

if($CURUSER["view_torrents"]=="no")
show_error_msg(T_("ERROR"), T_("NO_TORRENT_VIEW"), 1);
}

function sqlwildcardesc($x){
   return str_replace(array("%","_"), array("\\%","\\_"), mysqli_real_escape_string($GLOBALS["DBconnector"],$x));
}

//GET SEARCH STRING
$searchstr = trim($_GET["search"]);
$cleansearchstr = searchfield($searchstr);
if (empty($cleansearchstr))
unset($cleansearchstr);

$thisurl = "torrents-search.php?";

$addparam = "";
$wherea = array();
$wherecatina = array();
$wherea[] = "banned = 'no'";

$wherecatina = array();
$wherecatin = "";
$res = SQL_Query_exec("SELECT id FROM categories");
while($row = mysqli_fetch_assoc($res)){
   if ($_GET["c$row[id]"]) {
       $wherecatina[] = $row[id];
       $addparam .= "c$row[id]=1&";
       $addparam .= "c$row[id]=1&";
       $thisurl .= "c$row[id]=1&";
   }
   $wherecatin = implode(", ", $wherecatina);
}
if ($wherecatin)
   $wherea[] = "category IN ($wherecatin)";


//include dead
if ($_GET["incldead"] == 1) {
$addparam .= "incldead=1&";
$thisurl .= "incldead=1&";
}elseif ($_GET["incldead"] == 2){
$wherea[] = "visible = 'no'";
$addparam .= "incldead=2&";
$thisurl .= "incldead=2&";
}else
$wherea[] = "visible = 'yes'";

// Include freeleech
if ($_GET["freeleech"] == 1) {
$addparam .= "freeleech=1&";
$thisurl .= "freeleech=1&";
$wherea[] = "freeleech = '0'";
} elseif ($_GET["freeleech"] == 2) {
$addparam .= "freeleech=2&";
$thisurl .= "freeleech=2&";
$wherea[] = "freeleech = '1'";
}



//include external
if ($_GET["inclexternal"] == 1) {
$addparam .= "inclexternal=1&";
$wherea[] = "external = 'no'";
}

if ($_GET["inclexternal"] == 2) {
$addparam .= "inclexternal=2&";
$wherea[] = "external = 'yes'";
}

//cat
if ($_GET["cat"]) {
       $wherea[] = "category = " . sqlesc($_GET["cat"]);
$wherecatina[] = sqlesc($_GET["cat"]);
       $addparam .= "cat=" . urlencode($_GET["cat"]) . "&";
$thisurl .= "cat=".urlencode($_GET["cat"])."&";
}

//language
if ($_GET["lang"]) {
   $wherea[] = "torrentlang = " . sqlesc($_GET["lang"]);
   $addparam .= "lang=" . urlencode($_GET["lang"]) . "&";
   $thisurl .= "lang=".urlencode($_GET["lang"])."&";
}

//parent cat
if ($_GET["parent_cat"]) {
$addparam .= "parent_cat=" . urlencode($_GET["parent_cat"]) . "&";
$thisurl .= "parent_cat=".urlencode($_GET["parent_cat"])."&";
}

$parent_cat = $_GET["parent_cat"];

$wherebase = $wherea;

if (isset($cleansearchstr)) {
$wherea[] = "MATCH (torrents.name) AGAINST ('".mysqli_real_escape_string($GLOBALS["DBconnector"],$searchstr)."' IN BOOLEAN MODE)";

$addparam .= "search=" . urlencode($searchstr) . "&";
$thisurl .= "search=".urlencode($searchstr)."&";
}

//order by
if ($_GET['sort'] && $_GET['order']) {
$column = '';
$ascdesc = '';
switch($_GET['sort']) {
case 'id': $column = "id"; break;
case 'name': $column = "name"; break;
case 'comments': $column = "comments"; break;
case 'size': $column = "size"; break;
case 'times_completed': $column = "times_completed"; break;
case 'seeders': $column = "seeders"; break;
case 'leechers': $column = "leechers"; break;
case 'category': $column = "category"; break;
default: $column = "id"; break;
}

switch($_GET['order']) {
case 'asc': $ascdesc = "ASC"; break;
case 'desc': $ascdesc = "DESC"; break;
default: $ascdesc = "DESC"; break;
}
} else {
$_GET["sort"] = "id";
$_GET["order"] = "desc";
$column = "id";
$ascdesc = "DESC";
}

$orderby = "ORDER BY torrents." . $column . " " . $ascdesc;
$pagerlink = "sort=" . $_GET['sort'] . "&order=" . $_GET['order'] . "&";

if (is_valid_id($_GET["page"]))
$thisurl .= "page=$_GET[page]&";


$where = implode(" AND ", $wherea);

if ($where != "")
$where = "WHERE $where";

$parent_check = "";
if ($parent_cat){
$parent_check = " AND categories.parent_cat=".sqlesc($parent_cat);
}


//GET NUMBER FOUND FOR PAGER
$res = SQL_Query_exec("SELECT COUNT(*) FROM torrents $where $parent_check");
$row = mysqli_fetch_array($res);
$count = $row[0];




























if (!$count && isset($cleansearchstr)) {
$wherea = $wherebase;
$searcha = explode(" ", $cleansearchstr);
$sc = 0;








foreach ($searcha as $searchss) {
      if (strlen($searchss) <= 0)
      continue;
      $sc++;
      if ($sc > 1)
      break;
      $ssa = array();
      foreach (array("torrents.name") as $sss)
      $ssa[] = "LOWER($sss) LIKE '%" . sqlwildcardesc(strtolower($searchss)) . "%'"; // update by raidewine 2021-08-30
      $wherea[] = "(" . implode(" OR ", $ssa) . ")";
  }






















if ($sc) {
$where = implode(" AND ", $wherea);
if ($where != "")
$where = "WHERE $where";
$res = SQL_Query_exec("SELECT COUNT(*) FROM torrents $where $parent_check");
$row = mysqli_fetch_array($res);
$count = $row[0];
}
}

//Sort by
if ($addparam != "") {
if ($pagerlink != "") {
if ($addparam[strlen($addparam)-1] != ";") { // & = &
$addparam = $addparam . "&" . $pagerlink;
} else {
$addparam = $addparam . $pagerlink;
}
}
} else {
$addparam = $pagerlink;
}



if ($count) {

//SEARCH QUERIES!
list($pagertop, $pagerbottom, $limit) = pager(20, $count, "torrents-search.php?" . $addparam);
$query = "SELECT torrents.id, torrents.anon, torrents.announce, torrents.category, torrents.leechers, torrents.nfo, torrents.seeders, torrents.name, torrents.times_completed, torrents.image1, torrents.size, torrents.added, torrents.comments, torrents.numfiles, torrents.filename, torrents.owner, torrents.external, torrents.freeleech, categories.name AS cat_name, categories.parent_cat AS cat_parent, categories.image AS cat_pic, users.username, users.privacy, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating FROM torrents LEFT JOIN categories ON category = categories.id LEFT JOIN users ON torrents.owner = users.id $where $parent_check $orderby $limit";
$res = SQL_Query_exec($query);

}else{
unset($res);
}

if (isset($cleansearchstr))
stdhead(T_("SEARCH_RESULTS_FOR")." \"" . htmlspecialchars($searchstr) . "\"");
else
stdhead(T_("BROWSE_TORRENTS"));

begin_frame(T_("SEARCH_TORRENTS"));

// get all parent cats
echo "<center><b>".T_("CATEGORIES").":</b> ";
$catsquery = SQL_Query_exec("SELECT distinct parent_cat FROM categories ORDER BY parent_cat");
echo " - <a href='torrents-list.php'>".T_("SHOWALL")."</a>";
while($catsrow = mysqli_fetch_assoc($catsquery)){
echo " - <a href='torrents-list.php?parent_cat=".urlencode($catsrow['parent_cat'])."'>$catsrow[parent_cat]</a>";
}
echo "</center>";

?>
<br /><br />

<center>
<form method="get" action="torrents-search.php">
<table border="0" align="center">
<tr align='right'>
<?php
$i = 0;
$cats = SQL_Query_exec("SELECT * FROM categories ORDER BY parent_cat, name");
while ($cat = mysqli_fetch_assoc($cats)) {
   $catsperrow = 5;
   print(($i && $i % $catsperrow == 0) ? "</tr><tr align='right'>" : "");
   print("<td style=\"padding-bottom: 2px;padding-left: 2px\"><a href='torrents-list.php?cat={$cat["id"]}'>".htmlspecialchars($cat["parent_cat"])." - " . htmlspecialchars($cat["name"]) . "</a> <input name='c{$cat["id"]}' type=\"checkbox\" " . (in_array($cat["id"], $wherecatina) || $_GET["cat"] == $cat["id"]  ? "checked='checked' " : "") . "value='1' /></td>\n");
   $i++;                                                                                                                                                                                                                                                                                                                
}
echo "</tr></table>";

//if we are browsing, display all subcats that are in same cat
if ($parent_cat){
   echo "<br /><br /><b>".T_("YOU_ARE_IN").":</b> <a href='torrents-list.php?parent_cat=$parent_cat'>$parent_cat</a><br /><b>".T_("SUB_CATS").":</b> ";
$subcatsquery = SQL_Query_exec("SELECT id, name, parent_cat FROM categories WHERE parent_cat='$parent_cat' ORDER BY name");
while($subcatsrow = mysqli_fetch_assoc($subcatsquery)){
$name = $subcatsrow['name'];
echo " - <a href='torrents-list.php?cat=$subcatsrow[id]'>$name</a>";
}
}

echo "<br /><br />";//some spacing

?>

   
<?php print(T_("SEARCH")); ?>
<input type="text" name="search" size="40" value="<?php echo  stripslashes(htmlspecialchars($searchstr)) ?>" />
<?php print(T_("IN")); ?>
<select name="cat">
<option value="0"><?php echo "(".T_("ALL")." ".T_("TYPES").")";?></option>
<?php


$cats = genrelist();
$catdropdown = "";
foreach ($cats as $cat) {
$catdropdown .= "<option value=\"" . $cat["id"] . "\"";
if ($cat["id"] == $_GET["cat"])
$catdropdown .= " selected=\"selected\"";
$catdropdown .= ">" . htmlspecialchars($cat["parent_cat"]) . ": " . htmlspecialchars($cat["name"]) . "</option>\n";
}
?>
<?php echo  $catdropdown ?>
</select>

<br /><br />
<select name="incldead">
<option value="0"><?php echo T_("ACTIVE_TRANSFERS"); ?></option>
<option value="1" <?php if ($_GET["incldead"] == 1) echo "selected='selected'"; ?>><?php echo T_("INC_DEAD");?></option>
<option value="2" <?php if ($_GET["incldead"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_DEAD");?></option>
</select>
<select name="freeleech">
<option value="0"><?php echo T_("ALL"); ?></option>
<option value="1" <?php if ($_GET["freeleech"] == 1) echo "selected='selected'"; ?>><?php echo T_("NOT_FREELEECH");?></option>
<option value="2" <?php if ($_GET["freeleech"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_FREELEECH");?></option>
</select>

<?php if ($site_config["ALLOWEXTERNAL"]){?>
<select name="inclexternal">
<option value="0"><?php echo T_("LOCAL_EXTERNAL"); ?></option>
<option value="1" <?php if ($_GET["inclexternal"] == 1) echo "selected='selected'"; ?>><?php echo T_("LOCAL_ONLY");?></option>
<option value="2" <?php if ($_GET["inclexternal"] == 2) echo "selected='selected'"; ?>><?php echo T_("EXTERNAL_ONLY");?></option>
</select>
<?php } ?>

<select name="lang">
<option value="0"><?php echo "(".T_("ALL").")";?></option>
<?php
$lang = langlist();
$langdropdown = "";
foreach ($lang as $lang) {
$langdropdown .= "<option value=\"" . $lang["id"] . "\"";
if ($lang["id"] == $_GET["lang"])
$langdropdown .= " selected=\"selected\"";
$langdropdown .= ">" . htmlspecialchars($lang["name"]) . "</option>\n";
}

?>
<?php echo  $langdropdown ?>
</select>
<input type="submit" value="<?php print T_("SEARCH"); ?>" />
<br />
</form>
<?php print T_("SEARCH_RULES"); ?><br />
   </center>
   
<?php

if ($count) {
// New code (TorrentialStorm)
echo "<form id='sort' action=''><div align='right'>".T_("SORT_BY").": <select name='sort' onchange='window.location=\"{$thisurl}sort=\"+this.options[this.selectedIndex].value+\"&order=\"+document.forms[\"sort\"].order.options[document.forms[\"sort\"].order.selectedIndex].value'>";
echo "<option value='id'" . ($_GET["sort"] == "id" ? " selected='selected'" : "") . ">".T_("ADDED")."</option>";
echo "<option value='name'" . ($_GET["sort"] == "name" ? " selected='selected'" : "") . ">".T_("NAME")."</option>";
echo "<option value='comments'" . ($_GET["sort"] == "comments" ? " selected='selected'" : "") . ">".T_("COMMENTS")."</option>";
echo "<option value='size'" . ($_GET["sort"] == "size" ? " selected='selected'" : "") . ">".T_("SIZE")."</option>";
echo "<option value='times_completed'" . ($_GET["sort"] == "times_completed" ? " selected='selected'" : "") . ">".T_("COMPLETED")."</option>";
echo "<option value='seeders'" . ($_GET["sort"] == "seeders" ? " selected='selected'" : "") . ">".T_("SEEDERS")."</option>";
echo "<option value='leechers'" . ($_GET["sort"] == "leechers" ? " selected='selected'" : "") . ">".T_("LEECHERS")."</option>";
echo "</select>&nbsp;";
echo "<select name='order' onchange='window.location=\"{$thisurl}order=\"+this.options[this.selectedIndex].value+\"&sort=\"+document.forms[\"sort\"].sort.options[document.forms[\"sort\"].sort.selectedIndex].value'>";
echo "<option selected='selected' value='asc'" . ($_GET["order"] == "asc" ? " selected='selected'" : "") . ">".T_("ASCEND")."</option>";
echo "<option value='desc'" . ($_GET["order"] == "desc" ? " selected='selected'" : "") . ">".T_("DESCEND")."</option>";
echo "</select>";
   echo "</div>";
echo "</form>";

 


// End
torrenttableimage($res);
print($pagerbottom);
}else {
   
    print("<div class='f-border'>");
    print("<div class='f-cat' width='100%'>".T_("NOTHING_FOUND")."</div>");
    print("<div>");
    print T_("NO_RESULTS");
    print("</div>");
    print("</div>");
   
}

if ($CURUSER)
SQL_Query_exec("UPDATE users SET last_browse=".gmtime()." WHERE id=$CURUSER[id]");


end_frame();
stdfoot();

?>






 
torrents-search.php
Download
2025-02-11 18:20:45
you can try mine
i did it for me to work


torrents-search.php
Download
2025-02-11 18:32:23
Thank you for your help but the table is missing  sql table searched_words' doesn't exist

I have an error message and can you give me the table sql ??
2025-02-11 18:47:51
CREATE TABLE `searched_words` (
 `searched_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
 `searched_by` int(10) UNSIGNED NOT NULL DEFAULT 0,
 `text` varchar(255) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
2025-02-11 22:59:48
using zeros in datetime can be an issue if you have strict on, but if not, you are fine. Just be mindful of this issue if you have strict mode on. Its better to just do it this way anyhow. NULL for datetime is the best way to do that


`searched_at` datetime DEFAULT NULL;

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2025-02-12 16:44:46
2025-02-12 11:02:01
thx for info Micro
2025-02-12 13:00:59
To all of you who will Searched Words block, here we go an stylized one (or three):





PS
You have two attached files:
1. add.to.your.css.file.css
2. searched_words_block.php
searched_words_block.zip
Download



www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
Last edited by Botanicar on 2025-02-12 13:04:09
2025-02-13 12:34:23
Hello and don't work for me I have it is error message in  SQL Error


Database Error in torrents-search.php on line 262: Unknown column 'torrents.description' in 'WHERE'. Query was: SELECT COUNT(*) FROM torrents WHERE banned = 'no' AND visible = 'yes' AND (torrents.name LIKE '%alien%' OR torrents.description LIKE '%alien%')




Database Error in torrents-search.php on line 295: Unknown column 'torrents.sticky' in 'SELECT'. Query was: SELECT torrents.id, torrents.anon, torrents.announce, torrents.sticky, torrents.description, torrents.seedbox, torrents.recommended, torrents.imdb, torrents.tmdb, torrents.category, torrents.leechers, torrents.nfo, torrents.seeders, torrents.name, torrents.doubleupload, torrents.times_completed, torrents.size, torrents.added, torrents.comments, torrents.numfiles, torrents.filename, torrents.owner, torrents.external, torrents.freeleech, categories.name AS cat_name, categories.parent_cat AS cat_parent, categories.image AS cat_pic, users.username, users.privacy, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating FROM torrents LEFT JOIN categories ON category = categories.id LEFT JOIN users ON torrents.owner = users.id WHERE banned = 'no' AND visible = 'yes' AND category != '65' AND MATCH (torrents.name) AGAINST ('Bluray.1080p' IN BOOLEAN MODE) ORDER BY sticky ASC, torrents.id DESC LIMIT 0,50.
Last edited by niki on 2025-02-13 12:35:26
2025-02-13 14:01:03
@niki
do you have "sticky" MOD installed?
If not, just delete that part of SQL query "torrents.sticky"
Second question:
What you have in torrent table structure?
"torrents.description" is required table for torrents description


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-02-13 22:12:03
try mine. Should work just fine with TTv3 with no extra sql, nothing. I did test yours real quick and I see the same errors you posted. Try and let me know. There are some differences, like this. Your file has this
foreach ($searcha as $searchss) {
      if (strlen($searchss) <= 0)
      continue;
      $sc++;
      if ($sc > 1)
      break;
      $ssa = array();
      foreach (array("torrents.name") as $sss)
      $ssa[] = "LOWER($sss) LIKE '%" . sqlwildcardesc(strtolower($searchss)) . "%'"; // update by raidewine 2021-08-30
      $wherea[] = "(" . implode(" OR ", $ssa) . ")";
  }

torrents-search.zip
Download

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2025-02-14 03:30:43
2025-02-14 07:55:15
Thank you Micromonkey but to work I had to delete ...

'Torrents.trailers' and 'torrents.Uplreq' because I do not have the SQL code for it is two parts of code ??

And I do not have the image that appears above in research for the moment it is a square with a small cross
2025-02-14 08:54:46
@niki
change line 217 to that:


$query = "SELECT torrents.id, torrents.anon, torrents.announce, torrents.category, torrents.leechers, torrents.nfo, torrents.seeders, torrents.name, torrents.times_completed, torrents.size, torrents.added, torrents.comments, torrents.numfiles, torrents.filename, torrents.owner, torrents.external, torrents.freeleech, categories.name AS cat_name, categories.parent_cat AS cat_parent, categories.image AS cat_pic, users.username, users.privacy, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating FROM torrents LEFT JOIN categories ON category = categories.id LEFT JOIN users ON torrents.owner = users.id $where $parent_check $orderby $limit";


and try it again


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-02-14 13:12:21
Hello Botanicar and change this line when you do a search there is no SQL bug but no torrents appear in research
2025-02-14 16:00:31
This is your original torrent-search.php file (adjusted for my needs and test purpose)  it works fine.... I changed name on it to torrent-search-5.php ... try it and see if it works on your page (don't forget to get it needed permission 0644)


<?php
#================================#
#       TorrentTrader 3          #
#  http://www.torrenttrader.org  #
#--------------------------------#
#       Modified by djlive     #
#================================#

require_once("backend/functions.php");
dbconn();


//check permissions
if ($site_config["MEMBERSONLY"]){
loggedinonly();

if($CURUSER["view_torrents"]=="no")
show_error_msg(T_("ERROR"), T_("NO_TORRENT_VIEW"), 1);
}

function sqlwildcardesc($x){
   return str_replace(array("%","_"), array("\\%","\\_"), mysqli_real_escape_string($GLOBALS["DBconnector"],$x));
}

//Register searched words
$searched_at = sqlesc(get_date_time());
$text = sqlesc($_GET["search"]);
if ($_GET["search"]) { SQL_Query_exec("INSERT INTO searched_words (searched_at, searched_by, text) VALUES($searched_at, $CURUSER[id], $text)"); }

//GET SEARCH STRING
$searchstr = trim($_GET["search"]);
$cleansearchstr = searchfield($searchstr);
if (empty($cleansearchstr))
unset($cleansearchstr);

$thisurl = "torrents-search-5.php?";

$addparam = "";
$wherea = array();
$wherecatina = array();
$wherea[] = "banned = 'no'";

$wherecatina = array();
$wherecatin = "";
$res = SQL_Query_exec("SELECT id FROM categories");
while($row = mysqli_fetch_assoc($res)){
   if ($_GET["c$row[id]"]) {
       $wherecatina[] = $row[id];
       $addparam .= "c$row[id]=1&";
       $addparam .= "c$row[id]=1&";
       $thisurl .= "c$row[id]=1&";
   }
   $wherecatin = implode(", ", $wherecatina);
}
if ($wherecatin)
   $wherea[] = "category IN ($wherecatin)";

//include dead
if ($_GET["incldead"] == 1) {
$addparam .= "incldead=1&";
$thisurl .= "incldead=1&";
}else
if ($_GET["incldead"] == 2){
$wherea[] = "visible = 'no'";
$addparam .= "incldead=2&";
$thisurl .= "incldead=2&";
}else
$wherea[] = "visible = 'yes'";

// Include freeleech
if ($_GET["freeleech"] == 1) {
$addparam .= "freeleech=1&";
$thisurl .= "freeleech=1&";
$wherea[] = "freeleech = '0'";
} else
if ($_GET["freeleech"] == 2) {
$addparam .= "freeleech=2&";
$thisurl .= "freeleech=2&";
$wherea[] = "freeleech = '1'";
}

//include external
if ($_GET["inclexternal"] == 1) {
$addparam .= "inclexternal=1&";
$wherea[] = "external = 'no'";
}

if ($_GET["inclexternal"] == 2) {
$addparam .= "inclexternal=2&";
$wherea[] = "external = 'yes'";
}
//include sticky
if ($_GET["sticky"] == 1) {
$addparam .= "sticky=1&amp";
$thisurl .= "sticky=1&amp";
$wherea[] = "sticky = 'no'";
} elseif ($_GET["sticky"] == 2) {
$addparam .= "sticky=2&amp";
$thisurl .= "sticky=2&amp";
$wherea[] = "sticky = 'yes'";
}



//cat
if ($_GET["cat"]) {
       $wherea[] = "category = " . sqlesc($_GET["cat"]);
$wherecatina[] = sqlesc($_GET["cat"]);
       $addparam .= "cat=" . urlencode($_GET["cat"]) . "&";
$thisurl .= "cat=".urlencode($_GET["cat"])."&";
}

//language
if ($_GET["lang"]) {
   $wherea[] = "torrentlang = " . sqlesc($_GET["lang"]);
   $addparam .= "lang=" . urlencode($_GET["lang"]) . "&";
   $thisurl .= "lang=".urlencode($_GET["lang"])."&";
}

//parent cat
if ($_GET["parent_cat"]) {
$addparam .= "parent_cat=" . urlencode($_GET["parent_cat"]) . "&";
$thisurl .= "parent_cat=".urlencode($_GET["parent_cat"])."&";
}

$parent_cat = $_GET["parent_cat"];
$wherebase = $wherea;

////////////////////////////////MOD HIDE PORNO/////////////////////////////////////

$wherea[] = "category != '65'";

///////////////////////////////////////////////////////////////////////////////////

//===| Start Get Search
if ($_GET["incldesc"] == 0)
{
if (isset($cleansearchstr))
{
   //$wherea[] = "MATCH (torrents.name, torrents.descr) AGAINST ('".mysql_real_escape_string($searchstr)."' IN BOOLEAN MODE)";
$wherea[] = "MATCH (torrents.name) AGAINST ('".mysqli_real_escape_string($GLOBALS["DBconnector"],$searchstr)."' IN BOOLEAN MODE)";
$addparam .= "search=" . urlencode($searchstr)."&";
$thisurl .= "search=".urlencode($searchstr)."&";        
}
}
if ($_GET["incldesc"] == 1)
{
if (isset($cleansearchstr))
{
   //$wherea[] = "MATCH (torrents.name) AGAINST ('".mysql_real_escape_string($searchstr)."' IN BOOLEAN MODE)";
$wherea[] = "MATCH (torrents.name, torrents.descr) AGAINST ('".mysqli_real_escape_string($GLOBALS["DBconnector"],$searchstr)."' IN BOOLEAN MODE)";
$addparam .= "search=" . urlencode($searchstr)."&";
$thisurl .= "search=".urlencode($searchstr)."&";
}
}
if ($_GET["incldesc"] == 2)
{
if (isset($cleansearchstr))
{
//$wherea[] = "MATCH (torrents.descr) AGAINST ('".mysql_real_escape_string($searchstr)."' IN BOOLEAN MODE)";
$wherea[] = "MATCH (torrents.descr) AGAINST ('".mysqli_real_escape_string($GLOBALS["DBconnector"],$searchstr)."' IN BOOLEAN MODE)";
$addparam .= "search=" . urlencode($searchstr)."&";
$thisurl .= "search=".urlencode($searchstr)."&";
}
}
/*if ($_GET["incldesc"] == 3)
{
if (isset($cleansearchstr))
{
//$wherea[] = "MATCH (torrents.genre) AGAINST ('".mysql_real_escape_string($searchstr)."' IN BOOLEAN MODE)";
$wherea[] = "MATCH (torrents.descr) AGAINST ('".mysqli_real_escape_string($GLOBALS["DBconnector"],$searchstr)."' IN BOOLEAN MODE)";
$addparam .= "search=" . urlencode($searchstr)."&";
$thisurl .= "search=".urlencode($searchstr)."&";
}
}

if ($_GET["incldesc"] == 4)
{
if (isset($cleansearchstr))
{
//$wherea[] = "MATCH (torrents.genre) AGAINST ('".mysql_real_escape_string($searchstr)."' IN BOOLEAN MODE)";
$wherea[] = "MATCH (torrents.imdb) AGAINST ('".mysqli_real_escape_string($GLOBALS["DBconnector"],$searchstr)."' IN BOOLEAN MODE)";
$addparam .= "search=" . urlencode($searchstr)."&";
$thisurl .= "search=".urlencode($searchstr)."&";
}
}*/



//===| End Get Search

// Order by
if ($_GET['sort'] && $_GET['order']) {
$column = '';
$ascdesc = '';
switch($_GET['sort']) {
case 'id': $column = "id"; break;
case 'name': $column = "name"; break;
case 'description': $column = "descr"; break;
case 'comments': $column = "comments"; break;
case 'size': $column = "size"; break;
case 'times_completed': $column = "times_completed"; break;
case 'seeders': $column = "seeders"; break;
case 'leechers': $column = "leechers"; break;
case 'category': $column = "category"; break;
default: $column = "id"; break;

}

switch($_GET['order']) {
case 'asc': $ascdesc = "ASC"; break;
case 'desc': $ascdesc = "DESC"; break;
default: $ascdesc = "DESC"; break;
}
} else {
$_GET["sort"] = "id";
$_GET["order"] = "desc";
$column = "id";
$ascdesc = "DESC";
}

$orderby = "ORDER BY sticky ASC, torrents." . $column . " " . $ascdesc;
$pagerlink = "sort=" . $_GET['sort'] . "&order=" . $_GET['order'] . "&";

if (is_valid_id($_GET["page"]))
$thisurl .= "page=$_GET[page]&";

$where = implode(" AND ", $wherea);

if ($where != "")
$where = "WHERE $where";

$parent_check = "";
if ($parent_cat){
$parent_check = " AND categories.parent_cat=".sqlesc($parent_cat);
}

// GET NUMBER FOUND FOR PAGER
$res = SQL_Query_exec("SELECT COUNT(*) FROM torrents $where $parent_check");
$row = mysqli_fetch_array($res);
$count = $row[0];

if (!$count && isset($cleansearchstr)) {
$wherea = $wherebase;
$searcha = explode(" ", $cleansearchstr);
$sc = 0;
foreach ($searcha as $searchss) {
if (strlen($searchss) <= 1)
continue;
$sc++;
if ($sc > 5)
break;
$ssa = array();
foreach (array("torrents.name", "torrents.descr") as $sss)
$ssa[] = "$sss LIKE '%" . sqlwildcardesc($searchss) . "%'";
$wherea[] = "(" . implode(" OR ", $ssa) . ")";
}
if ($sc) {
$where = implode(" AND ", $wherea);
if ($where != "")
$where = "WHERE $where";
$res = SQL_Query_exec("SELECT COUNT(*) FROM torrents $where $parent_check");
$row = mysqli_fetch_array($res);
$count = $row[0];
}
}

// Sort by
if ($addparam != "") {
if ($pagerlink != "") {
if ($addparam{strlen($addparam)-1} != ";") { // & = &
$addparam = $addparam . "&" . $pagerlink;
} else {
$addparam = $addparam . $pagerlink;
}
}
} else {
$addparam = $pagerlink;
}

if ($count) {

// SEARCH QUERIES!
list($pagertop, $pagerbottom, $limit) = pager(50, $count, "torrents-search-5.php?" . $addparam);

if ($CURUSER["language"] == 2) {
$query = "SELECT torrents.id, torrents.anon, torrents.announce, torrents.sticky, torrents.descr, torrents.webseed, torrents.recommended, torrents.imdb, torrents.category, torrents.leechers, torrents.nfo, torrents.seeders, torrents.name,  torrents.times_completed, torrents.size, torrents.added, torrents.comments, torrents.numfiles, torrents.filename, torrents.owner, torrents.external, torrents.freeleech, categories.name AS cat_name, categories.parent_cat AS cat_parent, categories.image AS cat_pic, users.username, users.privacy, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating FROM torrents LEFT JOIN categories ON category = categories.id LEFT JOIN users ON torrents.owner = users.id $where $parent_check $orderby $limit";
}
else{
       $query = "SELECT torrents.id, torrents.anon, torrents.announce, torrents.sticky, torrents.descr, torrents.webseed, torrents.recommended, torrents.imdb, torrents.category, torrents.leechers, torrents.nfo, torrents.seeders, torrents.name,  torrents.times_completed, torrents.size, torrents.added, torrents.comments, torrents.numfiles, torrents.filename, torrents.owner, torrents.external, torrents.freeleech, categories.name AS cat_name, categories.parent_cat AS cat_parent, categories.image AS cat_pic, users.username, users.privacy, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating FROM torrents LEFT JOIN categories ON category = categories.id LEFT JOIN users ON torrents.owner = users.id $where $parent_check $orderby $limit";
}



$res = SQL_Query_exec($query);

}else{
unset($res);
}

if (isset($cleansearchstr))
stdhead(T_("SEARCH_RESULTS_FOR")." \"" . htmlspecialchars($searchstr) . "\"");
else
stdhead(T_("BROWSE_TORRENTS"));

//===== Start Banners Mod ====================================================================== BigMax =====//
if ($site_config['TORRENTS_BANNERS']){
begin_frame(T_("ADVERTISING"));
/*/--| Fixed Banners
?>
<table class="table_table" align="center" border="0" cellspacing="0" cellpadding="5"><?
print("<td align=center>");
$query = "SELECT * FROM banners_t WHERE 1=1";
$sql = SQL_Query_exec($query);
while ($row = mysql_fetch_array($sql)) {
$link = $row['link'];
$banner = $row['banner'];
print("<div style='margin-top:5px; margin-bottom:5px' align='center'><a href='$link' target='_blank'><img alt='' border='0' src='$banner'></a></div>");
}
print("</tr></table>"); //*/

//--| Dinamic Banners
?>
<style type="text/css">
#marqueecontainer{
position: relative;
height: 120px; /* marquee height */
background-color: transparent;
overflow: hidden;
padding: 4px;
}
</style>
<script type="text/javascript">
var delayb4scroll=1000 //--| Specify initial delay before marquee starts to scroll on page (1000 = 1 sec.)
var marqueespeed=1 //--| Specify marquee scroll speed (larger is faster 1-10)
var pauseit=1 //--| Pause marquee onMousever (0 = no | 1 = yes)
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''
function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}
if (window.addEventListener)
window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
window.onload=initializemarquee
</script>
<div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">
<div id="vmarquee" style="position: absolute; width: 100%;">
<?php
print("<table align=center cellpadding=0 cellspacing=0 width=100% border=0>");
$query = "SELECT * FROM banners_t WHERE 1=1";
$sql = SQL_Query_exec($query);
while ($row = mysqli_fetch_array($sql)) {
$link = $row['link'];
$banner = $row['banner'];
print("<div style='margin-top:5px; margin-bottom:5px' align='center'><a href='$link' target='_blank'><img alt='' border='0' src='$banner'></a></div>");
}
print("</table>");
?>
</div>
</div>
<?php
end_frame();
}
//===== End Banners Mod ======================================================================== BigMax =====//

/* begin_frame("".T_("BONUS_POINTS_FOR_SEEDING")."");
?>
<div style="margin-top:10px; margin-bottom:10px" align="center">
<font size="2" color="FF2400">
<?php echo T_("FOR_EACH_TORRENT_YOU_RECEIVE"); ?> <b><?php echo $site_config['bonuspertime']; ?></b>
<?php echo T_("POINTS_AT_EVERY"); ?> <b><?php echo floor($site_config['autoclean_interval'] / 60); ?></b>
<?php echo T_("MINUTES"); ?>.
</font>
</div>
<?php
end_frame();
*/
begin_frame(T_("SEARCH_TORRENTS"));


?>

<center>
<form method="get" action="torrents-search-5.php">
<div style="margin-bottom:20px"><table border="0" align="center"><tr align="right">

<?php
$i = 0;




if ($CURUSER["language"] == 2) {
$cats = SQL_Query_exec("SELECT * FROM categories ORDER BY sort_index ASC");
}
else{
  $cats = SQL_Query_exec("SELECT * FROM categories ORDER BY sort_index ASC");
}



while ($cat = mysqli_fetch_assoc($cats)) {
$catsperrow = 6;
print(($i && $i % $catsperrow == 0) ? "</tr><tr align='right'>" : "");
print("<td style=\"padding-bottom: 5px;padding-left: 5px;padding-right: 5px\"><a href='torrents-search-5.php?cat={$cat["id"]}'><font color='#26c4ec'><b>".htmlspecialchars($cat["parent_cat"])."</b></font> " . htmlspecialchars($cat["name"]) . "</a> <input name='c{$cat["id"]}' type=\"checkbox\" " . (in_array($cat["id"], $wherecatina) || $_GET["cat"] == $cat["id"] ? "checked='checked' " : "") . "value='1' /></td>\n");
$i++;                                                                                                                                                                                                                                                                                                                
}
echo "</tr></table></div>";

if ($parent_cat){
echo "<br /><br /><b>".T_("YOU_ARE_IN")."</b>: <a href='torrents-search-5.php?parent_cat=$parent_cat'>$parent_cat</a><br /><b>".T_("SUBCATEGORIES")."</b>: ";
if ($CURUSER["language"] == 2) {
$subcatsquery = SQL_Query_exec("SELECT id, name, tmdb, imdb, parent_cat FROM categories WHERE parent_cat='$parent_cat' ORDER BY sort_index ASC");
} else {
$subcatsquery = SQL_Query_exec("SELECT id, name, tmdb, imdb, parent_cat FROM categories WHERE parent_cat='$parent_cat' ORDER BY sort_index ASC");
}
while($subcatsrow = mysqli_fetch_assoc($subcatsquery)){
$name = $subcatsrow['name'];
echo " - <a href='torrents-search-5.php?cat=$subcatsrow[id]'>$name</a>";
}
}
?>

<table  class="f-border f-title" cellpadding="5" align="center">
<tr>
<td>
<table align="center">
<tr>
<td align="left">
<div style="margin-top:5px; margin-bottom:5px">
<?php print("<b>".T_("SEARCH")."</b>"); ?>
<?php if ($site_config["ALLOWEXTERNAL"]) { ?>
   <?php if ($CURUSER["language"] == 2) {?>
       <input type="text" name="search" placeholder="Cauta dupa nume, gen, imdb sau tmdb" class="btnSearch" value="<?php echo stripslashes(htmlspecialchars($searchstr)) ?>" style="width: 300px;" />
   <?php } else { ?>
       <input type="text" name="search" placeholder="Search by name, genre, imdb or tmdb" class="btnSearch" value="<?php echo stripslashes(htmlspecialchars($searchstr)) ?>" style="width: 300px;"/>
   <?php } ?>
<?php } else { ?>
   <input type="text" name="search" placeholder="Search by name, genre, imdb or tmdb" class="btnSearch" value="<?php echo stripslashes(htmlspecialchars($searchstr)) ?>" style="width: 300px;" />
<?php } ?>
<?php print("<b>".T_("IN")."</b>:"); ?>
</div>
</td>
</tr>
</table>
<table align="center">
<tr>
<!--<td align="left">
<select name="cat">
<option value="0"><?php echo T_("S_ALL_CATS"); ?></option>
<?php

if ($CURUSER["language"] == 2) { $cats = genrelist(); } else { $cats = genrelist(); }
$catdropdown = "";
foreach ($cats as $cat) {

$catdropdown .= "<option value=\"" . $cat["id"] . "\"";


if ($cat["id"] == $_GET["cat"])
$catdropdown .= " selected=\"selected\"";


$catdropdown .= ">" . htmlspecialchars($cat["parent_cat"]) . ": " . htmlspecialchars($cat["name"]) . "</option>\n";

}
?>
<?php echo $catdropdown ?>
</select>
</td>-->
<td align="left">
<div style="margin-top:4px; margin-bottom:4px">
<!--| Start Name/Description |-->
<select name="incldesc">
     <option value="0" <?php if ($_GET["incldesc"] == 0) echo "selected='selected'"; ?>><?php echo T_("S_TOR_NAME"); ?></option>
<option value="1" <?php if ($_GET["incldesc"] == 1) echo "selected='selected'"; ?>><?php echo T_("S_NAME_DESCR"); ?></option>
<option value="2" <?php if ($_GET["incldesc"] == 2) echo "selected='selected'"; ?>><?php echo T_("S_TOR_DESCR"); ?></option>

</select>
<!--| End Name/Description |-->
</div>
</td>
<?php if ($site_config["ALLOWEXTERNAL"]) { ?>
<td align="left">
<select name="inclexternal">
<option value="0"><?php echo T_("S_LOCAL_EXT"); ?></option>
<option value="1" <?php if ($_GET["inclexternal"] == 1) echo "selected='selected'"; ?>><?php echo T_("S_LOCAL_ONLY"); ?></option>
<option value="2" <?php if ($_GET["inclexternal"] == 2) echo "selected='selected'"; ?>><?php echo T_("S_EXT_ONLY"); ?></option>
</select>
</td>
<?php } ?>
                            <td align="left">
<select name="incldead">
<option value="0"><?php echo T_("S_ACTIVE_TOR"); ?></option>
<option value="1" <?php if ($_GET["incldead"] == 1) echo "selected='selected'"; ?>><?php echo T_("S_INCL_DEAD"); ?></option>
<option value="2" <?php if ($_GET["incldead"] == 2) echo "selected='selected'"; ?>><?php echo T_("S_ONLY_DEAD"); ?></option>
</select>
</td>
<td align="left">
<select name="freeleech">
<option value="0"><?php echo T_("S_FREE_OR_NOT"); ?></option>
<option value="1" <?php if ($_GET["freeleech"] == 1) echo "selected='selected'"; ?>><?php echo T_("S_NOT_FREE"); ?></option>
<option value="2" <?php if ($_GET["freeleech"] == 2) echo "selected='selected'"; ?>><?php echo T_("S_ONLY_FREE"); ?></option>
</select>
</td>
<td align="left">
   <select name="lang">
       <option value="0" selected="selected"><?php echo T_("S_ALL_LANGUAGES"); ?></option>
       <?php
       // Fetch the language list from the database
       $lang = langlist();
       $langdropdown = "";
       foreach ($lang as $language) {
           $langdropdown .= "<option value=\"" . $language["id"] . "\"";
           if (isset($_GET["lang"]) && $_GET["lang"] == $language["id"]) {
               $langdropdown .= " selected=\"selected\"";
           }
           $langdropdown .= ">" . htmlspecialchars($language["name"]) . "</option>\n";
       }
       echo $langdropdown;

       // If no language ID is provided, add the "No Language" option
       if (!isset($_GET["lang"])) {
           echo "<option value=\"none\">No Language</option>";
       }
       ?>
   </select>
</td>

</tr>
</table>
<table align="center">
<tr>
<td align="center">
<div style="margin-top:4px; margin-bottom:4px">
<input type="submit" class="btnSubmit2" value="<?php print ("".T_("SEARCH")." ".T_("TORRENT").""); ?>" />
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<?php print ("<div style='margin-top:5px' align='center'>".T_("SEARCH_RULES")."</div>"); ?>
</center>

<?php if($CURUSER){ ?>
<div  style="margin-top:20px; margin-bottom:10px" align="center">
<table class="embeded" align="center" cellpadding="1">
 <?php if ($site_config["ALLOWEXTERNAL"]) { ?>
<tr>
<td class="embeded" width="40" align="center">

</td>
<td class="embeded">

</td>
</tr>
<tr>
<td class="embeded" width="40" align="center">

</td>
<td class="embeded">

</td>
</tr>
 <?php } ?>
<tr>
<td class="embeded" width="40" align="center">

</td>
<td class="embeded">

</td>
</tr>
<tr>
<td class="embeded" width="40" align="center">

</td>
<td class="embeded">

</td>
</tr>
   <tr>
<td class="embeded" width="40" align="center">

</td>
<td class="embeded">

</td>
</tr>
</table>
</div>
<?php
}

if ($count) {
print ("<br />");
print($pagertop);
// New code (TorrentialStorm)
echo "<form id='sort' action=''><div align='right'>".T_("SORT_BY").": <select name='sort' onchange='window.location=\"{$thisurl}sort=\"+this.options[this.selectedIndex].value+\"&order=\"+document.forms[\"sort\"].order.options[document.forms[\"sort\"].order.selectedIndex].value'>";
echo "<option value='id'" . ($_GET["sort"] == "id" ? " selected='selected'" : "") . ">".T_("ADDED")."</option>";
echo "<option value='name'" . ($_GET["sort"] == "name" ? " selected='selected'" : "") . ">".T_("NAME")."</option>";
echo "<option value='doubleupload'" . ($_GET["sort"] == "doubleupload" ? "selected" : "") . ">Double upload</option>";
echo "<option value='comments'" . ($_GET["sort"] == "comments" ? " selected='selected'" : "") . ">".T_("COMMENTS")."</option>";
echo "<option value='size'" . ($_GET["sort"] == "size" ? " selected='selected'" : "") . ">".T_("SIZE")."</option>";
echo "<option value='times_completed'" . ($_GET["sort"] == "times_completed" ? " selected='selected'" : "") . ">".T_("COMPLETED")."</option>";
echo "<option value='seeders'" . ($_GET["sort"] == "seeders" ? " selected='selected'" : "") . ">".T_("SEEDERS")."</option>";
echo "<option value='leechers'" . ($_GET["sort"] == "leechers" ? " selected='selected'" : "") . ">".T_("LEECHERS")."</option>";
echo "</select>&nbsp;";
echo "<select name='order' onchange='window.location=\"{$thisurl}order=\"+this.options[this.selectedIndex].value+\"&sort=\"+document.forms[\"sort\"].sort.options[document.forms[\"sort\"].sort.selectedIndex].value'>";
echo "<option selected='selected' value='asc'" . ($_GET["order"] == "asc" ? " selected='selected'" : "") . ">".T_("ASCEND")."</option>";
echo "<option value='desc'" . ($_GET["order"] == "desc" ? " selected='selected'" : "") . ">".T_("DESCEND")."</option>";
echo "</select>";
   echo "</div>";
echo "</form>";
// End

torrenttable($res);
print($pagerbottom);
}
else
{
    print("<div style='margin-top:20px; margin-bottom:10px' class='f-border' align='center'>");
print("<div style='margin-top:10px'><font size='2' color='red'><b>".T_("NOTHING_FOUND")."</b></font></div>");
print("<div style='margin-top:10px; margin-bottom:10px'><b>".T_("NO_UPLOADS")."</b></div>");
    print("</div>");
//show_error_msg(T_("NOTHING_FOUND"), T_("NO_UPLOADS"), 0);
}

if ($CURUSER)
SQL_Query_exec("UPDATE users SET last_browse=".gmtime()." WHERE id=$CURUSER[id]");

end_frame();
stdfoot();

?>



www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-02-16 13:22:05
Thank you Botanicar and it does not work well for my site but thank you anyway I leave the original one
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728